]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
Some more details about CollapsiblePane
[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
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
36ed4f51 1032
1bd55598 1033/* Error manipulation */
36ed4f51 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1041}
1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
36ed4f51 1048}
d55e5bfc 1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
36ed4f51 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
d55e5bfc
RD
1058}
1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
c370783e 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
d55e5bfc 1103}
36ed4f51 1104
1bd55598 1105/* Unpack the argument tuple */
36ed4f51 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
d55e5bfc 1672#endif
36ed4f51 1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
36ed4f51 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51
RD
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
36ed4f51
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51
RD
1733 }
1734}
1735
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
36ed4f51
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
36ed4f51
RD
1757
1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51
RD
1848}
1849
1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51
RD
1867}
1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51
RD
1880}
1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51
RD
1884 * ----------------------------------------------------------------------------- */
1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
36ed4f51 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
36ed4f51 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
36ed4f51 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51
RD
1963}
1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
2071
1bd55598 2072/* Convert a packed value value */
36ed4f51 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
36ed4f51 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
36ed4f51 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
36ed4f51 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51
RD
2158}
2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
36ed4f51 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
32fe5131
RD
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_long swig_types[4]
2471#define SWIGTYPE_p_unsigned_char swig_types[5]
2472#define SWIGTYPE_p_unsigned_int swig_types[6]
2473#define SWIGTYPE_p_unsigned_long swig_types[7]
2474#define SWIGTYPE_p_void swig_types[8]
2475#define SWIGTYPE_p_wxANIHandler swig_types[9]
2476#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478#define SWIGTYPE_p_wxArrayInt swig_types[12]
2479#define SWIGTYPE_p_wxArrayString swig_types[13]
2480#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481#define SWIGTYPE_p_wxBitmap swig_types[15]
2482#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486#define SWIGTYPE_p_wxButton swig_types[20]
2487#define SWIGTYPE_p_wxCURHandler swig_types[21]
2488#define SWIGTYPE_p_wxCheckBox swig_types[22]
2489#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491#define SWIGTYPE_p_wxChoice swig_types[25]
2492#define SWIGTYPE_p_wxChoicebook swig_types[26]
2493#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2494#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495#define SWIGTYPE_p_wxCloseEvent swig_types[29]
5172800e
RD
2496#define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498#define SWIGTYPE_p_wxColour swig_types[32]
2499#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500#define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501#define SWIGTYPE_p_wxComboBox swig_types[35]
2502#define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503#define SWIGTYPE_p_wxContextHelp swig_types[37]
2504#define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505#define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506#define SWIGTYPE_p_wxControl swig_types[40]
2507#define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508#define SWIGTYPE_p_wxCursor swig_types[42]
2509#define SWIGTYPE_p_wxDC swig_types[43]
2510#define SWIGTYPE_p_wxDateEvent swig_types[44]
2511#define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDateTime swig_types[46]
2513#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514#define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516#define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517#define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518#define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519#define SWIGTYPE_p_wxEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521#define SWIGTYPE_p_wxFSFile swig_types[55]
2522#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523#define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524#define SWIGTYPE_p_wxFileSystem swig_types[58]
2525#define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526#define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527#define SWIGTYPE_p_wxFont swig_types[61]
2528#define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529#define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530#define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531#define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532#define SWIGTYPE_p_wxGauge swig_types[66]
2533#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534#define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535#define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536#define SWIGTYPE_p_wxGridSizer swig_types[70]
2537#define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538#define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540#define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541#define SWIGTYPE_p_wxICOHandler swig_types[75]
2542#define SWIGTYPE_p_wxIcon swig_types[76]
2543#define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544#define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545#define SWIGTYPE_p_wxImage swig_types[79]
2546#define SWIGTYPE_p_wxImageHandler swig_types[80]
2547#define SWIGTYPE_p_wxImageList swig_types[81]
2548#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549#define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550#define SWIGTYPE_p_wxItemContainer swig_types[84]
2551#define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552#define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553#define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554#define SWIGTYPE_p_wxListBox swig_types[88]
2555#define SWIGTYPE_p_wxListEvent swig_types[89]
2556#define SWIGTYPE_p_wxListItem swig_types[90]
2557#define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558#define SWIGTYPE_p_wxListView swig_types[92]
2559#define SWIGTYPE_p_wxListbook swig_types[93]
2560#define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561#define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562#define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563#define SWIGTYPE_p_wxMenu swig_types[97]
2564#define SWIGTYPE_p_wxMenuBar swig_types[98]
2565#define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566#define SWIGTYPE_p_wxMenuItem swig_types[100]
2567#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569#define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570#define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572#define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573#define SWIGTYPE_p_wxNotebook swig_types[107]
2574#define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575#define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576#define SWIGTYPE_p_wxObject swig_types[110]
2577#define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578#define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579#define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580#define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582#define SWIGTYPE_p_wxPaperSize swig_types[116]
2583#define SWIGTYPE_p_wxPickerBase swig_types[117]
2584#define SWIGTYPE_p_wxPoint swig_types[118]
2585#define SWIGTYPE_p_wxPyApp swig_types[119]
2586#define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587#define SWIGTYPE_p_wxPyControl swig_types[121]
2588#define SWIGTYPE_p_wxPyEvent swig_types[122]
2589#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590#define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593#define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594#define SWIGTYPE_p_wxPyValidator swig_types[128]
2595#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596#define SWIGTYPE_p_wxRadioBox swig_types[130]
2597#define SWIGTYPE_p_wxRadioButton swig_types[131]
2598#define SWIGTYPE_p_wxRect swig_types[132]
2599#define SWIGTYPE_p_wxScrollBar swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603#define SWIGTYPE_p_wxShowEvent swig_types[137]
2604#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605#define SWIGTYPE_p_wxSize swig_types[139]
2606#define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607#define SWIGTYPE_p_wxSizer swig_types[141]
2608#define SWIGTYPE_p_wxSizerItem swig_types[142]
2609#define SWIGTYPE_p_wxSlider swig_types[143]
2610#define SWIGTYPE_p_wxSpinButton swig_types[144]
2611#define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612#define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613#define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614#define SWIGTYPE_p_wxStaticBox swig_types[148]
2615#define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616#define SWIGTYPE_p_wxStaticLine swig_types[150]
2617#define SWIGTYPE_p_wxStaticText swig_types[151]
2618#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619#define SWIGTYPE_p_wxString swig_types[153]
2620#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621#define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622#define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623#define SWIGTYPE_p_wxTextAttr swig_types[157]
2624#define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625#define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626#define SWIGTYPE_p_wxToggleButton swig_types[160]
2627#define SWIGTYPE_p_wxToolBar swig_types[161]
2628#define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629#define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630#define SWIGTYPE_p_wxToolbook swig_types[164]
2631#define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632#define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633#define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634#define SWIGTYPE_p_wxTreebook swig_types[168]
2635#define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636#define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637#define SWIGTYPE_p_wxValidator swig_types[171]
2638#define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639#define SWIGTYPE_p_wxWindow swig_types[173]
2640#define SWIGTYPE_p_wxWindowBase swig_types[174]
2641#define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643#define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644static swig_type_info *swig_types[179];
2645static swig_module_info swig_module = {swig_types, 178, 0, 0, 0, 0};
32fe5131
RD
2646#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2648
2649/* -------- TYPES TABLE (END) -------- */
2650
1bd55598
RD
2651#if (PY_VERSION_HEX <= 0x02000000)
2652# if !defined(SWIG_PYTHON_CLASSIC)
2653# error "This python version requires to use swig with the '-classic' option"
2654# endif
2655#endif
2656#if (PY_VERSION_HEX <= 0x02020000)
2657# error "This python version requires to use swig with the '-nomodern' option"
2658#endif
2659#if (PY_VERSION_HEX <= 0x02020000)
2660# error "This python version requires to use swig with the '-nomodernargs' option"
2661#endif
2662#ifndef METH_O
2663# error "This python version requires to use swig with the '-nofastunpack' option"
2664#endif
36ed4f51
RD
2665
2666/*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669#define SWIG_init init_controls_
2670
2671#define SWIG_name "_controls_"
2672
1bd55598
RD
2673#define SWIGVERSION 0x010329
2674
2675
2676#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678
2679
2680#include <stdexcept>
2681
2682
2683namespace swig {
2684 class PyObject_ptr {
2685 protected:
2686 PyObject *_obj;
2687
2688 public:
2689 PyObject_ptr() :_obj(0)
2690 {
2691 }
2692
2693 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2694 {
2695 Py_XINCREF(_obj);
2696 }
2697
2698 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2699 {
2700 if (initial_ref) Py_XINCREF(_obj);
2701 }
2702
2703 PyObject_ptr & operator=(const PyObject_ptr& item)
2704 {
2705 Py_XINCREF(item._obj);
2706 Py_XDECREF(_obj);
2707 _obj = item._obj;
2708 return *this;
2709 }
2710
2711 ~PyObject_ptr()
2712 {
2713 Py_XDECREF(_obj);
2714 }
2715
2716 operator PyObject *() const
2717 {
2718 return _obj;
2719 }
2720
2721 PyObject *operator->() const
2722 {
2723 return _obj;
2724 }
2725 };
2726}
2727
2728
2729namespace swig {
2730 struct PyObject_var : PyObject_ptr {
2731 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2732
2733 PyObject_var & operator = (PyObject* obj)
2734 {
2735 Py_XDECREF(_obj);
2736 _obj = obj;
2737 return *this;
2738 }
2739 };
2740}
2741
2742
36ed4f51
RD
2743#include "wx/wxPython/wxPython.h"
2744#include "wx/wxPython/pyclasses.h"
2745
2746 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2747 static const wxString wxPyEmptyString(wxEmptyString);
2748 static const wxString wxPyControlNameStr(wxControlNameStr);
2749
2750 const wxArrayString wxPyEmptyStringArray;
2751
2752 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2753
1bd55598 2754 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2755
2756
1bd55598
RD
2757SWIGINTERNINLINE PyObject *
2758SWIG_From_int (int value)
2759{
2760 return SWIG_From_long (value);
2761}
36ed4f51
RD
2762
2763
1bd55598
RD
2764#include <limits.h>
2765#ifndef LLONG_MIN
2766# define LLONG_MIN LONG_LONG_MIN
2767#endif
2768#ifndef LLONG_MAX
2769# define LLONG_MAX LONG_LONG_MAX
2770#endif
2771#ifndef ULLONG_MAX
2772# define ULLONG_MAX ULONG_LONG_MAX
2773#endif
36ed4f51
RD
2774
2775
2776SWIGINTERN int
1bd55598 2777SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51
RD
2778{
2779 if (PyNumber_Check(obj)) {
2780 if (val) *val = PyInt_AsLong(obj);
1bd55598 2781 return SWIG_OK;
36ed4f51 2782 }
1bd55598 2783 return SWIG_TypeError;
36ed4f51
RD
2784}
2785
2786
36ed4f51 2787SWIGINTERN int
1bd55598
RD
2788SWIG_AsVal_int (PyObject * obj, int *val)
2789{
36ed4f51 2790 long v;
1bd55598
RD
2791 int res = SWIG_AsVal_long (obj, &v);
2792 if (SWIG_IsOK(res)) {
2793 if ((v < INT_MIN || v > INT_MAX)) {
2794 return SWIG_OverflowError;
36ed4f51 2795 } else {
1bd55598 2796 if (val) *val = static_cast< int >(v);
36ed4f51 2797 }
1bd55598
RD
2798 }
2799 return res;
d55e5bfc
RD
2800}
2801
c370783e 2802 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2803
36ed4f51 2804SWIGINTERN int
1bd55598 2805SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2806{
c370783e
RD
2807 if (obj == Py_True) {
2808 if (val) *val = true;
1bd55598
RD
2809 return SWIG_OK;
2810 } else if (obj == Py_False) {
c370783e 2811 if (val) *val = false;
1bd55598 2812 return SWIG_OK;
36ed4f51 2813 } else {
1bd55598
RD
2814 long v = 0;
2815 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2816 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2817 return res;
c370783e 2818 }
d55e5bfc
RD
2819}
2820
2821 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2822 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2823 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2824 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2825 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2826 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2827
2828#include <wx/checklst.h>
d55e5bfc
RD
2829
2830 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1bd55598 2831SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2832 if (clientData)
2833 {
d55e5bfc
RD
2834 wxPyClientData* data = new wxPyClientData(clientData);
2835 self->Insert(item, pos, data);
e9d6f3a4
RD
2836 }
2837 else
d55e5bfc
RD
2838 self->Insert(item, pos);
2839 }
50f151d7
RD
2840
2841SWIGINTERN int
2842SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2843{
2844 long v = 0;
2845 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2846 return SWIG_TypeError;
2847 }
2848 else if (val)
2849 *val = (unsigned long)v;
2850 return SWIG_OK;
2851}
2852
2853
2854SWIGINTERN int
2855SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2856{
2857 unsigned long v;
2858 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2859 if (SWIG_IsOK(res)) {
2860 if ((v > UINT_MAX)) {
2861 return SWIG_OverflowError;
2862 } else {
2863 if (val) *val = static_cast< unsigned int >(v);
2864 }
2865 }
2866 return res;
2867}
2868
1bd55598 2869SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2870 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2871 wxArrayInt lst;
2872 self->GetSelections(lst);
2873 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2874 for (size_t i=0; i<lst.GetCount(); i++)
2875 {
7e08d4ef
RD
2876 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2877 }
e9d6f3a4 2878 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2879 return tup;
2880 }
1bd55598 2881SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2882 #ifdef __WXMSW__
2883 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2884 self->GetItem(item)->SetTextColour(c);
2885 #endif
2886 }
1bd55598 2887SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2888 #ifdef __WXMSW__
2889 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2890 self->GetItem(item)->SetBackgroundColour(c);
2891 #endif
2892 }
1bd55598 2893SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
2894 #ifdef __WXMSW__
2895 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2896 self->GetItem(item)->SetFont(f);
2897 #endif
2898 }
2899 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1bd55598 2900SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2901 self->AppendText(text);
2902 }
1bd55598 2903SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2904 return self->GetValue().Mid(from, to - from);
2905 }
2906 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2907 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2908 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2910 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2911
1c71765a
RD
2912SWIGINTERNINLINE PyObject*
2913SWIG_From_unsigned_SS_long (unsigned long value)
2914{
2915 return (value > LONG_MAX) ?
2916 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2917}
2918
2919
2920SWIGINTERNINLINE PyObject *
2921SWIG_From_size_t (size_t value)
2922{
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2924}
2925
2926
50f151d7
RD
2927SWIGINTERNINLINE PyObject *
2928SWIG_From_unsigned_SS_int (unsigned int value)
2929{
2930 return SWIG_From_unsigned_SS_long (value);
2931}
2932
2933
d55e5bfc
RD
2934#include <wx/slider.h>
2935
2936
2937 static const wxString wxPySliderNameStr(wxSliderNameStr);
2938 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2939
2940#if !wxUSE_TOGGLEBTN
2941// implement dummy items for platforms that don't have this class
2942
2943#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2944
2945class wxToggleButton : public wxControl
2946{
2947public:
2948 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2949 const wxPoint&, const wxSize&, long,
2950 const wxValidator&, const wxString&)
2951 { wxPyRaiseNotImplemented(); }
2952
2953 wxToggleButton()
2954 { wxPyRaiseNotImplemented(); }
2955};
2956#endif
2957
51b83b37 2958 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2959
7e08d4ef 2960SWIGINTERNINLINE int
1bd55598 2961SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2962{
7e08d4ef 2963 unsigned long v;
1bd55598
RD
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
7e08d4ef 2967}
7e08d4ef 2968
d55e5bfc 2969 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598 2970SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2971 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2972 if (udata) {
2973 Py_INCREF(udata->m_obj);
2974 return udata->m_obj;
2975 } else {
2976 Py_INCREF(Py_None);
2977 return Py_None;
2978 }
2979 }
1bd55598 2980SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2981 self->SetClientData(new wxPyUserData(clientData));
2982 }
1bd55598 2983SWIGINTERN 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
2984 wxPyUserData* udata = NULL;
2985 if (clientData && clientData != Py_None)
2986 udata = new wxPyUserData(clientData);
2987 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2988 shortHelp, longHelp, udata);
2989 }
1bd55598 2990SWIGINTERN 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
2991 wxPyUserData* udata = NULL;
2992 if (clientData && clientData != Py_None)
2993 udata = new wxPyUserData(clientData);
2994 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2995 shortHelp, longHelp, udata);
2996 }
1bd55598 2997SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2998 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2999 if (udata) {
3000 Py_INCREF(udata->m_obj);
3001 return udata->m_obj;
3002 } else {
3003 Py_INCREF(Py_None);
3004 return Py_None;
3005 }
3006 }
1bd55598 3007SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
3008 self->SetToolClientData(id, new wxPyUserData(clientData));
3009 }
3010
3011#include <wx/listctrl.h>
3012
fef4c27a 3013 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1bd55598 3014SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3017 int retval = 0;
3018 PyObject* func = (PyObject*)funcPtr;
5a446332 3019 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3020
3021 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3022 PyObject* result = PyEval_CallObject(func, args);
3023 Py_DECREF(args);
3024 if (result) {
3025 retval = PyInt_AsLong(result);
3026 Py_DECREF(result);
3027 }
3028
3029 wxPyEndBlockThreads(blocked);
3030 return retval;
3031 }
3032
3033 // C++ Version of a Python aware class
3034class wxPyListCtrl : public wxListCtrl {
32fe5131 3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3036public:
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3039 const wxPoint& pos,
3040 const wxSize& size,
3041 long style,
3042 const wxValidator& validator,
3043 const wxString& name) :
3044 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3045
3046 bool Create(wxWindow* parent, wxWindowID id,
3047 const wxPoint& pos,
3048 const wxSize& size,
3049 long style,
3050 const wxValidator& validator,
3051 const wxString& name) {
3052 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3053 }
3054
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3057
84f85550
RD
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3061
d55e5bfc
RD
3062 PYPRIVATE;
3063};
3064
3065IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3066
3067IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3068IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3069IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
3070IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3071
d55e5bfc 3072
1bd55598 3073SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3074 wxListItem item;
3075 item.SetMask( wxLIST_MASK_STATE |
3076 wxLIST_MASK_TEXT |
3077 wxLIST_MASK_IMAGE |
3078 wxLIST_MASK_DATA |
3079 wxLIST_SET_ITEM |
3080 wxLIST_MASK_WIDTH |
3081 wxLIST_MASK_FORMAT
3082 );
3083 if (self->GetColumn(col, item))
3084 return new wxListItem(item);
3085 else
3086 return NULL;
3087 }
1bd55598 3088SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3089 wxListItem* info = new wxListItem;
3090 info->m_itemId = itemId;
3091 info->m_col = col;
3092 info->m_mask = 0xFFFF;
3093 self->GetItem(*info);
3094 return info;
3095 }
1bd55598 3096SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3097 wxPoint pos;
3098 self->GetItemPosition(item, pos);
3099 return pos;
3100 }
1bd55598 3101SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3102 wxRect rect;
3103 self->GetItemRect(item, rect, code);
3104 return rect;
3105 }
1bd55598 3106SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3107 if (!PyCallable_Check(func))
b411df4a 3108 return false;
d55e5bfc
RD
3109 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3110 }
1bd55598 3111SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc 3112
6a223074
RD
3113 return self;
3114
d55e5bfc
RD
3115
3116
d55e5bfc
RD
3117 }
3118
3119#include <wx/treectrl.h>
3120#include "wx/wxPython/pytree.h"
3121
3122 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1bd55598
RD
3123SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3124SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3125SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3126
3127 static wxTreeItemId wxNullTreeItemId;
3128
d55e5bfc
RD
3129 // C++ version of Python aware wxTreeCtrl
3130class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3132public:
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3135 const wxPoint& pos,
3136 const wxSize& size,
3137 long style,
3138 const wxValidator& validator,
3139 const wxString& name) :
3140 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3141
3142 bool Create(wxWindow *parent, wxWindowID id,
3143 const wxPoint& pos,
3144 const wxSize& size,
3145 long style,
3146 const wxValidator& validator,
3147 const wxString& name) {
3148 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3149 }
3150
3151
3152 int OnCompareItems(const wxTreeItemId& item1,
3153 const wxTreeItemId& item2) {
3154 int rval = 0;
3155 bool found;
5a446332 3156 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3157 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
3158 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3159 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3160 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3161 Py_DECREF(o1);
3162 Py_DECREF(o2);
3163 }
3164 wxPyEndBlockThreads(blocked);
3165 if (! found)
3166 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3167 return rval;
3168 }
3169 PYPRIVATE;
3170};
3171
3172IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3173
3174
1bd55598 3175SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3176 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3177 if (data == NULL) {
3178 data = new wxPyTreeItemData();
3179 data->SetId(item); // set the id
3180 self->SetItemData(item, data);
3181 }
3182 return data;
3183 }
1bd55598 3184SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3185 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3186 if (data == NULL) {
3187 data = new wxPyTreeItemData();
3188 data->SetId(item); // set the id
3189 self->SetItemData(item, data);
3190 }
3191 return data->GetData();
3192 }
1bd55598 3193SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3194 data->SetId(item); // set the id
3195 self->SetItemData(item, data);
3196 }
1bd55598 3197SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3198 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3199 if (data == NULL) {
3200 data = new wxPyTreeItemData(obj);
3201 data->SetId(item); // set the id
3202 self->SetItemData(item, data);
3203 } else
3204 data->SetData(obj);
3205 }
1bd55598 3206SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3207 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3208 PyObject* rval = PyList_New(0);
3209 wxArrayTreeItemIds array;
3210 size_t num, x;
3211 num = self->GetSelections(array);
3212 for (x=0; x < num; x++) {
3213 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 3214 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3215 PyList_Append(rval, item);
68e533f8 3216 Py_DECREF(item);
d55e5bfc
RD
3217 }
3218 wxPyEndBlockThreads(blocked);
3219 return rval;
3220 }
1bd55598 3221SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3222 void* cookie = 0;
3223 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3224 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3225 PyObject* tup = PyTuple_New(2);
b411df4a 3226 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3227 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3228 wxPyEndBlockThreads(blocked);
3229 return tup;
3230 }
1bd55598 3231SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3232 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3233 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3234 PyObject* tup = PyTuple_New(2);
b411df4a 3235 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3236 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3237 wxPyEndBlockThreads(blocked);
3238 return tup;
3239 }
1bd55598 3240SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3241 wxRect rect;
3242 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3243 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3244 wxRect* r = new wxRect(rect);
b411df4a 3245 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3246 wxPyEndBlockThreads(blocked);
3247 return val;
3248 }
3249 else
3250 RETURN_NONE();
3251 }
3252 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 3253
32fe5131 3254SWIGINTERNINLINE PyObject*
1bd55598 3255 SWIG_From_bool (bool value)
c370783e 3256{
1bd55598 3257 return PyBool_FromLong(value ? 1 : 0);
c370783e
RD
3258}
3259
d55e5bfc
RD
3260 // C++ version of Python aware wxControl
3261class wxPyControl : public wxControl
3262{
3263 DECLARE_DYNAMIC_CLASS(wxPyControl)
3264public:
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow* parent, const wxWindowID id,
3267 const wxPoint& pos = wxDefaultPosition,
3268 const wxSize& size = wxDefaultSize,
3269 long style = 0,
3270 const wxValidator& validator=wxDefaultValidator,
3271 const wxString& name = wxPyControlNameStr)
3272 : wxControl(parent, id, pos, size, style, validator, name) {}
3273
3274
976dbff5
RD
3275 bool DoEraseBackground(wxDC* dc) {
3276#ifdef __WXMSW__
3277 return wxWindow::DoEraseBackground(dc->GetHDC());
3278#else
3279 dc->SetBackground(wxBrush(GetBackgroundColour()));
3280 dc->Clear();
3281 return true;
3282#endif
3283 }
3284
d55e5bfc
RD
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3289
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3293
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3296
3297 DEC_PYCALLBACK__(InitDialog);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3300 DEC_PYCALLBACK_BOOL_(Validate);
3301
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3305
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3308
a5ee0656 3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3311
51b83b37
RD
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3313
8d38bd1d
RD
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3315
d55e5bfc
RD
3316 PYPRIVATE;
3317};
3318
3319IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3320
3321IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3322IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3323IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3324IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3325
3326IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3327IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3329
3330IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3331IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3332
3333IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3334IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3335IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3336IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3337
3338IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3339IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3340IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3341
3342IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3343IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3344
a5ee0656 3345IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
a5ee0656 3346IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3347
51b83b37 3348IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3349
3350IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3351
d55e5bfc
RD
3352
3353
1bd55598 3354SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3355
3356#include <wx/generic/dragimgg.h>
3357
53aa7709 3358 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
1bd55598 3359SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3360 wxDateTime rv;
3361 self->GetRange(&rv, NULL);
3362 return rv;
3363 }
1bd55598 3364SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3365 wxDateTime rv;
3366 self->GetRange(NULL, &rv);
3367 return rv;
3368 }
704eda0c 3369 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3370 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3371 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3372 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3373 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3374 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3375 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3376 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
5172800e
RD
3377
3378#include <wx/collpane.h>
3379
3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
d55e5bfc
RD
3381#ifdef __cplusplus
3382extern "C" {
3383#endif
1bd55598
RD
3384SWIGINTERN int ButtonNameStr_set(PyObject *) {
3385 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3386 return 1;
d55e5bfc
RD
3387}
3388
3389
1bd55598
RD
3390SWIGINTERN PyObject *ButtonNameStr_get(void) {
3391 PyObject *pyobj = 0;
3392
3393 {
d55e5bfc 3394#if wxUSE_UNICODE
1bd55598 3395 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3396#else
1bd55598 3397 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3398#endif
1bd55598
RD
3399 }
3400 return pyobj;
3401}
3402
3403
3404SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj = 0;
3406 wxWindow *arg1 = (wxWindow *) 0 ;
3407 int arg2 = (int) -1 ;
3408 wxString const &arg3_defvalue = wxPyEmptyString ;
3409 wxString *arg3 = (wxString *) &arg3_defvalue ;
3410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3412 wxSize const &arg5_defvalue = wxDefaultSize ;
3413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3414 long arg6 = (long) 0 ;
3415 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3416 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3417 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3418 wxString *arg8 = (wxString *) &arg8_defvalue ;
3419 wxButton *result = 0 ;
3420 void *argp1 = 0 ;
3421 int res1 = 0 ;
3422 int val2 ;
3423 int ecode2 = 0 ;
3424 bool temp3 = false ;
3425 wxPoint temp4 ;
3426 wxSize temp5 ;
3427 long val6 ;
3428 int ecode6 = 0 ;
3429 void *argp7 = 0 ;
3430 int res7 = 0 ;
3431 bool temp8 = false ;
3432 PyObject * obj0 = 0 ;
3433 PyObject * obj1 = 0 ;
3434 PyObject * obj2 = 0 ;
3435 PyObject * obj3 = 0 ;
3436 PyObject * obj4 = 0 ;
3437 PyObject * obj5 = 0 ;
3438 PyObject * obj6 = 0 ;
3439 PyObject * obj7 = 0 ;
3440 char * kwnames[] = {
3441 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3442 };
3443
3444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3446 if (!SWIG_IsOK(res1)) {
3447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3448 }
3449 arg1 = reinterpret_cast< wxWindow * >(argp1);
3450 if (obj1) {
3451 ecode2 = SWIG_AsVal_int(obj1, &val2);
3452 if (!SWIG_IsOK(ecode2)) {
3453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3454 }
3455 arg2 = static_cast< int >(val2);
3456 }
3457 if (obj2) {
d55e5bfc 3458 {
1bd55598
RD
3459 arg3 = wxString_in_helper(obj2);
3460 if (arg3 == NULL) SWIG_fail;
3461 temp3 = true;
d55e5bfc 3462 }
1bd55598
RD
3463 }
3464 if (obj3) {
d55e5bfc 3465 {
1bd55598
RD
3466 arg4 = &temp4;
3467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3468 }
1bd55598
RD
3469 }
3470 if (obj4) {
d55e5bfc 3471 {
1bd55598
RD
3472 arg5 = &temp5;
3473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3474 }
1bd55598
RD
3475 }
3476 if (obj5) {
3477 ecode6 = SWIG_AsVal_long(obj5, &val6);
3478 if (!SWIG_IsOK(ecode6)) {
3479 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3480 }
3481 arg6 = static_cast< long >(val6);
3482 }
3483 if (obj6) {
3484 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3485 if (!SWIG_IsOK(res7)) {
3486 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3487 }
1bd55598
RD
3488 if (!argp7) {
3489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3490 }
1bd55598
RD
3491 arg7 = reinterpret_cast< wxValidator * >(argp7);
3492 }
3493 if (obj7) {
d55e5bfc 3494 {
1bd55598
RD
3495 arg8 = wxString_in_helper(obj7);
3496 if (arg8 == NULL) SWIG_fail;
3497 temp8 = true;
d55e5bfc 3498 }
1bd55598
RD
3499 }
3500 {
3501 if (!wxPyCheckForApp()) SWIG_fail;
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3508 {
3509 if (temp3)
3510 delete arg3;
3511 }
3512 {
3513 if (temp8)
3514 delete arg8;
3515 }
3516 return resultobj;
3517fail:
3518 {
3519 if (temp3)
3520 delete arg3;
3521 }
3522 {
3523 if (temp8)
3524 delete arg8;
3525 }
3526 return NULL;
d55e5bfc
RD
3527}
3528
3529
1bd55598
RD
3530SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3531 PyObject *resultobj = 0;
3532 wxButton *result = 0 ;
3533
3534 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3535 {
3536 if (!wxPyCheckForApp()) SWIG_fail;
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (wxButton *)new wxButton();
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3543 return resultobj;
3544fail:
3545 return NULL;
3546}
3547
3548
3549SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3550 PyObject *resultobj = 0;
3551 wxButton *arg1 = (wxButton *) 0 ;
3552 wxWindow *arg2 = (wxWindow *) 0 ;
3553 int arg3 = (int) -1 ;
3554 wxString const &arg4_defvalue = wxPyEmptyString ;
3555 wxString *arg4 = (wxString *) &arg4_defvalue ;
3556 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3557 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3558 wxSize const &arg6_defvalue = wxDefaultSize ;
3559 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3560 long arg7 = (long) 0 ;
3561 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3562 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3563 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3564 wxString *arg9 = (wxString *) &arg9_defvalue ;
3565 bool result;
3566 void *argp1 = 0 ;
3567 int res1 = 0 ;
3568 void *argp2 = 0 ;
3569 int res2 = 0 ;
3570 int val3 ;
3571 int ecode3 = 0 ;
3572 bool temp4 = false ;
3573 wxPoint temp5 ;
3574 wxSize temp6 ;
3575 long val7 ;
3576 int ecode7 = 0 ;
3577 void *argp8 = 0 ;
3578 int res8 = 0 ;
3579 bool temp9 = false ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj1 = 0 ;
3582 PyObject * obj2 = 0 ;
3583 PyObject * obj3 = 0 ;
3584 PyObject * obj4 = 0 ;
3585 PyObject * obj5 = 0 ;
3586 PyObject * obj6 = 0 ;
3587 PyObject * obj7 = 0 ;
3588 PyObject * obj8 = 0 ;
3589 char * kwnames[] = {
3590 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3591 };
3592
3593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3595 if (!SWIG_IsOK(res1)) {
3596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3597 }
3598 arg1 = reinterpret_cast< wxButton * >(argp1);
3599 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3600 if (!SWIG_IsOK(res2)) {
3601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3602 }
3603 arg2 = reinterpret_cast< wxWindow * >(argp2);
3604 if (obj2) {
3605 ecode3 = SWIG_AsVal_int(obj2, &val3);
3606 if (!SWIG_IsOK(ecode3)) {
3607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3608 }
3609 arg3 = static_cast< int >(val3);
3610 }
3611 if (obj3) {
d55e5bfc 3612 {
1bd55598
RD
3613 arg4 = wxString_in_helper(obj3);
3614 if (arg4 == NULL) SWIG_fail;
3615 temp4 = true;
d55e5bfc 3616 }
1bd55598
RD
3617 }
3618 if (obj4) {
d55e5bfc 3619 {
1bd55598
RD
3620 arg5 = &temp5;
3621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3622 }
1bd55598
RD
3623 }
3624 if (obj5) {
d55e5bfc 3625 {
1bd55598
RD
3626 arg6 = &temp6;
3627 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3628 }
1bd55598
RD
3629 }
3630 if (obj6) {
3631 ecode7 = SWIG_AsVal_long(obj6, &val7);
3632 if (!SWIG_IsOK(ecode7)) {
3633 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3634 }
3635 arg7 = static_cast< long >(val7);
3636 }
3637 if (obj7) {
3638 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3639 if (!SWIG_IsOK(res8)) {
3640 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3641 }
1bd55598
RD
3642 if (!argp8) {
3643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3644 }
1bd55598
RD
3645 arg8 = reinterpret_cast< wxValidator * >(argp8);
3646 }
3647 if (obj8) {
d55e5bfc 3648 {
1bd55598
RD
3649 arg9 = wxString_in_helper(obj8);
3650 if (arg9 == NULL) SWIG_fail;
3651 temp9 = true;
d55e5bfc 3652 }
1bd55598
RD
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3662 }
3663 {
3664 if (temp4)
3665 delete arg4;
3666 }
3667 {
3668 if (temp9)
3669 delete arg9;
3670 }
3671 return resultobj;
3672fail:
3673 {
3674 if (temp4)
3675 delete arg4;
3676 }
3677 {
3678 if (temp9)
3679 delete arg9;
3680 }
3681 return NULL;
d55e5bfc
RD
3682}
3683
3684
1bd55598
RD
3685SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3686 PyObject *resultobj = 0;
3687 wxButton *arg1 = (wxButton *) 0 ;
3688 void *argp1 = 0 ;
3689 int res1 = 0 ;
3690 PyObject *swig_obj[1] ;
3691
3692 if (!args) SWIG_fail;
3693 swig_obj[0] = args;
3694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3695 if (!SWIG_IsOK(res1)) {
3696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3697 }
3698 arg1 = reinterpret_cast< wxButton * >(argp1);
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 (arg1)->SetDefault();
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 resultobj = SWIG_Py_Void();
3706 return resultobj;
3707fail:
3708 return NULL;
d55e5bfc
RD
3709}
3710
3711
1bd55598
RD
3712SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3713 PyObject *resultobj = 0;
3714 wxSize result;
3715
3716 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxButton::GetDefaultSize();
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3724 return resultobj;
3725fail:
3726 return NULL;
3727}
3728
3729
3730SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj = 0;
3732 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3733 SwigValueWrapper<wxVisualAttributes > result;
3734 int val1 ;
3735 int ecode1 = 0 ;
3736 PyObject * obj0 = 0 ;
3737 char * kwnames[] = {
3738 (char *) "variant", NULL
3739 };
3740
3741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3742 if (obj0) {
3743 ecode1 = SWIG_AsVal_int(obj0, &val1);
3744 if (!SWIG_IsOK(ecode1)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3746 }
3747 arg1 = static_cast< wxWindowVariant >(val1);
3748 }
3749 {
3750 if (!wxPyCheckForApp()) SWIG_fail;
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = wxButton::GetClassDefaultAttributes(arg1);
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3757 return resultobj;
3758fail:
3759 return NULL;
3760}
3761
3762
3763SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764 PyObject *obj;
3765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3766 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3767 return SWIG_Py_Void();
3768}
3769
3770SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3771 return SWIG_Python_InitShadowInstance(args);
3772}
3773
3774SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj = 0;
3776 wxWindow *arg1 = (wxWindow *) 0 ;
3777 int arg2 = (int) -1 ;
3778 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3779 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3782 wxSize const &arg5_defvalue = wxDefaultSize ;
3783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3784 long arg6 = (long) wxBU_AUTODRAW ;
3785 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3786 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3787 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3788 wxString *arg8 = (wxString *) &arg8_defvalue ;
3789 wxBitmapButton *result = 0 ;
3790 void *argp1 = 0 ;
3791 int res1 = 0 ;
3792 int val2 ;
3793 int ecode2 = 0 ;
3794 void *argp3 = 0 ;
3795 int res3 = 0 ;
3796 wxPoint temp4 ;
3797 wxSize temp5 ;
3798 long val6 ;
3799 int ecode6 = 0 ;
3800 void *argp7 = 0 ;
3801 int res7 = 0 ;
3802 bool temp8 = false ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 PyObject * obj2 = 0 ;
3806 PyObject * obj3 = 0 ;
3807 PyObject * obj4 = 0 ;
3808 PyObject * obj5 = 0 ;
3809 PyObject * obj6 = 0 ;
3810 PyObject * obj7 = 0 ;
3811 char * kwnames[] = {
3812 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 };
3814
3815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3817 if (!SWIG_IsOK(res1)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3819 }
3820 arg1 = reinterpret_cast< wxWindow * >(argp1);
3821 if (obj1) {
3822 ecode2 = SWIG_AsVal_int(obj1, &val2);
3823 if (!SWIG_IsOK(ecode2)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3825 }
3826 arg2 = static_cast< int >(val2);
3827 }
3828 if (obj2) {
3829 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3830 if (!SWIG_IsOK(res3)) {
3831 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3832 }
3833 if (!argp3) {
3834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3835 }
3836 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3837 }
3838 if (obj3) {
d55e5bfc 3839 {
1bd55598
RD
3840 arg4 = &temp4;
3841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3842 }
1bd55598
RD
3843 }
3844 if (obj4) {
d55e5bfc 3845 {
1bd55598
RD
3846 arg5 = &temp5;
3847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3848 }
1bd55598
RD
3849 }
3850 if (obj5) {
3851 ecode6 = SWIG_AsVal_long(obj5, &val6);
3852 if (!SWIG_IsOK(ecode6)) {
3853 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3854 }
3855 arg6 = static_cast< long >(val6);
3856 }
3857 if (obj6) {
3858 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3859 if (!SWIG_IsOK(res7)) {
3860 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3861 }
1bd55598
RD
3862 if (!argp7) {
3863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3864 }
1bd55598
RD
3865 arg7 = reinterpret_cast< wxValidator * >(argp7);
3866 }
3867 if (obj7) {
f20a2e1f 3868 {
1bd55598
RD
3869 arg8 = wxString_in_helper(obj7);
3870 if (arg8 == NULL) SWIG_fail;
3871 temp8 = true;
f20a2e1f 3872 }
1bd55598
RD
3873 }
3874 {
3875 if (!wxPyCheckForApp()) SWIG_fail;
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return resultobj;
3887fail:
3888 {
3889 if (temp8)
3890 delete arg8;
3891 }
3892 return NULL;
f20a2e1f
RD
3893}
3894
3895
1bd55598
RD
3896SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3897 PyObject *resultobj = 0;
3898 wxBitmapButton *result = 0 ;
3899
3900 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3901 {
3902 if (!wxPyCheckForApp()) SWIG_fail;
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (wxBitmapButton *)new wxBitmapButton();
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3909 return resultobj;
3910fail:
3911 return NULL;
3912}
3913
3914
3915SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj = 0;
3917 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3918 wxWindow *arg2 = (wxWindow *) 0 ;
3919 int arg3 = (int) -1 ;
3920 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3921 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3922 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3923 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3924 wxSize const &arg6_defvalue = wxDefaultSize ;
3925 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3926 long arg7 = (long) wxBU_AUTODRAW ;
3927 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3928 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3929 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3930 wxString *arg9 = (wxString *) &arg9_defvalue ;
3931 bool result;
3932 void *argp1 = 0 ;
3933 int res1 = 0 ;
3934 void *argp2 = 0 ;
3935 int res2 = 0 ;
3936 int val3 ;
3937 int ecode3 = 0 ;
3938 void *argp4 = 0 ;
3939 int res4 = 0 ;
3940 wxPoint temp5 ;
3941 wxSize temp6 ;
3942 long val7 ;
3943 int ecode7 = 0 ;
3944 void *argp8 = 0 ;
3945 int res8 = 0 ;
3946 bool temp9 = false ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 PyObject * obj2 = 0 ;
3950 PyObject * obj3 = 0 ;
3951 PyObject * obj4 = 0 ;
3952 PyObject * obj5 = 0 ;
3953 PyObject * obj6 = 0 ;
3954 PyObject * obj7 = 0 ;
3955 PyObject * obj8 = 0 ;
3956 char * kwnames[] = {
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3958 };
3959
3960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3962 if (!SWIG_IsOK(res1)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3964 }
3965 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3967 if (!SWIG_IsOK(res2)) {
3968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3969 }
3970 arg2 = reinterpret_cast< wxWindow * >(argp2);
3971 if (obj2) {
3972 ecode3 = SWIG_AsVal_int(obj2, &val3);
3973 if (!SWIG_IsOK(ecode3)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3975 }
3976 arg3 = static_cast< int >(val3);
3977 }
3978 if (obj3) {
3979 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3980 if (!SWIG_IsOK(res4)) {
3981 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3982 }
1bd55598
RD
3983 if (!argp4) {
3984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3985 }
1bd55598
RD
3986 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3987 }
3988 if (obj4) {
d55e5bfc 3989 {
1bd55598
RD
3990 arg5 = &temp5;
3991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3992 }
1bd55598
RD
3993 }
3994 if (obj5) {
d55e5bfc 3995 {
1bd55598
RD
3996 arg6 = &temp6;
3997 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3998 }
3999 }
4000 if (obj6) {
4001 ecode7 = SWIG_AsVal_long(obj6, &val7);
4002 if (!SWIG_IsOK(ecode7)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4004 }
4005 arg7 = static_cast< long >(val7);
4006 }
4007 if (obj7) {
4008 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4009 if (!SWIG_IsOK(res8)) {
4010 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4011 }
4012 if (!argp8) {
4013 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4014 }
1bd55598
RD
4015 arg8 = reinterpret_cast< wxValidator * >(argp8);
4016 }
4017 if (obj8) {
d55e5bfc 4018 {
1bd55598
RD
4019 arg9 = wxString_in_helper(obj8);
4020 if (arg9 == NULL) SWIG_fail;
4021 temp9 = true;
d55e5bfc 4022 }
1bd55598
RD
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038fail:
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
d55e5bfc
RD
4044}
4045
4046
1bd55598
RD
4047SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4048 PyObject *resultobj = 0;
4049 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4050 wxBitmap result;
4051 void *argp1 = 0 ;
4052 int res1 = 0 ;
4053 PyObject *swig_obj[1] ;
4054
4055 if (!args) SWIG_fail;
4056 swig_obj[0] = args;
4057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4058 if (!SWIG_IsOK(res1)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4060 }
4061 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (arg1)->GetBitmapLabel();
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4069 return resultobj;
4070fail:
4071 return NULL;
d55e5bfc
RD
4072}
4073
4074
1bd55598
RD
4075SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4076 PyObject *resultobj = 0;
4077 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4078 wxBitmap result;
4079 void *argp1 = 0 ;
4080 int res1 = 0 ;
4081 PyObject *swig_obj[1] ;
4082
4083 if (!args) SWIG_fail;
4084 swig_obj[0] = args;
4085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4086 if (!SWIG_IsOK(res1)) {
4087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4088 }
4089 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (arg1)->GetBitmapDisabled();
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4097 return resultobj;
4098fail:
4099 return NULL;
d55e5bfc
RD
4100}
4101
4102
1bd55598
RD
4103SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4104 PyObject *resultobj = 0;
4105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4106 wxBitmap result;
4107 void *argp1 = 0 ;
4108 int res1 = 0 ;
4109 PyObject *swig_obj[1] ;
4110
4111 if (!args) SWIG_fail;
4112 swig_obj[0] = args;
4113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4114 if (!SWIG_IsOK(res1)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4116 }
4117 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (arg1)->GetBitmapFocus();
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4125 return resultobj;
4126fail:
4127 return NULL;
d55e5bfc
RD
4128}
4129
4130
1bd55598
RD
4131SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4132 PyObject *resultobj = 0;
4133 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4134 wxBitmap result;
4135 void *argp1 = 0 ;
4136 int res1 = 0 ;
4137 PyObject *swig_obj[1] ;
4138
4139 if (!args) SWIG_fail;
4140 swig_obj[0] = args;
4141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4142 if (!SWIG_IsOK(res1)) {
4143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4144 }
4145 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (arg1)->GetBitmapSelected();
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4153 return resultobj;
4154fail:
4155 return NULL;
d55e5bfc
RD
4156}
4157
4158
1bd55598
RD
4159SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4160 PyObject *resultobj = 0;
4161 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4162 wxBitmap result;
4163 void *argp1 = 0 ;
4164 int res1 = 0 ;
4165 PyObject *swig_obj[1] ;
4166
4167 if (!args) SWIG_fail;
4168 swig_obj[0] = args;
4169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4170 if (!SWIG_IsOK(res1)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4172 }
4173 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (arg1)->GetBitmapHover();
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4181 return resultobj;
4182fail:
4183 return NULL;
4184}
4185
4186
4187SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj = 0;
4189 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4190 wxBitmap *arg2 = 0 ;
4191 void *argp1 = 0 ;
4192 int res1 = 0 ;
4193 void *argp2 = 0 ;
4194 int res2 = 0 ;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 char * kwnames[] = {
4198 (char *) "self",(char *) "bitmap", NULL
4199 };
4200
4201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4203 if (!SWIG_IsOK(res1)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4205 }
4206 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4207 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4208 if (!SWIG_IsOK(res2)) {
4209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4210 }
4211 if (!argp2) {
4212 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4213 }
4214 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 resultobj = SWIG_Py_Void();
4222 return resultobj;
4223fail:
4224 return NULL;
4225}
4226
4227
4228SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4229 PyObject *resultobj = 0;
4230 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4231 wxBitmap *arg2 = 0 ;
4232 void *argp1 = 0 ;
4233 int res1 = 0 ;
4234 void *argp2 = 0 ;
4235 int res2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char * kwnames[] = {
4239 (char *) "self",(char *) "bitmap", NULL
4240 };
4241
4242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4244 if (!SWIG_IsOK(res1)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4246 }
4247 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4249 if (!SWIG_IsOK(res2)) {
4250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4251 }
4252 if (!argp2) {
4253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4254 }
4255 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 resultobj = SWIG_Py_Void();
4263 return resultobj;
4264fail:
4265 return NULL;
4266}
4267
4268
4269SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj = 0;
4271 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4272 wxBitmap *arg2 = 0 ;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 void *argp2 = 0 ;
4276 int res2 = 0 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "bitmap", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4287 }
4288 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4289 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4290 if (!SWIG_IsOK(res2)) {
4291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4292 }
4293 if (!argp2) {
4294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4295 }
4296 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_Py_Void();
4304 return resultobj;
4305fail:
4306 return NULL;
4307}
4308
4309
4310SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj = 0;
4312 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4313 wxBitmap *arg2 = 0 ;
4314 void *argp1 = 0 ;
4315 int res1 = 0 ;
4316 void *argp2 = 0 ;
4317 int res2 = 0 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char * kwnames[] = {
4321 (char *) "self",(char *) "bitmap", NULL
4322 };
4323
4324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4326 if (!SWIG_IsOK(res1)) {
4327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4328 }
4329 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4330 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4331 if (!SWIG_IsOK(res2)) {
4332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4333 }
4334 if (!argp2) {
4335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4336 }
4337 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 resultobj = SWIG_Py_Void();
4345 return resultobj;
4346fail:
4347 return NULL;
4348}
4349
4350
4351SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj = 0;
4353 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4354 wxBitmap *arg2 = 0 ;
4355 void *argp1 = 0 ;
4356 int res1 = 0 ;
4357 void *argp2 = 0 ;
4358 int res2 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "hover", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4369 }
4370 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4371 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4372 if (!SWIG_IsOK(res2)) {
4373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4374 }
4375 if (!argp2) {
4376 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4377 }
4378 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387fail:
4388 return NULL;
4389}
4390
4391
4392SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4395 int arg2 ;
4396 int arg3 ;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 int val3 ;
4402 int ecode3 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 PyObject * obj2 = 0 ;
4406 char * kwnames[] = {
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4408 };
4409
4410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4412 if (!SWIG_IsOK(res1)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4414 }
4415 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4416 ecode2 = SWIG_AsVal_int(obj1, &val2);
4417 if (!SWIG_IsOK(ecode2)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4419 }
4420 arg2 = static_cast< int >(val2);
4421 ecode3 = SWIG_AsVal_int(obj2, &val3);
4422 if (!SWIG_IsOK(ecode3)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4424 }
4425 arg3 = static_cast< int >(val3);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetMargins(arg2,arg3);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_Py_Void();
4433 return resultobj;
4434fail:
4435 return NULL;
d55e5bfc
RD
4436}
4437
4438
1bd55598
RD
4439SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4440 PyObject *resultobj = 0;
4441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4442 int result;
4443 void *argp1 = 0 ;
4444 int res1 = 0 ;
4445 PyObject *swig_obj[1] ;
4446
4447 if (!args) SWIG_fail;
4448 swig_obj[0] = args;
4449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4452 }
4453 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_From_int(static_cast< int >(result));
4461 return resultobj;
4462fail:
4463 return NULL;
d55e5bfc
RD
4464}
4465
4466
1bd55598
RD
4467SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4468 PyObject *resultobj = 0;
4469 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4470 int result;
4471 void *argp1 = 0 ;
4472 int res1 = 0 ;
4473 PyObject *swig_obj[1] ;
4474
4475 if (!args) SWIG_fail;
4476 swig_obj[0] = args;
4477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4478 if (!SWIG_IsOK(res1)) {
4479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4480 }
4481 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_From_int(static_cast< int >(result));
4489 return resultobj;
4490fail:
4491 return NULL;
b1fcee84
RD
4492}
4493
4494
1bd55598
RD
4495SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 PyObject *obj;
4497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4498 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4499 return SWIG_Py_Void();
d55e5bfc
RD
4500}
4501
1bd55598
RD
4502SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4503 return SWIG_Python_InitShadowInstance(args);
4504}
d55e5bfc 4505
1bd55598
RD
4506SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4507 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4508 return 1;
d55e5bfc
RD
4509}
4510
4511
1bd55598
RD
4512SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4513 PyObject *pyobj = 0;
4514
4515 {
4516#if wxUSE_UNICODE
4517 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4518#else
4519 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4520#endif
4521 }
4522 return pyobj;
4523}
4524
4525
4526SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj = 0;
4528 wxWindow *arg1 = (wxWindow *) 0 ;
4529 int arg2 = (int) -1 ;
4530 wxString const &arg3_defvalue = wxPyEmptyString ;
4531 wxString *arg3 = (wxString *) &arg3_defvalue ;
4532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4534 wxSize const &arg5_defvalue = wxDefaultSize ;
4535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4536 long arg6 = (long) 0 ;
4537 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4538 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4539 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4540 wxString *arg8 = (wxString *) &arg8_defvalue ;
4541 wxCheckBox *result = 0 ;
4542 void *argp1 = 0 ;
4543 int res1 = 0 ;
4544 int val2 ;
4545 int ecode2 = 0 ;
4546 bool temp3 = false ;
4547 wxPoint temp4 ;
4548 wxSize temp5 ;
4549 long val6 ;
4550 int ecode6 = 0 ;
4551 void *argp7 = 0 ;
4552 int res7 = 0 ;
4553 bool temp8 = false ;
4554 PyObject * obj0 = 0 ;
4555 PyObject * obj1 = 0 ;
4556 PyObject * obj2 = 0 ;
4557 PyObject * obj3 = 0 ;
4558 PyObject * obj4 = 0 ;
4559 PyObject * obj5 = 0 ;
4560 PyObject * obj6 = 0 ;
4561 PyObject * obj7 = 0 ;
4562 char * kwnames[] = {
4563 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4564 };
4565
4566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4568 if (!SWIG_IsOK(res1)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4570 }
4571 arg1 = reinterpret_cast< wxWindow * >(argp1);
4572 if (obj1) {
4573 ecode2 = SWIG_AsVal_int(obj1, &val2);
4574 if (!SWIG_IsOK(ecode2)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4576 }
4577 arg2 = static_cast< int >(val2);
4578 }
4579 if (obj2) {
d55e5bfc 4580 {
1bd55598
RD
4581 arg3 = wxString_in_helper(obj2);
4582 if (arg3 == NULL) SWIG_fail;
4583 temp3 = true;
d55e5bfc 4584 }
1bd55598
RD
4585 }
4586 if (obj3) {
4587 {
4588 arg4 = &temp4;
4589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4590 }
1bd55598
RD
4591 }
4592 if (obj4) {
d55e5bfc 4593 {
1bd55598
RD
4594 arg5 = &temp5;
4595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4596 }
1bd55598
RD
4597 }
4598 if (obj5) {
4599 ecode6 = SWIG_AsVal_long(obj5, &val6);
4600 if (!SWIG_IsOK(ecode6)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4602 }
4603 arg6 = static_cast< long >(val6);
4604 }
4605 if (obj6) {
4606 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4607 if (!SWIG_IsOK(res7)) {
4608 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4609 }
1bd55598
RD
4610 if (!argp7) {
4611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4612 }
4613 arg7 = reinterpret_cast< wxValidator * >(argp7);
4614 }
4615 if (obj7) {
b1fcee84 4616 {
1bd55598
RD
4617 arg8 = wxString_in_helper(obj7);
4618 if (arg8 == NULL) SWIG_fail;
4619 temp8 = true;
b1fcee84 4620 }
1bd55598
RD
4621 }
4622 {
4623 if (!wxPyCheckForApp()) SWIG_fail;
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4630 {
4631 if (temp3)
4632 delete arg3;
4633 }
4634 {
4635 if (temp8)
4636 delete arg8;
4637 }
4638 return resultobj;
4639fail:
4640 {
4641 if (temp3)
4642 delete arg3;
4643 }
4644 {
4645 if (temp8)
4646 delete arg8;
4647 }
4648 return NULL;
b1fcee84
RD
4649}
4650
4651
1bd55598
RD
4652SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4653 PyObject *resultobj = 0;
4654 wxCheckBox *result = 0 ;
4655
4656 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4657 {
4658 if (!wxPyCheckForApp()) SWIG_fail;
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (wxCheckBox *)new wxCheckBox();
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4665 return resultobj;
4666fail:
4667 return NULL;
4668}
4669
4670
4671SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj = 0;
4673 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4674 wxWindow *arg2 = (wxWindow *) 0 ;
4675 int arg3 = (int) -1 ;
4676 wxString const &arg4_defvalue = wxPyEmptyString ;
4677 wxString *arg4 = (wxString *) &arg4_defvalue ;
4678 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4679 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4680 wxSize const &arg6_defvalue = wxDefaultSize ;
4681 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4682 long arg7 = (long) 0 ;
4683 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4684 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4685 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4686 wxString *arg9 = (wxString *) &arg9_defvalue ;
4687 bool result;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 void *argp2 = 0 ;
4691 int res2 = 0 ;
4692 int val3 ;
4693 int ecode3 = 0 ;
4694 bool temp4 = false ;
4695 wxPoint temp5 ;
4696 wxSize temp6 ;
4697 long val7 ;
4698 int ecode7 = 0 ;
4699 void *argp8 = 0 ;
4700 int res8 = 0 ;
4701 bool temp9 = false ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 PyObject * obj2 = 0 ;
4705 PyObject * obj3 = 0 ;
4706 PyObject * obj4 = 0 ;
4707 PyObject * obj5 = 0 ;
4708 PyObject * obj6 = 0 ;
4709 PyObject * obj7 = 0 ;
4710 PyObject * obj8 = 0 ;
4711 char * kwnames[] = {
4712 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4713 };
4714
4715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4717 if (!SWIG_IsOK(res1)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4719 }
4720 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res2)) {
4723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4724 }
4725 arg2 = reinterpret_cast< wxWindow * >(argp2);
4726 if (obj2) {
4727 ecode3 = SWIG_AsVal_int(obj2, &val3);
4728 if (!SWIG_IsOK(ecode3)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4730 }
4731 arg3 = static_cast< int >(val3);
4732 }
4733 if (obj3) {
36ed4f51 4734 {
1bd55598
RD
4735 arg4 = wxString_in_helper(obj3);
4736 if (arg4 == NULL) SWIG_fail;
4737 temp4 = true;
36ed4f51 4738 }
1bd55598
RD
4739 }
4740 if (obj4) {
36ed4f51 4741 {
1bd55598
RD
4742 arg5 = &temp5;
4743 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 4744 }
1bd55598
RD
4745 }
4746 if (obj5) {
d55e5bfc 4747 {
1bd55598
RD
4748 arg6 = &temp6;
4749 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4750 }
1bd55598
RD
4751 }
4752 if (obj6) {
4753 ecode7 = SWIG_AsVal_long(obj6, &val7);
4754 if (!SWIG_IsOK(ecode7)) {
4755 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4756 }
4757 arg7 = static_cast< long >(val7);
4758 }
4759 if (obj7) {
4760 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4761 if (!SWIG_IsOK(res8)) {
4762 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4763 }
1bd55598
RD
4764 if (!argp8) {
4765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4766 }
4767 arg8 = reinterpret_cast< wxValidator * >(argp8);
4768 }
4769 if (obj8) {
36ed4f51 4770 {
1bd55598
RD
4771 arg9 = wxString_in_helper(obj8);
4772 if (arg9 == NULL) SWIG_fail;
4773 temp9 = true;
36ed4f51 4774 }
1bd55598
RD
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 {
4783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4784 }
4785 {
4786 if (temp4)
4787 delete arg4;
4788 }
4789 {
4790 if (temp9)
4791 delete arg9;
4792 }
4793 return resultobj;
4794fail:
4795 {
4796 if (temp4)
4797 delete arg4;
4798 }
4799 {
4800 if (temp9)
4801 delete arg9;
4802 }
4803 return NULL;
d55e5bfc
RD
4804}
4805
4806
1bd55598
RD
4807SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4808 PyObject *resultobj = 0;
4809 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4810 bool result;
4811 void *argp1 = 0 ;
4812 int res1 = 0 ;
4813 PyObject *swig_obj[1] ;
4814
4815 if (!args) SWIG_fail;
4816 swig_obj[0] = args;
4817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4818 if (!SWIG_IsOK(res1)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4820 }
4821 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 result = (bool)(arg1)->GetValue();
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 return resultobj;
4832fail:
4833 return NULL;
d55e5bfc
RD
4834}
4835
4836
1bd55598
RD
4837SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4838 PyObject *resultobj = 0;
4839 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4840 bool result;
4841 void *argp1 = 0 ;
4842 int res1 = 0 ;
4843 PyObject *swig_obj[1] ;
4844
4845 if (!args) SWIG_fail;
4846 swig_obj[0] = args;
4847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4848 if (!SWIG_IsOK(res1)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4850 }
4851 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (bool)(arg1)->IsChecked();
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 {
4859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4860 }
4861 return resultobj;
4862fail:
4863 return NULL;
4864}
4865
4866
4867SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj = 0;
4869 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4870 bool arg2 ;
4871 void *argp1 = 0 ;
4872 int res1 = 0 ;
4873 bool val2 ;
4874 int ecode2 = 0 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char * kwnames[] = {
4878 (char *) "self",(char *) "state", NULL
4879 };
4880
4881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4885 }
4886 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4887 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4888 if (!SWIG_IsOK(ecode2)) {
4889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4890 }
4891 arg2 = static_cast< bool >(val2);
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->SetValue(arg2);
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = SWIG_Py_Void();
4899 return resultobj;
4900fail:
4901 return NULL;
d55e5bfc 4902}
1bd55598
RD
4903
4904
4905SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4906 PyObject *resultobj = 0;
4907 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4908 wxCheckBoxState result;
4909 void *argp1 = 0 ;
4910 int res1 = 0 ;
4911 PyObject *swig_obj[1] ;
4912
4913 if (!args) SWIG_fail;
4914 swig_obj[0] = args;
4915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4916 if (!SWIG_IsOK(res1)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4918 }
4919 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 resultobj = SWIG_From_int(static_cast< int >(result));
4927 return resultobj;
4928fail:
4929 return NULL;
4930}
4931
4932
4933SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj = 0;
4935 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4936 wxCheckBoxState arg2 ;
4937 void *argp1 = 0 ;
4938 int res1 = 0 ;
4939 int val2 ;
4940 int ecode2 = 0 ;
4941 PyObject * obj0 = 0 ;
4942 PyObject * obj1 = 0 ;
4943 char * kwnames[] = {
4944 (char *) "self",(char *) "state", NULL
4945 };
4946
4947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4949 if (!SWIG_IsOK(res1)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4951 }
4952 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4953 ecode2 = SWIG_AsVal_int(obj1, &val2);
4954 if (!SWIG_IsOK(ecode2)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4956 }
4957 arg2 = static_cast< wxCheckBoxState >(val2);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 (arg1)->Set3StateValue(arg2);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 return resultobj;
4966fail:
4967 return NULL;
d55e5bfc
RD
4968}
4969
4970
1bd55598
RD
4971SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4972 PyObject *resultobj = 0;
4973 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4974 bool result;
4975 void *argp1 = 0 ;
4976 int res1 = 0 ;
4977 PyObject *swig_obj[1] ;
4978
4979 if (!args) SWIG_fail;
4980 swig_obj[0] = args;
4981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4982 if (!SWIG_IsOK(res1)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4984 }
4985 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 {
4993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4994 }
4995 return resultobj;
4996fail:
4997 return NULL;
d55e5bfc
RD
4998}
4999
5000
1bd55598
RD
5001SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5002 PyObject *resultobj = 0;
5003 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5004 bool result;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5014 }
5015 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 {
5023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5024 }
5025 return resultobj;
5026fail:
5027 return NULL;
d55e5bfc
RD
5028}
5029
5030
1bd55598
RD
5031SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5032 PyObject *resultobj = 0;
5033 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5034 SwigValueWrapper<wxVisualAttributes > result;
5035 int val1 ;
5036 int ecode1 = 0 ;
5037 PyObject * obj0 = 0 ;
5038 char * kwnames[] = {
5039 (char *) "variant", NULL
5040 };
5041
5042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5043 if (obj0) {
5044 ecode1 = SWIG_AsVal_int(obj0, &val1);
5045 if (!SWIG_IsOK(ecode1)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5047 }
5048 arg1 = static_cast< wxWindowVariant >(val1);
5049 }
5050 {
5051 if (!wxPyCheckForApp()) SWIG_fail;
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5058 return resultobj;
5059fail:
5060 return NULL;
d55e5bfc
RD
5061}
5062
5063
1bd55598
RD
5064SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5065 PyObject *obj;
5066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5067 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5068 return SWIG_Py_Void();
d55e5bfc
RD
5069}
5070
1bd55598
RD
5071SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5072 return SWIG_Python_InitShadowInstance(args);
5073}
d55e5bfc 5074
1bd55598
RD
5075SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5076 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5077 return 1;
d55e5bfc
RD
5078}
5079
5080
1bd55598
RD
5081SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5082 PyObject *pyobj = 0;
5083
5084 {
5085#if wxUSE_UNICODE
5086 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5087#else
5088 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5089#endif
5090 }
5091 return pyobj;
5092}
5093
5094
5095SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj = 0;
5097 wxWindow *arg1 = (wxWindow *) 0 ;
5098 int arg2 = (int) -1 ;
5099 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5100 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5101 wxSize const &arg4_defvalue = wxDefaultSize ;
5102 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5103 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5104 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5105 long arg6 = (long) 0 ;
5106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5108 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5109 wxString *arg8 = (wxString *) &arg8_defvalue ;
5110 wxChoice *result = 0 ;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 int val2 ;
5114 int ecode2 = 0 ;
5115 wxPoint temp3 ;
5116 wxSize temp4 ;
5117 bool temp5 = false ;
5118 long val6 ;
5119 int ecode6 = 0 ;
5120 void *argp7 = 0 ;
5121 int res7 = 0 ;
5122 bool temp8 = false ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 PyObject * obj2 = 0 ;
5126 PyObject * obj3 = 0 ;
5127 PyObject * obj4 = 0 ;
5128 PyObject * obj5 = 0 ;
5129 PyObject * obj6 = 0 ;
5130 PyObject * obj7 = 0 ;
5131 char * kwnames[] = {
5132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 };
5134
5135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5137 if (!SWIG_IsOK(res1)) {
5138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5139 }
5140 arg1 = reinterpret_cast< wxWindow * >(argp1);
5141 if (obj1) {
5142 ecode2 = SWIG_AsVal_int(obj1, &val2);
5143 if (!SWIG_IsOK(ecode2)) {
5144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5145 }
5146 arg2 = static_cast< int >(val2);
5147 }
5148 if (obj2) {
36ed4f51 5149 {
1bd55598
RD
5150 arg3 = &temp3;
5151 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 5152 }
1bd55598
RD
5153 }
5154 if (obj3) {
d55e5bfc 5155 {
1bd55598
RD
5156 arg4 = &temp4;
5157 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5158 }
1bd55598
RD
5159 }
5160 if (obj4) {
d55e5bfc 5161 {
1bd55598
RD
5162 if (! PySequence_Check(obj4)) {
5163 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5164 SWIG_fail;
5165 }
5166 arg5 = new wxArrayString;
5167 temp5 = true;
5168 int i, len=PySequence_Length(obj4);
5169 for (i=0; i<len; i++) {
5170 PyObject* item = PySequence_GetItem(obj4, i);
5171 wxString* s = wxString_in_helper(item);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 arg5->Add(*s);
5174 delete s;
5175 Py_DECREF(item);
5176 }
d55e5bfc 5177 }
1bd55598
RD
5178 }
5179 if (obj5) {
5180 ecode6 = SWIG_AsVal_long(obj5, &val6);
5181 if (!SWIG_IsOK(ecode6)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5183 }
5184 arg6 = static_cast< long >(val6);
5185 }
5186 if (obj6) {
5187 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5188 if (!SWIG_IsOK(res7)) {
5189 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 5190 }
1bd55598
RD
5191 if (!argp7) {
5192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5193 }
5194 arg7 = reinterpret_cast< wxValidator * >(argp7);
5195 }
5196 if (obj7) {
d55e5bfc 5197 {
1bd55598
RD
5198 arg8 = wxString_in_helper(obj7);
5199 if (arg8 == NULL) SWIG_fail;
5200 temp8 = true;
d55e5bfc 5201 }
1bd55598
RD
5202 }
5203 {
5204 if (!wxPyCheckForApp()) SWIG_fail;
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5211 {
5212 if (temp5) delete arg5;
5213 }
5214 {
5215 if (temp8)
5216 delete arg8;
5217 }
5218 return resultobj;
5219fail:
5220 {
5221 if (temp5) delete arg5;
5222 }
5223 {
5224 if (temp8)
5225 delete arg8;
5226 }
5227 return NULL;
d55e5bfc
RD
5228}
5229
5230
1bd55598
RD
5231SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5232 PyObject *resultobj = 0;
5233 wxChoice *result = 0 ;
5234
5235 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5236 {
5237 if (!wxPyCheckForApp()) SWIG_fail;
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (wxChoice *)new wxChoice();
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5244 return resultobj;
5245fail:
5246 return NULL;
5247}
5248
5249
5250SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj = 0;
5252 wxChoice *arg1 = (wxChoice *) 0 ;
5253 wxWindow *arg2 = (wxWindow *) 0 ;
5254 int arg3 = (int) -1 ;
5255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5257 wxSize const &arg5_defvalue = wxDefaultSize ;
5258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5259 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5260 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5261 long arg7 = (long) 0 ;
5262 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5263 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5264 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5265 wxString *arg9 = (wxString *) &arg9_defvalue ;
5266 bool result;
5267 void *argp1 = 0 ;
5268 int res1 = 0 ;
5269 void *argp2 = 0 ;
5270 int res2 = 0 ;
5271 int val3 ;
5272 int ecode3 = 0 ;
5273 wxPoint temp4 ;
5274 wxSize temp5 ;
5275 bool temp6 = false ;
5276 long val7 ;
5277 int ecode7 = 0 ;
5278 void *argp8 = 0 ;
5279 int res8 = 0 ;
5280 bool temp9 = false ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 PyObject * obj2 = 0 ;
5284 PyObject * obj3 = 0 ;
5285 PyObject * obj4 = 0 ;
5286 PyObject * obj5 = 0 ;
5287 PyObject * obj6 = 0 ;
5288 PyObject * obj7 = 0 ;
5289 PyObject * obj8 = 0 ;
5290 char * kwnames[] = {
5291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5292 };
5293
5294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5296 if (!SWIG_IsOK(res1)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5298 }
5299 arg1 = reinterpret_cast< wxChoice * >(argp1);
5300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5301 if (!SWIG_IsOK(res2)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5303 }
5304 arg2 = reinterpret_cast< wxWindow * >(argp2);
5305 if (obj2) {
5306 ecode3 = SWIG_AsVal_int(obj2, &val3);
5307 if (!SWIG_IsOK(ecode3)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5309 }
5310 arg3 = static_cast< int >(val3);
5311 }
5312 if (obj3) {
d55e5bfc 5313 {
1bd55598
RD
5314 arg4 = &temp4;
5315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5316 }
1bd55598
RD
5317 }
5318 if (obj4) {
d55e5bfc 5319 {
1bd55598
RD
5320 arg5 = &temp5;
5321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5322 }
1bd55598
RD
5323 }
5324 if (obj5) {
d55e5bfc 5325 {
1bd55598
RD
5326 if (! PySequence_Check(obj5)) {
5327 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5328 SWIG_fail;
5329 }
5330 arg6 = new wxArrayString;
5331 temp6 = true;
5332 int i, len=PySequence_Length(obj5);
5333 for (i=0; i<len; i++) {
5334 PyObject* item = PySequence_GetItem(obj5, i);
5335 wxString* s = wxString_in_helper(item);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 arg6->Add(*s);
5338 delete s;
5339 Py_DECREF(item);
5340 }
5341 }
5342 }
5343 if (obj6) {
5344 ecode7 = SWIG_AsVal_long(obj6, &val7);
5345 if (!SWIG_IsOK(ecode7)) {
5346 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5347 }
5348 arg7 = static_cast< long >(val7);
5349 }
5350 if (obj7) {
5351 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5352 if (!SWIG_IsOK(res8)) {
5353 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5354 }
1bd55598
RD
5355 if (!argp8) {
5356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5357 }
5358 arg8 = reinterpret_cast< wxValidator * >(argp8);
5359 }
5360 if (obj8) {
d55e5bfc 5361 {
1bd55598
RD
5362 arg9 = wxString_in_helper(obj8);
5363 if (arg9 == NULL) SWIG_fail;
5364 temp9 = true;
d55e5bfc 5365 }
1bd55598
RD
5366 }
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5375 }
5376 {
5377 if (temp6) delete arg6;
5378 }
5379 {
5380 if (temp9)
5381 delete arg9;
5382 }
5383 return resultobj;
5384fail:
5385 {
5386 if (temp6) delete arg6;
5387 }
5388 {
5389 if (temp9)
5390 delete arg9;
5391 }
5392 return NULL;
d55e5bfc
RD
5393}
5394
5395
1bd55598
RD
5396SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397 PyObject *resultobj = 0;
5398 wxChoice *arg1 = (wxChoice *) 0 ;
5399 int result;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5409 }
5410 arg1 = reinterpret_cast< wxChoice * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = SWIG_From_int(static_cast< int >(result));
5418 return resultobj;
5419fail:
5420 return NULL;
5421}
5422
5423
5424SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = 0;
5426 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5427 SwigValueWrapper<wxVisualAttributes > result;
5428 int val1 ;
5429 int ecode1 = 0 ;
5430 PyObject * obj0 = 0 ;
5431 char * kwnames[] = {
5432 (char *) "variant", NULL
5433 };
5434
5435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5436 if (obj0) {
5437 ecode1 = SWIG_AsVal_int(obj0, &val1);
5438 if (!SWIG_IsOK(ecode1)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5440 }
5441 arg1 = static_cast< wxWindowVariant >(val1);
5442 }
5443 {
5444 if (!wxPyCheckForApp()) SWIG_fail;
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = wxChoice::GetClassDefaultAttributes(arg1);
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5451 return resultobj;
5452fail:
5453 return NULL;
f20a2e1f
RD
5454}
5455
5456
1bd55598
RD
5457SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 PyObject *obj;
5459 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5460 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5461 return SWIG_Py_Void();
d55e5bfc 5462}
1bd55598
RD
5463
5464SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5465 return SWIG_Python_InitShadowInstance(args);
5466}
5467
5468SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5469 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5470 return 1;
d55e5bfc
RD
5471}
5472
5473
1bd55598
RD
5474SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5475 PyObject *pyobj = 0;
5476
5477 {
d55e5bfc 5478#if wxUSE_UNICODE
1bd55598 5479 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5480#else
1bd55598 5481 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5482#endif
1bd55598
RD
5483 }
5484 return pyobj;
5485}
5486
5487
5488SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj = 0;
5490 wxWindow *arg1 = (wxWindow *) 0 ;
5491 int arg2 = (int) -1 ;
5492 wxString const &arg3_defvalue = wxPyEmptyString ;
5493 wxString *arg3 = (wxString *) &arg3_defvalue ;
5494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5496 wxSize const &arg5_defvalue = wxDefaultSize ;
5497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5498 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5499 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5500 long arg7 = (long) 0 ;
5501 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5502 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5503 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5504 wxString *arg9 = (wxString *) &arg9_defvalue ;
5505 wxComboBox *result = 0 ;
5506 void *argp1 = 0 ;
5507 int res1 = 0 ;
5508 int val2 ;
5509 int ecode2 = 0 ;
5510 bool temp3 = false ;
5511 wxPoint temp4 ;
5512 wxSize temp5 ;
5513 bool temp6 = false ;
5514 long val7 ;
5515 int ecode7 = 0 ;
5516 void *argp8 = 0 ;
5517 int res8 = 0 ;
5518 bool temp9 = false ;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 PyObject * obj2 = 0 ;
5522 PyObject * obj3 = 0 ;
5523 PyObject * obj4 = 0 ;
5524 PyObject * obj5 = 0 ;
5525 PyObject * obj6 = 0 ;
5526 PyObject * obj7 = 0 ;
5527 PyObject * obj8 = 0 ;
5528 char * kwnames[] = {
5529 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5530 };
5531
5532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5534 if (!SWIG_IsOK(res1)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5536 }
5537 arg1 = reinterpret_cast< wxWindow * >(argp1);
5538 if (obj1) {
5539 ecode2 = SWIG_AsVal_int(obj1, &val2);
5540 if (!SWIG_IsOK(ecode2)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5542 }
5543 arg2 = static_cast< int >(val2);
5544 }
5545 if (obj2) {
d55e5bfc 5546 {
1bd55598
RD
5547 arg3 = wxString_in_helper(obj2);
5548 if (arg3 == NULL) SWIG_fail;
5549 temp3 = true;
d55e5bfc 5550 }
1bd55598
RD
5551 }
5552 if (obj3) {
d55e5bfc 5553 {
1bd55598
RD
5554 arg4 = &temp4;
5555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5556 }
1bd55598
RD
5557 }
5558 if (obj4) {
d55e5bfc 5559 {
1bd55598
RD
5560 arg5 = &temp5;
5561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5562 }
1bd55598
RD
5563 }
5564 if (obj5) {
d55e5bfc 5565 {
1bd55598
RD
5566 if (! PySequence_Check(obj5)) {
5567 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5568 SWIG_fail;
5569 }
5570 arg6 = new wxArrayString;
5571 temp6 = true;
5572 int i, len=PySequence_Length(obj5);
5573 for (i=0; i<len; i++) {
5574 PyObject* item = PySequence_GetItem(obj5, i);
5575 wxString* s = wxString_in_helper(item);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 arg6->Add(*s);
5578 delete s;
5579 Py_DECREF(item);
5580 }
d55e5bfc 5581 }
1bd55598
RD
5582 }
5583 if (obj6) {
5584 ecode7 = SWIG_AsVal_long(obj6, &val7);
5585 if (!SWIG_IsOK(ecode7)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5587 }
5588 arg7 = static_cast< long >(val7);
5589 }
5590 if (obj7) {
5591 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5592 if (!SWIG_IsOK(res8)) {
5593 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5594 }
5595 if (!argp8) {
5596 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5597 }
5598 arg8 = reinterpret_cast< wxValidator * >(argp8);
5599 }
5600 if (obj8) {
d55e5bfc 5601 {
1bd55598
RD
5602 arg9 = wxString_in_helper(obj8);
5603 if (arg9 == NULL) SWIG_fail;
5604 temp9 = true;
d55e5bfc 5605 }
1bd55598
RD
5606 }
5607 {
5608 if (!wxPyCheckForApp()) SWIG_fail;
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 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);
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5615 {
5616 if (temp3)
5617 delete arg3;
5618 }
5619 {
5620 if (temp6) delete arg6;
5621 }
5622 {
5623 if (temp9)
5624 delete arg9;
5625 }
5626 return resultobj;
5627fail:
5628 {
5629 if (temp3)
5630 delete arg3;
5631 }
5632 {
5633 if (temp6) delete arg6;
5634 }
5635 {
5636 if (temp9)
5637 delete arg9;
5638 }
5639 return NULL;
d55e5bfc
RD
5640}
5641
5642
1bd55598
RD
5643SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxComboBox *result = 0 ;
5646
5647 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5648 {
5649 if (!wxPyCheckForApp()) SWIG_fail;
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (wxComboBox *)new wxComboBox();
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5656 return resultobj;
5657fail:
5658 return NULL;
5659}
5660
5661
5662SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj = 0;
5664 wxComboBox *arg1 = (wxComboBox *) 0 ;
5665 wxWindow *arg2 = (wxWindow *) 0 ;
5666 int arg3 = (int) -1 ;
5667 wxString const &arg4_defvalue = wxPyEmptyString ;
5668 wxString *arg4 = (wxString *) &arg4_defvalue ;
5669 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5670 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5671 wxSize const &arg6_defvalue = wxDefaultSize ;
5672 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5673 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5674 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5675 long arg8 = (long) 0 ;
5676 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5677 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5678 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5679 wxString *arg10 = (wxString *) &arg10_defvalue ;
5680 bool result;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 void *argp2 = 0 ;
5684 int res2 = 0 ;
5685 int val3 ;
5686 int ecode3 = 0 ;
5687 bool temp4 = false ;
5688 wxPoint temp5 ;
5689 wxSize temp6 ;
5690 bool temp7 = false ;
5691 long val8 ;
5692 int ecode8 = 0 ;
5693 void *argp9 = 0 ;
5694 int res9 = 0 ;
5695 bool temp10 = false ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj1 = 0 ;
5698 PyObject * obj2 = 0 ;
5699 PyObject * obj3 = 0 ;
5700 PyObject * obj4 = 0 ;
5701 PyObject * obj5 = 0 ;
5702 PyObject * obj6 = 0 ;
5703 PyObject * obj7 = 0 ;
5704 PyObject * obj8 = 0 ;
5705 PyObject * obj9 = 0 ;
5706 char * kwnames[] = {
5707 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5708 };
5709
5710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5712 if (!SWIG_IsOK(res1)) {
5713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5714 }
5715 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5717 if (!SWIG_IsOK(res2)) {
5718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5719 }
5720 arg2 = reinterpret_cast< wxWindow * >(argp2);
5721 if (obj2) {
5722 ecode3 = SWIG_AsVal_int(obj2, &val3);
5723 if (!SWIG_IsOK(ecode3)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5725 }
5726 arg3 = static_cast< int >(val3);
5727 }
5728 if (obj3) {
d55e5bfc 5729 {
1bd55598
RD
5730 arg4 = wxString_in_helper(obj3);
5731 if (arg4 == NULL) SWIG_fail;
5732 temp4 = true;
d55e5bfc 5733 }
1bd55598
RD
5734 }
5735 if (obj4) {
d55e5bfc 5736 {
1bd55598
RD
5737 arg5 = &temp5;
5738 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5739 }
1bd55598
RD
5740 }
5741 if (obj5) {
d55e5bfc 5742 {
1bd55598
RD
5743 arg6 = &temp6;
5744 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5745 }
1bd55598
RD
5746 }
5747 if (obj6) {
d55e5bfc 5748 {
1bd55598
RD
5749 if (! PySequence_Check(obj6)) {
5750 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5751 SWIG_fail;
5752 }
5753 arg7 = new wxArrayString;
5754 temp7 = true;
5755 int i, len=PySequence_Length(obj6);
5756 for (i=0; i<len; i++) {
5757 PyObject* item = PySequence_GetItem(obj6, i);
5758 wxString* s = wxString_in_helper(item);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 arg7->Add(*s);
5761 delete s;
5762 Py_DECREF(item);
5763 }
d55e5bfc 5764 }
1bd55598
RD
5765 }
5766 if (obj7) {
5767 ecode8 = SWIG_AsVal_long(obj7, &val8);
5768 if (!SWIG_IsOK(ecode8)) {
5769 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5770 }
5771 arg8 = static_cast< long >(val8);
5772 }
5773 if (obj8) {
5774 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5775 if (!SWIG_IsOK(res9)) {
5776 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5777 }
1bd55598
RD
5778 if (!argp9) {
5779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5780 }
1bd55598
RD
5781 arg9 = reinterpret_cast< wxValidator * >(argp9);
5782 }
5783 if (obj9) {
d55e5bfc 5784 {
1bd55598
RD
5785 arg10 = wxString_in_helper(obj9);
5786 if (arg10 == NULL) SWIG_fail;
5787 temp10 = true;
d55e5bfc 5788 }
1bd55598
RD
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 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);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 {
5800 if (temp4)
5801 delete arg4;
5802 }
5803 {
5804 if (temp7) delete arg7;
5805 }
5806 {
5807 if (temp10)
5808 delete arg10;
5809 }
5810 return resultobj;
5811fail:
5812 {
5813 if (temp4)
5814 delete arg4;
5815 }
5816 {
5817 if (temp7) delete arg7;
5818 }
5819 {
5820 if (temp10)
5821 delete arg10;
5822 }
5823 return NULL;
d55e5bfc
RD
5824}
5825
5826
1bd55598
RD
5827SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5828 PyObject *resultobj = 0;
5829 wxComboBox *arg1 = (wxComboBox *) 0 ;
5830 wxString result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 PyObject *swig_obj[1] ;
5834
5835 if (!args) SWIG_fail;
5836 swig_obj[0] = args;
5837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5838 if (!SWIG_IsOK(res1)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5840 }
5841 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = ((wxComboBox const *)arg1)->GetValue();
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 {
d55e5bfc 5849#if wxUSE_UNICODE
1bd55598 5850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5851#else
1bd55598 5852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5853#endif
1bd55598
RD
5854 }
5855 return resultobj;
5856fail:
5857 return NULL;
5858}
5859
5860
5861SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = 0;
5863 wxComboBox *arg1 = (wxComboBox *) 0 ;
5864 wxString *arg2 = 0 ;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 bool temp2 = false ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char * kwnames[] = {
5871 (char *) "self",(char *) "value", NULL
5872 };
5873
5874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5876 if (!SWIG_IsOK(res1)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5878 }
5879 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5880 {
5881 arg2 = wxString_in_helper(obj1);
5882 if (arg2 == NULL) SWIG_fail;
5883 temp2 = true;
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->SetValue((wxString const &)*arg2);
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = SWIG_Py_Void();
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return resultobj;
5897fail:
5898 {
5899 if (temp2)
5900 delete arg2;
5901 }
5902 return NULL;
d55e5bfc
RD
5903}
5904
5905
1bd55598
RD
5906SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5907 PyObject *resultobj = 0;
5908 wxComboBox *arg1 = (wxComboBox *) 0 ;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5918 }
5919 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 (arg1)->Copy();
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 resultobj = SWIG_Py_Void();
5927 return resultobj;
5928fail:
5929 return NULL;
d55e5bfc
RD
5930}
5931
5932
1bd55598
RD
5933SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5934 PyObject *resultobj = 0;
5935 wxComboBox *arg1 = (wxComboBox *) 0 ;
5936 void *argp1 = 0 ;
5937 int res1 = 0 ;
5938 PyObject *swig_obj[1] ;
5939
5940 if (!args) SWIG_fail;
5941 swig_obj[0] = args;
5942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5945 }
5946 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 (arg1)->Cut();
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = SWIG_Py_Void();
5954 return resultobj;
5955fail:
5956 return NULL;
d55e5bfc
RD
5957}
5958
5959
1bd55598
RD
5960SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5961 PyObject *resultobj = 0;
5962 wxComboBox *arg1 = (wxComboBox *) 0 ;
5963 void *argp1 = 0 ;
5964 int res1 = 0 ;
5965 PyObject *swig_obj[1] ;
5966
5967 if (!args) SWIG_fail;
5968 swig_obj[0] = args;
5969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5970 if (!SWIG_IsOK(res1)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5972 }
5973 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 (arg1)->Paste();
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = SWIG_Py_Void();
5981 return resultobj;
5982fail:
5983 return NULL;
5984}
5985
5986
5987SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj = 0;
5989 wxComboBox *arg1 = (wxComboBox *) 0 ;
5990 long arg2 ;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 long val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "pos", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6005 }
6006 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6007 ecode2 = SWIG_AsVal_long(obj1, &val2);
6008 if (!SWIG_IsOK(ecode2)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6010 }
6011 arg2 = static_cast< long >(val2);
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 (arg1)->SetInsertionPoint(arg2);
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = SWIG_Py_Void();
6019 return resultobj;
6020fail:
6021 return NULL;
d55e5bfc
RD
6022}
6023
6024
1bd55598
RD
6025SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6026 PyObject *resultobj = 0;
6027 wxComboBox *arg1 = (wxComboBox *) 0 ;
6028 long result;
6029 void *argp1 = 0 ;
6030 int res1 = 0 ;
6031 PyObject *swig_obj[1] ;
6032
6033 if (!args) SWIG_fail;
6034 swig_obj[0] = args;
6035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6036 if (!SWIG_IsOK(res1)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6038 }
6039 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_From_long(static_cast< long >(result));
6047 return resultobj;
6048fail:
6049 return NULL;
d55e5bfc
RD
6050}
6051
6052
1bd55598
RD
6053SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6054 PyObject *resultobj = 0;
6055 wxComboBox *arg1 = (wxComboBox *) 0 ;
6056 long result;
6057 void *argp1 = 0 ;
6058 int res1 = 0 ;
6059 PyObject *swig_obj[1] ;
6060
6061 if (!args) SWIG_fail;
6062 swig_obj[0] = args;
6063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6064 if (!SWIG_IsOK(res1)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6066 }
6067 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 resultobj = SWIG_From_long(static_cast< long >(result));
6075 return resultobj;
6076fail:
6077 return NULL;
6078}
6079
6080
6081SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj = 0;
6083 wxComboBox *arg1 = (wxComboBox *) 0 ;
6084 long arg2 ;
6085 long arg3 ;
6086 wxString *arg4 = 0 ;
6087 void *argp1 = 0 ;
6088 int res1 = 0 ;
6089 long val2 ;
6090 int ecode2 = 0 ;
6091 long val3 ;
6092 int ecode3 = 0 ;
6093 bool temp4 = false ;
6094 PyObject * obj0 = 0 ;
6095 PyObject * obj1 = 0 ;
6096 PyObject * obj2 = 0 ;
6097 PyObject * obj3 = 0 ;
6098 char * kwnames[] = {
2131d850 6099 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
6100 };
6101
6102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6106 }
6107 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6108 ecode2 = SWIG_AsVal_long(obj1, &val2);
6109 if (!SWIG_IsOK(ecode2)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6111 }
6112 arg2 = static_cast< long >(val2);
6113 ecode3 = SWIG_AsVal_long(obj2, &val3);
6114 if (!SWIG_IsOK(ecode3)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6116 }
6117 arg3 = static_cast< long >(val3);
6118 {
6119 arg4 = wxString_in_helper(obj3);
6120 if (arg4 == NULL) SWIG_fail;
6121 temp4 = true;
6122 }
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 resultobj = SWIG_Py_Void();
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return resultobj;
6135fail:
6136 {
6137 if (temp4)
6138 delete arg4;
6139 }
6140 return NULL;
6141}
6142
6143
6144SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj = 0;
6146 wxComboBox *arg1 = (wxComboBox *) 0 ;
6147 long arg2 ;
6148 long arg3 ;
6149 void *argp1 = 0 ;
6150 int res1 = 0 ;
6151 long val2 ;
6152 int ecode2 = 0 ;
6153 long val3 ;
6154 int ecode3 = 0 ;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 PyObject * obj2 = 0 ;
6158 char * kwnames[] = {
2131d850 6159 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
6160 };
6161
6162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6164 if (!SWIG_IsOK(res1)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6166 }
6167 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6168 ecode2 = SWIG_AsVal_long(obj1, &val2);
6169 if (!SWIG_IsOK(ecode2)) {
6170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6171 }
6172 arg2 = static_cast< long >(val2);
6173 ecode3 = SWIG_AsVal_long(obj2, &val3);
6174 if (!SWIG_IsOK(ecode3)) {
6175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6176 }
6177 arg3 = static_cast< long >(val3);
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 (arg1)->SetSelection(arg2,arg3);
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 resultobj = SWIG_Py_Void();
6185 return resultobj;
6186fail:
6187 return NULL;
d55e5bfc
RD
6188}
6189
6190
1bd55598
RD
6191SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6192 PyObject *resultobj = 0;
6193 wxComboBox *arg1 = (wxComboBox *) 0 ;
6194 int result;
6195 void *argp1 = 0 ;
6196 int res1 = 0 ;
6197 PyObject *swig_obj[1] ;
6198
6199 if (!args) SWIG_fail;
6200 swig_obj[0] = args;
6201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6202 if (!SWIG_IsOK(res1)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6204 }
6205 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_From_int(static_cast< int >(result));
6213 return resultobj;
6214fail:
6215 return NULL;
6216}
6217
6218
6219SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj = 0;
6221 wxComboBox *arg1 = (wxComboBox *) 0 ;
6222 wxString *arg2 = 0 ;
6223 bool result;
6224 void *argp1 = 0 ;
6225 int res1 = 0 ;
6226 bool temp2 = false ;
6227 PyObject * obj0 = 0 ;
6228 PyObject * obj1 = 0 ;
6229 char * kwnames[] = {
6230 (char *) "self",(char *) "string", NULL
6231 };
6232
6233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6235 if (!SWIG_IsOK(res1)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6237 }
6238 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6239 {
6240 arg2 = wxString_in_helper(obj1);
6241 if (arg2 == NULL) SWIG_fail;
6242 temp2 = true;
6243 }
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 {
6251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6252 }
6253 {
6254 if (temp2)
6255 delete arg2;
6256 }
6257 return resultobj;
6258fail:
6259 {
6260 if (temp2)
6261 delete arg2;
6262 }
6263 return NULL;
6264}
6265
6266
50f151d7
RD
6267SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj = 0;
6269 wxComboBox *arg1 = (wxComboBox *) 0 ;
6270 int arg2 ;
6271 wxString *arg3 = 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 int val2 ;
6275 int ecode2 = 0 ;
6276 bool temp3 = false ;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 PyObject * obj2 = 0 ;
6280 char * kwnames[] = {
6281 (char *) "self",(char *) "n",(char *) "string", NULL
6282 };
6283
6284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6286 if (!SWIG_IsOK(res1)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6288 }
6289 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6290 ecode2 = SWIG_AsVal_int(obj1, &val2);
6291 if (!SWIG_IsOK(ecode2)) {
6292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6293 }
6294 arg2 = static_cast< int >(val2);
6295 {
6296 arg3 = wxString_in_helper(obj2);
6297 if (arg3 == NULL) SWIG_fail;
6298 temp3 = true;
6299 }
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->SetString(arg2,(wxString const &)*arg3);
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = SWIG_Py_Void();
6307 {
6308 if (temp3)
6309 delete arg3;
6310 }
6311 return resultobj;
6312fail:
6313 {
6314 if (temp3)
6315 delete arg3;
6316 }
6317 return NULL;
6318}
6319
6320
1bd55598
RD
6321SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj = 0;
6323 wxComboBox *arg1 = (wxComboBox *) 0 ;
6324 bool arg2 ;
6325 void *argp1 = 0 ;
6326 int res1 = 0 ;
6327 bool val2 ;
6328 int ecode2 = 0 ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 char * kwnames[] = {
6332 (char *) "self",(char *) "editable", NULL
6333 };
6334
6335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6337 if (!SWIG_IsOK(res1)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6339 }
6340 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6341 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6342 if (!SWIG_IsOK(ecode2)) {
6343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6344 }
6345 arg2 = static_cast< bool >(val2);
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 (arg1)->SetEditable(arg2);
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 resultobj = SWIG_Py_Void();
6353 return resultobj;
6354fail:
6355 return NULL;
d55e5bfc
RD
6356}
6357
6358
1bd55598
RD
6359SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6360 PyObject *resultobj = 0;
6361 wxComboBox *arg1 = (wxComboBox *) 0 ;
6362 void *argp1 = 0 ;
6363 int res1 = 0 ;
6364 PyObject *swig_obj[1] ;
6365
6366 if (!args) SWIG_fail;
6367 swig_obj[0] = args;
6368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6369 if (!SWIG_IsOK(res1)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6371 }
6372 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 (arg1)->SetInsertionPointEnd();
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 resultobj = SWIG_Py_Void();
6380 return resultobj;
6381fail:
6382 return NULL;
6383}
6384
6385
6386SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj = 0;
6388 wxComboBox *arg1 = (wxComboBox *) 0 ;
6389 long arg2 ;
6390 long arg3 ;
6391 void *argp1 = 0 ;
6392 int res1 = 0 ;
6393 long val2 ;
6394 int ecode2 = 0 ;
6395 long val3 ;
6396 int ecode3 = 0 ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
6400 char * kwnames[] = {
2131d850 6401 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
6402 };
6403
6404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6406 if (!SWIG_IsOK(res1)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6408 }
6409 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6410 ecode2 = SWIG_AsVal_long(obj1, &val2);
6411 if (!SWIG_IsOK(ecode2)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6413 }
6414 arg2 = static_cast< long >(val2);
6415 ecode3 = SWIG_AsVal_long(obj2, &val3);
6416 if (!SWIG_IsOK(ecode3)) {
6417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6418 }
6419 arg3 = static_cast< long >(val3);
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->Remove(arg2,arg3);
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = SWIG_Py_Void();
6427 return resultobj;
6428fail:
6429 return NULL;
d55e5bfc
RD
6430}
6431
6432
1bd55598
RD
6433SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6434 PyObject *resultobj = 0;
6435 wxComboBox *arg1 = (wxComboBox *) 0 ;
6436 bool result;
6437 void *argp1 = 0 ;
6438 int res1 = 0 ;
6439 PyObject *swig_obj[1] ;
6440
6441 if (!args) SWIG_fail;
6442 swig_obj[0] = args;
6443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6444 if (!SWIG_IsOK(res1)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6446 }
6447 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 {
6455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6456 }
6457 return resultobj;
6458fail:
6459 return NULL;
d55e5bfc
RD
6460}
6461
6462
1bd55598
RD
6463SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6464 PyObject *resultobj = 0;
6465 wxComboBox *arg1 = (wxComboBox *) 0 ;
6466 void *argp1 = 0 ;
6467 int res1 = 0 ;
6468 PyObject *swig_obj[1] ;
6469
6470 if (!args) SWIG_fail;
6471 swig_obj[0] = args;
6472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6473 if (!SWIG_IsOK(res1)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6475 }
6476 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 (arg1)->Undo();
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 resultobj = SWIG_Py_Void();
6484 return resultobj;
6485fail:
6486 return NULL;
d55e5bfc
RD
6487}
6488
6489
1bd55598
RD
6490SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6491 PyObject *resultobj = 0;
6492 wxComboBox *arg1 = (wxComboBox *) 0 ;
6493 void *argp1 = 0 ;
6494 int res1 = 0 ;
6495 PyObject *swig_obj[1] ;
6496
6497 if (!args) SWIG_fail;
6498 swig_obj[0] = args;
6499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6502 }
6503 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 (arg1)->Redo();
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 resultobj = SWIG_Py_Void();
6511 return resultobj;
6512fail:
6513 return NULL;
d55e5bfc
RD
6514}
6515
6516
1bd55598
RD
6517SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6518 PyObject *resultobj = 0;
6519 wxComboBox *arg1 = (wxComboBox *) 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 PyObject *swig_obj[1] ;
6523
6524 if (!args) SWIG_fail;
6525 swig_obj[0] = args;
6526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6527 if (!SWIG_IsOK(res1)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6529 }
6530 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 (arg1)->SelectAll();
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 resultobj = SWIG_Py_Void();
6538 return resultobj;
6539fail:
6540 return NULL;
943e8dfd
RD
6541}
6542
6543
1bd55598
RD
6544SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6545 PyObject *resultobj = 0;
6546 wxComboBox *arg1 = (wxComboBox *) 0 ;
6547 bool result;
6548 void *argp1 = 0 ;
6549 int res1 = 0 ;
6550 PyObject *swig_obj[1] ;
6551
6552 if (!args) SWIG_fail;
6553 swig_obj[0] = args;
6554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6555 if (!SWIG_IsOK(res1)) {
6556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6557 }
6558 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 {
6566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6567 }
6568 return resultobj;
6569fail:
6570 return NULL;
121b9a67
RD
6571}
6572
6573
1bd55598
RD
6574SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxComboBox *arg1 = (wxComboBox *) 0 ;
6577 bool result;
6578 void *argp1 = 0 ;
6579 int res1 = 0 ;
6580 PyObject *swig_obj[1] ;
6581
6582 if (!args) SWIG_fail;
6583 swig_obj[0] = args;
6584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6585 if (!SWIG_IsOK(res1)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6587 }
6588 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (bool)((wxComboBox const *)arg1)->CanCut();
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 {
6596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6597 }
6598 return resultobj;
6599fail:
6600 return NULL;
121b9a67
RD
6601}
6602
6603
1bd55598
RD
6604SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6605 PyObject *resultobj = 0;
6606 wxComboBox *arg1 = (wxComboBox *) 0 ;
6607 bool result;
6608 void *argp1 = 0 ;
6609 int res1 = 0 ;
6610 PyObject *swig_obj[1] ;
6611
6612 if (!args) SWIG_fail;
6613 swig_obj[0] = args;
6614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6615 if (!SWIG_IsOK(res1)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6617 }
6618 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 {
6626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6627 }
6628 return resultobj;
6629fail:
6630 return NULL;
d55e5bfc
RD
6631}
6632
6633
1bd55598
RD
6634SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6635 PyObject *resultobj = 0;
6636 wxComboBox *arg1 = (wxComboBox *) 0 ;
6637 bool result;
6638 void *argp1 = 0 ;
6639 int res1 = 0 ;
6640 PyObject *swig_obj[1] ;
6641
6642 if (!args) SWIG_fail;
6643 swig_obj[0] = args;
6644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6645 if (!SWIG_IsOK(res1)) {
6646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6647 }
6648 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 {
6656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6657 }
6658 return resultobj;
6659fail:
6660 return NULL;
d55e5bfc
RD
6661}
6662
6663
1bd55598
RD
6664SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6665 PyObject *resultobj = 0;
6666 wxComboBox *arg1 = (wxComboBox *) 0 ;
6667 bool result;
6668 void *argp1 = 0 ;
6669 int res1 = 0 ;
6670 PyObject *swig_obj[1] ;
6671
6672 if (!args) SWIG_fail;
6673 swig_obj[0] = args;
6674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6675 if (!SWIG_IsOK(res1)) {
6676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6677 }
6678 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 {
6686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6687 }
6688 return resultobj;
6689fail:
6690 return NULL;
d55e5bfc
RD
6691}
6692
6693
1bd55598
RD
6694SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj = 0;
6696 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6697 SwigValueWrapper<wxVisualAttributes > result;
6698 int val1 ;
6699 int ecode1 = 0 ;
6700 PyObject * obj0 = 0 ;
6701 char * kwnames[] = {
6702 (char *) "variant", NULL
6703 };
6704
6705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6706 if (obj0) {
6707 ecode1 = SWIG_AsVal_int(obj0, &val1);
6708 if (!SWIG_IsOK(ecode1)) {
6709 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6710 }
6711 arg1 = static_cast< wxWindowVariant >(val1);
6712 }
6713 {
6714 if (!wxPyCheckForApp()) SWIG_fail;
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = wxComboBox::GetClassDefaultAttributes(arg1);
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6721 return resultobj;
6722fail:
6723 return NULL;
5cbf236d
RD
6724}
6725
6726
1bd55598
RD
6727SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6728 PyObject *obj;
6729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6730 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6731 return SWIG_Py_Void();
5cbf236d
RD
6732}
6733
1bd55598
RD
6734SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6735 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
6736}
6737
1bd55598
RD
6738SWIGINTERN int GaugeNameStr_set(PyObject *) {
6739 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6740 return 1;
5cbf236d
RD
6741}
6742
6743
1bd55598
RD
6744SWIGINTERN PyObject *GaugeNameStr_get(void) {
6745 PyObject *pyobj = 0;
6746
6747 {
6748#if wxUSE_UNICODE
6749 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6750#else
6751 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6752#endif
6753 }
6754 return pyobj;
6755}
6756
6757
6758SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj = 0;
6760 wxWindow *arg1 = (wxWindow *) 0 ;
6761 int arg2 = (int) -1 ;
6762 int arg3 = (int) 100 ;
6763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6765 wxSize const &arg5_defvalue = wxDefaultSize ;
6766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6767 long arg6 = (long) wxGA_HORIZONTAL ;
6768 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6769 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6770 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6771 wxString *arg8 = (wxString *) &arg8_defvalue ;
6772 wxGauge *result = 0 ;
6773 void *argp1 = 0 ;
6774 int res1 = 0 ;
6775 int val2 ;
6776 int ecode2 = 0 ;
6777 int val3 ;
6778 int ecode3 = 0 ;
6779 wxPoint temp4 ;
6780 wxSize temp5 ;
6781 long val6 ;
6782 int ecode6 = 0 ;
6783 void *argp7 = 0 ;
6784 int res7 = 0 ;
6785 bool temp8 = false ;
6786 PyObject * obj0 = 0 ;
6787 PyObject * obj1 = 0 ;
6788 PyObject * obj2 = 0 ;
6789 PyObject * obj3 = 0 ;
6790 PyObject * obj4 = 0 ;
6791 PyObject * obj5 = 0 ;
6792 PyObject * obj6 = 0 ;
6793 PyObject * obj7 = 0 ;
6794 char * kwnames[] = {
6795 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6796 };
6797
6798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6800 if (!SWIG_IsOK(res1)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6802 }
6803 arg1 = reinterpret_cast< wxWindow * >(argp1);
6804 if (obj1) {
6805 ecode2 = SWIG_AsVal_int(obj1, &val2);
6806 if (!SWIG_IsOK(ecode2)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6808 }
6809 arg2 = static_cast< int >(val2);
6810 }
6811 if (obj2) {
6812 ecode3 = SWIG_AsVal_int(obj2, &val3);
6813 if (!SWIG_IsOK(ecode3)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6815 }
6816 arg3 = static_cast< int >(val3);
6817 }
6818 if (obj3) {
5cbf236d 6819 {
1bd55598
RD
6820 arg4 = &temp4;
6821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6822 }
1bd55598
RD
6823 }
6824 if (obj4) {
5cbf236d 6825 {
1bd55598
RD
6826 arg5 = &temp5;
6827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6828 }
1bd55598
RD
6829 }
6830 if (obj5) {
6831 ecode6 = SWIG_AsVal_long(obj5, &val6);
6832 if (!SWIG_IsOK(ecode6)) {
6833 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6834 }
6835 arg6 = static_cast< long >(val6);
6836 }
6837 if (obj6) {
6838 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6839 if (!SWIG_IsOK(res7)) {
6840 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6841 }
6842 if (!argp7) {
6843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6844 }
1bd55598
RD
6845 arg7 = reinterpret_cast< wxValidator * >(argp7);
6846 }
6847 if (obj7) {
5cbf236d 6848 {
1bd55598
RD
6849 arg8 = wxString_in_helper(obj7);
6850 if (arg8 == NULL) SWIG_fail;
6851 temp8 = true;
5cbf236d 6852 }
1bd55598
RD
6853 }
6854 {
6855 if (!wxPyCheckForApp()) SWIG_fail;
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6862 {
6863 if (temp8)
6864 delete arg8;
6865 }
6866 return resultobj;
6867fail:
6868 {
6869 if (temp8)
6870 delete arg8;
6871 }
6872 return NULL;
5cbf236d
RD
6873}
6874
6875
1bd55598
RD
6876SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6877 PyObject *resultobj = 0;
6878 wxGauge *result = 0 ;
6879
6880 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6881 {
6882 if (!wxPyCheckForApp()) SWIG_fail;
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 result = (wxGauge *)new wxGauge();
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) SWIG_fail;
6887 }
6888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6889 return resultobj;
6890fail:
6891 return NULL;
6892}
6893
6894
6895SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj = 0;
6897 wxGauge *arg1 = (wxGauge *) 0 ;
6898 wxWindow *arg2 = (wxWindow *) 0 ;
6899 int arg3 = (int) -1 ;
6900 int arg4 = (int) 100 ;
6901 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6902 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6903 wxSize const &arg6_defvalue = wxDefaultSize ;
6904 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6905 long arg7 = (long) wxGA_HORIZONTAL ;
6906 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6907 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6908 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6909 wxString *arg9 = (wxString *) &arg9_defvalue ;
6910 bool result;
6911 void *argp1 = 0 ;
6912 int res1 = 0 ;
6913 void *argp2 = 0 ;
6914 int res2 = 0 ;
6915 int val3 ;
6916 int ecode3 = 0 ;
6917 int val4 ;
6918 int ecode4 = 0 ;
6919 wxPoint temp5 ;
6920 wxSize temp6 ;
6921 long val7 ;
6922 int ecode7 = 0 ;
6923 void *argp8 = 0 ;
6924 int res8 = 0 ;
6925 bool temp9 = false ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 PyObject * obj3 = 0 ;
6930 PyObject * obj4 = 0 ;
6931 PyObject * obj5 = 0 ;
6932 PyObject * obj6 = 0 ;
6933 PyObject * obj7 = 0 ;
6934 PyObject * obj8 = 0 ;
6935 char * kwnames[] = {
6936 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6937 };
6938
6939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6941 if (!SWIG_IsOK(res1)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6943 }
6944 arg1 = reinterpret_cast< wxGauge * >(argp1);
6945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6946 if (!SWIG_IsOK(res2)) {
6947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6948 }
6949 arg2 = reinterpret_cast< wxWindow * >(argp2);
6950 if (obj2) {
6951 ecode3 = SWIG_AsVal_int(obj2, &val3);
6952 if (!SWIG_IsOK(ecode3)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6954 }
6955 arg3 = static_cast< int >(val3);
6956 }
6957 if (obj3) {
6958 ecode4 = SWIG_AsVal_int(obj3, &val4);
6959 if (!SWIG_IsOK(ecode4)) {
6960 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6961 }
6962 arg4 = static_cast< int >(val4);
6963 }
6964 if (obj4) {
5cbf236d 6965 {
1bd55598
RD
6966 arg5 = &temp5;
6967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6968 }
1bd55598
RD
6969 }
6970 if (obj5) {
5cbf236d 6971 {
1bd55598
RD
6972 arg6 = &temp6;
6973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 6974 }
1bd55598
RD
6975 }
6976 if (obj6) {
6977 ecode7 = SWIG_AsVal_long(obj6, &val7);
6978 if (!SWIG_IsOK(ecode7)) {
6979 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6980 }
6981 arg7 = static_cast< long >(val7);
6982 }
6983 if (obj7) {
6984 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6985 if (!SWIG_IsOK(res8)) {
6986 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 6987 }
1bd55598
RD
6988 if (!argp8) {
6989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6990 }
6991 arg8 = reinterpret_cast< wxValidator * >(argp8);
6992 }
6993 if (obj8) {
5cbf236d 6994 {
1bd55598
RD
6995 arg9 = wxString_in_helper(obj8);
6996 if (arg9 == NULL) SWIG_fail;
6997 temp9 = true;
5cbf236d 6998 }
1bd55598
RD
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 {
7007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7008 }
7009 {
7010 if (temp9)
7011 delete arg9;
7012 }
7013 return resultobj;
7014fail:
7015 {
7016 if (temp9)
7017 delete arg9;
7018 }
7019 return NULL;
7020}
7021
7022
7023SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj = 0;
7025 wxGauge *arg1 = (wxGauge *) 0 ;
7026 int arg2 ;
7027 void *argp1 = 0 ;
7028 int res1 = 0 ;
7029 int val2 ;
7030 int ecode2 = 0 ;
7031 PyObject * obj0 = 0 ;
7032 PyObject * obj1 = 0 ;
7033 char * kwnames[] = {
7034 (char *) "self",(char *) "range", NULL
7035 };
7036
7037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7039 if (!SWIG_IsOK(res1)) {
7040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7041 }
7042 arg1 = reinterpret_cast< wxGauge * >(argp1);
7043 ecode2 = SWIG_AsVal_int(obj1, &val2);
7044 if (!SWIG_IsOK(ecode2)) {
7045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7046 }
7047 arg2 = static_cast< int >(val2);
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->SetRange(arg2);
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 resultobj = SWIG_Py_Void();
7055 return resultobj;
7056fail:
7057 return NULL;
5cbf236d
RD
7058}
7059
7060
1bd55598
RD
7061SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7062 PyObject *resultobj = 0;
7063 wxGauge *arg1 = (wxGauge *) 0 ;
7064 int result;
7065 void *argp1 = 0 ;
7066 int res1 = 0 ;
7067 PyObject *swig_obj[1] ;
7068
7069 if (!args) SWIG_fail;
7070 swig_obj[0] = args;
7071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7072 if (!SWIG_IsOK(res1)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7074 }
7075 arg1 = reinterpret_cast< wxGauge * >(argp1);
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (int)((wxGauge const *)arg1)->GetRange();
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 resultobj = SWIG_From_int(static_cast< int >(result));
7083 return resultobj;
7084fail:
7085 return NULL;
7086}
7087
7088
7089SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj = 0;
7091 wxGauge *arg1 = (wxGauge *) 0 ;
7092 int arg2 ;
7093 void *argp1 = 0 ;
7094 int res1 = 0 ;
7095 int val2 ;
7096 int ecode2 = 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char * kwnames[] = {
7100 (char *) "self",(char *) "pos", NULL
7101 };
7102
7103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7105 if (!SWIG_IsOK(res1)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7107 }
7108 arg1 = reinterpret_cast< wxGauge * >(argp1);
7109 ecode2 = SWIG_AsVal_int(obj1, &val2);
7110 if (!SWIG_IsOK(ecode2)) {
7111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7112 }
7113 arg2 = static_cast< int >(val2);
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 (arg1)->SetValue(arg2);
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = SWIG_Py_Void();
7121 return resultobj;
7122fail:
7123 return NULL;
5cbf236d
RD
7124}
7125
7126
1bd55598
RD
7127SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7128 PyObject *resultobj = 0;
7129 wxGauge *arg1 = (wxGauge *) 0 ;
7130 int result;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 PyObject *swig_obj[1] ;
7134
7135 if (!args) SWIG_fail;
7136 swig_obj[0] = args;
7137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7138 if (!SWIG_IsOK(res1)) {
7139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7140 }
7141 arg1 = reinterpret_cast< wxGauge * >(argp1);
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (int)((wxGauge const *)arg1)->GetValue();
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 resultobj = SWIG_From_int(static_cast< int >(result));
7149 return resultobj;
7150fail:
7151 return NULL;
f20a2e1f
RD
7152}
7153
7154
0d2c9713
RD
7155SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7156 PyObject *resultobj = 0;
7157 wxGauge *arg1 = (wxGauge *) 0 ;
7158 void *argp1 = 0 ;
7159 int res1 = 0 ;
7160 PyObject *swig_obj[1] ;
7161
7162 if (!args) SWIG_fail;
7163 swig_obj[0] = args;
7164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7165 if (!SWIG_IsOK(res1)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7167 }
7168 arg1 = reinterpret_cast< wxGauge * >(argp1);
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->Pulse();
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 resultobj = SWIG_Py_Void();
7176 return resultobj;
7177fail:
7178 return NULL;
7179}
7180
7181
1bd55598
RD
7182SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7183 PyObject *resultobj = 0;
7184 wxGauge *arg1 = (wxGauge *) 0 ;
7185 bool result;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 PyObject *swig_obj[1] ;
7189
7190 if (!args) SWIG_fail;
7191 swig_obj[0] = args;
7192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7193 if (!SWIG_IsOK(res1)) {
7194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7195 }
7196 arg1 = reinterpret_cast< wxGauge * >(argp1);
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (bool)((wxGauge const *)arg1)->IsVertical();
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 {
7204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7205 }
7206 return resultobj;
7207fail:
7208 return NULL;
7209}
7210
7211
7212SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj = 0;
7214 wxGauge *arg1 = (wxGauge *) 0 ;
7215 int arg2 ;
7216 void *argp1 = 0 ;
7217 int res1 = 0 ;
7218 int val2 ;
7219 int ecode2 = 0 ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 char * kwnames[] = {
7223 (char *) "self",(char *) "w", NULL
7224 };
7225
7226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7228 if (!SWIG_IsOK(res1)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7230 }
7231 arg1 = reinterpret_cast< wxGauge * >(argp1);
7232 ecode2 = SWIG_AsVal_int(obj1, &val2);
7233 if (!SWIG_IsOK(ecode2)) {
7234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7235 }
7236 arg2 = static_cast< int >(val2);
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->SetShadowWidth(arg2);
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 resultobj = SWIG_Py_Void();
7244 return resultobj;
7245fail:
7246 return NULL;
d55e5bfc
RD
7247}
7248
7249
1bd55598
RD
7250SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7251 PyObject *resultobj = 0;
7252 wxGauge *arg1 = (wxGauge *) 0 ;
7253 int result;
7254 void *argp1 = 0 ;
7255 int res1 = 0 ;
7256 PyObject *swig_obj[1] ;
7257
7258 if (!args) SWIG_fail;
7259 swig_obj[0] = args;
7260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7261 if (!SWIG_IsOK(res1)) {
7262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7263 }
7264 arg1 = reinterpret_cast< wxGauge * >(argp1);
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 resultobj = SWIG_From_int(static_cast< int >(result));
7272 return resultobj;
7273fail:
7274 return NULL;
7275}
7276
7277
7278SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj = 0;
7280 wxGauge *arg1 = (wxGauge *) 0 ;
7281 int arg2 ;
7282 void *argp1 = 0 ;
7283 int res1 = 0 ;
7284 int val2 ;
7285 int ecode2 = 0 ;
7286 PyObject * obj0 = 0 ;
7287 PyObject * obj1 = 0 ;
7288 char * kwnames[] = {
7289 (char *) "self",(char *) "w", NULL
7290 };
7291
7292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7294 if (!SWIG_IsOK(res1)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7296 }
7297 arg1 = reinterpret_cast< wxGauge * >(argp1);
7298 ecode2 = SWIG_AsVal_int(obj1, &val2);
7299 if (!SWIG_IsOK(ecode2)) {
7300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7301 }
7302 arg2 = static_cast< int >(val2);
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 (arg1)->SetBezelFace(arg2);
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 resultobj = SWIG_Py_Void();
7310 return resultobj;
7311fail:
7312 return NULL;
d55e5bfc
RD
7313}
7314
7315
1bd55598
RD
7316SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7317 PyObject *resultobj = 0;
7318 wxGauge *arg1 = (wxGauge *) 0 ;
7319 int result;
7320 void *argp1 = 0 ;
7321 int res1 = 0 ;
7322 PyObject *swig_obj[1] ;
7323
7324 if (!args) SWIG_fail;
7325 swig_obj[0] = args;
7326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7327 if (!SWIG_IsOK(res1)) {
7328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7329 }
7330 arg1 = reinterpret_cast< wxGauge * >(argp1);
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 resultobj = SWIG_From_int(static_cast< int >(result));
7338 return resultobj;
7339fail:
7340 return NULL;
7341}
7342
7343
7344SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj = 0;
7346 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7347 SwigValueWrapper<wxVisualAttributes > result;
7348 int val1 ;
7349 int ecode1 = 0 ;
7350 PyObject * obj0 = 0 ;
7351 char * kwnames[] = {
7352 (char *) "variant", NULL
7353 };
7354
7355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7356 if (obj0) {
7357 ecode1 = SWIG_AsVal_int(obj0, &val1);
7358 if (!SWIG_IsOK(ecode1)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7360 }
7361 arg1 = static_cast< wxWindowVariant >(val1);
7362 }
7363 {
7364 if (!wxPyCheckForApp()) SWIG_fail;
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = wxGauge::GetClassDefaultAttributes(arg1);
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7371 return resultobj;
7372fail:
7373 return NULL;
d55e5bfc
RD
7374}
7375
7376
1bd55598
RD
7377SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7378 PyObject *obj;
7379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7380 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7381 return SWIG_Py_Void();
d55e5bfc
RD
7382}
7383
1bd55598
RD
7384SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7385 return SWIG_Python_InitShadowInstance(args);
7386}
d55e5bfc 7387
1bd55598
RD
7388SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7389 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7390 return 1;
d55e5bfc
RD
7391}
7392
7393
1bd55598
RD
7394SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7395 PyObject *pyobj = 0;
7396
7397 {
7398#if wxUSE_UNICODE
7399 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7400#else
7401 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7402#endif
7403 }
7404 return pyobj;
d55e5bfc
RD
7405}
7406
7407
1bd55598
RD
7408SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7409 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7410 return 1;
d55e5bfc
RD
7411}
7412
7413
1bd55598
RD
7414SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7415 PyObject *pyobj = 0;
7416
7417 {
7418#if wxUSE_UNICODE
7419 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7420#else
7421 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7422#endif
7423 }
7424 return pyobj;
d55e5bfc
RD
7425}
7426
7427
1bd55598
RD
7428SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7429 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7430 return 1;
d55e5bfc
RD
7431}
7432
7433
1bd55598
RD
7434SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7435 PyObject *pyobj = 0;
7436
7437 {
7438#if wxUSE_UNICODE
7439 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7440#else
7441 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7442#endif
7443 }
7444 return pyobj;
7445}
7446
7447
7448SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj = 0;
7450 wxWindow *arg1 = (wxWindow *) 0 ;
7451 int arg2 = (int) -1 ;
7452 wxString const &arg3_defvalue = wxPyEmptyString ;
7453 wxString *arg3 = (wxString *) &arg3_defvalue ;
7454 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7455 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7456 wxSize const &arg5_defvalue = wxDefaultSize ;
7457 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7458 long arg6 = (long) 0 ;
7459 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7460 wxString *arg7 = (wxString *) &arg7_defvalue ;
7461 wxStaticBox *result = 0 ;
7462 void *argp1 = 0 ;
7463 int res1 = 0 ;
7464 int val2 ;
7465 int ecode2 = 0 ;
7466 bool temp3 = false ;
7467 wxPoint temp4 ;
7468 wxSize temp5 ;
7469 long val6 ;
7470 int ecode6 = 0 ;
7471 bool temp7 = false ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 PyObject * obj3 = 0 ;
7476 PyObject * obj4 = 0 ;
7477 PyObject * obj5 = 0 ;
7478 PyObject * obj6 = 0 ;
7479 char * kwnames[] = {
7480 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7481 };
7482
7483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7485 if (!SWIG_IsOK(res1)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7487 }
7488 arg1 = reinterpret_cast< wxWindow * >(argp1);
7489 if (obj1) {
7490 ecode2 = SWIG_AsVal_int(obj1, &val2);
7491 if (!SWIG_IsOK(ecode2)) {
7492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7493 }
7494 arg2 = static_cast< int >(val2);
7495 }
7496 if (obj2) {
36ed4f51 7497 {
1bd55598
RD
7498 arg3 = wxString_in_helper(obj2);
7499 if (arg3 == NULL) SWIG_fail;
7500 temp3 = true;
36ed4f51 7501 }
1bd55598
RD
7502 }
7503 if (obj3) {
d55e5bfc 7504 {
1bd55598
RD
7505 arg4 = &temp4;
7506 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7507 }
1bd55598
RD
7508 }
7509 if (obj4) {
d55e5bfc 7510 {
1bd55598
RD
7511 arg5 = &temp5;
7512 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7513 }
1bd55598
RD
7514 }
7515 if (obj5) {
7516 ecode6 = SWIG_AsVal_long(obj5, &val6);
7517 if (!SWIG_IsOK(ecode6)) {
7518 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7519 }
7520 arg6 = static_cast< long >(val6);
7521 }
7522 if (obj6) {
36ed4f51 7523 {
1bd55598
RD
7524 arg7 = wxString_in_helper(obj6);
7525 if (arg7 == NULL) SWIG_fail;
7526 temp7 = true;
36ed4f51 7527 }
1bd55598
RD
7528 }
7529 {
7530 if (!wxPyCheckForApp()) SWIG_fail;
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7537 {
7538 if (temp3)
7539 delete arg3;
7540 }
7541 {
7542 if (temp7)
7543 delete arg7;
7544 }
7545 return resultobj;
7546fail:
7547 {
7548 if (temp3)
7549 delete arg3;
7550 }
7551 {
7552 if (temp7)
7553 delete arg7;
7554 }
7555 return NULL;
7556}
d55e5bfc 7557
1bd55598
RD
7558
7559SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7560 PyObject *resultobj = 0;
7561 wxStaticBox *result = 0 ;
7562
7563 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7564 {
7565 if (!wxPyCheckForApp()) SWIG_fail;
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (wxStaticBox *)new wxStaticBox();
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7572 return resultobj;
7573fail:
7574 return NULL;
7575}
7576
7577
7578SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj = 0;
7580 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7581 wxWindow *arg2 = (wxWindow *) 0 ;
7582 int arg3 = (int) -1 ;
7583 wxString const &arg4_defvalue = wxPyEmptyString ;
7584 wxString *arg4 = (wxString *) &arg4_defvalue ;
7585 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7586 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7587 wxSize const &arg6_defvalue = wxDefaultSize ;
7588 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7589 long arg7 = (long) 0 ;
7590 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7591 wxString *arg8 = (wxString *) &arg8_defvalue ;
7592 bool result;
7593 void *argp1 = 0 ;
7594 int res1 = 0 ;
7595 void *argp2 = 0 ;
7596 int res2 = 0 ;
7597 int val3 ;
7598 int ecode3 = 0 ;
7599 bool temp4 = false ;
7600 wxPoint temp5 ;
7601 wxSize temp6 ;
7602 long val7 ;
7603 int ecode7 = 0 ;
7604 bool temp8 = false ;
7605 PyObject * obj0 = 0 ;
7606 PyObject * obj1 = 0 ;
7607 PyObject * obj2 = 0 ;
7608 PyObject * obj3 = 0 ;
7609 PyObject * obj4 = 0 ;
7610 PyObject * obj5 = 0 ;
7611 PyObject * obj6 = 0 ;
7612 PyObject * obj7 = 0 ;
7613 char * kwnames[] = {
7614 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7615 };
7616
7617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7619 if (!SWIG_IsOK(res1)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7621 }
7622 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7624 if (!SWIG_IsOK(res2)) {
7625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7626 }
7627 arg2 = reinterpret_cast< wxWindow * >(argp2);
7628 if (obj2) {
7629 ecode3 = SWIG_AsVal_int(obj2, &val3);
7630 if (!SWIG_IsOK(ecode3)) {
7631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7632 }
7633 arg3 = static_cast< int >(val3);
7634 }
7635 if (obj3) {
36ed4f51 7636 {
1bd55598
RD
7637 arg4 = wxString_in_helper(obj3);
7638 if (arg4 == NULL) SWIG_fail;
7639 temp4 = true;
36ed4f51 7640 }
1bd55598
RD
7641 }
7642 if (obj4) {
d55e5bfc 7643 {
1bd55598
RD
7644 arg5 = &temp5;
7645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7646 }
1bd55598
RD
7647 }
7648 if (obj5) {
d55e5bfc 7649 {
1bd55598
RD
7650 arg6 = &temp6;
7651 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7652 }
1bd55598
RD
7653 }
7654 if (obj6) {
7655 ecode7 = SWIG_AsVal_long(obj6, &val7);
7656 if (!SWIG_IsOK(ecode7)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7658 }
7659 arg7 = static_cast< long >(val7);
7660 }
7661 if (obj7) {
36ed4f51 7662 {
1bd55598
RD
7663 arg8 = wxString_in_helper(obj7);
7664 if (arg8 == NULL) SWIG_fail;
7665 temp8 = true;
36ed4f51 7666 }
1bd55598
RD
7667 }
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 {
7675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7676 }
7677 {
7678 if (temp4)
7679 delete arg4;
7680 }
7681 {
7682 if (temp8)
7683 delete arg8;
7684 }
7685 return resultobj;
7686fail:
7687 {
7688 if (temp4)
7689 delete arg4;
7690 }
7691 {
7692 if (temp8)
7693 delete arg8;
7694 }
7695 return NULL;
d55e5bfc
RD
7696}
7697
7698
1bd55598
RD
7699SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj = 0;
7701 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7702 SwigValueWrapper<wxVisualAttributes > result;
7703 int val1 ;
7704 int ecode1 = 0 ;
7705 PyObject * obj0 = 0 ;
7706 char * kwnames[] = {
7707 (char *) "variant", NULL
7708 };
7709
7710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7711 if (obj0) {
7712 ecode1 = SWIG_AsVal_int(obj0, &val1);
7713 if (!SWIG_IsOK(ecode1)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7715 }
7716 arg1 = static_cast< wxWindowVariant >(val1);
7717 }
7718 {
7719 if (!wxPyCheckForApp()) SWIG_fail;
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7726 return resultobj;
7727fail:
7728 return NULL;
7729}
7730
7731
7732SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7733 PyObject *obj;
7734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7735 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7736 return SWIG_Py_Void();
7737}
7738
7739SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7740 return SWIG_Python_InitShadowInstance(args);
7741}
7742
7743SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj = 0;
7745 wxWindow *arg1 = (wxWindow *) 0 ;
7746 int arg2 = (int) -1 ;
7747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7749 wxSize const &arg4_defvalue = wxDefaultSize ;
7750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7751 long arg5 = (long) wxLI_HORIZONTAL ;
7752 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7753 wxString *arg6 = (wxString *) &arg6_defvalue ;
7754 wxStaticLine *result = 0 ;
7755 void *argp1 = 0 ;
7756 int res1 = 0 ;
7757 int val2 ;
7758 int ecode2 = 0 ;
7759 wxPoint temp3 ;
7760 wxSize temp4 ;
7761 long val5 ;
7762 int ecode5 = 0 ;
7763 bool temp6 = false ;
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
7766 PyObject * obj2 = 0 ;
7767 PyObject * obj3 = 0 ;
7768 PyObject * obj4 = 0 ;
7769 PyObject * obj5 = 0 ;
7770 char * kwnames[] = {
7771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7772 };
7773
7774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7776 if (!SWIG_IsOK(res1)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7778 }
7779 arg1 = reinterpret_cast< wxWindow * >(argp1);
7780 if (obj1) {
7781 ecode2 = SWIG_AsVal_int(obj1, &val2);
7782 if (!SWIG_IsOK(ecode2)) {
7783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7784 }
7785 arg2 = static_cast< int >(val2);
7786 }
7787 if (obj2) {
7788 {
7789 arg3 = &temp3;
7790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 7791 }
1bd55598
RD
7792 }
7793 if (obj3) {
f20a2e1f 7794 {
1bd55598
RD
7795 arg4 = &temp4;
7796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 7797 }
1bd55598
RD
7798 }
7799 if (obj4) {
7800 ecode5 = SWIG_AsVal_long(obj4, &val5);
7801 if (!SWIG_IsOK(ecode5)) {
7802 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7803 }
7804 arg5 = static_cast< long >(val5);
7805 }
7806 if (obj5) {
f20a2e1f 7807 {
1bd55598
RD
7808 arg6 = wxString_in_helper(obj5);
7809 if (arg6 == NULL) SWIG_fail;
7810 temp6 = true;
f20a2e1f 7811 }
1bd55598
RD
7812 }
7813 {
7814 if (!wxPyCheckForApp()) SWIG_fail;
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7821 {
7822 if (temp6)
7823 delete arg6;
7824 }
7825 return resultobj;
7826fail:
7827 {
7828 if (temp6)
7829 delete arg6;
7830 }
7831 return NULL;
d55e5bfc
RD
7832}
7833
7834
1bd55598
RD
7835SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7836 PyObject *resultobj = 0;
7837 wxStaticLine *result = 0 ;
7838
7839 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7840 {
7841 if (!wxPyCheckForApp()) SWIG_fail;
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (wxStaticLine *)new wxStaticLine();
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7848 return resultobj;
7849fail:
7850 return NULL;
7851}
7852
7853
7854SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7857 wxWindow *arg2 = (wxWindow *) 0 ;
7858 int arg3 = (int) -1 ;
7859 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7860 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7861 wxSize const &arg5_defvalue = wxDefaultSize ;
7862 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7863 long arg6 = (long) wxLI_HORIZONTAL ;
7864 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7865 wxString *arg7 = (wxString *) &arg7_defvalue ;
7866 bool result;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 void *argp2 = 0 ;
7870 int res2 = 0 ;
7871 int val3 ;
7872 int ecode3 = 0 ;
7873 wxPoint temp4 ;
7874 wxSize temp5 ;
7875 long val6 ;
7876 int ecode6 = 0 ;
7877 bool temp7 = false ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 PyObject * obj2 = 0 ;
7881 PyObject * obj3 = 0 ;
7882 PyObject * obj4 = 0 ;
7883 PyObject * obj5 = 0 ;
7884 PyObject * obj6 = 0 ;
7885 char * kwnames[] = {
7886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7887 };
7888
7889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7891 if (!SWIG_IsOK(res1)) {
7892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7893 }
7894 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7896 if (!SWIG_IsOK(res2)) {
7897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7898 }
7899 arg2 = reinterpret_cast< wxWindow * >(argp2);
7900 if (obj2) {
7901 ecode3 = SWIG_AsVal_int(obj2, &val3);
7902 if (!SWIG_IsOK(ecode3)) {
7903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7904 }
7905 arg3 = static_cast< int >(val3);
7906 }
7907 if (obj3) {
d55e5bfc 7908 {
1bd55598
RD
7909 arg4 = &temp4;
7910 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7911 }
1bd55598
RD
7912 }
7913 if (obj4) {
d55e5bfc 7914 {
1bd55598
RD
7915 arg5 = &temp5;
7916 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7917 }
7918 }
7919 if (obj5) {
7920 ecode6 = SWIG_AsVal_long(obj5, &val6);
7921 if (!SWIG_IsOK(ecode6)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7923 }
7924 arg6 = static_cast< long >(val6);
7925 }
7926 if (obj6) {
7927 {
7928 arg7 = wxString_in_helper(obj6);
7929 if (arg7 == NULL) SWIG_fail;
7930 temp7 = true;
d55e5bfc 7931 }
1bd55598
RD
7932 }
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
7942 {
7943 if (temp7)
7944 delete arg7;
7945 }
7946 return resultobj;
7947fail:
7948 {
7949 if (temp7)
7950 delete arg7;
7951 }
7952 return NULL;
d55e5bfc
RD
7953}
7954
7955
1bd55598
RD
7956SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7957 PyObject *resultobj = 0;
7958 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7959 bool result;
7960 void *argp1 = 0 ;
7961 int res1 = 0 ;
7962 PyObject *swig_obj[1] ;
7963
7964 if (!args) SWIG_fail;
7965 swig_obj[0] = args;
7966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7967 if (!SWIG_IsOK(res1)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7969 }
7970 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 {
7978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7979 }
7980 return resultobj;
7981fail:
7982 return NULL;
d55e5bfc
RD
7983}
7984
7985
1bd55598
RD
7986SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7987 PyObject *resultobj = 0;
7988 int result;
7989
7990 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (int)wxStaticLine::GetDefaultSize();
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_From_int(static_cast< int >(result));
7998 return resultobj;
7999fail:
8000 return NULL;
8001}
8002
8003
8004SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj = 0;
8006 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8007 SwigValueWrapper<wxVisualAttributes > result;
8008 int val1 ;
8009 int ecode1 = 0 ;
8010 PyObject * obj0 = 0 ;
8011 char * kwnames[] = {
8012 (char *) "variant", NULL
8013 };
8014
8015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8016 if (obj0) {
8017 ecode1 = SWIG_AsVal_int(obj0, &val1);
8018 if (!SWIG_IsOK(ecode1)) {
8019 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8020 }
8021 arg1 = static_cast< wxWindowVariant >(val1);
8022 }
8023 {
8024 if (!wxPyCheckForApp()) SWIG_fail;
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8031 return resultobj;
8032fail:
8033 return NULL;
8034}
8035
8036
8037SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8038 PyObject *obj;
8039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8040 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8041 return SWIG_Py_Void();
8042}
8043
8044SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8045 return SWIG_Python_InitShadowInstance(args);
8046}
8047
8048SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8049 PyObject *resultobj = 0;
8050 wxWindow *arg1 = (wxWindow *) 0 ;
8051 int arg2 = (int) -1 ;
8052 wxString const &arg3_defvalue = wxPyEmptyString ;
8053 wxString *arg3 = (wxString *) &arg3_defvalue ;
8054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8056 wxSize const &arg5_defvalue = wxDefaultSize ;
8057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8058 long arg6 = (long) 0 ;
8059 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8060 wxString *arg7 = (wxString *) &arg7_defvalue ;
8061 wxStaticText *result = 0 ;
8062 void *argp1 = 0 ;
8063 int res1 = 0 ;
8064 int val2 ;
8065 int ecode2 = 0 ;
8066 bool temp3 = false ;
8067 wxPoint temp4 ;
8068 wxSize temp5 ;
8069 long val6 ;
8070 int ecode6 = 0 ;
8071 bool temp7 = false ;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074 PyObject * obj2 = 0 ;
8075 PyObject * obj3 = 0 ;
8076 PyObject * obj4 = 0 ;
8077 PyObject * obj5 = 0 ;
8078 PyObject * obj6 = 0 ;
8079 char * kwnames[] = {
8080 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8081 };
8082
8083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8085 if (!SWIG_IsOK(res1)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8087 }
8088 arg1 = reinterpret_cast< wxWindow * >(argp1);
8089 if (obj1) {
8090 ecode2 = SWIG_AsVal_int(obj1, &val2);
8091 if (!SWIG_IsOK(ecode2)) {
8092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8093 }
8094 arg2 = static_cast< int >(val2);
8095 }
8096 if (obj2) {
d55e5bfc 8097 {
1bd55598
RD
8098 arg3 = wxString_in_helper(obj2);
8099 if (arg3 == NULL) SWIG_fail;
8100 temp3 = true;
d55e5bfc 8101 }
1bd55598
RD
8102 }
8103 if (obj3) {
d55e5bfc 8104 {
1bd55598
RD
8105 arg4 = &temp4;
8106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8107 }
1bd55598
RD
8108 }
8109 if (obj4) {
d55e5bfc 8110 {
1bd55598
RD
8111 arg5 = &temp5;
8112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8113 }
1bd55598
RD
8114 }
8115 if (obj5) {
8116 ecode6 = SWIG_AsVal_long(obj5, &val6);
8117 if (!SWIG_IsOK(ecode6)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8119 }
8120 arg6 = static_cast< long >(val6);
8121 }
8122 if (obj6) {
d55e5bfc 8123 {
1bd55598
RD
8124 arg7 = wxString_in_helper(obj6);
8125 if (arg7 == NULL) SWIG_fail;
8126 temp7 = true;
d55e5bfc 8127 }
1bd55598
RD
8128 }
8129 {
8130 if (!wxPyCheckForApp()) SWIG_fail;
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8137 {
8138 if (temp3)
8139 delete arg3;
8140 }
8141 {
8142 if (temp7)
8143 delete arg7;
8144 }
8145 return resultobj;
8146fail:
8147 {
8148 if (temp3)
8149 delete arg3;
8150 }
8151 {
8152 if (temp7)
8153 delete arg7;
8154 }
8155 return NULL;
d55e5bfc
RD
8156}
8157
8158
1bd55598
RD
8159SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8160 PyObject *resultobj = 0;
8161 wxStaticText *result = 0 ;
8162
8163 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8164 {
8165 if (!wxPyCheckForApp()) SWIG_fail;
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (wxStaticText *)new wxStaticText();
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8172 return resultobj;
8173fail:
8174 return NULL;
8175}
8176
8177
8178SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj = 0;
8180 wxStaticText *arg1 = (wxStaticText *) 0 ;
8181 wxWindow *arg2 = (wxWindow *) 0 ;
8182 int arg3 = (int) -1 ;
8183 wxString const &arg4_defvalue = wxPyEmptyString ;
8184 wxString *arg4 = (wxString *) &arg4_defvalue ;
8185 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8186 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8187 wxSize const &arg6_defvalue = wxDefaultSize ;
8188 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8189 long arg7 = (long) 0 ;
8190 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8191 wxString *arg8 = (wxString *) &arg8_defvalue ;
8192 bool result;
8193 void *argp1 = 0 ;
8194 int res1 = 0 ;
8195 void *argp2 = 0 ;
8196 int res2 = 0 ;
8197 int val3 ;
8198 int ecode3 = 0 ;
8199 bool temp4 = false ;
8200 wxPoint temp5 ;
8201 wxSize temp6 ;
8202 long val7 ;
8203 int ecode7 = 0 ;
8204 bool temp8 = false ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 PyObject * obj2 = 0 ;
8208 PyObject * obj3 = 0 ;
8209 PyObject * obj4 = 0 ;
8210 PyObject * obj5 = 0 ;
8211 PyObject * obj6 = 0 ;
8212 PyObject * obj7 = 0 ;
8213 char * kwnames[] = {
8214 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8215 };
8216
8217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8219 if (!SWIG_IsOK(res1)) {
8220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8221 }
8222 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8223 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8224 if (!SWIG_IsOK(res2)) {
8225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8226 }
8227 arg2 = reinterpret_cast< wxWindow * >(argp2);
8228 if (obj2) {
8229 ecode3 = SWIG_AsVal_int(obj2, &val3);
8230 if (!SWIG_IsOK(ecode3)) {
8231 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8232 }
8233 arg3 = static_cast< int >(val3);
8234 }
8235 if (obj3) {
d55e5bfc 8236 {
1bd55598
RD
8237 arg4 = wxString_in_helper(obj3);
8238 if (arg4 == NULL) SWIG_fail;
8239 temp4 = true;
d55e5bfc 8240 }
1bd55598
RD
8241 }
8242 if (obj4) {
d55e5bfc 8243 {
1bd55598
RD
8244 arg5 = &temp5;
8245 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8246 }
1bd55598
RD
8247 }
8248 if (obj5) {
d55e5bfc 8249 {
1bd55598
RD
8250 arg6 = &temp6;
8251 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8252 }
1bd55598
RD
8253 }
8254 if (obj6) {
8255 ecode7 = SWIG_AsVal_long(obj6, &val7);
8256 if (!SWIG_IsOK(ecode7)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8258 }
8259 arg7 = static_cast< long >(val7);
8260 }
8261 if (obj7) {
d55e5bfc 8262 {
1bd55598
RD
8263 arg8 = wxString_in_helper(obj7);
8264 if (arg8 == NULL) SWIG_fail;
8265 temp8 = true;
d55e5bfc 8266 }
1bd55598
RD
8267 }
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8276 }
8277 {
8278 if (temp4)
8279 delete arg4;
8280 }
8281 {
8282 if (temp8)
8283 delete arg8;
8284 }
8285 return resultobj;
8286fail:
8287 {
8288 if (temp4)
8289 delete arg4;
8290 }
8291 {
8292 if (temp8)
8293 delete arg8;
8294 }
8295 return NULL;
8296}
8297
8298
8299SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj = 0;
8301 wxStaticText *arg1 = (wxStaticText *) 0 ;
8302 int arg2 ;
8303 void *argp1 = 0 ;
8304 int res1 = 0 ;
8305 int val2 ;
8306 int ecode2 = 0 ;
8307 PyObject * obj0 = 0 ;
8308 PyObject * obj1 = 0 ;
8309 char * kwnames[] = {
8310 (char *) "self",(char *) "width", NULL
8311 };
8312
8313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8315 if (!SWIG_IsOK(res1)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8317 }
8318 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8319 ecode2 = SWIG_AsVal_int(obj1, &val2);
8320 if (!SWIG_IsOK(ecode2)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8322 }
8323 arg2 = static_cast< int >(val2);
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 (arg1)->Wrap(arg2);
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = SWIG_Py_Void();
8331 return resultobj;
8332fail:
8333 return NULL;
8334}
8335
8336
8337SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj = 0;
8339 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8340 SwigValueWrapper<wxVisualAttributes > result;
8341 int val1 ;
8342 int ecode1 = 0 ;
8343 PyObject * obj0 = 0 ;
8344 char * kwnames[] = {
8345 (char *) "variant", NULL
8346 };
8347
8348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8349 if (obj0) {
8350 ecode1 = SWIG_AsVal_int(obj0, &val1);
8351 if (!SWIG_IsOK(ecode1)) {
8352 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8353 }
8354 arg1 = static_cast< wxWindowVariant >(val1);
8355 }
8356 {
8357 if (!wxPyCheckForApp()) SWIG_fail;
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = wxStaticText::GetClassDefaultAttributes(arg1);
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8364 return resultobj;
8365fail:
8366 return NULL;
8367}
8368
8369
8370SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8371 PyObject *obj;
8372 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8373 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8374 return SWIG_Py_Void();
8375}
8376
8377SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8378 return SWIG_Python_InitShadowInstance(args);
8379}
8380
8381SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj = 0;
8383 wxWindow *arg1 = (wxWindow *) 0 ;
8384 int arg2 = (int) -1 ;
8385 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8386 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8389 wxSize const &arg5_defvalue = wxDefaultSize ;
8390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8391 long arg6 = (long) 0 ;
8392 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8393 wxString *arg7 = (wxString *) &arg7_defvalue ;
8394 wxStaticBitmap *result = 0 ;
8395 void *argp1 = 0 ;
8396 int res1 = 0 ;
8397 int val2 ;
8398 int ecode2 = 0 ;
8399 void *argp3 = 0 ;
8400 int res3 = 0 ;
8401 wxPoint temp4 ;
8402 wxSize temp5 ;
8403 long val6 ;
8404 int ecode6 = 0 ;
8405 bool temp7 = false ;
8406 PyObject * obj0 = 0 ;
8407 PyObject * obj1 = 0 ;
8408 PyObject * obj2 = 0 ;
8409 PyObject * obj3 = 0 ;
8410 PyObject * obj4 = 0 ;
8411 PyObject * obj5 = 0 ;
8412 PyObject * obj6 = 0 ;
8413 char * kwnames[] = {
8414 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8415 };
8416
8417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8421 }
8422 arg1 = reinterpret_cast< wxWindow * >(argp1);
8423 if (obj1) {
8424 ecode2 = SWIG_AsVal_int(obj1, &val2);
8425 if (!SWIG_IsOK(ecode2)) {
8426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8427 }
8428 arg2 = static_cast< int >(val2);
8429 }
8430 if (obj2) {
8431 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8432 if (!SWIG_IsOK(res3)) {
8433 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8434 }
1bd55598
RD
8435 if (!argp3) {
8436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8437 }
1bd55598
RD
8438 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8439 }
8440 if (obj3) {
d55e5bfc 8441 {
1bd55598
RD
8442 arg4 = &temp4;
8443 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 8444 }
1bd55598
RD
8445 }
8446 if (obj4) {
f20a2e1f 8447 {
1bd55598
RD
8448 arg5 = &temp5;
8449 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8450 }
1bd55598
RD
8451 }
8452 if (obj5) {
8453 ecode6 = SWIG_AsVal_long(obj5, &val6);
8454 if (!SWIG_IsOK(ecode6)) {
8455 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8456 }
8457 arg6 = static_cast< long >(val6);
8458 }
8459 if (obj6) {
f20a2e1f 8460 {
1bd55598
RD
8461 arg7 = wxString_in_helper(obj6);
8462 if (arg7 == NULL) SWIG_fail;
8463 temp7 = true;
f20a2e1f 8464 }
1bd55598
RD
8465 }
8466 {
8467 if (!wxPyCheckForApp()) SWIG_fail;
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8474 {
8475 if (temp7)
8476 delete arg7;
8477 }
8478 return resultobj;
8479fail:
8480 {
8481 if (temp7)
8482 delete arg7;
8483 }
8484 return NULL;
f20a2e1f
RD
8485}
8486
8487
1bd55598
RD
8488SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8489 PyObject *resultobj = 0;
8490 wxStaticBitmap *result = 0 ;
8491
8492 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8493 {
8494 if (!wxPyCheckForApp()) SWIG_fail;
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (wxStaticBitmap *)new wxStaticBitmap();
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8501 return resultobj;
8502fail:
8503 return NULL;
8504}
8505
8506
8507SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj = 0;
8509 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8510 wxWindow *arg2 = (wxWindow *) 0 ;
8511 int arg3 = (int) -1 ;
8512 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8513 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8516 wxSize const &arg6_defvalue = wxDefaultSize ;
8517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8518 long arg7 = (long) 0 ;
8519 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8520 wxString *arg8 = (wxString *) &arg8_defvalue ;
8521 bool result;
8522 void *argp1 = 0 ;
8523 int res1 = 0 ;
8524 void *argp2 = 0 ;
8525 int res2 = 0 ;
8526 int val3 ;
8527 int ecode3 = 0 ;
8528 void *argp4 = 0 ;
8529 int res4 = 0 ;
8530 wxPoint temp5 ;
8531 wxSize temp6 ;
8532 long val7 ;
8533 int ecode7 = 0 ;
8534 bool temp8 = false ;
8535 PyObject * obj0 = 0 ;
8536 PyObject * obj1 = 0 ;
8537 PyObject * obj2 = 0 ;
8538 PyObject * obj3 = 0 ;
8539 PyObject * obj4 = 0 ;
8540 PyObject * obj5 = 0 ;
8541 PyObject * obj6 = 0 ;
8542 PyObject * obj7 = 0 ;
8543 char * kwnames[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8545 };
8546
8547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8549 if (!SWIG_IsOK(res1)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8551 }
8552 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8554 if (!SWIG_IsOK(res2)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8556 }
8557 arg2 = reinterpret_cast< wxWindow * >(argp2);
8558 if (obj2) {
8559 ecode3 = SWIG_AsVal_int(obj2, &val3);
8560 if (!SWIG_IsOK(ecode3)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8562 }
8563 arg3 = static_cast< int >(val3);
8564 }
8565 if (obj3) {
8566 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8567 if (!SWIG_IsOK(res4)) {
8568 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8569 }
1bd55598
RD
8570 if (!argp4) {
8571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8572 }
1bd55598
RD
8573 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8574 }
8575 if (obj4) {
d55e5bfc 8576 {
1bd55598
RD
8577 arg5 = &temp5;
8578 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8579 }
1bd55598
RD
8580 }
8581 if (obj5) {
d55e5bfc 8582 {
1bd55598
RD
8583 arg6 = &temp6;
8584 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8585 }
1bd55598
RD
8586 }
8587 if (obj6) {
8588 ecode7 = SWIG_AsVal_long(obj6, &val7);
8589 if (!SWIG_IsOK(ecode7)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8591 }
8592 arg7 = static_cast< long >(val7);
8593 }
8594 if (obj7) {
d55e5bfc 8595 {
1bd55598
RD
8596 arg8 = wxString_in_helper(obj7);
8597 if (arg8 == NULL) SWIG_fail;
8598 temp8 = true;
d55e5bfc 8599 }
1bd55598
RD
8600 }
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 {
8608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8609 }
8610 {
8611 if (temp8)
8612 delete arg8;
8613 }
8614 return resultobj;
8615fail:
8616 {
8617 if (temp8)
8618 delete arg8;
8619 }
8620 return NULL;
d55e5bfc
RD
8621}
8622
8623
1bd55598
RD
8624SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8625 PyObject *resultobj = 0;
8626 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8627 wxBitmap result;
8628 void *argp1 = 0 ;
8629 int res1 = 0 ;
8630 PyObject *swig_obj[1] ;
8631
8632 if (!args) SWIG_fail;
8633 swig_obj[0] = args;
8634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8635 if (!SWIG_IsOK(res1)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8637 }
8638 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = (arg1)->GetBitmap();
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8646 return resultobj;
8647fail:
8648 return NULL;
8649}
8650
8651
8652SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj = 0;
8654 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8655 wxBitmap *arg2 = 0 ;
8656 void *argp1 = 0 ;
8657 int res1 = 0 ;
8658 void *argp2 = 0 ;
8659 int res2 = 0 ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char * kwnames[] = {
8663 (char *) "self",(char *) "bitmap", NULL
8664 };
8665
8666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8668 if (!SWIG_IsOK(res1)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8670 }
8671 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8672 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8673 if (!SWIG_IsOK(res2)) {
8674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8675 }
8676 if (!argp2) {
8677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8678 }
8679 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_Py_Void();
8687 return resultobj;
8688fail:
8689 return NULL;
8690}
8691
8692
8693SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj = 0;
8695 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8696 wxIcon *arg2 = 0 ;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char * kwnames[] = {
8704 (char *) "self",(char *) "icon", NULL
8705 };
8706
8707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8711 }
8712 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8714 if (!SWIG_IsOK(res2)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8716 }
8717 if (!argp2) {
8718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8719 }
8720 arg2 = reinterpret_cast< wxIcon * >(argp2);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetIcon((wxIcon const &)*arg2);
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_Py_Void();
8728 return resultobj;
8729fail:
8730 return NULL;
8731}
8732
8733
8734SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8737 SwigValueWrapper<wxVisualAttributes > result;
8738 int val1 ;
8739 int ecode1 = 0 ;
8740 PyObject * obj0 = 0 ;
8741 char * kwnames[] = {
8742 (char *) "variant", NULL
8743 };
8744
8745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8746 if (obj0) {
8747 ecode1 = SWIG_AsVal_int(obj0, &val1);
8748 if (!SWIG_IsOK(ecode1)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8750 }
8751 arg1 = static_cast< wxWindowVariant >(val1);
8752 }
8753 {
8754 if (!wxPyCheckForApp()) SWIG_fail;
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8761 return resultobj;
8762fail:
8763 return NULL;
d55e5bfc
RD
8764}
8765
8766
1bd55598
RD
8767SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8768 PyObject *obj;
8769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8770 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8771 return SWIG_Py_Void();
d55e5bfc
RD
8772}
8773
1bd55598
RD
8774SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8775 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
8776}
8777
1bd55598
RD
8778SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8779 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8780 return 1;
f20a2e1f
RD
8781}
8782
8783
1bd55598
RD
8784SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8785 PyObject *pyobj = 0;
8786
8787 {
8788#if wxUSE_UNICODE
8789 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8790#else
8791 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8792#endif
8793 }
8794 return pyobj;
8795}
8796
8797
8798SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj = 0;
8800 wxWindow *arg1 = (wxWindow *) 0 ;
8801 int arg2 = (int) -1 ;
8802 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8803 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8804 wxSize const &arg4_defvalue = wxDefaultSize ;
8805 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8806 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8807 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8808 long arg6 = (long) 0 ;
8809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8811 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8812 wxString *arg8 = (wxString *) &arg8_defvalue ;
8813 wxListBox *result = 0 ;
8814 void *argp1 = 0 ;
8815 int res1 = 0 ;
8816 int val2 ;
8817 int ecode2 = 0 ;
8818 wxPoint temp3 ;
8819 wxSize temp4 ;
8820 bool temp5 = false ;
8821 long val6 ;
8822 int ecode6 = 0 ;
8823 void *argp7 = 0 ;
8824 int res7 = 0 ;
8825 bool temp8 = false ;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 PyObject * obj2 = 0 ;
8829 PyObject * obj3 = 0 ;
8830 PyObject * obj4 = 0 ;
8831 PyObject * obj5 = 0 ;
8832 PyObject * obj6 = 0 ;
8833 PyObject * obj7 = 0 ;
8834 char * kwnames[] = {
8835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8836 };
8837
8838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8840 if (!SWIG_IsOK(res1)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8842 }
8843 arg1 = reinterpret_cast< wxWindow * >(argp1);
8844 if (obj1) {
8845 ecode2 = SWIG_AsVal_int(obj1, &val2);
8846 if (!SWIG_IsOK(ecode2)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8848 }
8849 arg2 = static_cast< int >(val2);
8850 }
8851 if (obj2) {
d55e5bfc 8852 {
1bd55598
RD
8853 arg3 = &temp3;
8854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8855 }
1bd55598
RD
8856 }
8857 if (obj3) {
d55e5bfc 8858 {
1bd55598
RD
8859 arg4 = &temp4;
8860 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8861 }
1bd55598
RD
8862 }
8863 if (obj4) {
d55e5bfc 8864 {
1bd55598
RD
8865 if (! PySequence_Check(obj4)) {
8866 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8867 SWIG_fail;
8868 }
8869 arg5 = new wxArrayString;
8870 temp5 = true;
8871 int i, len=PySequence_Length(obj4);
8872 for (i=0; i<len; i++) {
8873 PyObject* item = PySequence_GetItem(obj4, i);
8874 wxString* s = wxString_in_helper(item);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 arg5->Add(*s);
8877 delete s;
8878 Py_DECREF(item);
8879 }
d55e5bfc 8880 }
1bd55598
RD
8881 }
8882 if (obj5) {
8883 ecode6 = SWIG_AsVal_long(obj5, &val6);
8884 if (!SWIG_IsOK(ecode6)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8886 }
8887 arg6 = static_cast< long >(val6);
8888 }
8889 if (obj6) {
8890 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8891 if (!SWIG_IsOK(res7)) {
8892 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8893 }
1bd55598
RD
8894 if (!argp7) {
8895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8896 }
1bd55598
RD
8897 arg7 = reinterpret_cast< wxValidator * >(argp7);
8898 }
8899 if (obj7) {
d55e5bfc 8900 {
1bd55598
RD
8901 arg8 = wxString_in_helper(obj7);
8902 if (arg8 == NULL) SWIG_fail;
8903 temp8 = true;
d55e5bfc 8904 }
1bd55598
RD
8905 }
8906 {
8907 if (!wxPyCheckForApp()) SWIG_fail;
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8914 {
8915 if (temp5) delete arg5;
8916 }
8917 {
8918 if (temp8)
8919 delete arg8;
8920 }
8921 return resultobj;
8922fail:
8923 {
8924 if (temp5) delete arg5;
8925 }
8926 {
8927 if (temp8)
8928 delete arg8;
8929 }
8930 return NULL;
d55e5bfc
RD
8931}
8932
8933
1bd55598
RD
8934SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8935 PyObject *resultobj = 0;
8936 wxListBox *result = 0 ;
8937
8938 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8939 {
8940 if (!wxPyCheckForApp()) SWIG_fail;
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (wxListBox *)new wxListBox();
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8947 return resultobj;
8948fail:
8949 return NULL;
8950}
8951
8952
8953SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj = 0;
8955 wxListBox *arg1 = (wxListBox *) 0 ;
8956 wxWindow *arg2 = (wxWindow *) 0 ;
8957 int arg3 = (int) -1 ;
8958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8960 wxSize const &arg5_defvalue = wxDefaultSize ;
8961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8962 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8963 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8964 long arg7 = (long) 0 ;
8965 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8966 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8967 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8968 wxString *arg9 = (wxString *) &arg9_defvalue ;
8969 bool result;
8970 void *argp1 = 0 ;
8971 int res1 = 0 ;
8972 void *argp2 = 0 ;
8973 int res2 = 0 ;
8974 int val3 ;
8975 int ecode3 = 0 ;
8976 wxPoint temp4 ;
8977 wxSize temp5 ;
8978 bool temp6 = false ;
8979 long val7 ;
8980 int ecode7 = 0 ;
8981 void *argp8 = 0 ;
8982 int res8 = 0 ;
8983 bool temp9 = false ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 PyObject * obj2 = 0 ;
8987 PyObject * obj3 = 0 ;
8988 PyObject * obj4 = 0 ;
8989 PyObject * obj5 = 0 ;
8990 PyObject * obj6 = 0 ;
8991 PyObject * obj7 = 0 ;
8992 PyObject * obj8 = 0 ;
8993 char * kwnames[] = {
8994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8995 };
8996
8997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
8998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
8999 if (!SWIG_IsOK(res1)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9001 }
9002 arg1 = reinterpret_cast< wxListBox * >(argp1);
9003 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9004 if (!SWIG_IsOK(res2)) {
9005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9006 }
9007 arg2 = reinterpret_cast< wxWindow * >(argp2);
9008 if (obj2) {
9009 ecode3 = SWIG_AsVal_int(obj2, &val3);
9010 if (!SWIG_IsOK(ecode3)) {
9011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9012 }
9013 arg3 = static_cast< int >(val3);
9014 }
9015 if (obj3) {
d55e5bfc 9016 {
1bd55598
RD
9017 arg4 = &temp4;
9018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9019 }
1bd55598
RD
9020 }
9021 if (obj4) {
d55e5bfc 9022 {
1bd55598
RD
9023 arg5 = &temp5;
9024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9025 }
1bd55598
RD
9026 }
9027 if (obj5) {
943e8dfd 9028 {
1bd55598
RD
9029 if (! PySequence_Check(obj5)) {
9030 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9031 SWIG_fail;
9032 }
9033 arg6 = new wxArrayString;
9034 temp6 = true;
9035 int i, len=PySequence_Length(obj5);
9036 for (i=0; i<len; i++) {
9037 PyObject* item = PySequence_GetItem(obj5, i);
9038 wxString* s = wxString_in_helper(item);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 arg6->Add(*s);
9041 delete s;
9042 Py_DECREF(item);
9043 }
943e8dfd 9044 }
1bd55598
RD
9045 }
9046 if (obj6) {
9047 ecode7 = SWIG_AsVal_long(obj6, &val7);
9048 if (!SWIG_IsOK(ecode7)) {
9049 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9050 }
9051 arg7 = static_cast< long >(val7);
9052 }
9053 if (obj7) {
9054 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9055 if (!SWIG_IsOK(res8)) {
9056 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
943e8dfd 9057 }
1bd55598
RD
9058 if (!argp8) {
9059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9060 }
1bd55598
RD
9061 arg8 = reinterpret_cast< wxValidator * >(argp8);
9062 }
9063 if (obj8) {
f20a2e1f 9064 {
1bd55598
RD
9065 arg9 = wxString_in_helper(obj8);
9066 if (arg9 == NULL) SWIG_fail;
9067 temp9 = true;
f20a2e1f 9068 }
1bd55598
RD
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 {
9077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9078 }
9079 {
9080 if (temp6) delete arg6;
9081 }
9082 {
9083 if (temp9)
9084 delete arg9;
9085 }
9086 return resultobj;
9087fail:
9088 {
9089 if (temp6) delete arg6;
9090 }
9091 {
9092 if (temp9)
9093 delete arg9;
9094 }
9095 return NULL;
9096}
9097
9098
9099SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj = 0;
9101 wxListBox *arg1 = (wxListBox *) 0 ;
9102 wxString *arg2 = 0 ;
9103 int arg3 ;
9104 PyObject *arg4 = (PyObject *) NULL ;
9105 void *argp1 = 0 ;
9106 int res1 = 0 ;
9107 bool temp2 = false ;
9108 int val3 ;
9109 int ecode3 = 0 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 PyObject * obj2 = 0 ;
9113 PyObject * obj3 = 0 ;
9114 char * kwnames[] = {
9115 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9116 };
9117
9118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9120 if (!SWIG_IsOK(res1)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9122 }
9123 arg1 = reinterpret_cast< wxListBox * >(argp1);
9124 {
9125 arg2 = wxString_in_helper(obj1);
9126 if (arg2 == NULL) SWIG_fail;
9127 temp2 = true;
9128 }
9129 ecode3 = SWIG_AsVal_int(obj2, &val3);
9130 if (!SWIG_IsOK(ecode3)) {
9131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9132 }
9133 arg3 = static_cast< int >(val3);
9134 if (obj3) {
9135 arg4 = obj3;
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_Py_Void();
9144 {
9145 if (temp2)
9146 delete arg2;
9147 }
9148 return resultobj;
9149fail:
9150 {
9151 if (temp2)
9152 delete arg2;
9153 }
9154 return NULL;
9155}
9156
9157
9158SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj = 0;
9160 wxListBox *arg1 = (wxListBox *) 0 ;
9161 wxArrayString *arg2 = 0 ;
50f151d7 9162 unsigned int arg3 ;
1bd55598
RD
9163 void *argp1 = 0 ;
9164 int res1 = 0 ;
9165 bool temp2 = false ;
50f151d7 9166 unsigned int val3 ;
1bd55598
RD
9167 int ecode3 = 0 ;
9168 PyObject * obj0 = 0 ;
9169 PyObject * obj1 = 0 ;
9170 PyObject * obj2 = 0 ;
9171 char * kwnames[] = {
9172 (char *) "self",(char *) "items",(char *) "pos", NULL
9173 };
9174
9175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9177 if (!SWIG_IsOK(res1)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9179 }
9180 arg1 = reinterpret_cast< wxListBox * >(argp1);
9181 {
9182 if (! PySequence_Check(obj1)) {
9183 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9184 SWIG_fail;
9185 }
9186 arg2 = new wxArrayString;
9187 temp2 = true;
9188 int i, len=PySequence_Length(obj1);
9189 for (i=0; i<len; i++) {
9190 PyObject* item = PySequence_GetItem(obj1, i);
9191 wxString* s = wxString_in_helper(item);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 arg2->Add(*s);
9194 delete s;
9195 Py_DECREF(item);
f20a2e1f 9196 }
1bd55598 9197 }
50f151d7 9198 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
1bd55598 9199 if (!SWIG_IsOK(ecode3)) {
50f151d7 9200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
1bd55598 9201 }
50f151d7 9202 arg3 = static_cast< unsigned int >(val3);
1bd55598
RD
9203 {
9204 PyThreadState* __tstate = wxPyBeginAllowThreads();
9205 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_Py_Void();
9210 {
9211 if (temp2) delete arg2;
9212 }
9213 return resultobj;
9214fail:
9215 {
9216 if (temp2) delete arg2;
9217 }
9218 return NULL;
f20a2e1f
RD
9219}
9220
9221
1bd55598
RD
9222SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj = 0;
9224 wxListBox *arg1 = (wxListBox *) 0 ;
9225 wxArrayString *arg2 = 0 ;
9226 void *argp1 = 0 ;
9227 int res1 = 0 ;
9228 bool temp2 = false ;
9229 PyObject * obj0 = 0 ;
9230 PyObject * obj1 = 0 ;
9231 char * kwnames[] = {
9232 (char *) "self",(char *) "items", NULL
9233 };
9234
9235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9237 if (!SWIG_IsOK(res1)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9239 }
9240 arg1 = reinterpret_cast< wxListBox * >(argp1);
9241 {
9242 if (! PySequence_Check(obj1)) {
9243 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9244 SWIG_fail;
9245 }
9246 arg2 = new wxArrayString;
9247 temp2 = true;
9248 int i, len=PySequence_Length(obj1);
9249 for (i=0; i<len; i++) {
9250 PyObject* item = PySequence_GetItem(obj1, i);
9251 wxString* s = wxString_in_helper(item);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 arg2->Add(*s);
9254 delete s;
9255 Py_DECREF(item);
bfddbb17 9256 }
1bd55598
RD
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->Set((wxArrayString const &)*arg2);
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_Py_Void();
9265 {
9266 if (temp2) delete arg2;
9267 }
9268 return resultobj;
9269fail:
9270 {
9271 if (temp2) delete arg2;
9272 }
9273 return NULL;
9274}
9275
9276
9277SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj = 0;
9279 wxListBox *arg1 = (wxListBox *) 0 ;
9280 int arg2 ;
9281 bool result;
9282 void *argp1 = 0 ;
9283 int res1 = 0 ;
9284 int val2 ;
9285 int ecode2 = 0 ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char * kwnames[] = {
9289 (char *) "self",(char *) "n", NULL
9290 };
9291
9292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9294 if (!SWIG_IsOK(res1)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9296 }
9297 arg1 = reinterpret_cast< wxListBox * >(argp1);
9298 ecode2 = SWIG_AsVal_int(obj1, &val2);
9299 if (!SWIG_IsOK(ecode2)) {
9300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9301 }
9302 arg2 = static_cast< int >(val2);
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 {
9310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9311 }
9312 return resultobj;
9313fail:
9314 return NULL;
9315}
9316
9317
9318SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj = 0;
9320 wxListBox *arg1 = (wxListBox *) 0 ;
9321 int arg2 ;
9322 bool arg3 = (bool) true ;
9323 void *argp1 = 0 ;
9324 int res1 = 0 ;
9325 int val2 ;
9326 int ecode2 = 0 ;
9327 bool val3 ;
9328 int ecode3 = 0 ;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 PyObject * obj2 = 0 ;
9332 char * kwnames[] = {
9333 (char *) "self",(char *) "n",(char *) "select", NULL
9334 };
9335
9336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9338 if (!SWIG_IsOK(res1)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9340 }
9341 arg1 = reinterpret_cast< wxListBox * >(argp1);
9342 ecode2 = SWIG_AsVal_int(obj1, &val2);
9343 if (!SWIG_IsOK(ecode2)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9345 }
9346 arg2 = static_cast< int >(val2);
9347 if (obj2) {
9348 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9349 if (!SWIG_IsOK(ecode3)) {
9350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9351 }
9352 arg3 = static_cast< bool >(val3);
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->SetSelection(arg2,arg3);
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_Py_Void();
9361 return resultobj;
9362fail:
9363 return NULL;
9364}
9365
9366
9367SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj = 0;
9369 wxListBox *arg1 = (wxListBox *) 0 ;
9370 int arg2 ;
9371 void *argp1 = 0 ;
9372 int res1 = 0 ;
9373 int val2 ;
9374 int ecode2 = 0 ;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 char * kwnames[] = {
9378 (char *) "self",(char *) "n", NULL
9379 };
9380
9381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9383 if (!SWIG_IsOK(res1)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9385 }
9386 arg1 = reinterpret_cast< wxListBox * >(argp1);
9387 ecode2 = SWIG_AsVal_int(obj1, &val2);
9388 if (!SWIG_IsOK(ecode2)) {
9389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9390 }
9391 arg2 = static_cast< int >(val2);
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 (arg1)->Select(arg2);
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_Py_Void();
9399 return resultobj;
9400fail:
9401 return NULL;
9402}
9403
9404
9405SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj = 0;
9407 wxListBox *arg1 = (wxListBox *) 0 ;
9408 int arg2 ;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 int val2 ;
9412 int ecode2 = 0 ;
9413 PyObject * obj0 = 0 ;
9414 PyObject * obj1 = 0 ;
9415 char * kwnames[] = {
9416 (char *) "self",(char *) "n", NULL
9417 };
9418
9419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9421 if (!SWIG_IsOK(res1)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9423 }
9424 arg1 = reinterpret_cast< wxListBox * >(argp1);
9425 ecode2 = SWIG_AsVal_int(obj1, &val2);
9426 if (!SWIG_IsOK(ecode2)) {
9427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9428 }
9429 arg2 = static_cast< int >(val2);
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 (arg1)->Deselect(arg2);
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 resultobj = SWIG_Py_Void();
9437 return resultobj;
9438fail:
9439 return NULL;
9440}
9441
9442
9443SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj = 0;
9445 wxListBox *arg1 = (wxListBox *) 0 ;
9446 int arg2 = (int) -1 ;
9447 void *argp1 = 0 ;
9448 int res1 = 0 ;
9449 int val2 ;
9450 int ecode2 = 0 ;
9451 PyObject * obj0 = 0 ;
9452 PyObject * obj1 = 0 ;
9453 char * kwnames[] = {
9454 (char *) "self",(char *) "itemToLeaveSelected", NULL
9455 };
9456
9457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9459 if (!SWIG_IsOK(res1)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9461 }
9462 arg1 = reinterpret_cast< wxListBox * >(argp1);
9463 if (obj1) {
9464 ecode2 = SWIG_AsVal_int(obj1, &val2);
9465 if (!SWIG_IsOK(ecode2)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9467 }
9468 arg2 = static_cast< int >(val2);
9469 }
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 (arg1)->DeselectAll(arg2);
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 resultobj = SWIG_Py_Void();
9477 return resultobj;
9478fail:
9479 return NULL;
9480}
9481
9482
9483SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj = 0;
9485 wxListBox *arg1 = (wxListBox *) 0 ;
9486 wxString *arg2 = 0 ;
9487 bool arg3 = (bool) true ;
9488 bool result;
9489 void *argp1 = 0 ;
9490 int res1 = 0 ;
9491 bool temp2 = false ;
9492 bool val3 ;
9493 int ecode3 = 0 ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 PyObject * obj2 = 0 ;
9497 char * kwnames[] = {
9498 (char *) "self",(char *) "s",(char *) "select", NULL
9499 };
9500
9501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9503 if (!SWIG_IsOK(res1)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9505 }
9506 arg1 = reinterpret_cast< wxListBox * >(argp1);
9507 {
9508 arg2 = wxString_in_helper(obj1);
9509 if (arg2 == NULL) SWIG_fail;
9510 temp2 = true;
9511 }
9512 if (obj2) {
9513 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9514 if (!SWIG_IsOK(ecode3)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9516 }
9517 arg3 = static_cast< bool >(val3);
9518 }
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 {
9526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9527 }
9528 {
9529 if (temp2)
9530 delete arg2;
9531 }
9532 return resultobj;
9533fail:
9534 {
9535 if (temp2)
9536 delete arg2;
9537 }
9538 return NULL;
d55e5bfc
RD
9539}
9540
9541
1bd55598
RD
9542SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9543 PyObject *resultobj = 0;
9544 wxListBox *arg1 = (wxListBox *) 0 ;
9545 PyObject *result = 0 ;
9546 void *argp1 = 0 ;
9547 int res1 = 0 ;
9548 PyObject *swig_obj[1] ;
9549
9550 if (!args) SWIG_fail;
9551 swig_obj[0] = args;
9552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9553 if (!SWIG_IsOK(res1)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9555 }
9556 arg1 = reinterpret_cast< wxListBox * >(argp1);
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (PyObject *)wxListBox_GetSelections(arg1);
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 resultobj = result;
9564 return resultobj;
9565fail:
9566 return NULL;
9567}
9568
9569
9570SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj = 0;
9572 wxListBox *arg1 = (wxListBox *) 0 ;
9573 int arg2 ;
9574 void *argp1 = 0 ;
9575 int res1 = 0 ;
9576 int val2 ;
9577 int ecode2 = 0 ;
9578 PyObject * obj0 = 0 ;
9579 PyObject * obj1 = 0 ;
9580 char * kwnames[] = {
9581 (char *) "self",(char *) "n", NULL
9582 };
9583
9584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9586 if (!SWIG_IsOK(res1)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9588 }
9589 arg1 = reinterpret_cast< wxListBox * >(argp1);
9590 ecode2 = SWIG_AsVal_int(obj1, &val2);
9591 if (!SWIG_IsOK(ecode2)) {
9592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9593 }
9594 arg2 = static_cast< int >(val2);
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 (arg1)->SetFirstItem(arg2);
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_Py_Void();
9602 return resultobj;
9603fail:
9604 return NULL;
9605}
9606
9607
9608SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj = 0;
9610 wxListBox *arg1 = (wxListBox *) 0 ;
9611 wxString *arg2 = 0 ;
9612 void *argp1 = 0 ;
9613 int res1 = 0 ;
9614 bool temp2 = false ;
9615 PyObject * obj0 = 0 ;
9616 PyObject * obj1 = 0 ;
9617 char * kwnames[] = {
9618 (char *) "self",(char *) "s", NULL
9619 };
9620
9621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9623 if (!SWIG_IsOK(res1)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9625 }
9626 arg1 = reinterpret_cast< wxListBox * >(argp1);
9627 {
9628 arg2 = wxString_in_helper(obj1);
9629 if (arg2 == NULL) SWIG_fail;
9630 temp2 = true;
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 (arg1)->SetFirstItem((wxString const &)*arg2);
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 resultobj = SWIG_Py_Void();
9639 {
9640 if (temp2)
9641 delete arg2;
9642 }
9643 return resultobj;
9644fail:
9645 {
9646 if (temp2)
9647 delete arg2;
9648 }
9649 return NULL;
9650}
9651
9652
9653SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj = 0;
9655 wxListBox *arg1 = (wxListBox *) 0 ;
9656 int arg2 ;
9657 void *argp1 = 0 ;
9658 int res1 = 0 ;
9659 int val2 ;
9660 int ecode2 = 0 ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9663 char * kwnames[] = {
9664 (char *) "self",(char *) "n", NULL
9665 };
9666
9667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9669 if (!SWIG_IsOK(res1)) {
9670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9671 }
9672 arg1 = reinterpret_cast< wxListBox * >(argp1);
9673 ecode2 = SWIG_AsVal_int(obj1, &val2);
9674 if (!SWIG_IsOK(ecode2)) {
9675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9676 }
9677 arg2 = static_cast< int >(val2);
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 (arg1)->EnsureVisible(arg2);
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 resultobj = SWIG_Py_Void();
9685 return resultobj;
9686fail:
9687 return NULL;
9688}
9689
9690
9691SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj = 0;
9693 wxListBox *arg1 = (wxListBox *) 0 ;
9694 wxString *arg2 = 0 ;
9695 void *argp1 = 0 ;
9696 int res1 = 0 ;
9697 bool temp2 = false ;
9698 PyObject * obj0 = 0 ;
9699 PyObject * obj1 = 0 ;
9700 char * kwnames[] = {
9701 (char *) "self",(char *) "s", NULL
9702 };
9703
9704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9706 if (!SWIG_IsOK(res1)) {
9707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9708 }
9709 arg1 = reinterpret_cast< wxListBox * >(argp1);
9710 {
9711 arg2 = wxString_in_helper(obj1);
9712 if (arg2 == NULL) SWIG_fail;
9713 temp2 = true;
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 resultobj = SWIG_Py_Void();
9722 {
9723 if (temp2)
9724 delete arg2;
9725 }
9726 return resultobj;
9727fail:
9728 {
9729 if (temp2)
9730 delete arg2;
9731 }
9732 return NULL;
d55e5bfc
RD
9733}
9734
9735
1bd55598
RD
9736SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9737 PyObject *resultobj = 0;
9738 wxListBox *arg1 = (wxListBox *) 0 ;
9739 bool result;
9740 void *argp1 = 0 ;
9741 int res1 = 0 ;
9742 PyObject *swig_obj[1] ;
9743
9744 if (!args) SWIG_fail;
9745 swig_obj[0] = args;
9746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9749 }
9750 arg1 = reinterpret_cast< wxListBox * >(argp1);
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (bool)((wxListBox const *)arg1)->IsSorted();
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 {
9758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9759 }
9760 return resultobj;
9761fail:
9762 return NULL;
9763}
9764
9765
9766SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj = 0;
9768 wxListBox *arg1 = (wxListBox *) 0 ;
9769 wxPoint *arg2 = 0 ;
9770 int result;
9771 void *argp1 = 0 ;
9772 int res1 = 0 ;
9773 wxPoint temp2 ;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 char * kwnames[] = {
9777 (char *) "self",(char *) "pt", NULL
9778 };
9779
9780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9782 if (!SWIG_IsOK(res1)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9784 }
9785 arg1 = reinterpret_cast< wxListBox * >(argp1);
9786 {
9787 arg2 = &temp2;
9788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9789 }
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_From_int(static_cast< int >(result));
9797 return resultobj;
9798fail:
9799 return NULL;
9800}
9801
9802
9803SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj = 0;
9805 wxListBox *arg1 = (wxListBox *) 0 ;
9806 int arg2 ;
9807 wxColour *arg3 = 0 ;
9808 void *argp1 = 0 ;
9809 int res1 = 0 ;
9810 int val2 ;
9811 int ecode2 = 0 ;
9812 wxColour temp3 ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 PyObject * obj2 = 0 ;
9816 char * kwnames[] = {
9817 (char *) "self",(char *) "item",(char *) "c", NULL
9818 };
9819
9820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9822 if (!SWIG_IsOK(res1)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9824 }
9825 arg1 = reinterpret_cast< wxListBox * >(argp1);
9826 ecode2 = SWIG_AsVal_int(obj1, &val2);
9827 if (!SWIG_IsOK(ecode2)) {
9828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9829 }
9830 arg2 = static_cast< int >(val2);
9831 {
9832 arg3 = &temp3;
9833 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9834 }
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_Py_Void();
9842 return resultobj;
9843fail:
9844 return NULL;
9845}
9846
9847
9848SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxListBox *arg1 = (wxListBox *) 0 ;
9851 int arg2 ;
9852 wxColour *arg3 = 0 ;
9853 void *argp1 = 0 ;
9854 int res1 = 0 ;
9855 int val2 ;
9856 int ecode2 = 0 ;
9857 wxColour temp3 ;
9858 PyObject * obj0 = 0 ;
9859 PyObject * obj1 = 0 ;
9860 PyObject * obj2 = 0 ;
9861 char * kwnames[] = {
9862 (char *) "self",(char *) "item",(char *) "c", NULL
9863 };
9864
9865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9867 if (!SWIG_IsOK(res1)) {
9868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9869 }
9870 arg1 = reinterpret_cast< wxListBox * >(argp1);
9871 ecode2 = SWIG_AsVal_int(obj1, &val2);
9872 if (!SWIG_IsOK(ecode2)) {
9873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9874 }
9875 arg2 = static_cast< int >(val2);
9876 {
9877 arg3 = &temp3;
9878 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9879 }
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 resultobj = SWIG_Py_Void();
9887 return resultobj;
9888fail:
9889 return NULL;
9890}
9891
9892
9893SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj = 0;
9895 wxListBox *arg1 = (wxListBox *) 0 ;
9896 int arg2 ;
9897 wxFont *arg3 = 0 ;
9898 void *argp1 = 0 ;
9899 int res1 = 0 ;
9900 int val2 ;
9901 int ecode2 = 0 ;
9902 void *argp3 = 0 ;
9903 int res3 = 0 ;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj2 = 0 ;
9907 char * kwnames[] = {
9908 (char *) "self",(char *) "item",(char *) "f", NULL
9909 };
9910
9911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9913 if (!SWIG_IsOK(res1)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9915 }
9916 arg1 = reinterpret_cast< wxListBox * >(argp1);
9917 ecode2 = SWIG_AsVal_int(obj1, &val2);
9918 if (!SWIG_IsOK(ecode2)) {
9919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9920 }
9921 arg2 = static_cast< int >(val2);
9922 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9923 if (!SWIG_IsOK(res3)) {
9924 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9925 }
9926 if (!argp3) {
9927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9928 }
9929 arg3 = reinterpret_cast< wxFont * >(argp3);
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 resultobj = SWIG_Py_Void();
9937 return resultobj;
9938fail:
9939 return NULL;
9940}
9941
9942
9943SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj = 0;
9945 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9946 SwigValueWrapper<wxVisualAttributes > result;
9947 int val1 ;
9948 int ecode1 = 0 ;
9949 PyObject * obj0 = 0 ;
9950 char * kwnames[] = {
9951 (char *) "variant", NULL
9952 };
9953
9954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9955 if (obj0) {
9956 ecode1 = SWIG_AsVal_int(obj0, &val1);
9957 if (!SWIG_IsOK(ecode1)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9959 }
9960 arg1 = static_cast< wxWindowVariant >(val1);
9961 }
9962 {
9963 if (!wxPyCheckForApp()) SWIG_fail;
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = wxListBox::GetClassDefaultAttributes(arg1);
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9970 return resultobj;
9971fail:
9972 return NULL;
9973}
9974
9975
9976SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9977 PyObject *obj;
9978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9979 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9980 return SWIG_Py_Void();
9981}
9982
9983SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9984 return SWIG_Python_InitShadowInstance(args);
9985}
9986
9987SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj = 0;
9989 wxWindow *arg1 = (wxWindow *) 0 ;
9990 int arg2 = (int) -1 ;
9991 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9992 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9993 wxSize const &arg4_defvalue = wxDefaultSize ;
9994 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9995 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
9996 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
9997 long arg6 = (long) 0 ;
9998 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9999 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10000 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10001 wxString *arg8 = (wxString *) &arg8_defvalue ;
10002 wxCheckListBox *result = 0 ;
10003 void *argp1 = 0 ;
10004 int res1 = 0 ;
10005 int val2 ;
10006 int ecode2 = 0 ;
10007 wxPoint temp3 ;
10008 wxSize temp4 ;
10009 bool temp5 = false ;
10010 long val6 ;
10011 int ecode6 = 0 ;
10012 void *argp7 = 0 ;
10013 int res7 = 0 ;
10014 bool temp8 = false ;
10015 PyObject * obj0 = 0 ;
10016 PyObject * obj1 = 0 ;
10017 PyObject * obj2 = 0 ;
10018 PyObject * obj3 = 0 ;
10019 PyObject * obj4 = 0 ;
10020 PyObject * obj5 = 0 ;
10021 PyObject * obj6 = 0 ;
10022 PyObject * obj7 = 0 ;
10023 char * kwnames[] = {
10024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10025 };
10026
10027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10029 if (!SWIG_IsOK(res1)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10031 }
10032 arg1 = reinterpret_cast< wxWindow * >(argp1);
10033 if (obj1) {
10034 ecode2 = SWIG_AsVal_int(obj1, &val2);
10035 if (!SWIG_IsOK(ecode2)) {
10036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10037 }
10038 arg2 = static_cast< int >(val2);
10039 }
10040 if (obj2) {
10041 {
10042 arg3 = &temp3;
10043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
bfddbb17 10044 }
1bd55598
RD
10045 }
10046 if (obj3) {
10047 {
10048 arg4 = &temp4;
10049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10050 }
1bd55598
RD
10051 }
10052 if (obj4) {
10053 {
10054 if (! PySequence_Check(obj4)) {
10055 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10056 SWIG_fail;
10057 }
10058 arg5 = new wxArrayString;
10059 temp5 = true;
10060 int i, len=PySequence_Length(obj4);
10061 for (i=0; i<len; i++) {
10062 PyObject* item = PySequence_GetItem(obj4, i);
10063 wxString* s = wxString_in_helper(item);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 arg5->Add(*s);
10066 delete s;
10067 Py_DECREF(item);
10068 }
d55e5bfc 10069 }
1bd55598
RD
10070 }
10071 if (obj5) {
10072 ecode6 = SWIG_AsVal_long(obj5, &val6);
10073 if (!SWIG_IsOK(ecode6)) {
10074 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10075 }
10076 arg6 = static_cast< long >(val6);
10077 }
10078 if (obj6) {
10079 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10080 if (!SWIG_IsOK(res7)) {
10081 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10082 }
1bd55598
RD
10083 if (!argp7) {
10084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10085 }
1bd55598
RD
10086 arg7 = reinterpret_cast< wxValidator * >(argp7);
10087 }
10088 if (obj7) {
10089 {
10090 arg8 = wxString_in_helper(obj7);
10091 if (arg8 == NULL) SWIG_fail;
10092 temp8 = true;
d55e5bfc 10093 }
1bd55598
RD
10094 }
10095 {
10096 if (!wxPyCheckForApp()) SWIG_fail;
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10103 {
10104 if (temp5) delete arg5;
10105 }
10106 {
10107 if (temp8)
10108 delete arg8;
10109 }
10110 return resultobj;
10111fail:
10112 {
10113 if (temp5) delete arg5;
10114 }
10115 {
10116 if (temp8)
10117 delete arg8;
10118 }
10119 return NULL;
10120}
10121
10122
10123SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10124 PyObject *resultobj = 0;
10125 wxCheckListBox *result = 0 ;
10126
10127 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10128 {
10129 if (!wxPyCheckForApp()) SWIG_fail;
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (wxCheckListBox *)new wxCheckListBox();
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10136 return resultobj;
10137fail:
10138 return NULL;
10139}
10140
10141
10142SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj = 0;
10144 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10145 wxWindow *arg2 = (wxWindow *) 0 ;
10146 int arg3 = (int) -1 ;
10147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10149 wxSize const &arg5_defvalue = wxDefaultSize ;
10150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10151 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10152 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10153 long arg7 = (long) 0 ;
10154 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10155 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10156 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10157 wxString *arg9 = (wxString *) &arg9_defvalue ;
10158 bool result;
10159 void *argp1 = 0 ;
10160 int res1 = 0 ;
10161 void *argp2 = 0 ;
10162 int res2 = 0 ;
10163 int val3 ;
10164 int ecode3 = 0 ;
10165 wxPoint temp4 ;
10166 wxSize temp5 ;
10167 bool temp6 = false ;
10168 long val7 ;
10169 int ecode7 = 0 ;
10170 void *argp8 = 0 ;
10171 int res8 = 0 ;
10172 bool temp9 = false ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 PyObject * obj2 = 0 ;
10176 PyObject * obj3 = 0 ;
10177 PyObject * obj4 = 0 ;
10178 PyObject * obj5 = 0 ;
10179 PyObject * obj6 = 0 ;
10180 PyObject * obj7 = 0 ;
10181 PyObject * obj8 = 0 ;
10182 char * kwnames[] = {
10183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10184 };
10185
10186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10188 if (!SWIG_IsOK(res1)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10190 }
10191 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10193 if (!SWIG_IsOK(res2)) {
10194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10195 }
10196 arg2 = reinterpret_cast< wxWindow * >(argp2);
10197 if (obj2) {
10198 ecode3 = SWIG_AsVal_int(obj2, &val3);
10199 if (!SWIG_IsOK(ecode3)) {
10200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10201 }
10202 arg3 = static_cast< int >(val3);
10203 }
10204 if (obj3) {
d55e5bfc 10205 {
1bd55598
RD
10206 arg4 = &temp4;
10207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10208 }
1bd55598
RD
10209 }
10210 if (obj4) {
d55e5bfc 10211 {
1bd55598
RD
10212 arg5 = &temp5;
10213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10214 }
1bd55598
RD
10215 }
10216 if (obj5) {
d55e5bfc 10217 {
1bd55598
RD
10218 if (! PySequence_Check(obj5)) {
10219 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10220 SWIG_fail;
10221 }
10222 arg6 = new wxArrayString;
10223 temp6 = true;
10224 int i, len=PySequence_Length(obj5);
10225 for (i=0; i<len; i++) {
10226 PyObject* item = PySequence_GetItem(obj5, i);
10227 wxString* s = wxString_in_helper(item);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 arg6->Add(*s);
10230 delete s;
10231 Py_DECREF(item);
10232 }
10233 }
10234 }
10235 if (obj6) {
10236 ecode7 = SWIG_AsVal_long(obj6, &val7);
10237 if (!SWIG_IsOK(ecode7)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10239 }
10240 arg7 = static_cast< long >(val7);
10241 }
10242 if (obj7) {
10243 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10244 if (!SWIG_IsOK(res8)) {
10245 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10246 }
10247 if (!argp8) {
10248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10249 }
1bd55598
RD
10250 arg8 = reinterpret_cast< wxValidator * >(argp8);
10251 }
10252 if (obj8) {
d55e5bfc 10253 {
1bd55598
RD
10254 arg9 = wxString_in_helper(obj8);
10255 if (arg9 == NULL) SWIG_fail;
10256 temp9 = true;
d55e5bfc 10257 }
1bd55598
RD
10258 }
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 {
10266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10267 }
10268 {
10269 if (temp6) delete arg6;
10270 }
10271 {
10272 if (temp9)
10273 delete arg9;
10274 }
10275 return resultobj;
10276fail:
10277 {
10278 if (temp6) delete arg6;
10279 }
10280 {
10281 if (temp9)
10282 delete arg9;
10283 }
10284 return NULL;
10285}
10286
10287
10288SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj = 0;
10290 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10291 unsigned int arg2 ;
1bd55598
RD
10292 bool result;
10293 void *argp1 = 0 ;
10294 int res1 = 0 ;
50f151d7 10295 unsigned int val2 ;
1bd55598
RD
10296 int ecode2 = 0 ;
10297 PyObject * obj0 = 0 ;
10298 PyObject * obj1 = 0 ;
10299 char * kwnames[] = {
10300 (char *) "self",(char *) "index", NULL
10301 };
10302
10303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10305 if (!SWIG_IsOK(res1)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10307 }
10308 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10309 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10310 if (!SWIG_IsOK(ecode2)) {
50f151d7 10311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10312 }
50f151d7 10313 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (bool)(arg1)->IsChecked(arg2);
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 {
10321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10322 }
10323 return resultobj;
10324fail:
10325 return NULL;
10326}
10327
10328
10329SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10332 unsigned int arg2 ;
1bd55598
RD
10333 int arg3 = (int) true ;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
50f151d7 10336 unsigned int val2 ;
1bd55598
RD
10337 int ecode2 = 0 ;
10338 int val3 ;
10339 int ecode3 = 0 ;
10340 PyObject * obj0 = 0 ;
10341 PyObject * obj1 = 0 ;
10342 PyObject * obj2 = 0 ;
10343 char * kwnames[] = {
10344 (char *) "self",(char *) "index",(char *) "check", NULL
10345 };
10346
10347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10349 if (!SWIG_IsOK(res1)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10351 }
10352 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10353 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10354 if (!SWIG_IsOK(ecode2)) {
50f151d7 10355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10356 }
50f151d7 10357 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10358 if (obj2) {
10359 ecode3 = SWIG_AsVal_int(obj2, &val3);
10360 if (!SWIG_IsOK(ecode3)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10362 }
10363 arg3 = static_cast< int >(val3);
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->Check(arg2,arg3);
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_Py_Void();
10372 return resultobj;
10373fail:
10374 return NULL;
d55e5bfc
RD
10375}
10376
10377
1bd55598
RD
10378SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10379 PyObject *obj;
10380 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10381 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10382 return SWIG_Py_Void();
d55e5bfc
RD
10383}
10384
1bd55598
RD
10385SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10386 return SWIG_Python_InitShadowInstance(args);
10387}
d55e5bfc 10388
1bd55598
RD
10389SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10390 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10391 return 1;
d55e5bfc
RD
10392}
10393
10394
1bd55598
RD
10395SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10396 PyObject *pyobj = 0;
10397
10398 {
d55e5bfc 10399#if wxUSE_UNICODE
1bd55598 10400 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10401#else
1bd55598 10402 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10403#endif
1bd55598
RD
10404 }
10405 return pyobj;
10406}
10407
10408
10409SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj = 0;
10411 wxColour const &arg1_defvalue = wxNullColour ;
10412 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10413 wxColour const &arg2_defvalue = wxNullColour ;
10414 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10415 wxFont const &arg3_defvalue = wxNullFont ;
10416 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10417 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10418 wxTextAttr *result = 0 ;
10419 wxColour temp1 ;
10420 wxColour temp2 ;
10421 void *argp3 = 0 ;
10422 int res3 = 0 ;
10423 int val4 ;
10424 int ecode4 = 0 ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 PyObject * obj2 = 0 ;
10428 PyObject * obj3 = 0 ;
10429 char * kwnames[] = {
10430 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10431 };
10432
10433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10434 if (obj0) {
d55e5bfc 10435 {
1bd55598
RD
10436 arg1 = &temp1;
10437 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10438 }
1bd55598
RD
10439 }
10440 if (obj1) {
d55e5bfc 10441 {
1bd55598
RD
10442 arg2 = &temp2;
10443 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10444 }
1bd55598
RD
10445 }
10446 if (obj2) {
10447 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10448 if (!SWIG_IsOK(res3)) {
10449 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10450 }
1bd55598
RD
10451 if (!argp3) {
10452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10453 }
1bd55598
RD
10454 arg3 = reinterpret_cast< wxFont * >(argp3);
10455 }
10456 if (obj3) {
10457 ecode4 = SWIG_AsVal_int(obj3, &val4);
10458 if (!SWIG_IsOK(ecode4)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10460 }
10461 arg4 = static_cast< wxTextAttrAlignment >(val4);
10462 }
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10470 return resultobj;
10471fail:
10472 return NULL;
d55e5bfc
RD
10473}
10474
10475
1bd55598
RD
10476SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10477 PyObject *resultobj = 0;
10478 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10488 }
10489 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 delete arg1;
d55e5bfc 10493
1bd55598
RD
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = SWIG_Py_Void();
10498 return resultobj;
10499fail:
10500 return NULL;
d55e5bfc
RD
10501}
10502
10503
1bd55598
RD
10504SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10505 PyObject *resultobj = 0;
10506 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10507 void *argp1 = 0 ;
10508 int res1 = 0 ;
10509 PyObject *swig_obj[1] ;
10510
10511 if (!args) SWIG_fail;
10512 swig_obj[0] = args;
10513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10514 if (!SWIG_IsOK(res1)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10516 }
10517 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->Init();
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_Py_Void();
10525 return resultobj;
10526fail:
10527 return NULL;
10528}
10529
10530
2131d850
RD
10531SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj = 0;
10533 wxTextAttr *arg1 = 0 ;
10534 wxTextAttr *arg2 = 0 ;
10535 wxTextAttr result;
10536 void *argp1 = 0 ;
10537 int res1 = 0 ;
10538 void *argp2 = 0 ;
10539 int res2 = 0 ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 char * kwnames[] = {
10543 (char *) "base",(char *) "overlay", NULL
10544 };
10545
10546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10547 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10548 if (!SWIG_IsOK(res1)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10550 }
10551 if (!argp1) {
10552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10553 }
10554 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10555 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10556 if (!SWIG_IsOK(res2)) {
10557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10558 }
10559 if (!argp2) {
10560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10561 }
10562 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10570 return resultobj;
10571fail:
10572 return NULL;
10573}
10574
10575
1bd55598
RD
10576SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj = 0;
10578 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10579 wxColour *arg2 = 0 ;
10580 void *argp1 = 0 ;
10581 int res1 = 0 ;
10582 wxColour temp2 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char * kwnames[] = {
10586 (char *) "self",(char *) "colText", NULL
10587 };
10588
10589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10591 if (!SWIG_IsOK(res1)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10593 }
10594 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10595 {
10596 arg2 = &temp2;
10597 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10598 }
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->SetTextColour((wxColour const &)*arg2);
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_Py_Void();
10606 return resultobj;
10607fail:
10608 return NULL;
10609}
10610
10611
10612SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj = 0;
10614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10615 wxColour *arg2 = 0 ;
10616 void *argp1 = 0 ;
10617 int res1 = 0 ;
10618 wxColour temp2 ;
10619 PyObject * obj0 = 0 ;
10620 PyObject * obj1 = 0 ;
10621 char * kwnames[] = {
10622 (char *) "self",(char *) "colBack", NULL
10623 };
10624
10625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10627 if (!SWIG_IsOK(res1)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10629 }
10630 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10631 {
10632 arg2 = &temp2;
10633 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 resultobj = SWIG_Py_Void();
10642 return resultobj;
10643fail:
10644 return NULL;
10645}
10646
10647
10648SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj = 0;
10650 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10651 wxFont *arg2 = 0 ;
10652 long arg3 = (long) wxTEXT_ATTR_FONT ;
10653 void *argp1 = 0 ;
10654 int res1 = 0 ;
10655 void *argp2 = 0 ;
10656 int res2 = 0 ;
10657 long val3 ;
10658 int ecode3 = 0 ;
10659 PyObject * obj0 = 0 ;
10660 PyObject * obj1 = 0 ;
10661 PyObject * obj2 = 0 ;
10662 char * kwnames[] = {
10663 (char *) "self",(char *) "font",(char *) "flags", NULL
10664 };
10665
10666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10668 if (!SWIG_IsOK(res1)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10670 }
10671 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10672 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10673 if (!SWIG_IsOK(res2)) {
10674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10675 }
10676 if (!argp2) {
10677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10678 }
10679 arg2 = reinterpret_cast< wxFont * >(argp2);
10680 if (obj2) {
10681 ecode3 = SWIG_AsVal_long(obj2, &val3);
10682 if (!SWIG_IsOK(ecode3)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10684 }
10685 arg3 = static_cast< long >(val3);
10686 }
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = SWIG_Py_Void();
10694 return resultobj;
10695fail:
10696 return NULL;
10697}
10698
10699
10700SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj = 0;
10702 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10703 wxTextAttrAlignment arg2 ;
10704 void *argp1 = 0 ;
10705 int res1 = 0 ;
10706 int val2 ;
10707 int ecode2 = 0 ;
10708 PyObject * obj0 = 0 ;
10709 PyObject * obj1 = 0 ;
10710 char * kwnames[] = {
10711 (char *) "self",(char *) "alignment", NULL
10712 };
10713
10714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10716 if (!SWIG_IsOK(res1)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10718 }
10719 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10720 ecode2 = SWIG_AsVal_int(obj1, &val2);
10721 if (!SWIG_IsOK(ecode2)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10723 }
10724 arg2 = static_cast< wxTextAttrAlignment >(val2);
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 (arg1)->SetAlignment(arg2);
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 resultobj = SWIG_Py_Void();
10732 return resultobj;
10733fail:
10734 return NULL;
10735}
10736
10737
10738SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj = 0;
10740 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10741 wxArrayInt *arg2 = 0 ;
10742 void *argp1 = 0 ;
10743 int res1 = 0 ;
10744 bool temp2 = false ;
10745 PyObject * obj0 = 0 ;
10746 PyObject * obj1 = 0 ;
10747 char * kwnames[] = {
10748 (char *) "self",(char *) "tabs", NULL
10749 };
10750
10751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10753 if (!SWIG_IsOK(res1)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10755 }
10756 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10757 {
10758 if (! PySequence_Check(obj1)) {
10759 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10760 SWIG_fail;
10761 }
10762 arg2 = new wxArrayInt;
10763 temp2 = true;
10764 int i, len=PySequence_Length(obj1);
10765 for (i=0; i<len; i++) {
10766 PyObject* item = PySequence_GetItem(obj1, i);
10767 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10768 if (!number) {
10769 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10770 SWIG_fail;
10771 }
1bd55598
RD
10772 arg2->Add(PyInt_AS_LONG(number));
10773 Py_DECREF(item);
10774 Py_DECREF(number);
d55e5bfc 10775 }
1bd55598
RD
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 resultobj = SWIG_Py_Void();
10784 {
10785 if (temp2) delete arg2;
10786 }
10787 return resultobj;
10788fail:
10789 {
10790 if (temp2) delete arg2;
10791 }
10792 return NULL;
10793}
10794
10795
10796SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10797 PyObject *resultobj = 0;
10798 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10799 int arg2 ;
10800 int arg3 = (int) 0 ;
10801 void *argp1 = 0 ;
10802 int res1 = 0 ;
10803 int val2 ;
10804 int ecode2 = 0 ;
10805 int val3 ;
10806 int ecode3 = 0 ;
10807 PyObject * obj0 = 0 ;
10808 PyObject * obj1 = 0 ;
10809 PyObject * obj2 = 0 ;
10810 char * kwnames[] = {
10811 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10812 };
10813
10814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10816 if (!SWIG_IsOK(res1)) {
10817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10818 }
10819 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10820 ecode2 = SWIG_AsVal_int(obj1, &val2);
10821 if (!SWIG_IsOK(ecode2)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10823 }
10824 arg2 = static_cast< int >(val2);
10825 if (obj2) {
10826 ecode3 = SWIG_AsVal_int(obj2, &val3);
10827 if (!SWIG_IsOK(ecode3)) {
10828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10829 }
10830 arg3 = static_cast< int >(val3);
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->SetLeftIndent(arg2,arg3);
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_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj = 0;
10847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10848 int arg2 ;
10849 void *argp1 = 0 ;
10850 int res1 = 0 ;
10851 int val2 ;
10852 int ecode2 = 0 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 char * kwnames[] = {
10856 (char *) "self",(char *) "indent", NULL
10857 };
10858
10859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",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_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10863 }
10864 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10865 ecode2 = SWIG_AsVal_int(obj1, &val2);
10866 if (!SWIG_IsOK(ecode2)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10868 }
10869 arg2 = static_cast< int >(val2);
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetRightIndent(arg2);
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 resultobj = SWIG_Py_Void();
10877 return resultobj;
10878fail:
10879 return NULL;
10880}
10881
10882
10883SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj = 0;
10885 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10886 long arg2 ;
10887 void *argp1 = 0 ;
10888 int res1 = 0 ;
10889 long val2 ;
10890 int ecode2 = 0 ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 char * kwnames[] = {
10894 (char *) "self",(char *) "flags", NULL
10895 };
10896
10897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10899 if (!SWIG_IsOK(res1)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10901 }
10902 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10903 ecode2 = SWIG_AsVal_long(obj1, &val2);
10904 if (!SWIG_IsOK(ecode2)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10906 }
10907 arg2 = static_cast< long >(val2);
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetFlags(arg2);
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_Py_Void();
10915 return resultobj;
10916fail:
10917 return NULL;
d55e5bfc
RD
10918}
10919
10920
1bd55598
RD
10921SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10922 PyObject *resultobj = 0;
10923 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10924 bool result;
10925 void *argp1 = 0 ;
10926 int res1 = 0 ;
10927 PyObject *swig_obj[1] ;
10928
10929 if (!args) SWIG_fail;
10930 swig_obj[0] = args;
10931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10932 if (!SWIG_IsOK(res1)) {
10933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10934 }
10935 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10936 {
10937 PyThreadState* __tstate = wxPyBeginAllowThreads();
10938 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 {
10943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10944 }
10945 return resultobj;
10946fail:
10947 return NULL;
d55e5bfc
RD
10948}
10949
10950
1bd55598
RD
10951SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10952 PyObject *resultobj = 0;
10953 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10954 bool result;
10955 void *argp1 = 0 ;
10956 int res1 = 0 ;
10957 PyObject *swig_obj[1] ;
10958
10959 if (!args) SWIG_fail;
10960 swig_obj[0] = args;
10961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10962 if (!SWIG_IsOK(res1)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10964 }
10965 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 {
10973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10974 }
10975 return resultobj;
10976fail:
10977 return NULL;
d55e5bfc
RD
10978}
10979
10980
1bd55598
RD
10981SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10982 PyObject *resultobj = 0;
10983 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10984 bool result;
10985 void *argp1 = 0 ;
10986 int res1 = 0 ;
10987 PyObject *swig_obj[1] ;
10988
10989 if (!args) SWIG_fail;
10990 swig_obj[0] = args;
10991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10992 if (!SWIG_IsOK(res1)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10994 }
10995 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)((wxTextAttr const *)arg1)->HasFont();
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 {
11003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11004 }
11005 return resultobj;
11006fail:
11007 return NULL;
d55e5bfc
RD
11008}
11009
11010
1bd55598
RD
11011SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11012 PyObject *resultobj = 0;
11013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11014 bool result;
11015 void *argp1 = 0 ;
11016 int res1 = 0 ;
11017 PyObject *swig_obj[1] ;
11018
11019 if (!args) SWIG_fail;
11020 swig_obj[0] = args;
11021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11022 if (!SWIG_IsOK(res1)) {
11023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11024 }
11025 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 {
11033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11034 }
11035 return resultobj;
11036fail:
11037 return NULL;
d55e5bfc
RD
11038}
11039
11040
1bd55598
RD
11041SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11042 PyObject *resultobj = 0;
11043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11044 bool result;
11045 void *argp1 = 0 ;
11046 int res1 = 0 ;
11047 PyObject *swig_obj[1] ;
11048
11049 if (!args) SWIG_fail;
11050 swig_obj[0] = args;
11051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11052 if (!SWIG_IsOK(res1)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11054 }
11055 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 {
11063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11064 }
11065 return resultobj;
11066fail:
11067 return NULL;
d55e5bfc
RD
11068}
11069
11070
1bd55598
RD
11071SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11072 PyObject *resultobj = 0;
11073 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11074 bool result;
11075 void *argp1 = 0 ;
11076 int res1 = 0 ;
11077 PyObject *swig_obj[1] ;
11078
11079 if (!args) SWIG_fail;
11080 swig_obj[0] = args;
11081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11082 if (!SWIG_IsOK(res1)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11084 }
11085 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 {
11093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11094 }
11095 return resultobj;
11096fail:
11097 return NULL;
d55e5bfc
RD
11098}
11099
11100
1bd55598
RD
11101SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11102 PyObject *resultobj = 0;
11103 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11104 bool result;
11105 void *argp1 = 0 ;
11106 int res1 = 0 ;
11107 PyObject *swig_obj[1] ;
11108
11109 if (!args) SWIG_fail;
11110 swig_obj[0] = args;
11111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11112 if (!SWIG_IsOK(res1)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11114 }
11115 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 {
11123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11124 }
11125 return resultobj;
11126fail:
11127 return NULL;
11128}
11129
11130
11131SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj = 0;
11133 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11134 long arg2 ;
11135 bool result;
11136 void *argp1 = 0 ;
11137 int res1 = 0 ;
11138 long val2 ;
11139 int ecode2 = 0 ;
11140 PyObject * obj0 = 0 ;
11141 PyObject * obj1 = 0 ;
11142 char * kwnames[] = {
11143 (char *) "self",(char *) "flag", NULL
11144 };
11145
11146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11148 if (!SWIG_IsOK(res1)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11150 }
11151 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11152 ecode2 = SWIG_AsVal_long(obj1, &val2);
11153 if (!SWIG_IsOK(ecode2)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11155 }
11156 arg2 = static_cast< long >(val2);
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 {
11164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11165 }
11166 return resultobj;
11167fail:
11168 return NULL;
d55e5bfc
RD
11169}
11170
11171
1bd55598
RD
11172SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11173 PyObject *resultobj = 0;
11174 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11175 wxColour *result = 0 ;
11176 void *argp1 = 0 ;
11177 int res1 = 0 ;
11178 PyObject *swig_obj[1] ;
11179
11180 if (!args) SWIG_fail;
11181 swig_obj[0] = args;
11182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11183 if (!SWIG_IsOK(res1)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11185 }
11186 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11189 {
1bd55598
RD
11190 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11191 result = (wxColour *) &_result_ref;
d55e5bfc 11192 }
1bd55598
RD
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11197 return resultobj;
11198fail:
11199 return NULL;
d55e5bfc
RD
11200}
11201
11202
1bd55598
RD
11203SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11204 PyObject *resultobj = 0;
11205 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11206 wxColour *result = 0 ;
11207 void *argp1 = 0 ;
11208 int res1 = 0 ;
11209 PyObject *swig_obj[1] ;
11210
11211 if (!args) SWIG_fail;
11212 swig_obj[0] = args;
11213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11214 if (!SWIG_IsOK(res1)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11216 }
11217 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11220 {
1bd55598
RD
11221 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11222 result = (wxColour *) &_result_ref;
d55e5bfc 11223 }
1bd55598
RD
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11228 return resultobj;
11229fail:
11230 return NULL;
d55e5bfc
RD
11231}
11232
11233
1bd55598
RD
11234SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11235 PyObject *resultobj = 0;
11236 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11237 wxFont *result = 0 ;
11238 void *argp1 = 0 ;
11239 int res1 = 0 ;
11240 PyObject *swig_obj[1] ;
11241
11242 if (!args) SWIG_fail;
11243 swig_obj[0] = args;
11244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11245 if (!SWIG_IsOK(res1)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11247 }
11248 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11251 {
1bd55598
RD
11252 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11253 result = (wxFont *) &_result_ref;
d55e5bfc 11254 }
1bd55598
RD
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 {
11259 wxFont* resultptr = new wxFont(*result);
11260 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11261 }
11262 return resultobj;
11263fail:
11264 return NULL;
d55e5bfc
RD
11265}
11266
11267
1bd55598
RD
11268SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11269 PyObject *resultobj = 0;
11270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11271 wxTextAttrAlignment result;
11272 void *argp1 = 0 ;
11273 int res1 = 0 ;
11274 PyObject *swig_obj[1] ;
11275
11276 if (!args) SWIG_fail;
11277 swig_obj[0] = args;
11278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11279 if (!SWIG_IsOK(res1)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11281 }
11282 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_From_int(static_cast< int >(result));
11290 return resultobj;
11291fail:
11292 return NULL;
d55e5bfc
RD
11293}
11294
11295
1bd55598
RD
11296SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11297 PyObject *resultobj = 0;
11298 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11299 wxArrayInt *result = 0 ;
11300 void *argp1 = 0 ;
11301 int res1 = 0 ;
11302 PyObject *swig_obj[1] ;
11303
11304 if (!args) SWIG_fail;
11305 swig_obj[0] = args;
11306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11309 }
11310 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11313 {
1bd55598
RD
11314 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11315 result = (wxArrayInt *) &_result_ref;
36ed4f51 11316 }
1bd55598
RD
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
b39fe951 11321 resultobj = wxArrayInt2PyList_helper(*result);
1bd55598
RD
11322 }
11323 return resultobj;
11324fail:
11325 return NULL;
d55e5bfc
RD
11326}
11327
11328
1bd55598
RD
11329SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11330 PyObject *resultobj = 0;
11331 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11332 long result;
11333 void *argp1 = 0 ;
11334 int res1 = 0 ;
11335 PyObject *swig_obj[1] ;
11336
11337 if (!args) SWIG_fail;
11338 swig_obj[0] = args;
11339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11340 if (!SWIG_IsOK(res1)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11342 }
11343 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_From_long(static_cast< long >(result));
11351 return resultobj;
11352fail:
11353 return NULL;
d55e5bfc
RD
11354}
11355
11356
1bd55598
RD
11357SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11358 PyObject *resultobj = 0;
11359 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11360 long result;
11361 void *argp1 = 0 ;
11362 int res1 = 0 ;
11363 PyObject *swig_obj[1] ;
11364
11365 if (!args) SWIG_fail;
11366 swig_obj[0] = args;
11367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11368 if (!SWIG_IsOK(res1)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11370 }
11371 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 resultobj = SWIG_From_long(static_cast< long >(result));
11379 return resultobj;
11380fail:
11381 return NULL;
d55e5bfc
RD
11382}
11383
11384
1bd55598
RD
11385SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11386 PyObject *resultobj = 0;
11387 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11388 long result;
11389 void *argp1 = 0 ;
11390 int res1 = 0 ;
11391 PyObject *swig_obj[1] ;
11392
11393 if (!args) SWIG_fail;
11394 swig_obj[0] = args;
11395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11396 if (!SWIG_IsOK(res1)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11398 }
11399 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 resultobj = SWIG_From_long(static_cast< long >(result));
11407 return resultobj;
11408fail:
11409 return NULL;
d55e5bfc
RD
11410}
11411
11412
1bd55598
RD
11413SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11414 PyObject *resultobj = 0;
11415 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11416 long result;
11417 void *argp1 = 0 ;
11418 int res1 = 0 ;
11419 PyObject *swig_obj[1] ;
11420
11421 if (!args) SWIG_fail;
11422 swig_obj[0] = args;
11423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11424 if (!SWIG_IsOK(res1)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11426 }
11427 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 resultobj = SWIG_From_long(static_cast< long >(result));
11435 return resultobj;
11436fail:
11437 return NULL;
d55e5bfc
RD
11438}
11439
11440
1bd55598
RD
11441SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11442 PyObject *resultobj = 0;
11443 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11444 bool result;
11445 void *argp1 = 0 ;
11446 int res1 = 0 ;
11447 PyObject *swig_obj[1] ;
11448
11449 if (!args) SWIG_fail;
11450 swig_obj[0] = args;
11451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11452 if (!SWIG_IsOK(res1)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11454 }
11455 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 {
11463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11464 }
11465 return resultobj;
11466fail:
11467 return NULL;
11468}
11469
11470
11471SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj = 0;
11473 wxTextAttr *arg1 = 0 ;
11474 wxTextAttr *arg2 = 0 ;
11475 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11476 wxTextAttr result;
11477 void *argp1 = 0 ;
11478 int res1 = 0 ;
11479 void *argp2 = 0 ;
11480 int res2 = 0 ;
11481 void *argp3 = 0 ;
11482 int res3 = 0 ;
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
11485 PyObject * obj2 = 0 ;
11486 char * kwnames[] = {
11487 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11488 };
11489
11490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11491 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11492 if (!SWIG_IsOK(res1)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11494 }
11495 if (!argp1) {
11496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11497 }
11498 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11500 if (!SWIG_IsOK(res2)) {
11501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11502 }
11503 if (!argp2) {
11504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11505 }
11506 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11507 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11508 if (!SWIG_IsOK(res3)) {
11509 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11510 }
11511 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11519 return resultobj;
11520fail:
11521 return NULL;
11522}
11523
11524
11525SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11526 PyObject *obj;
11527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11528 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11529 return SWIG_Py_Void();
11530}
11531
11532SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11533 return SWIG_Python_InitShadowInstance(args);
11534}
11535
11536SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj = 0;
11538 wxWindow *arg1 = (wxWindow *) 0 ;
11539 int arg2 = (int) -1 ;
11540 wxString const &arg3_defvalue = wxPyEmptyString ;
11541 wxString *arg3 = (wxString *) &arg3_defvalue ;
11542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11544 wxSize const &arg5_defvalue = wxDefaultSize ;
11545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11546 long arg6 = (long) 0 ;
11547 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11548 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11549 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11550 wxString *arg8 = (wxString *) &arg8_defvalue ;
11551 wxTextCtrl *result = 0 ;
11552 void *argp1 = 0 ;
11553 int res1 = 0 ;
11554 int val2 ;
11555 int ecode2 = 0 ;
11556 bool temp3 = false ;
11557 wxPoint temp4 ;
11558 wxSize temp5 ;
11559 long val6 ;
11560 int ecode6 = 0 ;
11561 void *argp7 = 0 ;
11562 int res7 = 0 ;
11563 bool temp8 = false ;
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
11566 PyObject * obj2 = 0 ;
11567 PyObject * obj3 = 0 ;
11568 PyObject * obj4 = 0 ;
11569 PyObject * obj5 = 0 ;
11570 PyObject * obj6 = 0 ;
11571 PyObject * obj7 = 0 ;
11572 char * kwnames[] = {
11573 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11574 };
11575
11576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11580 }
11581 arg1 = reinterpret_cast< wxWindow * >(argp1);
11582 if (obj1) {
11583 ecode2 = SWIG_AsVal_int(obj1, &val2);
11584 if (!SWIG_IsOK(ecode2)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11586 }
11587 arg2 = static_cast< int >(val2);
11588 }
11589 if (obj2) {
36ed4f51 11590 {
1bd55598
RD
11591 arg3 = wxString_in_helper(obj2);
11592 if (arg3 == NULL) SWIG_fail;
11593 temp3 = true;
36ed4f51 11594 }
1bd55598
RD
11595 }
11596 if (obj3) {
36ed4f51 11597 {
1bd55598
RD
11598 arg4 = &temp4;
11599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11600 }
1bd55598
RD
11601 }
11602 if (obj4) {
d55e5bfc 11603 {
1bd55598
RD
11604 arg5 = &temp5;
11605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11606 }
1bd55598
RD
11607 }
11608 if (obj5) {
11609 ecode6 = SWIG_AsVal_long(obj5, &val6);
11610 if (!SWIG_IsOK(ecode6)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11612 }
11613 arg6 = static_cast< long >(val6);
11614 }
11615 if (obj6) {
11616 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11617 if (!SWIG_IsOK(res7)) {
11618 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11619 }
1bd55598
RD
11620 if (!argp7) {
11621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11622 }
1bd55598
RD
11623 arg7 = reinterpret_cast< wxValidator * >(argp7);
11624 }
11625 if (obj7) {
d55e5bfc 11626 {
1bd55598
RD
11627 arg8 = wxString_in_helper(obj7);
11628 if (arg8 == NULL) SWIG_fail;
11629 temp8 = true;
d55e5bfc 11630 }
1bd55598
RD
11631 }
11632 {
11633 if (!wxPyCheckForApp()) SWIG_fail;
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11640 {
11641 if (temp3)
11642 delete arg3;
11643 }
11644 {
11645 if (temp8)
11646 delete arg8;
11647 }
11648 return resultobj;
11649fail:
11650 {
11651 if (temp3)
11652 delete arg3;
11653 }
11654 {
11655 if (temp8)
11656 delete arg8;
11657 }
11658 return NULL;
d55e5bfc
RD
11659}
11660
11661
1bd55598
RD
11662SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11663 PyObject *resultobj = 0;
11664 wxTextCtrl *result = 0 ;
11665
11666 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11667 {
11668 if (!wxPyCheckForApp()) SWIG_fail;
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (wxTextCtrl *)new wxTextCtrl();
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11675 return resultobj;
11676fail:
11677 return NULL;
11678}
11679
11680
11681SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj = 0;
11683 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11684 wxWindow *arg2 = (wxWindow *) 0 ;
11685 int arg3 = (int) -1 ;
11686 wxString const &arg4_defvalue = wxPyEmptyString ;
11687 wxString *arg4 = (wxString *) &arg4_defvalue ;
11688 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11689 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11690 wxSize const &arg6_defvalue = wxDefaultSize ;
11691 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11692 long arg7 = (long) 0 ;
11693 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11694 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11695 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11696 wxString *arg9 = (wxString *) &arg9_defvalue ;
11697 bool result;
11698 void *argp1 = 0 ;
11699 int res1 = 0 ;
11700 void *argp2 = 0 ;
11701 int res2 = 0 ;
11702 int val3 ;
11703 int ecode3 = 0 ;
11704 bool temp4 = false ;
11705 wxPoint temp5 ;
11706 wxSize temp6 ;
11707 long val7 ;
11708 int ecode7 = 0 ;
11709 void *argp8 = 0 ;
11710 int res8 = 0 ;
11711 bool temp9 = false ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 PyObject * obj2 = 0 ;
11715 PyObject * obj3 = 0 ;
11716 PyObject * obj4 = 0 ;
11717 PyObject * obj5 = 0 ;
11718 PyObject * obj6 = 0 ;
11719 PyObject * obj7 = 0 ;
11720 PyObject * obj8 = 0 ;
11721 char * kwnames[] = {
11722 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11723 };
11724
11725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11727 if (!SWIG_IsOK(res1)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11729 }
11730 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11731 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11732 if (!SWIG_IsOK(res2)) {
11733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11734 }
11735 arg2 = reinterpret_cast< wxWindow * >(argp2);
11736 if (obj2) {
11737 ecode3 = SWIG_AsVal_int(obj2, &val3);
11738 if (!SWIG_IsOK(ecode3)) {
11739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11740 }
11741 arg3 = static_cast< int >(val3);
11742 }
11743 if (obj3) {
d55e5bfc 11744 {
1bd55598
RD
11745 arg4 = wxString_in_helper(obj3);
11746 if (arg4 == NULL) SWIG_fail;
11747 temp4 = true;
d55e5bfc 11748 }
1bd55598
RD
11749 }
11750 if (obj4) {
d55e5bfc 11751 {
1bd55598
RD
11752 arg5 = &temp5;
11753 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11754 }
1bd55598
RD
11755 }
11756 if (obj5) {
d55e5bfc 11757 {
1bd55598
RD
11758 arg6 = &temp6;
11759 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11760 }
1bd55598
RD
11761 }
11762 if (obj6) {
11763 ecode7 = SWIG_AsVal_long(obj6, &val7);
11764 if (!SWIG_IsOK(ecode7)) {
11765 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11766 }
11767 arg7 = static_cast< long >(val7);
11768 }
11769 if (obj7) {
11770 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11771 if (!SWIG_IsOK(res8)) {
11772 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11773 }
1bd55598
RD
11774 if (!argp8) {
11775 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11776 }
11777 arg8 = reinterpret_cast< wxValidator * >(argp8);
11778 }
11779 if (obj8) {
d55e5bfc 11780 {
1bd55598
RD
11781 arg9 = wxString_in_helper(obj8);
11782 if (arg9 == NULL) SWIG_fail;
11783 temp9 = true;
d55e5bfc 11784 }
1bd55598
RD
11785 }
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 {
11793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11794 }
11795 {
11796 if (temp4)
11797 delete arg4;
11798 }
11799 {
11800 if (temp9)
11801 delete arg9;
11802 }
11803 return resultobj;
11804fail:
11805 {
11806 if (temp4)
11807 delete arg4;
11808 }
11809 {
11810 if (temp9)
11811 delete arg9;
11812 }
11813 return NULL;
d55e5bfc
RD
11814}
11815
11816
1bd55598
RD
11817SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11818 PyObject *resultobj = 0;
11819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11820 wxString result;
11821 void *argp1 = 0 ;
11822 int res1 = 0 ;
11823 PyObject *swig_obj[1] ;
11824
11825 if (!args) SWIG_fail;
11826 swig_obj[0] = args;
11827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11828 if (!SWIG_IsOK(res1)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11830 }
11831 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = ((wxTextCtrl const *)arg1)->GetValue();
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 {
11839#if wxUSE_UNICODE
11840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11841#else
11842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11843#endif
11844 }
11845 return resultobj;
11846fail:
11847 return NULL;
11848}
11849
11850
11851SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj = 0;
11853 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11854 wxString *arg2 = 0 ;
11855 void *argp1 = 0 ;
11856 int res1 = 0 ;
11857 bool temp2 = false ;
11858 PyObject * obj0 = 0 ;
11859 PyObject * obj1 = 0 ;
11860 char * kwnames[] = {
11861 (char *) "self",(char *) "value", NULL
11862 };
11863
11864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11866 if (!SWIG_IsOK(res1)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11868 }
11869 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11870 {
11871 arg2 = wxString_in_helper(obj1);
11872 if (arg2 == NULL) SWIG_fail;
11873 temp2 = true;
11874 }
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->SetValue((wxString const &)*arg2);
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 resultobj = SWIG_Py_Void();
11882 {
11883 if (temp2)
11884 delete arg2;
11885 }
11886 return resultobj;
11887fail:
11888 {
11889 if (temp2)
11890 delete arg2;
11891 }
11892 return NULL;
11893}
11894
11895
b39fe951
RD
11896SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11897 PyObject *resultobj = 0;
11898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11899 bool result;
11900 void *argp1 = 0 ;
11901 int res1 = 0 ;
11902 PyObject *swig_obj[1] ;
11903
11904 if (!args) SWIG_fail;
11905 swig_obj[0] = args;
11906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11907 if (!SWIG_IsOK(res1)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11909 }
11910 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 {
11918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11919 }
11920 return resultobj;
11921fail:
11922 return NULL;
11923}
11924
11925
11926SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj = 0;
11928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11929 wxString *arg2 = 0 ;
11930 void *argp1 = 0 ;
11931 int res1 = 0 ;
11932 bool temp2 = false ;
11933 PyObject * obj0 = 0 ;
11934 PyObject * obj1 = 0 ;
11935 char * kwnames[] = {
11936 (char *) "self",(char *) "value", NULL
11937 };
11938
11939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
11940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11941 if (!SWIG_IsOK(res1)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11943 }
11944 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11945 {
11946 arg2 = wxString_in_helper(obj1);
11947 if (arg2 == NULL) SWIG_fail;
11948 temp2 = true;
11949 }
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 (arg1)->ChangeValue((wxString const &)*arg2);
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_Py_Void();
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return resultobj;
11962fail:
11963 {
11964 if (temp2)
11965 delete arg2;
11966 }
11967 return NULL;
11968}
11969
11970
1bd55598
RD
11971SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj = 0;
11973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11974 long arg2 ;
11975 long arg3 ;
11976 wxString result;
11977 void *argp1 = 0 ;
11978 int res1 = 0 ;
11979 long val2 ;
11980 int ecode2 = 0 ;
11981 long val3 ;
11982 int ecode3 = 0 ;
11983 PyObject * obj0 = 0 ;
11984 PyObject * obj1 = 0 ;
11985 PyObject * obj2 = 0 ;
11986 char * kwnames[] = {
2131d850 11987 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
11988 };
11989
11990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11992 if (!SWIG_IsOK(res1)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11994 }
11995 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11996 ecode2 = SWIG_AsVal_long(obj1, &val2);
11997 if (!SWIG_IsOK(ecode2)) {
11998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11999 }
12000 arg2 = static_cast< long >(val2);
12001 ecode3 = SWIG_AsVal_long(obj2, &val3);
12002 if (!SWIG_IsOK(ecode3)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12004 }
12005 arg3 = static_cast< long >(val3);
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013#if wxUSE_UNICODE
12014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12015#else
12016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12017#endif
12018 }
12019 return resultobj;
12020fail:
12021 return NULL;
12022}
12023
12024
12025SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj = 0;
12027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12028 long arg2 ;
12029 int result;
12030 void *argp1 = 0 ;
12031 int res1 = 0 ;
12032 long val2 ;
12033 int ecode2 = 0 ;
12034 PyObject * obj0 = 0 ;
12035 PyObject * obj1 = 0 ;
12036 char * kwnames[] = {
12037 (char *) "self",(char *) "lineNo", NULL
12038 };
12039
12040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12042 if (!SWIG_IsOK(res1)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 }
12045 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12046 ecode2 = SWIG_AsVal_long(obj1, &val2);
12047 if (!SWIG_IsOK(ecode2)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12049 }
12050 arg2 = static_cast< long >(val2);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_From_int(static_cast< int >(result));
12058 return resultobj;
12059fail:
12060 return NULL;
12061}
12062
12063
12064SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12067 long arg2 ;
12068 wxString result;
12069 void *argp1 = 0 ;
12070 int res1 = 0 ;
12071 long val2 ;
12072 int ecode2 = 0 ;
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 char * kwnames[] = {
12076 (char *) "self",(char *) "lineNo", NULL
12077 };
12078
12079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12081 if (!SWIG_IsOK(res1)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12083 }
12084 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12085 ecode2 = SWIG_AsVal_long(obj1, &val2);
12086 if (!SWIG_IsOK(ecode2)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12088 }
12089 arg2 = static_cast< long >(val2);
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 {
12097#if wxUSE_UNICODE
12098 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12099#else
12100 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12101#endif
12102 }
12103 return resultobj;
12104fail:
12105 return NULL;
d55e5bfc
RD
12106}
12107
12108
1bd55598
RD
12109SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12110 PyObject *resultobj = 0;
12111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12112 int result;
12113 void *argp1 = 0 ;
12114 int res1 = 0 ;
12115 PyObject *swig_obj[1] ;
12116
12117 if (!args) SWIG_fail;
12118 swig_obj[0] = args;
12119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12120 if (!SWIG_IsOK(res1)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12122 }
12123 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 resultobj = SWIG_From_int(static_cast< int >(result));
12131 return resultobj;
12132fail:
12133 return NULL;
d55e5bfc
RD
12134}
12135
12136
1bd55598
RD
12137SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12138 PyObject *resultobj = 0;
12139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12140 bool result;
12141 void *argp1 = 0 ;
12142 int res1 = 0 ;
12143 PyObject *swig_obj[1] ;
12144
12145 if (!args) SWIG_fail;
12146 swig_obj[0] = args;
12147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12148 if (!SWIG_IsOK(res1)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12150 }
12151 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 {
12159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12160 }
12161 return resultobj;
12162fail:
12163 return NULL;
d55e5bfc
RD
12164}
12165
12166
1bd55598
RD
12167SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12168 PyObject *resultobj = 0;
12169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12170 bool result;
12171 void *argp1 = 0 ;
12172 int res1 = 0 ;
12173 PyObject *swig_obj[1] ;
12174
12175 if (!args) SWIG_fail;
12176 swig_obj[0] = args;
12177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12180 }
12181 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 {
12189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12190 }
12191 return resultobj;
12192fail:
12193 return NULL;
d55e5bfc
RD
12194}
12195
12196
1bd55598
RD
12197SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12198 PyObject *resultobj = 0;
12199 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12200 bool 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_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 }
12211 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 {
12219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12220 }
12221 return resultobj;
12222fail:
12223 return NULL;
d55e5bfc
RD
12224}
12225
12226
1bd55598
RD
12227SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12228 PyObject *resultobj = 0;
12229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12230 bool result;
12231 void *argp1 = 0 ;
12232 int res1 = 0 ;
12233 PyObject *swig_obj[1] ;
12234
12235 if (!args) SWIG_fail;
12236 swig_obj[0] = args;
12237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12238 if (!SWIG_IsOK(res1)) {
12239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12240 }
12241 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 {
12249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12250 }
12251 return resultobj;
12252fail:
12253 return NULL;
12254}
12255
12256
12257SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12258 PyObject *resultobj = 0;
12259 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12260 long *arg2 = (long *) 0 ;
12261 long *arg3 = (long *) 0 ;
12262 void *argp1 = 0 ;
12263 int res1 = 0 ;
12264 long temp2 ;
12265 int res2 = SWIG_TMPOBJ ;
12266 long temp3 ;
12267 int res3 = SWIG_TMPOBJ ;
12268 PyObject *swig_obj[1] ;
12269
12270 arg2 = &temp2;
12271 arg3 = &temp3;
12272 if (!args) SWIG_fail;
12273 swig_obj[0] = args;
12274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12277 }
12278 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_Py_Void();
12286 if (SWIG_IsTmpObj(res2)) {
12287 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12288 } else {
12289 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12290 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12291 }
12292 if (SWIG_IsTmpObj(res3)) {
12293 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12294 } else {
12295 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12296 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12297 }
12298 return resultobj;
12299fail:
12300 return NULL;
d55e5bfc
RD
12301}
12302
12303
1bd55598
RD
12304SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12305 PyObject *resultobj = 0;
12306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12307 wxString result;
12308 void *argp1 = 0 ;
12309 int res1 = 0 ;
12310 PyObject *swig_obj[1] ;
12311
12312 if (!args) SWIG_fail;
12313 swig_obj[0] = args;
12314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12315 if (!SWIG_IsOK(res1)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12317 }
12318 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 {
d55e5bfc 12326#if wxUSE_UNICODE
1bd55598 12327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 12328#else
1bd55598 12329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 12330#endif
1bd55598
RD
12331 }
12332 return resultobj;
12333fail:
12334 return NULL;
d55e5bfc
RD
12335}
12336
12337
1bd55598
RD
12338SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12339 PyObject *resultobj = 0;
12340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12341 void *argp1 = 0 ;
12342 int res1 = 0 ;
12343 PyObject *swig_obj[1] ;
12344
12345 if (!args) SWIG_fail;
12346 swig_obj[0] = args;
12347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12348 if (!SWIG_IsOK(res1)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12350 }
12351 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->Clear();
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_Py_Void();
12359 return resultobj;
12360fail:
12361 return NULL;
12362}
12363
12364
12365SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj = 0;
12367 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12368 long arg2 ;
12369 long arg3 ;
12370 wxString *arg4 = 0 ;
12371 void *argp1 = 0 ;
12372 int res1 = 0 ;
12373 long val2 ;
12374 int ecode2 = 0 ;
12375 long val3 ;
12376 int ecode3 = 0 ;
12377 bool temp4 = false ;
12378 PyObject * obj0 = 0 ;
12379 PyObject * obj1 = 0 ;
12380 PyObject * obj2 = 0 ;
12381 PyObject * obj3 = 0 ;
12382 char * kwnames[] = {
2131d850 12383 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
12384 };
12385
12386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12388 if (!SWIG_IsOK(res1)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12390 }
12391 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12392 ecode2 = SWIG_AsVal_long(obj1, &val2);
12393 if (!SWIG_IsOK(ecode2)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12395 }
12396 arg2 = static_cast< long >(val2);
12397 ecode3 = SWIG_AsVal_long(obj2, &val3);
12398 if (!SWIG_IsOK(ecode3)) {
12399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12400 }
12401 arg3 = static_cast< long >(val3);
12402 {
12403 arg4 = wxString_in_helper(obj3);
12404 if (arg4 == NULL) SWIG_fail;
12405 temp4 = true;
12406 }
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 resultobj = SWIG_Py_Void();
12414 {
12415 if (temp4)
12416 delete arg4;
12417 }
12418 return resultobj;
12419fail:
12420 {
12421 if (temp4)
12422 delete arg4;
12423 }
12424 return NULL;
12425}
12426
12427
12428SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj = 0;
12430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12431 long arg2 ;
12432 long arg3 ;
12433 void *argp1 = 0 ;
12434 int res1 = 0 ;
12435 long val2 ;
12436 int ecode2 = 0 ;
12437 long val3 ;
12438 int ecode3 = 0 ;
12439 PyObject * obj0 = 0 ;
12440 PyObject * obj1 = 0 ;
12441 PyObject * obj2 = 0 ;
12442 char * kwnames[] = {
2131d850 12443 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
12444 };
12445
12446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12448 if (!SWIG_IsOK(res1)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12450 }
12451 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12452 ecode2 = SWIG_AsVal_long(obj1, &val2);
12453 if (!SWIG_IsOK(ecode2)) {
12454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12455 }
12456 arg2 = static_cast< long >(val2);
12457 ecode3 = SWIG_AsVal_long(obj2, &val3);
12458 if (!SWIG_IsOK(ecode3)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12460 }
12461 arg3 = static_cast< long >(val3);
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->Remove(arg2,arg3);
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_Py_Void();
12469 return resultobj;
12470fail:
12471 return NULL;
12472}
12473
12474
12475SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj = 0;
12477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12478 wxString *arg2 = 0 ;
f5263701 12479 int arg3 = (int) wxTEXT_TYPE_ANY ;
1bd55598
RD
12480 bool result;
12481 void *argp1 = 0 ;
12482 int res1 = 0 ;
12483 bool temp2 = false ;
f5263701
RD
12484 int val3 ;
12485 int ecode3 = 0 ;
1bd55598
RD
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
f5263701 12488 PyObject * obj2 = 0 ;
1bd55598 12489 char * kwnames[] = {
f5263701 12490 (char *) "self",(char *) "file",(char *) "fileType", NULL
1bd55598
RD
12491 };
12492
f5263701 12493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
1bd55598
RD
12494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12495 if (!SWIG_IsOK(res1)) {
12496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12497 }
12498 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12499 {
12500 arg2 = wxString_in_helper(obj1);
12501 if (arg2 == NULL) SWIG_fail;
12502 temp2 = true;
12503 }
f5263701
RD
12504 if (obj2) {
12505 ecode3 = SWIG_AsVal_int(obj2, &val3);
12506 if (!SWIG_IsOK(ecode3)) {
12507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12508 }
12509 arg3 = static_cast< int >(val3);
12510 }
1bd55598
RD
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12513 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
1bd55598
RD
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 {
12518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12519 }
12520 {
12521 if (temp2)
12522 delete arg2;
12523 }
12524 return resultobj;
12525fail:
12526 {
12527 if (temp2)
12528 delete arg2;
12529 }
12530 return NULL;
12531}
12532
12533
12534SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj = 0;
12536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12537 wxString const &arg2_defvalue = wxPyEmptyString ;
12538 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12539 int arg3 = (int) wxTEXT_TYPE_ANY ;
1bd55598
RD
12540 bool result;
12541 void *argp1 = 0 ;
12542 int res1 = 0 ;
12543 bool temp2 = false ;
f5263701
RD
12544 int val3 ;
12545 int ecode3 = 0 ;
1bd55598
RD
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
f5263701 12548 PyObject * obj2 = 0 ;
1bd55598 12549 char * kwnames[] = {
f5263701 12550 (char *) "self",(char *) "file",(char *) "fileType", NULL
1bd55598
RD
12551 };
12552
f5263701 12553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
1bd55598
RD
12554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12557 }
12558 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12559 if (obj1) {
d55e5bfc 12560 {
1bd55598
RD
12561 arg2 = wxString_in_helper(obj1);
12562 if (arg2 == NULL) SWIG_fail;
12563 temp2 = true;
d55e5bfc 12564 }
1bd55598 12565 }
f5263701
RD
12566 if (obj2) {
12567 ecode3 = SWIG_AsVal_int(obj2, &val3);
12568 if (!SWIG_IsOK(ecode3)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12570 }
12571 arg3 = static_cast< int >(val3);
12572 }
1bd55598
RD
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12575 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
1bd55598
RD
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 {
12580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12581 }
12582 {
12583 if (temp2)
12584 delete arg2;
12585 }
12586 return resultobj;
12587fail:
12588 {
12589 if (temp2)
12590 delete arg2;
12591 }
12592 return NULL;
d55e5bfc
RD
12593}
12594
12595
1bd55598
RD
12596SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12597 PyObject *resultobj = 0;
12598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12599 void *argp1 = 0 ;
12600 int res1 = 0 ;
12601 PyObject *swig_obj[1] ;
12602
12603 if (!args) SWIG_fail;
12604 swig_obj[0] = args;
12605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12606 if (!SWIG_IsOK(res1)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12608 }
12609 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 (arg1)->MarkDirty();
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 resultobj = SWIG_Py_Void();
12617 return resultobj;
12618fail:
12619 return NULL;
d55e5bfc
RD
12620}
12621
12622
1bd55598
RD
12623SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12624 PyObject *resultobj = 0;
12625 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12626 void *argp1 = 0 ;
12627 int res1 = 0 ;
12628 PyObject *swig_obj[1] ;
12629
12630 if (!args) SWIG_fail;
12631 swig_obj[0] = args;
12632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12633 if (!SWIG_IsOK(res1)) {
12634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12635 }
12636 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->DiscardEdits();
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = SWIG_Py_Void();
12644 return resultobj;
12645fail:
12646 return NULL;
12647}
12648
12649
b02396e8
RD
12650SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj = 0;
12652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12653 bool arg2 ;
12654 void *argp1 = 0 ;
12655 int res1 = 0 ;
12656 bool val2 ;
12657 int ecode2 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char * kwnames[] = {
12661 (char *) "self",(char *) "modified", NULL
12662 };
12663
12664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",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_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12668 }
12669 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12670 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12671 if (!SWIG_IsOK(ecode2)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12673 }
12674 arg2 = static_cast< bool >(val2);
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->SetModified(arg2);
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_Py_Void();
12682 return resultobj;
12683fail:
12684 return NULL;
12685}
12686
12687
1bd55598
RD
12688SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj = 0;
12690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12691 unsigned long arg2 ;
12692 void *argp1 = 0 ;
12693 int res1 = 0 ;
12694 unsigned long val2 ;
12695 int ecode2 = 0 ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 char * kwnames[] = {
12699 (char *) "self",(char *) "len", NULL
12700 };
12701
12702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12704 if (!SWIG_IsOK(res1)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12706 }
12707 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12708 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12709 if (!SWIG_IsOK(ecode2)) {
12710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12711 }
12712 arg2 = static_cast< unsigned long >(val2);
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 (arg1)->SetMaxLength(arg2);
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = SWIG_Py_Void();
12720 return resultobj;
12721fail:
12722 return NULL;
12723}
12724
12725
12726SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj = 0;
12728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12729 wxString *arg2 = 0 ;
12730 void *argp1 = 0 ;
12731 int res1 = 0 ;
12732 bool temp2 = false ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 char * kwnames[] = {
12736 (char *) "self",(char *) "text", NULL
12737 };
12738
12739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12741 if (!SWIG_IsOK(res1)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12743 }
12744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12745 {
12746 arg2 = wxString_in_helper(obj1);
12747 if (arg2 == NULL) SWIG_fail;
12748 temp2 = true;
12749 }
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->WriteText((wxString const &)*arg2);
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 resultobj = SWIG_Py_Void();
12757 {
12758 if (temp2)
12759 delete arg2;
12760 }
12761 return resultobj;
12762fail:
12763 {
12764 if (temp2)
12765 delete arg2;
12766 }
12767 return NULL;
d55e5bfc
RD
12768}
12769
12770
1bd55598
RD
12771SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj = 0;
12773 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12774 wxString *arg2 = 0 ;
12775 void *argp1 = 0 ;
12776 int res1 = 0 ;
12777 bool temp2 = false ;
12778 PyObject * obj0 = 0 ;
12779 PyObject * obj1 = 0 ;
12780 char * kwnames[] = {
12781 (char *) "self",(char *) "text", NULL
12782 };
12783
12784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12786 if (!SWIG_IsOK(res1)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12788 }
12789 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12790 {
12791 arg2 = wxString_in_helper(obj1);
12792 if (arg2 == NULL) SWIG_fail;
12793 temp2 = true;
12794 }
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 (arg1)->AppendText((wxString const &)*arg2);
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 resultobj = SWIG_Py_Void();
12802 {
12803 if (temp2)
12804 delete arg2;
12805 }
12806 return resultobj;
12807fail:
12808 {
12809 if (temp2)
12810 delete arg2;
12811 }
12812 return NULL;
12813}
12814
12815
12816SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj = 0;
12818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12819 wxKeyEvent *arg2 = 0 ;
12820 bool result;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 void *argp2 = 0 ;
12824 int res2 = 0 ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 char * kwnames[] = {
12828 (char *) "self",(char *) "event", NULL
12829 };
12830
12831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12833 if (!SWIG_IsOK(res1)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12835 }
12836 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12837 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12838 if (!SWIG_IsOK(res2)) {
12839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12840 }
12841 if (!argp2) {
12842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12843 }
12844 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 {
12852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12853 }
12854 return resultobj;
12855fail:
12856 return NULL;
12857}
12858
12859
12860SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj = 0;
12862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12863 long arg2 ;
12864 long arg3 ;
12865 wxTextAttr *arg4 = 0 ;
12866 bool result;
12867 void *argp1 = 0 ;
12868 int res1 = 0 ;
12869 long val2 ;
12870 int ecode2 = 0 ;
12871 long val3 ;
12872 int ecode3 = 0 ;
12873 void *argp4 = 0 ;
12874 int res4 = 0 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 PyObject * obj2 = 0 ;
12878 PyObject * obj3 = 0 ;
12879 char * kwnames[] = {
12880 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12881 };
12882
12883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12885 if (!SWIG_IsOK(res1)) {
12886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12887 }
12888 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12889 ecode2 = SWIG_AsVal_long(obj1, &val2);
12890 if (!SWIG_IsOK(ecode2)) {
12891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12892 }
12893 arg2 = static_cast< long >(val2);
12894 ecode3 = SWIG_AsVal_long(obj2, &val3);
12895 if (!SWIG_IsOK(ecode3)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12897 }
12898 arg3 = static_cast< long >(val3);
12899 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12900 if (!SWIG_IsOK(res4)) {
12901 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12902 }
12903 if (!argp4) {
12904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12905 }
12906 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 {
12914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12915 }
12916 return resultobj;
12917fail:
12918 return NULL;
12919}
12920
12921
12922SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj = 0;
12924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12925 long arg2 ;
12926 wxTextAttr *arg3 = 0 ;
12927 bool result;
12928 void *argp1 = 0 ;
12929 int res1 = 0 ;
12930 long val2 ;
12931 int ecode2 = 0 ;
12932 void *argp3 = 0 ;
12933 int res3 = 0 ;
12934 PyObject * obj0 = 0 ;
12935 PyObject * obj1 = 0 ;
12936 PyObject * obj2 = 0 ;
12937 char * kwnames[] = {
12938 (char *) "self",(char *) "position",(char *) "style", NULL
12939 };
12940
12941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12943 if (!SWIG_IsOK(res1)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12945 }
12946 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12947 ecode2 = SWIG_AsVal_long(obj1, &val2);
12948 if (!SWIG_IsOK(ecode2)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12950 }
12951 arg2 = static_cast< long >(val2);
12952 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12953 if (!SWIG_IsOK(res3)) {
12954 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12955 }
12956 if (!argp3) {
12957 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12958 }
12959 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 {
12967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12968 }
12969 return resultobj;
12970fail:
12971 return NULL;
12972}
12973
12974
12975SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj = 0;
12977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12978 wxTextAttr *arg2 = 0 ;
12979 bool result;
12980 void *argp1 = 0 ;
12981 int res1 = 0 ;
12982 void *argp2 = 0 ;
12983 int res2 = 0 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 char * kwnames[] = {
12987 (char *) "self",(char *) "style", NULL
12988 };
12989
12990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12992 if (!SWIG_IsOK(res1)) {
12993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12994 }
12995 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12997 if (!SWIG_IsOK(res2)) {
12998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12999 }
13000 if (!argp2) {
13001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13002 }
13003 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 {
13011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13012 }
13013 return resultobj;
13014fail:
13015 return NULL;
d55e5bfc
RD
13016}
13017
13018
1bd55598
RD
13019SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13020 PyObject *resultobj = 0;
13021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13022 wxTextAttr *result = 0 ;
13023 void *argp1 = 0 ;
13024 int res1 = 0 ;
13025 PyObject *swig_obj[1] ;
13026
13027 if (!args) SWIG_fail;
13028 swig_obj[0] = args;
13029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13030 if (!SWIG_IsOK(res1)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13032 }
13033 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 13036 {
1bd55598
RD
13037 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13038 result = (wxTextAttr *) &_result_ref;
d55e5bfc 13039 }
1bd55598
RD
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13044 return resultobj;
13045fail:
13046 return NULL;
13047}
13048
13049
13050SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj = 0;
13052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13053 long arg2 ;
13054 long arg3 ;
13055 long result;
13056 void *argp1 = 0 ;
13057 int res1 = 0 ;
13058 long val2 ;
13059 int ecode2 = 0 ;
13060 long val3 ;
13061 int ecode3 = 0 ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj2 = 0 ;
13065 char * kwnames[] = {
13066 (char *) "self",(char *) "x",(char *) "y", NULL
13067 };
13068
13069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13071 if (!SWIG_IsOK(res1)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13073 }
13074 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13075 ecode2 = SWIG_AsVal_long(obj1, &val2);
13076 if (!SWIG_IsOK(ecode2)) {
13077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13078 }
13079 arg2 = static_cast< long >(val2);
13080 ecode3 = SWIG_AsVal_long(obj2, &val3);
13081 if (!SWIG_IsOK(ecode3)) {
13082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13083 }
13084 arg3 = static_cast< long >(val3);
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 resultobj = SWIG_From_long(static_cast< long >(result));
13092 return resultobj;
13093fail:
13094 return NULL;
13095}
13096
13097
13098SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj = 0;
13100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13101 long arg2 ;
13102 long *arg3 = (long *) 0 ;
13103 long *arg4 = (long *) 0 ;
13104 void *argp1 = 0 ;
13105 int res1 = 0 ;
13106 long val2 ;
13107 int ecode2 = 0 ;
13108 long temp3 ;
13109 int res3 = SWIG_TMPOBJ ;
13110 long temp4 ;
13111 int res4 = SWIG_TMPOBJ ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char * kwnames[] = {
13115 (char *) "self",(char *) "pos", NULL
13116 };
13117
13118 arg3 = &temp3;
13119 arg4 = &temp4;
13120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13122 if (!SWIG_IsOK(res1)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13124 }
13125 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13126 ecode2 = SWIG_AsVal_long(obj1, &val2);
13127 if (!SWIG_IsOK(ecode2)) {
13128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13129 }
13130 arg2 = static_cast< long >(val2);
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_Py_Void();
13138 if (SWIG_IsTmpObj(res3)) {
13139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13140 } else {
13141 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13143 }
13144 if (SWIG_IsTmpObj(res4)) {
13145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13146 } else {
13147 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13149 }
13150 return resultobj;
13151fail:
13152 return NULL;
13153}
13154
13155
13156SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj = 0;
13158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13159 long arg2 ;
13160 void *argp1 = 0 ;
13161 int res1 = 0 ;
13162 long val2 ;
13163 int ecode2 = 0 ;
13164 PyObject * obj0 = 0 ;
13165 PyObject * obj1 = 0 ;
13166 char * kwnames[] = {
13167 (char *) "self",(char *) "pos", NULL
13168 };
13169
13170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13172 if (!SWIG_IsOK(res1)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13174 }
13175 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13176 ecode2 = SWIG_AsVal_long(obj1, &val2);
13177 if (!SWIG_IsOK(ecode2)) {
13178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13179 }
13180 arg2 = static_cast< long >(val2);
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 (arg1)->ShowPosition(arg2);
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = SWIG_Py_Void();
13188 return resultobj;
13189fail:
13190 return NULL;
13191}
13192
13193
13194SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13195 PyObject *resultobj = 0;
13196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13197 wxPoint *arg2 = 0 ;
13198 long *arg3 = (long *) 0 ;
13199 long *arg4 = (long *) 0 ;
13200 wxTextCtrlHitTestResult result;
13201 void *argp1 = 0 ;
13202 int res1 = 0 ;
13203 wxPoint temp2 ;
13204 long temp3 ;
13205 int res3 = SWIG_TMPOBJ ;
13206 long temp4 ;
13207 int res4 = SWIG_TMPOBJ ;
13208 PyObject * obj0 = 0 ;
13209 PyObject * obj1 = 0 ;
13210 char * kwnames[] = {
13211 (char *) "self",(char *) "pt", NULL
13212 };
13213
13214 arg3 = &temp3;
13215 arg4 = &temp4;
13216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13218 if (!SWIG_IsOK(res1)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13220 }
13221 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13222 {
13223 arg2 = &temp2;
13224 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13225 }
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_From_int(static_cast< int >(result));
13233 if (SWIG_IsTmpObj(res3)) {
13234 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13235 } else {
13236 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13237 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13238 }
13239 if (SWIG_IsTmpObj(res4)) {
13240 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13241 } else {
13242 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13243 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13244 }
13245 return resultobj;
13246fail:
13247 return NULL;
13248}
13249
13250
13251SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj = 0;
13253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13254 wxPoint *arg2 = 0 ;
13255 long *arg3 = (long *) 0 ;
13256 wxTextCtrlHitTestResult result;
13257 void *argp1 = 0 ;
13258 int res1 = 0 ;
13259 wxPoint temp2 ;
13260 long temp3 ;
13261 int res3 = SWIG_TMPOBJ ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 char * kwnames[] = {
13265 (char *) "self",(char *) "pt", NULL
13266 };
13267
13268 arg3 = &temp3;
13269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13271 if (!SWIG_IsOK(res1)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13273 }
13274 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13275 {
13276 arg2 = &temp2;
13277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13278 }
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = SWIG_From_int(static_cast< int >(result));
13286 if (SWIG_IsTmpObj(res3)) {
13287 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13288 } else {
13289 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13290 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13291 }
13292 return resultobj;
13293fail:
13294 return NULL;
d55e5bfc
RD
13295}
13296
13297
1bd55598
RD
13298SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13299 PyObject *resultobj = 0;
13300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13301 void *argp1 = 0 ;
13302 int res1 = 0 ;
13303 PyObject *swig_obj[1] ;
13304
13305 if (!args) SWIG_fail;
13306 swig_obj[0] = args;
13307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13308 if (!SWIG_IsOK(res1)) {
13309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13310 }
13311 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 (arg1)->Copy();
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 resultobj = SWIG_Py_Void();
13319 return resultobj;
13320fail:
13321 return NULL;
d55e5bfc
RD
13322}
13323
13324
1bd55598
RD
13325SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13326 PyObject *resultobj = 0;
13327 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13328 void *argp1 = 0 ;
13329 int res1 = 0 ;
13330 PyObject *swig_obj[1] ;
13331
13332 if (!args) SWIG_fail;
13333 swig_obj[0] = args;
13334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13335 if (!SWIG_IsOK(res1)) {
13336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13337 }
13338 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->Cut();
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 resultobj = SWIG_Py_Void();
13346 return resultobj;
13347fail:
13348 return NULL;
d55e5bfc
RD
13349}
13350
13351
1bd55598
RD
13352SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13353 PyObject *resultobj = 0;
13354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13355 void *argp1 = 0 ;
13356 int res1 = 0 ;
13357 PyObject *swig_obj[1] ;
13358
13359 if (!args) SWIG_fail;
13360 swig_obj[0] = args;
13361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13362 if (!SWIG_IsOK(res1)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13364 }
13365 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->Paste();
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 resultobj = SWIG_Py_Void();
13373 return resultobj;
13374fail:
13375 return NULL;
d55e5bfc
RD
13376}
13377
13378
1bd55598
RD
13379SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13380 PyObject *resultobj = 0;
13381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13382 bool result;
13383 void *argp1 = 0 ;
13384 int res1 = 0 ;
13385 PyObject *swig_obj[1] ;
13386
13387 if (!args) SWIG_fail;
13388 swig_obj[0] = args;
13389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13392 }
13393 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13402 }
13403 return resultobj;
13404fail:
13405 return NULL;
d55e5bfc
RD
13406}
13407
13408
1bd55598
RD
13409SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13410 PyObject *resultobj = 0;
13411 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13412 bool result;
13413 void *argp1 = 0 ;
13414 int res1 = 0 ;
13415 PyObject *swig_obj[1] ;
13416
13417 if (!args) SWIG_fail;
13418 swig_obj[0] = args;
13419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13420 if (!SWIG_IsOK(res1)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13422 }
13423 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 {
13431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13432 }
13433 return resultobj;
13434fail:
13435 return NULL;
d55e5bfc
RD
13436}
13437
13438
1bd55598
RD
13439SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13440 PyObject *resultobj = 0;
13441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13442 bool result;
13443 void *argp1 = 0 ;
13444 int res1 = 0 ;
13445 PyObject *swig_obj[1] ;
13446
13447 if (!args) SWIG_fail;
13448 swig_obj[0] = args;
13449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13450 if (!SWIG_IsOK(res1)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13452 }
13453 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 {
13461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13462 }
13463 return resultobj;
13464fail:
13465 return NULL;
d55e5bfc
RD
13466}
13467
13468
1bd55598
RD
13469SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13470 PyObject *resultobj = 0;
13471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13472 void *argp1 = 0 ;
13473 int res1 = 0 ;
13474 PyObject *swig_obj[1] ;
13475
13476 if (!args) SWIG_fail;
13477 swig_obj[0] = args;
13478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13479 if (!SWIG_IsOK(res1)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13481 }
13482 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->Undo();
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = SWIG_Py_Void();
13490 return resultobj;
13491fail:
13492 return NULL;
d55e5bfc
RD
13493}
13494
13495
1bd55598
RD
13496SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13497 PyObject *resultobj = 0;
13498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13499 void *argp1 = 0 ;
13500 int res1 = 0 ;
13501 PyObject *swig_obj[1] ;
13502
13503 if (!args) SWIG_fail;
13504 swig_obj[0] = args;
13505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13506 if (!SWIG_IsOK(res1)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13508 }
13509 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 (arg1)->Redo();
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 resultobj = SWIG_Py_Void();
13517 return resultobj;
13518fail:
13519 return NULL;
d55e5bfc
RD
13520}
13521
13522
1bd55598
RD
13523SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13524 PyObject *resultobj = 0;
13525 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13526 bool result;
13527 void *argp1 = 0 ;
13528 int res1 = 0 ;
13529 PyObject *swig_obj[1] ;
13530
13531 if (!args) SWIG_fail;
13532 swig_obj[0] = args;
13533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13534 if (!SWIG_IsOK(res1)) {
13535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13536 }
13537 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 {
13545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13546 }
13547 return resultobj;
13548fail:
13549 return NULL;
d55e5bfc
RD
13550}
13551
13552
1bd55598
RD
13553SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13554 PyObject *resultobj = 0;
13555 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13556 bool result;
13557 void *argp1 = 0 ;
13558 int res1 = 0 ;
13559 PyObject *swig_obj[1] ;
13560
13561 if (!args) SWIG_fail;
13562 swig_obj[0] = args;
13563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13564 if (!SWIG_IsOK(res1)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13566 }
13567 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 {
13575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13576 }
13577 return resultobj;
13578fail:
13579 return NULL;
13580}
13581
13582
13583SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj = 0;
13585 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13586 long arg2 ;
13587 void *argp1 = 0 ;
13588 int res1 = 0 ;
13589 long val2 ;
13590 int ecode2 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char * kwnames[] = {
13594 (char *) "self",(char *) "pos", NULL
13595 };
13596
13597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13599 if (!SWIG_IsOK(res1)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13601 }
13602 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13603 ecode2 = SWIG_AsVal_long(obj1, &val2);
13604 if (!SWIG_IsOK(ecode2)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13606 }
13607 arg2 = static_cast< long >(val2);
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->SetInsertionPoint(arg2);
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_Py_Void();
13615 return resultobj;
13616fail:
13617 return NULL;
d55e5bfc
RD
13618}
13619
13620
1bd55598
RD
13621SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13622 PyObject *resultobj = 0;
13623 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13624 void *argp1 = 0 ;
13625 int res1 = 0 ;
13626 PyObject *swig_obj[1] ;
13627
13628 if (!args) SWIG_fail;
13629 swig_obj[0] = args;
13630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13631 if (!SWIG_IsOK(res1)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13633 }
13634 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 (arg1)->SetInsertionPointEnd();
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 resultobj = SWIG_Py_Void();
13642 return resultobj;
13643fail:
13644 return NULL;
d55e5bfc
RD
13645}
13646
13647
1bd55598
RD
13648SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13649 PyObject *resultobj = 0;
13650 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13651 long result;
13652 void *argp1 = 0 ;
13653 int res1 = 0 ;
13654 PyObject *swig_obj[1] ;
13655
13656 if (!args) SWIG_fail;
13657 swig_obj[0] = args;
13658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13659 if (!SWIG_IsOK(res1)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13661 }
13662 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 resultobj = SWIG_From_long(static_cast< long >(result));
13670 return resultobj;
13671fail:
13672 return NULL;
d55e5bfc
RD
13673}
13674
13675
1bd55598
RD
13676SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13677 PyObject *resultobj = 0;
13678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13679 long result;
13680 void *argp1 = 0 ;
13681 int res1 = 0 ;
13682 PyObject *swig_obj[1] ;
13683
13684 if (!args) SWIG_fail;
13685 swig_obj[0] = args;
13686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13687 if (!SWIG_IsOK(res1)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13689 }
13690 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 resultobj = SWIG_From_long(static_cast< long >(result));
13698 return resultobj;
13699fail:
13700 return NULL;
13701}
13702
13703
13704SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj = 0;
13706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13707 long arg2 ;
13708 long arg3 ;
13709 void *argp1 = 0 ;
13710 int res1 = 0 ;
13711 long val2 ;
13712 int ecode2 = 0 ;
13713 long val3 ;
13714 int ecode3 = 0 ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 PyObject * obj2 = 0 ;
13718 char * kwnames[] = {
2131d850 13719 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13720 };
13721
13722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13724 if (!SWIG_IsOK(res1)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13726 }
13727 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13728 ecode2 = SWIG_AsVal_long(obj1, &val2);
13729 if (!SWIG_IsOK(ecode2)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13731 }
13732 arg2 = static_cast< long >(val2);
13733 ecode3 = SWIG_AsVal_long(obj2, &val3);
13734 if (!SWIG_IsOK(ecode3)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13736 }
13737 arg3 = static_cast< long >(val3);
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->SetSelection(arg2,arg3);
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_Py_Void();
13745 return resultobj;
13746fail:
13747 return NULL;
d55e5bfc
RD
13748}
13749
13750
1bd55598
RD
13751SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13752 PyObject *resultobj = 0;
13753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13754 void *argp1 = 0 ;
13755 int res1 = 0 ;
13756 PyObject *swig_obj[1] ;
13757
13758 if (!args) SWIG_fail;
13759 swig_obj[0] = args;
13760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13761 if (!SWIG_IsOK(res1)) {
13762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13763 }
13764 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->SelectAll();
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = SWIG_Py_Void();
13772 return resultobj;
13773fail:
13774 return NULL;
13775}
13776
13777
13778SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj = 0;
13780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13781 bool arg2 ;
13782 void *argp1 = 0 ;
13783 int res1 = 0 ;
13784 bool val2 ;
13785 int ecode2 = 0 ;
13786 PyObject * obj0 = 0 ;
13787 PyObject * obj1 = 0 ;
13788 char * kwnames[] = {
13789 (char *) "self",(char *) "editable", NULL
13790 };
13791
13792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13794 if (!SWIG_IsOK(res1)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13796 }
13797 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13798 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13799 if (!SWIG_IsOK(ecode2)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13801 }
13802 arg2 = static_cast< bool >(val2);
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 (arg1)->SetEditable(arg2);
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 resultobj = SWIG_Py_Void();
13810 return resultobj;
13811fail:
13812 return NULL;
13813}
13814
13815
b39fe951
RD
13816SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13817 PyObject *resultobj = 0;
13818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 PyObject *swig_obj[1] ;
13822
13823 if (!args) SWIG_fail;
13824 swig_obj[0] = args;
13825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13826 if (!SWIG_IsOK(res1)) {
13827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13828 }
13829 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 (arg1)->SendTextUpdatedEvent();
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 resultobj = SWIG_Py_Void();
13837 return resultobj;
13838fail:
13839 return NULL;
13840}
13841
13842
1bd55598
RD
13843SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj = 0;
13845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13846 wxString *arg2 = 0 ;
13847 void *argp1 = 0 ;
13848 int res1 = 0 ;
13849 bool temp2 = false ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char * kwnames[] = {
13853 (char *) "self",(char *) "text", NULL
13854 };
13855
13856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13858 if (!SWIG_IsOK(res1)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13860 }
13861 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13862 {
13863 arg2 = wxString_in_helper(obj1);
13864 if (arg2 == NULL) SWIG_fail;
13865 temp2 = true;
13866 }
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 resultobj = SWIG_Py_Void();
13874 {
13875 if (temp2)
13876 delete arg2;
13877 }
13878 return resultobj;
13879fail:
13880 {
13881 if (temp2)
13882 delete arg2;
13883 }
13884 return NULL;
13885}
13886
13887
13888SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj = 0;
13890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13891 long arg2 ;
13892 long arg3 ;
13893 wxString result;
13894 void *argp1 = 0 ;
13895 int res1 = 0 ;
13896 long val2 ;
13897 int ecode2 = 0 ;
13898 long val3 ;
13899 int ecode3 = 0 ;
13900 PyObject * obj0 = 0 ;
13901 PyObject * obj1 = 0 ;
13902 PyObject * obj2 = 0 ;
13903 char * kwnames[] = {
2131d850 13904 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13905 };
13906
13907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13909 if (!SWIG_IsOK(res1)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13911 }
13912 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13913 ecode2 = SWIG_AsVal_long(obj1, &val2);
13914 if (!SWIG_IsOK(ecode2)) {
13915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13916 }
13917 arg2 = static_cast< long >(val2);
13918 ecode3 = SWIG_AsVal_long(obj2, &val3);
13919 if (!SWIG_IsOK(ecode3)) {
13920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13921 }
13922 arg3 = static_cast< long >(val3);
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13926 wxPyEndAllowThreads(__tstate);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
13929 {
13930#if wxUSE_UNICODE
13931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13932#else
13933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13934#endif
13935 }
13936 return resultobj;
13937fail:
13938 return NULL;
d55e5bfc
RD
13939}
13940
13941
1bd55598
RD
13942SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj = 0;
13944 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13945 SwigValueWrapper<wxVisualAttributes > result;
13946 int val1 ;
13947 int ecode1 = 0 ;
13948 PyObject * obj0 = 0 ;
13949 char * kwnames[] = {
13950 (char *) "variant", NULL
13951 };
13952
13953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13954 if (obj0) {
13955 ecode1 = SWIG_AsVal_int(obj0, &val1);
13956 if (!SWIG_IsOK(ecode1)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13958 }
13959 arg1 = static_cast< wxWindowVariant >(val1);
13960 }
13961 {
13962 if (!wxPyCheckForApp()) SWIG_fail;
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
13969 return resultobj;
13970fail:
13971 return NULL;
13972}
13973
13974
13975SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13976 PyObject *obj;
13977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
13979 return SWIG_Py_Void();
13980}
13981
13982SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13983 return SWIG_Python_InitShadowInstance(args);
13984}
13985
13986SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj = 0;
13988 int arg1 ;
13989 wxMouseEvent *arg2 = 0 ;
13990 long arg3 ;
13991 long arg4 ;
13992 wxTextUrlEvent *result = 0 ;
13993 int val1 ;
13994 int ecode1 = 0 ;
13995 void *argp2 = 0 ;
13996 int res2 = 0 ;
13997 long val3 ;
13998 int ecode3 = 0 ;
13999 long val4 ;
14000 int ecode4 = 0 ;
14001 PyObject * obj0 = 0 ;
14002 PyObject * obj1 = 0 ;
14003 PyObject * obj2 = 0 ;
14004 PyObject * obj3 = 0 ;
14005 char * kwnames[] = {
14006 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14007 };
14008
14009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14010 ecode1 = SWIG_AsVal_int(obj0, &val1);
14011 if (!SWIG_IsOK(ecode1)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14013 }
14014 arg1 = static_cast< int >(val1);
14015 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14016 if (!SWIG_IsOK(res2)) {
14017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14018 }
14019 if (!argp2) {
14020 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14021 }
14022 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14023 ecode3 = SWIG_AsVal_long(obj2, &val3);
14024 if (!SWIG_IsOK(ecode3)) {
14025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14026 }
14027 arg3 = static_cast< long >(val3);
14028 ecode4 = SWIG_AsVal_long(obj3, &val4);
14029 if (!SWIG_IsOK(ecode4)) {
14030 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14031 }
14032 arg4 = static_cast< long >(val4);
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14040 return resultobj;
14041fail:
14042 return NULL;
d55e5bfc
RD
14043}
14044
14045
1bd55598
RD
14046SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14047 PyObject *resultobj = 0;
14048 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14049 wxMouseEvent *result = 0 ;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 PyObject *swig_obj[1] ;
14053
14054 if (!args) SWIG_fail;
14055 swig_obj[0] = args;
14056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14057 if (!SWIG_IsOK(res1)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14059 }
14060 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 14063 {
1bd55598
RD
14064 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14065 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 14066 }
1bd55598
RD
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14071 return resultobj;
14072fail:
14073 return NULL;
d55e5bfc
RD
14074}
14075
14076
1bd55598
RD
14077SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14078 PyObject *resultobj = 0;
14079 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14080 long result;
14081 void *argp1 = 0 ;
14082 int res1 = 0 ;
14083 PyObject *swig_obj[1] ;
14084
14085 if (!args) SWIG_fail;
14086 swig_obj[0] = args;
14087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14088 if (!SWIG_IsOK(res1)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14090 }
14091 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = SWIG_From_long(static_cast< long >(result));
14099 return resultobj;
14100fail:
14101 return NULL;
d55e5bfc
RD
14102}
14103
14104
1bd55598
RD
14105SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14106 PyObject *resultobj = 0;
14107 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14108 long result;
14109 void *argp1 = 0 ;
14110 int res1 = 0 ;
14111 PyObject *swig_obj[1] ;
14112
14113 if (!args) SWIG_fail;
14114 swig_obj[0] = args;
14115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14116 if (!SWIG_IsOK(res1)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14118 }
14119 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_From_long(static_cast< long >(result));
14127 return resultobj;
14128fail:
14129 return NULL;
d55e5bfc
RD
14130}
14131
14132
1bd55598
RD
14133SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14134 PyObject *obj;
14135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14136 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14137 return SWIG_Py_Void();
68e533f8
RD
14138}
14139
1bd55598
RD
14140SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14141 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14142}
14143
1bd55598
RD
14144SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14145 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14146 return 1;
d55e5bfc
RD
14147}
14148
14149
1bd55598
RD
14150SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14151 PyObject *pyobj = 0;
14152
14153 {
14154#if wxUSE_UNICODE
14155 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14156#else
14157 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14158#endif
14159 }
14160 return pyobj;
14161}
14162
14163
14164SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj = 0;
14166 wxWindow *arg1 = (wxWindow *) 0 ;
14167 int arg2 = (int) -1 ;
14168 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14169 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14170 wxSize const &arg4_defvalue = wxDefaultSize ;
14171 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14172 long arg5 = (long) wxSB_HORIZONTAL ;
14173 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14174 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14175 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14176 wxString *arg7 = (wxString *) &arg7_defvalue ;
14177 wxScrollBar *result = 0 ;
14178 void *argp1 = 0 ;
14179 int res1 = 0 ;
14180 int val2 ;
14181 int ecode2 = 0 ;
14182 wxPoint temp3 ;
14183 wxSize temp4 ;
14184 long val5 ;
14185 int ecode5 = 0 ;
14186 void *argp6 = 0 ;
14187 int res6 = 0 ;
14188 bool temp7 = false ;
14189 PyObject * obj0 = 0 ;
14190 PyObject * obj1 = 0 ;
14191 PyObject * obj2 = 0 ;
14192 PyObject * obj3 = 0 ;
14193 PyObject * obj4 = 0 ;
14194 PyObject * obj5 = 0 ;
14195 PyObject * obj6 = 0 ;
14196 char * kwnames[] = {
14197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14198 };
14199
14200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14202 if (!SWIG_IsOK(res1)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14204 }
14205 arg1 = reinterpret_cast< wxWindow * >(argp1);
14206 if (obj1) {
14207 ecode2 = SWIG_AsVal_int(obj1, &val2);
14208 if (!SWIG_IsOK(ecode2)) {
14209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14210 }
14211 arg2 = static_cast< int >(val2);
14212 }
14213 if (obj2) {
d55e5bfc 14214 {
1bd55598
RD
14215 arg3 = &temp3;
14216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14217 }
1bd55598
RD
14218 }
14219 if (obj3) {
36ed4f51 14220 {
1bd55598
RD
14221 arg4 = &temp4;
14222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14223 }
1bd55598
RD
14224 }
14225 if (obj4) {
14226 ecode5 = SWIG_AsVal_long(obj4, &val5);
14227 if (!SWIG_IsOK(ecode5)) {
14228 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14229 }
14230 arg5 = static_cast< long >(val5);
14231 }
14232 if (obj5) {
14233 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14234 if (!SWIG_IsOK(res6)) {
14235 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14236 }
1bd55598
RD
14237 if (!argp6) {
14238 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14239 }
1bd55598
RD
14240 arg6 = reinterpret_cast< wxValidator * >(argp6);
14241 }
14242 if (obj6) {
d55e5bfc 14243 {
1bd55598
RD
14244 arg7 = wxString_in_helper(obj6);
14245 if (arg7 == NULL) SWIG_fail;
14246 temp7 = true;
d55e5bfc 14247 }
1bd55598
RD
14248 }
14249 {
14250 if (!wxPyCheckForApp()) SWIG_fail;
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14257 {
14258 if (temp7)
14259 delete arg7;
14260 }
14261 return resultobj;
14262fail:
14263 {
14264 if (temp7)
14265 delete arg7;
14266 }
14267 return NULL;
d55e5bfc
RD
14268}
14269
14270
1bd55598
RD
14271SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14272 PyObject *resultobj = 0;
14273 wxScrollBar *result = 0 ;
14274
14275 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14276 {
14277 if (!wxPyCheckForApp()) SWIG_fail;
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (wxScrollBar *)new wxScrollBar();
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14284 return resultobj;
14285fail:
14286 return NULL;
14287}
14288
14289
14290SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj = 0;
14292 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14293 wxWindow *arg2 = (wxWindow *) 0 ;
14294 int arg3 = (int) -1 ;
14295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14297 wxSize const &arg5_defvalue = wxDefaultSize ;
14298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14299 long arg6 = (long) wxSB_HORIZONTAL ;
14300 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14301 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14302 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14303 wxString *arg8 = (wxString *) &arg8_defvalue ;
14304 bool result;
14305 void *argp1 = 0 ;
14306 int res1 = 0 ;
14307 void *argp2 = 0 ;
14308 int res2 = 0 ;
14309 int val3 ;
14310 int ecode3 = 0 ;
14311 wxPoint temp4 ;
14312 wxSize temp5 ;
14313 long val6 ;
14314 int ecode6 = 0 ;
14315 void *argp7 = 0 ;
14316 int res7 = 0 ;
14317 bool temp8 = false ;
14318 PyObject * obj0 = 0 ;
14319 PyObject * obj1 = 0 ;
14320 PyObject * obj2 = 0 ;
14321 PyObject * obj3 = 0 ;
14322 PyObject * obj4 = 0 ;
14323 PyObject * obj5 = 0 ;
14324 PyObject * obj6 = 0 ;
14325 PyObject * obj7 = 0 ;
14326 char * kwnames[] = {
14327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14328 };
14329
14330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14334 }
14335 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14337 if (!SWIG_IsOK(res2)) {
14338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14339 }
14340 arg2 = reinterpret_cast< wxWindow * >(argp2);
14341 if (obj2) {
14342 ecode3 = SWIG_AsVal_int(obj2, &val3);
14343 if (!SWIG_IsOK(ecode3)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14345 }
14346 arg3 = static_cast< int >(val3);
14347 }
14348 if (obj3) {
d55e5bfc 14349 {
1bd55598
RD
14350 arg4 = &temp4;
14351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14352 }
1bd55598
RD
14353 }
14354 if (obj4) {
d55e5bfc 14355 {
1bd55598
RD
14356 arg5 = &temp5;
14357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14358 }
1bd55598
RD
14359 }
14360 if (obj5) {
14361 ecode6 = SWIG_AsVal_long(obj5, &val6);
14362 if (!SWIG_IsOK(ecode6)) {
14363 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14364 }
14365 arg6 = static_cast< long >(val6);
14366 }
14367 if (obj6) {
14368 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14369 if (!SWIG_IsOK(res7)) {
14370 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14371 }
1bd55598
RD
14372 if (!argp7) {
14373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14374 }
1bd55598
RD
14375 arg7 = reinterpret_cast< wxValidator * >(argp7);
14376 }
14377 if (obj7) {
d55e5bfc 14378 {
1bd55598
RD
14379 arg8 = wxString_in_helper(obj7);
14380 if (arg8 == NULL) SWIG_fail;
14381 temp8 = true;
d55e5bfc 14382 }
1bd55598
RD
14383 }
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 {
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 }
14393 {
14394 if (temp8)
14395 delete arg8;
14396 }
14397 return resultobj;
14398fail:
14399 {
14400 if (temp8)
14401 delete arg8;
14402 }
14403 return NULL;
d55e5bfc
RD
14404}
14405
14406
1bd55598
RD
14407SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14408 PyObject *resultobj = 0;
14409 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14410 int result;
14411 void *argp1 = 0 ;
14412 int res1 = 0 ;
14413 PyObject *swig_obj[1] ;
14414
14415 if (!args) SWIG_fail;
14416 swig_obj[0] = args;
14417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14418 if (!SWIG_IsOK(res1)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14420 }
14421 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = SWIG_From_int(static_cast< int >(result));
14429 return resultobj;
14430fail:
14431 return NULL;
d55e5bfc
RD
14432}
14433
14434
1bd55598
RD
14435SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14436 PyObject *resultobj = 0;
14437 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14438 int result;
14439 void *argp1 = 0 ;
14440 int res1 = 0 ;
14441 PyObject *swig_obj[1] ;
14442
14443 if (!args) SWIG_fail;
14444 swig_obj[0] = args;
14445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14446 if (!SWIG_IsOK(res1)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14448 }
14449 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = SWIG_From_int(static_cast< int >(result));
14457 return resultobj;
14458fail:
14459 return NULL;
d55e5bfc
RD
14460}
14461
14462
1bd55598
RD
14463SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14464 PyObject *resultobj = 0;
14465 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14466 int result;
14467 void *argp1 = 0 ;
14468 int res1 = 0 ;
14469 PyObject *swig_obj[1] ;
14470
14471 if (!args) SWIG_fail;
14472 swig_obj[0] = args;
14473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14474 if (!SWIG_IsOK(res1)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14476 }
14477 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 resultobj = SWIG_From_int(static_cast< int >(result));
14485 return resultobj;
14486fail:
14487 return NULL;
d55e5bfc
RD
14488}
14489
14490
1bd55598
RD
14491SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14492 PyObject *resultobj = 0;
14493 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14494 int result;
14495 void *argp1 = 0 ;
14496 int res1 = 0 ;
14497 PyObject *swig_obj[1] ;
14498
14499 if (!args) SWIG_fail;
14500 swig_obj[0] = args;
14501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14502 if (!SWIG_IsOK(res1)) {
14503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14504 }
14505 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (int)((wxScrollBar const *)arg1)->GetRange();
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 resultobj = SWIG_From_int(static_cast< int >(result));
14513 return resultobj;
14514fail:
14515 return NULL;
d55e5bfc
RD
14516}
14517
14518
1bd55598
RD
14519SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14520 PyObject *resultobj = 0;
14521 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14522 bool result;
14523 void *argp1 = 0 ;
14524 int res1 = 0 ;
14525 PyObject *swig_obj[1] ;
14526
14527 if (!args) SWIG_fail;
14528 swig_obj[0] = args;
14529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14530 if (!SWIG_IsOK(res1)) {
14531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14532 }
14533 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14542 }
14543 return resultobj;
14544fail:
14545 return NULL;
14546}
14547
14548
14549SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj = 0;
14551 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14552 int arg2 ;
14553 void *argp1 = 0 ;
14554 int res1 = 0 ;
14555 int val2 ;
14556 int ecode2 = 0 ;
14557 PyObject * obj0 = 0 ;
14558 PyObject * obj1 = 0 ;
14559 char * kwnames[] = {
14560 (char *) "self",(char *) "viewStart", NULL
14561 };
14562
14563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14565 if (!SWIG_IsOK(res1)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14567 }
14568 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14569 ecode2 = SWIG_AsVal_int(obj1, &val2);
14570 if (!SWIG_IsOK(ecode2)) {
14571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14572 }
14573 arg2 = static_cast< int >(val2);
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 (arg1)->SetThumbPosition(arg2);
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 resultobj = SWIG_Py_Void();
14581 return resultobj;
14582fail:
14583 return NULL;
14584}
14585
14586
14587SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj = 0;
14589 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14590 SwigValueWrapper<wxVisualAttributes > result;
14591 int val1 ;
14592 int ecode1 = 0 ;
14593 PyObject * obj0 = 0 ;
14594 char * kwnames[] = {
14595 (char *) "variant", NULL
14596 };
14597
14598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14599 if (obj0) {
14600 ecode1 = SWIG_AsVal_int(obj0, &val1);
14601 if (!SWIG_IsOK(ecode1)) {
14602 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14603 }
14604 arg1 = static_cast< wxWindowVariant >(val1);
14605 }
14606 {
14607 if (!wxPyCheckForApp()) SWIG_fail;
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14614 return resultobj;
14615fail:
14616 return NULL;
d55e5bfc
RD
14617}
14618
14619
1bd55598
RD
14620SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14621 PyObject *obj;
14622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14623 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14624 return SWIG_Py_Void();
d55e5bfc
RD
14625}
14626
1bd55598
RD
14627SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14628 return SWIG_Python_InitShadowInstance(args);
14629}
d55e5bfc 14630
1bd55598
RD
14631SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14632 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14633 return 1;
14634}
14635
14636
14637SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14638 PyObject *pyobj = 0;
14639
14640 {
d55e5bfc 14641#if wxUSE_UNICODE
1bd55598 14642 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14643#else
1bd55598 14644 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14645#endif
1bd55598
RD
14646 }
14647 return pyobj;
d55e5bfc
RD
14648}
14649
14650
1bd55598
RD
14651SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14652 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14653 return 1;
d55e5bfc
RD
14654}
14655
14656
1bd55598
RD
14657SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14658 PyObject *pyobj = 0;
14659
14660 {
14661#if wxUSE_UNICODE
14662 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14663#else
14664 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14665#endif
14666 }
14667 return pyobj;
14668}
14669
14670
14671SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj = 0;
14673 wxWindow *arg1 = (wxWindow *) 0 ;
14674 int arg2 = (int) -1 ;
14675 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14676 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14677 wxSize const &arg4_defvalue = wxDefaultSize ;
14678 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14679 long arg5 = (long) wxSP_HORIZONTAL ;
14680 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14681 wxString *arg6 = (wxString *) &arg6_defvalue ;
14682 wxSpinButton *result = 0 ;
14683 void *argp1 = 0 ;
14684 int res1 = 0 ;
14685 int val2 ;
14686 int ecode2 = 0 ;
14687 wxPoint temp3 ;
14688 wxSize temp4 ;
14689 long val5 ;
14690 int ecode5 = 0 ;
14691 bool temp6 = false ;
14692 PyObject * obj0 = 0 ;
14693 PyObject * obj1 = 0 ;
14694 PyObject * obj2 = 0 ;
14695 PyObject * obj3 = 0 ;
14696 PyObject * obj4 = 0 ;
14697 PyObject * obj5 = 0 ;
14698 char * kwnames[] = {
14699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14700 };
14701
14702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14704 if (!SWIG_IsOK(res1)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14706 }
14707 arg1 = reinterpret_cast< wxWindow * >(argp1);
14708 if (obj1) {
14709 ecode2 = SWIG_AsVal_int(obj1, &val2);
14710 if (!SWIG_IsOK(ecode2)) {
14711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14712 }
14713 arg2 = static_cast< int >(val2);
14714 }
14715 if (obj2) {
d55e5bfc 14716 {
1bd55598
RD
14717 arg3 = &temp3;
14718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14719 }
1bd55598
RD
14720 }
14721 if (obj3) {
d55e5bfc 14722 {
1bd55598
RD
14723 arg4 = &temp4;
14724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14725 }
1bd55598
RD
14726 }
14727 if (obj4) {
14728 ecode5 = SWIG_AsVal_long(obj4, &val5);
14729 if (!SWIG_IsOK(ecode5)) {
14730 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14731 }
14732 arg5 = static_cast< long >(val5);
14733 }
14734 if (obj5) {
d55e5bfc 14735 {
1bd55598
RD
14736 arg6 = wxString_in_helper(obj5);
14737 if (arg6 == NULL) SWIG_fail;
14738 temp6 = true;
d55e5bfc 14739 }
1bd55598
RD
14740 }
14741 {
14742 if (!wxPyCheckForApp()) SWIG_fail;
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14749 {
14750 if (temp6)
14751 delete arg6;
14752 }
14753 return resultobj;
14754fail:
14755 {
14756 if (temp6)
14757 delete arg6;
14758 }
14759 return NULL;
d55e5bfc
RD
14760}
14761
14762
1bd55598
RD
14763SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14764 PyObject *resultobj = 0;
14765 wxSpinButton *result = 0 ;
14766
14767 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14768 {
14769 if (!wxPyCheckForApp()) SWIG_fail;
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (wxSpinButton *)new wxSpinButton();
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14776 return resultobj;
14777fail:
14778 return NULL;
14779}
14780
14781
14782SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj = 0;
14784 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14785 wxWindow *arg2 = (wxWindow *) 0 ;
14786 int arg3 = (int) -1 ;
14787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14789 wxSize const &arg5_defvalue = wxDefaultSize ;
14790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14791 long arg6 = (long) wxSP_HORIZONTAL ;
14792 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14793 wxString *arg7 = (wxString *) &arg7_defvalue ;
14794 bool result;
14795 void *argp1 = 0 ;
14796 int res1 = 0 ;
14797 void *argp2 = 0 ;
14798 int res2 = 0 ;
14799 int val3 ;
14800 int ecode3 = 0 ;
14801 wxPoint temp4 ;
14802 wxSize temp5 ;
14803 long val6 ;
14804 int ecode6 = 0 ;
14805 bool temp7 = false ;
14806 PyObject * obj0 = 0 ;
14807 PyObject * obj1 = 0 ;
14808 PyObject * obj2 = 0 ;
14809 PyObject * obj3 = 0 ;
14810 PyObject * obj4 = 0 ;
14811 PyObject * obj5 = 0 ;
14812 PyObject * obj6 = 0 ;
14813 char * kwnames[] = {
14814 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14815 };
14816
14817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14819 if (!SWIG_IsOK(res1)) {
14820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14821 }
14822 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14823 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14824 if (!SWIG_IsOK(res2)) {
14825 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14826 }
14827 arg2 = reinterpret_cast< wxWindow * >(argp2);
14828 if (obj2) {
14829 ecode3 = SWIG_AsVal_int(obj2, &val3);
14830 if (!SWIG_IsOK(ecode3)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14832 }
14833 arg3 = static_cast< int >(val3);
14834 }
14835 if (obj3) {
d55e5bfc 14836 {
1bd55598
RD
14837 arg4 = &temp4;
14838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14839 }
1bd55598
RD
14840 }
14841 if (obj4) {
d55e5bfc 14842 {
1bd55598
RD
14843 arg5 = &temp5;
14844 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14845 }
1bd55598
RD
14846 }
14847 if (obj5) {
14848 ecode6 = SWIG_AsVal_long(obj5, &val6);
14849 if (!SWIG_IsOK(ecode6)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14851 }
14852 arg6 = static_cast< long >(val6);
14853 }
14854 if (obj6) {
14855 {
14856 arg7 = wxString_in_helper(obj6);
14857 if (arg7 == NULL) SWIG_fail;
14858 temp7 = true;
14859 }
14860 }
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 {
14868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14869 }
14870 {
14871 if (temp7)
14872 delete arg7;
14873 }
14874 return resultobj;
14875fail:
14876 {
14877 if (temp7)
14878 delete arg7;
14879 }
14880 return NULL;
d55e5bfc
RD
14881}
14882
14883
1bd55598
RD
14884SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14885 PyObject *resultobj = 0;
14886 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14887 int result;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 PyObject *swig_obj[1] ;
14891
14892 if (!args) SWIG_fail;
14893 swig_obj[0] = args;
14894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14895 if (!SWIG_IsOK(res1)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14897 }
14898 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (int)((wxSpinButton const *)arg1)->GetValue();
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_From_int(static_cast< int >(result));
14906 return resultobj;
14907fail:
14908 return NULL;
d55e5bfc
RD
14909}
14910
14911
1bd55598
RD
14912SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14913 PyObject *resultobj = 0;
14914 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14915 int result;
14916 void *argp1 = 0 ;
14917 int res1 = 0 ;
14918 PyObject *swig_obj[1] ;
14919
14920 if (!args) SWIG_fail;
14921 swig_obj[0] = args;
14922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14923 if (!SWIG_IsOK(res1)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14925 }
14926 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 result = (int)((wxSpinButton const *)arg1)->GetMin();
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 resultobj = SWIG_From_int(static_cast< int >(result));
14934 return resultobj;
14935fail:
14936 return NULL;
d55e5bfc
RD
14937}
14938
14939
1bd55598
RD
14940SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14941 PyObject *resultobj = 0;
14942 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14943 int result;
14944 void *argp1 = 0 ;
14945 int res1 = 0 ;
14946 PyObject *swig_obj[1] ;
14947
14948 if (!args) SWIG_fail;
14949 swig_obj[0] = args;
14950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14951 if (!SWIG_IsOK(res1)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14953 }
14954 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 result = (int)((wxSpinButton const *)arg1)->GetMax();
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 resultobj = SWIG_From_int(static_cast< int >(result));
14962 return resultobj;
14963fail:
14964 return NULL;
14965}
14966
14967
14968SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14969 PyObject *resultobj = 0;
14970 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14971 int arg2 ;
14972 void *argp1 = 0 ;
14973 int res1 = 0 ;
14974 int val2 ;
14975 int ecode2 = 0 ;
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 char * kwnames[] = {
14979 (char *) "self",(char *) "val", NULL
14980 };
14981
14982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
14983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14984 if (!SWIG_IsOK(res1)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14986 }
14987 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14988 ecode2 = SWIG_AsVal_int(obj1, &val2);
14989 if (!SWIG_IsOK(ecode2)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14991 }
14992 arg2 = static_cast< int >(val2);
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 (arg1)->SetValue(arg2);
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 resultobj = SWIG_Py_Void();
15000 return resultobj;
15001fail:
15002 return NULL;
15003}
15004
15005
15006SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj = 0;
15008 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15009 int arg2 ;
15010 void *argp1 = 0 ;
15011 int res1 = 0 ;
15012 int val2 ;
15013 int ecode2 = 0 ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 char * kwnames[] = {
15017 (char *) "self",(char *) "minVal", NULL
15018 };
15019
15020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15022 if (!SWIG_IsOK(res1)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15024 }
15025 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15026 ecode2 = SWIG_AsVal_int(obj1, &val2);
15027 if (!SWIG_IsOK(ecode2)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15029 }
15030 arg2 = static_cast< int >(val2);
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 (arg1)->SetMin(arg2);
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_Py_Void();
15038 return resultobj;
15039fail:
15040 return NULL;
15041}
15042
15043
15044SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj = 0;
15046 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15047 int arg2 ;
15048 void *argp1 = 0 ;
15049 int res1 = 0 ;
15050 int val2 ;
15051 int ecode2 = 0 ;
15052 PyObject * obj0 = 0 ;
15053 PyObject * obj1 = 0 ;
15054 char * kwnames[] = {
15055 (char *) "self",(char *) "maxVal", NULL
15056 };
15057
15058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15060 if (!SWIG_IsOK(res1)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15062 }
15063 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15064 ecode2 = SWIG_AsVal_int(obj1, &val2);
15065 if (!SWIG_IsOK(ecode2)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15067 }
15068 arg2 = static_cast< int >(val2);
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 (arg1)->SetMax(arg2);
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 resultobj = SWIG_Py_Void();
15076 return resultobj;
15077fail:
15078 return NULL;
15079}
15080
15081
15082SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj = 0;
15084 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15085 int arg2 ;
15086 int arg3 ;
15087 void *argp1 = 0 ;
15088 int res1 = 0 ;
15089 int val2 ;
15090 int ecode2 = 0 ;
15091 int val3 ;
15092 int ecode3 = 0 ;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 PyObject * obj2 = 0 ;
15096 char * kwnames[] = {
15097 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15098 };
15099
15100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15102 if (!SWIG_IsOK(res1)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15104 }
15105 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15106 ecode2 = SWIG_AsVal_int(obj1, &val2);
15107 if (!SWIG_IsOK(ecode2)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15109 }
15110 arg2 = static_cast< int >(val2);
15111 ecode3 = SWIG_AsVal_int(obj2, &val3);
15112 if (!SWIG_IsOK(ecode3)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15114 }
15115 arg3 = static_cast< int >(val3);
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 (arg1)->SetRange(arg2,arg3);
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 resultobj = SWIG_Py_Void();
15123 return resultobj;
15124fail:
15125 return NULL;
d55e5bfc
RD
15126}
15127
15128
1bd55598
RD
15129SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15130 PyObject *resultobj = 0;
15131 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15132 bool result;
15133 void *argp1 = 0 ;
15134 int res1 = 0 ;
15135 PyObject *swig_obj[1] ;
15136
15137 if (!args) SWIG_fail;
15138 swig_obj[0] = args;
15139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15140 if (!SWIG_IsOK(res1)) {
15141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15142 }
15143 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 {
15151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15152 }
15153 return resultobj;
15154fail:
15155 return NULL;
d55e5bfc
RD
15156}
15157
15158
1bd55598
RD
15159SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj = 0;
15161 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15162 SwigValueWrapper<wxVisualAttributes > result;
15163 int val1 ;
15164 int ecode1 = 0 ;
15165 PyObject * obj0 = 0 ;
15166 char * kwnames[] = {
15167 (char *) "variant", NULL
15168 };
15169
15170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15171 if (obj0) {
15172 ecode1 = SWIG_AsVal_int(obj0, &val1);
15173 if (!SWIG_IsOK(ecode1)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15175 }
15176 arg1 = static_cast< wxWindowVariant >(val1);
15177 }
15178 {
15179 if (!wxPyCheckForApp()) SWIG_fail;
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15186 return resultobj;
15187fail:
15188 return NULL;
15189}
15190
15191
15192SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15193 PyObject *obj;
15194 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15195 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15196 return SWIG_Py_Void();
15197}
15198
15199SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15200 return SWIG_Python_InitShadowInstance(args);
15201}
15202
15203SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj = 0;
15205 wxWindow *arg1 = (wxWindow *) 0 ;
15206 int arg2 = (int) -1 ;
15207 wxString const &arg3_defvalue = wxPyEmptyString ;
15208 wxString *arg3 = (wxString *) &arg3_defvalue ;
15209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15211 wxSize const &arg5_defvalue = wxDefaultSize ;
15212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15213 long arg6 = (long) wxSP_ARROW_KEYS ;
15214 int arg7 = (int) 0 ;
15215 int arg8 = (int) 100 ;
15216 int arg9 = (int) 0 ;
15217 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15218 wxString *arg10 = (wxString *) &arg10_defvalue ;
15219 wxSpinCtrl *result = 0 ;
15220 void *argp1 = 0 ;
15221 int res1 = 0 ;
15222 int val2 ;
15223 int ecode2 = 0 ;
15224 bool temp3 = false ;
15225 wxPoint temp4 ;
15226 wxSize temp5 ;
15227 long val6 ;
15228 int ecode6 = 0 ;
15229 int val7 ;
15230 int ecode7 = 0 ;
15231 int val8 ;
15232 int ecode8 = 0 ;
15233 int val9 ;
15234 int ecode9 = 0 ;
15235 bool temp10 = false ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 PyObject * obj2 = 0 ;
15239 PyObject * obj3 = 0 ;
15240 PyObject * obj4 = 0 ;
15241 PyObject * obj5 = 0 ;
15242 PyObject * obj6 = 0 ;
15243 PyObject * obj7 = 0 ;
15244 PyObject * obj8 = 0 ;
15245 PyObject * obj9 = 0 ;
15246 char * kwnames[] = {
15247 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15248 };
15249
15250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15252 if (!SWIG_IsOK(res1)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15254 }
15255 arg1 = reinterpret_cast< wxWindow * >(argp1);
15256 if (obj1) {
15257 ecode2 = SWIG_AsVal_int(obj1, &val2);
15258 if (!SWIG_IsOK(ecode2)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15260 }
15261 arg2 = static_cast< int >(val2);
15262 }
15263 if (obj2) {
d55e5bfc 15264 {
1bd55598
RD
15265 arg3 = wxString_in_helper(obj2);
15266 if (arg3 == NULL) SWIG_fail;
15267 temp3 = true;
d55e5bfc 15268 }
1bd55598
RD
15269 }
15270 if (obj3) {
d55e5bfc 15271 {
1bd55598
RD
15272 arg4 = &temp4;
15273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15274 }
1bd55598
RD
15275 }
15276 if (obj4) {
d55e5bfc 15277 {
1bd55598
RD
15278 arg5 = &temp5;
15279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15280 }
1bd55598
RD
15281 }
15282 if (obj5) {
15283 ecode6 = SWIG_AsVal_long(obj5, &val6);
15284 if (!SWIG_IsOK(ecode6)) {
15285 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15286 }
15287 arg6 = static_cast< long >(val6);
15288 }
15289 if (obj6) {
15290 ecode7 = SWIG_AsVal_int(obj6, &val7);
15291 if (!SWIG_IsOK(ecode7)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15293 }
15294 arg7 = static_cast< int >(val7);
15295 }
15296 if (obj7) {
15297 ecode8 = SWIG_AsVal_int(obj7, &val8);
15298 if (!SWIG_IsOK(ecode8)) {
15299 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15300 }
15301 arg8 = static_cast< int >(val8);
15302 }
15303 if (obj8) {
15304 ecode9 = SWIG_AsVal_int(obj8, &val9);
15305 if (!SWIG_IsOK(ecode9)) {
15306 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15307 }
15308 arg9 = static_cast< int >(val9);
15309 }
15310 if (obj9) {
d55e5bfc 15311 {
1bd55598
RD
15312 arg10 = wxString_in_helper(obj9);
15313 if (arg10 == NULL) SWIG_fail;
15314 temp10 = true;
d55e5bfc 15315 }
1bd55598
RD
15316 }
15317 {
15318 if (!wxPyCheckForApp()) SWIG_fail;
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15325 {
15326 if (temp3)
15327 delete arg3;
15328 }
15329 {
15330 if (temp10)
15331 delete arg10;
15332 }
15333 return resultobj;
15334fail:
15335 {
15336 if (temp3)
15337 delete arg3;
15338 }
15339 {
15340 if (temp10)
15341 delete arg10;
15342 }
15343 return NULL;
d55e5bfc
RD
15344}
15345
15346
1bd55598
RD
15347SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15348 PyObject *resultobj = 0;
15349 wxSpinCtrl *result = 0 ;
15350
15351 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15352 {
15353 if (!wxPyCheckForApp()) SWIG_fail;
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (wxSpinCtrl *)new wxSpinCtrl();
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15360 return resultobj;
15361fail:
15362 return NULL;
15363}
15364
15365
15366SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15367 PyObject *resultobj = 0;
15368 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15369 wxWindow *arg2 = (wxWindow *) 0 ;
15370 int arg3 = (int) -1 ;
15371 wxString const &arg4_defvalue = wxPyEmptyString ;
15372 wxString *arg4 = (wxString *) &arg4_defvalue ;
15373 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15374 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15375 wxSize const &arg6_defvalue = wxDefaultSize ;
15376 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15377 long arg7 = (long) wxSP_ARROW_KEYS ;
15378 int arg8 = (int) 0 ;
15379 int arg9 = (int) 100 ;
15380 int arg10 = (int) 0 ;
15381 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15382 wxString *arg11 = (wxString *) &arg11_defvalue ;
15383 bool result;
15384 void *argp1 = 0 ;
15385 int res1 = 0 ;
15386 void *argp2 = 0 ;
15387 int res2 = 0 ;
15388 int val3 ;
15389 int ecode3 = 0 ;
15390 bool temp4 = false ;
15391 wxPoint temp5 ;
15392 wxSize temp6 ;
15393 long val7 ;
15394 int ecode7 = 0 ;
15395 int val8 ;
15396 int ecode8 = 0 ;
15397 int val9 ;
15398 int ecode9 = 0 ;
15399 int val10 ;
15400 int ecode10 = 0 ;
15401 bool temp11 = false ;
15402 PyObject * obj0 = 0 ;
15403 PyObject * obj1 = 0 ;
15404 PyObject * obj2 = 0 ;
15405 PyObject * obj3 = 0 ;
15406 PyObject * obj4 = 0 ;
15407 PyObject * obj5 = 0 ;
15408 PyObject * obj6 = 0 ;
15409 PyObject * obj7 = 0 ;
15410 PyObject * obj8 = 0 ;
15411 PyObject * obj9 = 0 ;
15412 PyObject * obj10 = 0 ;
15413 char * kwnames[] = {
15414 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15415 };
15416
15417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15419 if (!SWIG_IsOK(res1)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15421 }
15422 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15424 if (!SWIG_IsOK(res2)) {
15425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15426 }
15427 arg2 = reinterpret_cast< wxWindow * >(argp2);
15428 if (obj2) {
15429 ecode3 = SWIG_AsVal_int(obj2, &val3);
15430 if (!SWIG_IsOK(ecode3)) {
15431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15432 }
15433 arg3 = static_cast< int >(val3);
15434 }
15435 if (obj3) {
36ed4f51 15436 {
1bd55598
RD
15437 arg4 = wxString_in_helper(obj3);
15438 if (arg4 == NULL) SWIG_fail;
15439 temp4 = true;
36ed4f51 15440 }
1bd55598
RD
15441 }
15442 if (obj4) {
36ed4f51 15443 {
1bd55598
RD
15444 arg5 = &temp5;
15445 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 15446 }
1bd55598
RD
15447 }
15448 if (obj5) {
d55e5bfc 15449 {
1bd55598
RD
15450 arg6 = &temp6;
15451 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15452 }
1bd55598
RD
15453 }
15454 if (obj6) {
15455 ecode7 = SWIG_AsVal_long(obj6, &val7);
15456 if (!SWIG_IsOK(ecode7)) {
15457 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15458 }
15459 arg7 = static_cast< long >(val7);
15460 }
15461 if (obj7) {
15462 ecode8 = SWIG_AsVal_int(obj7, &val8);
15463 if (!SWIG_IsOK(ecode8)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15465 }
15466 arg8 = static_cast< int >(val8);
15467 }
15468 if (obj8) {
15469 ecode9 = SWIG_AsVal_int(obj8, &val9);
15470 if (!SWIG_IsOK(ecode9)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15472 }
15473 arg9 = static_cast< int >(val9);
15474 }
15475 if (obj9) {
15476 ecode10 = SWIG_AsVal_int(obj9, &val10);
15477 if (!SWIG_IsOK(ecode10)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15479 }
15480 arg10 = static_cast< int >(val10);
15481 }
15482 if (obj10) {
15483 {
15484 arg11 = wxString_in_helper(obj10);
15485 if (arg11 == NULL) SWIG_fail;
15486 temp11 = true;
15487 }
15488 }
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 {
15496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15497 }
15498 {
15499 if (temp4)
15500 delete arg4;
15501 }
15502 {
15503 if (temp11)
15504 delete arg11;
15505 }
15506 return resultobj;
15507fail:
15508 {
15509 if (temp4)
15510 delete arg4;
15511 }
15512 {
15513 if (temp11)
15514 delete arg11;
15515 }
15516 return NULL;
d55e5bfc
RD
15517}
15518
15519
1bd55598
RD
15520SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15521 PyObject *resultobj = 0;
15522 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15523 int result;
15524 void *argp1 = 0 ;
15525 int res1 = 0 ;
15526 PyObject *swig_obj[1] ;
15527
15528 if (!args) SWIG_fail;
15529 swig_obj[0] = args;
15530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15531 if (!SWIG_IsOK(res1)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15533 }
15534 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 resultobj = SWIG_From_int(static_cast< int >(result));
15542 return resultobj;
15543fail:
15544 return NULL;
15545}
15546
15547
15548SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj = 0;
15550 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15551 int arg2 ;
15552 void *argp1 = 0 ;
15553 int res1 = 0 ;
15554 int val2 ;
15555 int ecode2 = 0 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 char * kwnames[] = {
15559 (char *) "self",(char *) "value", NULL
15560 };
15561
15562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15564 if (!SWIG_IsOK(res1)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15566 }
15567 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15568 ecode2 = SWIG_AsVal_int(obj1, &val2);
15569 if (!SWIG_IsOK(ecode2)) {
15570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15571 }
15572 arg2 = static_cast< int >(val2);
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 (arg1)->SetValue(arg2);
15576 wxPyEndAllowThreads(__tstate);
15577 if (PyErr_Occurred()) SWIG_fail;
15578 }
15579 resultobj = SWIG_Py_Void();
15580 return resultobj;
15581fail:
15582 return NULL;
15583}
15584
15585
15586SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15587 PyObject *resultobj = 0;
15588 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15589 wxString *arg2 = 0 ;
15590 void *argp1 = 0 ;
15591 int res1 = 0 ;
15592 bool temp2 = false ;
15593 PyObject * obj0 = 0 ;
15594 PyObject * obj1 = 0 ;
15595 char * kwnames[] = {
15596 (char *) "self",(char *) "text", NULL
15597 };
15598
15599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15601 if (!SWIG_IsOK(res1)) {
15602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15603 }
15604 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15605 {
15606 arg2 = wxString_in_helper(obj1);
15607 if (arg2 == NULL) SWIG_fail;
15608 temp2 = true;
15609 }
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 (arg1)->SetValue((wxString const &)*arg2);
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 resultobj = SWIG_Py_Void();
15617 {
15618 if (temp2)
15619 delete arg2;
15620 }
15621 return resultobj;
15622fail:
15623 {
15624 if (temp2)
15625 delete arg2;
15626 }
15627 return NULL;
15628}
15629
15630
15631SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj = 0;
15633 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15634 int arg2 ;
15635 int arg3 ;
15636 void *argp1 = 0 ;
15637 int res1 = 0 ;
15638 int val2 ;
15639 int ecode2 = 0 ;
15640 int val3 ;
15641 int ecode3 = 0 ;
15642 PyObject * obj0 = 0 ;
15643 PyObject * obj1 = 0 ;
15644 PyObject * obj2 = 0 ;
15645 char * kwnames[] = {
15646 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15647 };
15648
15649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15651 if (!SWIG_IsOK(res1)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15653 }
15654 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15655 ecode2 = SWIG_AsVal_int(obj1, &val2);
15656 if (!SWIG_IsOK(ecode2)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15658 }
15659 arg2 = static_cast< int >(val2);
15660 ecode3 = SWIG_AsVal_int(obj2, &val3);
15661 if (!SWIG_IsOK(ecode3)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15663 }
15664 arg3 = static_cast< int >(val3);
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->SetRange(arg2,arg3);
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = SWIG_Py_Void();
15672 return resultobj;
15673fail:
15674 return NULL;
d55e5bfc
RD
15675}
15676
15677
1bd55598
RD
15678SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15679 PyObject *resultobj = 0;
15680 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15681 int result;
15682 void *argp1 = 0 ;
15683 int res1 = 0 ;
15684 PyObject *swig_obj[1] ;
15685
15686 if (!args) SWIG_fail;
15687 swig_obj[0] = args;
15688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15689 if (!SWIG_IsOK(res1)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15691 }
15692 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = SWIG_From_int(static_cast< int >(result));
15700 return resultobj;
15701fail:
15702 return NULL;
d55e5bfc
RD
15703}
15704
15705
1bd55598
RD
15706SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15707 PyObject *resultobj = 0;
15708 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15709 int result;
15710 void *argp1 = 0 ;
15711 int res1 = 0 ;
15712 PyObject *swig_obj[1] ;
15713
15714 if (!args) SWIG_fail;
15715 swig_obj[0] = args;
15716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15717 if (!SWIG_IsOK(res1)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15719 }
15720 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 resultobj = SWIG_From_int(static_cast< int >(result));
15728 return resultobj;
15729fail:
15730 return NULL;
15731}
15732
15733
15734SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj = 0;
15736 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15737 long arg2 ;
15738 long arg3 ;
15739 void *argp1 = 0 ;
15740 int res1 = 0 ;
15741 long val2 ;
15742 int ecode2 = 0 ;
15743 long val3 ;
15744 int ecode3 = 0 ;
15745 PyObject * obj0 = 0 ;
15746 PyObject * obj1 = 0 ;
15747 PyObject * obj2 = 0 ;
15748 char * kwnames[] = {
2131d850 15749 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15750 };
15751
15752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15756 }
15757 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15758 ecode2 = SWIG_AsVal_long(obj1, &val2);
15759 if (!SWIG_IsOK(ecode2)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15761 }
15762 arg2 = static_cast< long >(val2);
15763 ecode3 = SWIG_AsVal_long(obj2, &val3);
15764 if (!SWIG_IsOK(ecode3)) {
15765 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15766 }
15767 arg3 = static_cast< long >(val3);
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->SetSelection(arg2,arg3);
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = SWIG_Py_Void();
15775 return resultobj;
15776fail:
15777 return NULL;
15778}
15779
15780
15781SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj = 0;
15783 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15784 SwigValueWrapper<wxVisualAttributes > result;
15785 int val1 ;
15786 int ecode1 = 0 ;
15787 PyObject * obj0 = 0 ;
15788 char * kwnames[] = {
15789 (char *) "variant", NULL
15790 };
15791
15792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15793 if (obj0) {
15794 ecode1 = SWIG_AsVal_int(obj0, &val1);
15795 if (!SWIG_IsOK(ecode1)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15797 }
15798 arg1 = static_cast< wxWindowVariant >(val1);
15799 }
15800 {
15801 if (!wxPyCheckForApp()) SWIG_fail;
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15808 return resultobj;
15809fail:
15810 return NULL;
d55e5bfc
RD
15811}
15812
15813
1bd55598
RD
15814SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15815 PyObject *obj;
15816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15817 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15818 return SWIG_Py_Void();
d55e5bfc
RD
15819}
15820
1bd55598
RD
15821SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15822 return SWIG_Python_InitShadowInstance(args);
15823}
d55e5bfc 15824
1bd55598
RD
15825SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = 0;
15827 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15828 int arg2 = (int) 0 ;
15829 wxSpinEvent *result = 0 ;
15830 int val1 ;
15831 int ecode1 = 0 ;
15832 int val2 ;
15833 int ecode2 = 0 ;
15834 PyObject * obj0 = 0 ;
15835 PyObject * obj1 = 0 ;
15836 char * kwnames[] = {
15837 (char *) "commandType",(char *) "winid", NULL
15838 };
15839
15840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15841 if (obj0) {
15842 ecode1 = SWIG_AsVal_int(obj0, &val1);
15843 if (!SWIG_IsOK(ecode1)) {
15844 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15845 }
15846 arg1 = static_cast< wxEventType >(val1);
15847 }
15848 if (obj1) {
15849 ecode2 = SWIG_AsVal_int(obj1, &val2);
15850 if (!SWIG_IsOK(ecode2)) {
15851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15852 }
15853 arg2 = static_cast< int >(val2);
15854 }
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15862 return resultobj;
15863fail:
15864 return NULL;
d55e5bfc
RD
15865}
15866
15867
1bd55598
RD
15868SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15869 PyObject *resultobj = 0;
15870 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15871 int result;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 PyObject *swig_obj[1] ;
15875
15876 if (!args) SWIG_fail;
15877 swig_obj[0] = args;
15878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15879 if (!SWIG_IsOK(res1)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15881 }
15882 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_From_int(static_cast< int >(result));
15890 return resultobj;
15891fail:
15892 return NULL;
15893}
15894
15895
15896SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj = 0;
15898 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15899 int arg2 ;
15900 void *argp1 = 0 ;
15901 int res1 = 0 ;
15902 int val2 ;
15903 int ecode2 = 0 ;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 char * kwnames[] = {
15907 (char *) "self",(char *) "pos", NULL
15908 };
15909
15910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15912 if (!SWIG_IsOK(res1)) {
15913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15914 }
15915 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15916 ecode2 = SWIG_AsVal_int(obj1, &val2);
15917 if (!SWIG_IsOK(ecode2)) {
15918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15919 }
15920 arg2 = static_cast< int >(val2);
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 (arg1)->SetPosition(arg2);
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = SWIG_Py_Void();
15928 return resultobj;
15929fail:
15930 return NULL;
d55e5bfc
RD
15931}
15932
15933
1bd55598
RD
15934SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15935 PyObject *obj;
15936 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15937 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15938 return SWIG_Py_Void();
d55e5bfc
RD
15939}
15940
1bd55598
RD
15941SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15942 return SWIG_Python_InitShadowInstance(args);
15943}
d55e5bfc 15944
1bd55598
RD
15945SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15946 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15947 return 1;
d55e5bfc
RD
15948}
15949
15950
1bd55598
RD
15951SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15952 PyObject *pyobj = 0;
15953
15954 {
15955#if wxUSE_UNICODE
15956 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15957#else
15958 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15959#endif
15960 }
15961 return pyobj;
d55e5bfc
RD
15962}
15963
15964
1bd55598
RD
15965SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
15966 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
15967 return 1;
15968}
15969
15970
15971SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
15972 PyObject *pyobj = 0;
15973
15974 {
15975#if wxUSE_UNICODE
15976 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15977#else
15978 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15979#endif
15980 }
15981 return pyobj;
15982}
15983
15984
15985SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj = 0;
15987 wxWindow *arg1 = (wxWindow *) 0 ;
15988 int arg2 = (int) -1 ;
15989 wxString const &arg3_defvalue = wxPyEmptyString ;
15990 wxString *arg3 = (wxString *) &arg3_defvalue ;
15991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15993 wxSize const &arg5_defvalue = wxDefaultSize ;
15994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15995 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15996 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15997 int arg7 = (int) 0 ;
15998 long arg8 = (long) wxRA_HORIZONTAL ;
15999 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16000 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16001 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16002 wxString *arg10 = (wxString *) &arg10_defvalue ;
16003 wxRadioBox *result = 0 ;
16004 void *argp1 = 0 ;
16005 int res1 = 0 ;
16006 int val2 ;
16007 int ecode2 = 0 ;
16008 bool temp3 = false ;
16009 wxPoint temp4 ;
16010 wxSize temp5 ;
16011 bool temp6 = false ;
16012 int val7 ;
16013 int ecode7 = 0 ;
16014 long val8 ;
16015 int ecode8 = 0 ;
16016 void *argp9 = 0 ;
16017 int res9 = 0 ;
16018 bool temp10 = false ;
16019 PyObject * obj0 = 0 ;
16020 PyObject * obj1 = 0 ;
16021 PyObject * obj2 = 0 ;
16022 PyObject * obj3 = 0 ;
16023 PyObject * obj4 = 0 ;
16024 PyObject * obj5 = 0 ;
16025 PyObject * obj6 = 0 ;
16026 PyObject * obj7 = 0 ;
16027 PyObject * obj8 = 0 ;
16028 PyObject * obj9 = 0 ;
16029 char * kwnames[] = {
16030 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16031 };
16032
16033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16035 if (!SWIG_IsOK(res1)) {
16036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16037 }
16038 arg1 = reinterpret_cast< wxWindow * >(argp1);
16039 if (obj1) {
16040 ecode2 = SWIG_AsVal_int(obj1, &val2);
16041 if (!SWIG_IsOK(ecode2)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16043 }
16044 arg2 = static_cast< int >(val2);
16045 }
16046 if (obj2) {
36ed4f51 16047 {
1bd55598
RD
16048 arg3 = wxString_in_helper(obj2);
16049 if (arg3 == NULL) SWIG_fail;
16050 temp3 = true;
36ed4f51 16051 }
1bd55598
RD
16052 }
16053 if (obj3) {
36ed4f51 16054 {
1bd55598
RD
16055 arg4 = &temp4;
16056 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16057 }
1bd55598
RD
16058 }
16059 if (obj4) {
d55e5bfc 16060 {
1bd55598
RD
16061 arg5 = &temp5;
16062 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16063 }
1bd55598
RD
16064 }
16065 if (obj5) {
d55e5bfc 16066 {
1bd55598
RD
16067 if (! PySequence_Check(obj5)) {
16068 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16069 SWIG_fail;
16070 }
16071 arg6 = new wxArrayString;
16072 temp6 = true;
16073 int i, len=PySequence_Length(obj5);
16074 for (i=0; i<len; i++) {
16075 PyObject* item = PySequence_GetItem(obj5, i);
16076 wxString* s = wxString_in_helper(item);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 arg6->Add(*s);
16079 delete s;
16080 Py_DECREF(item);
16081 }
d55e5bfc 16082 }
1bd55598
RD
16083 }
16084 if (obj6) {
16085 ecode7 = SWIG_AsVal_int(obj6, &val7);
16086 if (!SWIG_IsOK(ecode7)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16088 }
16089 arg7 = static_cast< int >(val7);
16090 }
16091 if (obj7) {
16092 ecode8 = SWIG_AsVal_long(obj7, &val8);
16093 if (!SWIG_IsOK(ecode8)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16095 }
16096 arg8 = static_cast< long >(val8);
16097 }
16098 if (obj8) {
16099 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16100 if (!SWIG_IsOK(res9)) {
16101 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16102 }
1bd55598
RD
16103 if (!argp9) {
16104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16105 }
1bd55598
RD
16106 arg9 = reinterpret_cast< wxValidator * >(argp9);
16107 }
16108 if (obj9) {
d55e5bfc 16109 {
1bd55598
RD
16110 arg10 = wxString_in_helper(obj9);
16111 if (arg10 == NULL) SWIG_fail;
16112 temp10 = true;
d55e5bfc 16113 }
1bd55598
RD
16114 }
16115 {
16116 if (!wxPyCheckForApp()) SWIG_fail;
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 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);
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16123 {
16124 if (temp3)
16125 delete arg3;
16126 }
16127 {
16128 if (temp6) delete arg6;
16129 }
16130 {
16131 if (temp10)
16132 delete arg10;
16133 }
16134 return resultobj;
16135fail:
16136 {
16137 if (temp3)
16138 delete arg3;
16139 }
16140 {
16141 if (temp6) delete arg6;
16142 }
16143 {
16144 if (temp10)
16145 delete arg10;
16146 }
16147 return NULL;
d55e5bfc
RD
16148}
16149
16150
1bd55598
RD
16151SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16152 PyObject *resultobj = 0;
16153 wxRadioBox *result = 0 ;
16154
16155 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16156 {
16157 if (!wxPyCheckForApp()) SWIG_fail;
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 result = (wxRadioBox *)new wxRadioBox();
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16164 return resultobj;
16165fail:
16166 return NULL;
16167}
16168
16169
16170SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj = 0;
16172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16173 wxWindow *arg2 = (wxWindow *) 0 ;
16174 int arg3 = (int) -1 ;
16175 wxString const &arg4_defvalue = wxPyEmptyString ;
16176 wxString *arg4 = (wxString *) &arg4_defvalue ;
16177 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16178 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16179 wxSize const &arg6_defvalue = wxDefaultSize ;
16180 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16181 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16182 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16183 int arg8 = (int) 0 ;
16184 long arg9 = (long) wxRA_HORIZONTAL ;
16185 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16186 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16187 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16188 wxString *arg11 = (wxString *) &arg11_defvalue ;
16189 bool result;
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
16192 void *argp2 = 0 ;
16193 int res2 = 0 ;
16194 int val3 ;
16195 int ecode3 = 0 ;
16196 bool temp4 = false ;
16197 wxPoint temp5 ;
16198 wxSize temp6 ;
16199 bool temp7 = false ;
16200 int val8 ;
16201 int ecode8 = 0 ;
16202 long val9 ;
16203 int ecode9 = 0 ;
16204 void *argp10 = 0 ;
16205 int res10 = 0 ;
16206 bool temp11 = false ;
16207 PyObject * obj0 = 0 ;
16208 PyObject * obj1 = 0 ;
16209 PyObject * obj2 = 0 ;
16210 PyObject * obj3 = 0 ;
16211 PyObject * obj4 = 0 ;
16212 PyObject * obj5 = 0 ;
16213 PyObject * obj6 = 0 ;
16214 PyObject * obj7 = 0 ;
16215 PyObject * obj8 = 0 ;
16216 PyObject * obj9 = 0 ;
16217 PyObject * obj10 = 0 ;
16218 char * kwnames[] = {
16219 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16220 };
16221
16222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16224 if (!SWIG_IsOK(res1)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16226 }
16227 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16229 if (!SWIG_IsOK(res2)) {
16230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16231 }
16232 arg2 = reinterpret_cast< wxWindow * >(argp2);
16233 if (obj2) {
16234 ecode3 = SWIG_AsVal_int(obj2, &val3);
16235 if (!SWIG_IsOK(ecode3)) {
16236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16237 }
16238 arg3 = static_cast< int >(val3);
16239 }
16240 if (obj3) {
36ed4f51 16241 {
1bd55598
RD
16242 arg4 = wxString_in_helper(obj3);
16243 if (arg4 == NULL) SWIG_fail;
16244 temp4 = true;
36ed4f51 16245 }
1bd55598
RD
16246 }
16247 if (obj4) {
36ed4f51 16248 {
1bd55598
RD
16249 arg5 = &temp5;
16250 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 16251 }
1bd55598
RD
16252 }
16253 if (obj5) {
d55e5bfc 16254 {
1bd55598
RD
16255 arg6 = &temp6;
16256 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16257 }
1bd55598
RD
16258 }
16259 if (obj6) {
36ed4f51 16260 {
1bd55598
RD
16261 if (! PySequence_Check(obj6)) {
16262 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16263 SWIG_fail;
16264 }
16265 arg7 = new wxArrayString;
16266 temp7 = true;
16267 int i, len=PySequence_Length(obj6);
16268 for (i=0; i<len; i++) {
16269 PyObject* item = PySequence_GetItem(obj6, i);
16270 wxString* s = wxString_in_helper(item);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 arg7->Add(*s);
16273 delete s;
16274 Py_DECREF(item);
16275 }
36ed4f51 16276 }
1bd55598
RD
16277 }
16278 if (obj7) {
16279 ecode8 = SWIG_AsVal_int(obj7, &val8);
16280 if (!SWIG_IsOK(ecode8)) {
16281 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16282 }
16283 arg8 = static_cast< int >(val8);
16284 }
16285 if (obj8) {
16286 ecode9 = SWIG_AsVal_long(obj8, &val9);
16287 if (!SWIG_IsOK(ecode9)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16289 }
16290 arg9 = static_cast< long >(val9);
16291 }
16292 if (obj9) {
16293 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16294 if (!SWIG_IsOK(res10)) {
16295 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16296 }
1bd55598
RD
16297 if (!argp10) {
16298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16299 }
1bd55598
RD
16300 arg10 = reinterpret_cast< wxValidator * >(argp10);
16301 }
16302 if (obj10) {
d55e5bfc 16303 {
1bd55598
RD
16304 arg11 = wxString_in_helper(obj10);
16305 if (arg11 == NULL) SWIG_fail;
16306 temp11 = true;
d55e5bfc 16307 }
1bd55598
RD
16308 }
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 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);
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 {
16316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16317 }
16318 {
16319 if (temp4)
16320 delete arg4;
16321 }
16322 {
16323 if (temp7) delete arg7;
16324 }
16325 {
16326 if (temp11)
16327 delete arg11;
16328 }
16329 return resultobj;
16330fail:
16331 {
16332 if (temp4)
16333 delete arg4;
16334 }
16335 {
16336 if (temp7) delete arg7;
16337 }
16338 {
16339 if (temp11)
16340 delete arg11;
16341 }
16342 return NULL;
16343}
16344
16345
16346SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16347 PyObject *resultobj = 0;
16348 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16349 int arg2 ;
16350 void *argp1 = 0 ;
16351 int res1 = 0 ;
16352 int val2 ;
16353 int ecode2 = 0 ;
16354 PyObject * obj0 = 0 ;
16355 PyObject * obj1 = 0 ;
16356 char * kwnames[] = {
16357 (char *) "self",(char *) "n", NULL
16358 };
16359
16360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16362 if (!SWIG_IsOK(res1)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16364 }
16365 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16366 ecode2 = SWIG_AsVal_int(obj1, &val2);
16367 if (!SWIG_IsOK(ecode2)) {
16368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16369 }
16370 arg2 = static_cast< int >(val2);
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 (arg1)->SetSelection(arg2);
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 resultobj = SWIG_Py_Void();
16378 return resultobj;
16379fail:
16380 return NULL;
d55e5bfc
RD
16381}
16382
16383
1bd55598
RD
16384SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16385 PyObject *resultobj = 0;
16386 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16387 int result;
16388 void *argp1 = 0 ;
16389 int res1 = 0 ;
16390 PyObject *swig_obj[1] ;
16391
16392 if (!args) SWIG_fail;
16393 swig_obj[0] = args;
16394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16395 if (!SWIG_IsOK(res1)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16397 }
16398 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 resultobj = SWIG_From_int(static_cast< int >(result));
16406 return resultobj;
16407fail:
16408 return NULL;
d55e5bfc
RD
16409}
16410
16411
1bd55598
RD
16412SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16413 PyObject *resultobj = 0;
16414 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16415 wxString result;
16416 void *argp1 = 0 ;
16417 int res1 = 0 ;
16418 PyObject *swig_obj[1] ;
16419
16420 if (!args) SWIG_fail;
16421 swig_obj[0] = args;
16422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16423 if (!SWIG_IsOK(res1)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16425 }
16426 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 {
16434#if wxUSE_UNICODE
16435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16436#else
16437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16438#endif
16439 }
16440 return resultobj;
16441fail:
16442 return NULL;
16443}
16444
16445
16446SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj = 0;
16448 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16449 wxString *arg2 = 0 ;
16450 bool result;
16451 void *argp1 = 0 ;
16452 int res1 = 0 ;
16453 bool temp2 = false ;
16454 PyObject * obj0 = 0 ;
16455 PyObject * obj1 = 0 ;
16456 char * kwnames[] = {
16457 (char *) "self",(char *) "s", NULL
16458 };
16459
16460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16462 if (!SWIG_IsOK(res1)) {
16463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16464 }
16465 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16466 {
16467 arg2 = wxString_in_helper(obj1);
16468 if (arg2 == NULL) SWIG_fail;
16469 temp2 = true;
16470 }
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 {
16478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16479 }
16480 {
16481 if (temp2)
16482 delete arg2;
16483 }
16484 return resultobj;
16485fail:
16486 {
16487 if (temp2)
16488 delete arg2;
16489 }
16490 return NULL;
4896ac9e
RD
16491}
16492
16493
1bd55598
RD
16494SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16495 PyObject *resultobj = 0;
16496 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16497 size_t result;
1bd55598
RD
16498 void *argp1 = 0 ;
16499 int res1 = 0 ;
16500 PyObject *swig_obj[1] ;
16501
16502 if (!args) SWIG_fail;
16503 swig_obj[0] = args;
16504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16505 if (!SWIG_IsOK(res1)) {
16506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16507 }
16508 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16511 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
1bd55598
RD
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
1c71765a 16515 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
1bd55598
RD
16516 return resultobj;
16517fail:
16518 return NULL;
16519}
16520
16521
16522SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj = 0;
16524 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16525 wxString *arg2 = 0 ;
16526 int result;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
16529 bool temp2 = false ;
16530 PyObject * obj0 = 0 ;
16531 PyObject * obj1 = 0 ;
16532 char * kwnames[] = {
16533 (char *) "self",(char *) "s", NULL
16534 };
16535
16536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16538 if (!SWIG_IsOK(res1)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16540 }
16541 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16542 {
16543 arg2 = wxString_in_helper(obj1);
16544 if (arg2 == NULL) SWIG_fail;
16545 temp2 = true;
16546 }
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 resultobj = SWIG_From_int(static_cast< int >(result));
16554 {
16555 if (temp2)
16556 delete arg2;
16557 }
16558 return resultobj;
16559fail:
16560 {
16561 if (temp2)
16562 delete arg2;
16563 }
16564 return NULL;
16565}
16566
16567
16568SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj = 0;
16570 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16571 int arg2 ;
16572 wxString result;
16573 void *argp1 = 0 ;
16574 int res1 = 0 ;
16575 int val2 ;
16576 int ecode2 = 0 ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char * kwnames[] = {
16580 (char *) "self",(char *) "n", NULL
16581 };
16582
16583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16587 }
16588 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16589 ecode2 = SWIG_AsVal_int(obj1, &val2);
16590 if (!SWIG_IsOK(ecode2)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16592 }
16593 arg2 = static_cast< int >(val2);
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601#if wxUSE_UNICODE
16602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16603#else
16604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16605#endif
16606 }
16607 return resultobj;
16608fail:
16609 return NULL;
16610}
16611
16612
16613SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj = 0;
16615 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16616 int arg2 ;
16617 wxString *arg3 = 0 ;
16618 void *argp1 = 0 ;
16619 int res1 = 0 ;
16620 int val2 ;
16621 int ecode2 = 0 ;
16622 bool temp3 = false ;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 PyObject * obj2 = 0 ;
16626 char * kwnames[] = {
16627 (char *) "self",(char *) "n",(char *) "label", NULL
16628 };
16629
16630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16632 if (!SWIG_IsOK(res1)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16634 }
16635 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16636 ecode2 = SWIG_AsVal_int(obj1, &val2);
16637 if (!SWIG_IsOK(ecode2)) {
16638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16639 }
16640 arg2 = static_cast< int >(val2);
16641 {
16642 arg3 = wxString_in_helper(obj2);
16643 if (arg3 == NULL) SWIG_fail;
16644 temp3 = true;
16645 }
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 (arg1)->SetString(arg2,(wxString const &)*arg3);
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 resultobj = SWIG_Py_Void();
16653 {
16654 if (temp3)
16655 delete arg3;
16656 }
16657 return resultobj;
16658fail:
16659 {
16660 if (temp3)
16661 delete arg3;
16662 }
16663 return NULL;
16664}
16665
16666
16667SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16668 PyObject *resultobj = 0;
16669 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16670 unsigned int arg2 ;
1bd55598
RD
16671 bool arg3 = (bool) true ;
16672 void *argp1 = 0 ;
16673 int res1 = 0 ;
50f151d7 16674 unsigned int val2 ;
1bd55598
RD
16675 int ecode2 = 0 ;
16676 bool val3 ;
16677 int ecode3 = 0 ;
16678 PyObject * obj0 = 0 ;
16679 PyObject * obj1 = 0 ;
16680 PyObject * obj2 = 0 ;
16681 char * kwnames[] = {
16682 (char *) "self",(char *) "n",(char *) "enable", NULL
16683 };
16684
16685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16687 if (!SWIG_IsOK(res1)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16689 }
16690 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16691 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16692 if (!SWIG_IsOK(ecode2)) {
50f151d7 16693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16694 }
50f151d7 16695 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16696 if (obj2) {
16697 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16698 if (!SWIG_IsOK(ecode3)) {
16699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16700 }
16701 arg3 = static_cast< bool >(val3);
16702 }
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 (arg1)->Enable(arg2,arg3);
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 resultobj = SWIG_Py_Void();
16710 return resultobj;
16711fail:
16712 return NULL;
16713}
16714
16715
16716SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj = 0;
16718 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16719 unsigned int arg2 ;
1bd55598
RD
16720 bool arg3 = (bool) true ;
16721 void *argp1 = 0 ;
16722 int res1 = 0 ;
50f151d7 16723 unsigned int val2 ;
1bd55598
RD
16724 int ecode2 = 0 ;
16725 bool val3 ;
16726 int ecode3 = 0 ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 PyObject * obj2 = 0 ;
16730 char * kwnames[] = {
16731 (char *) "self",(char *) "n",(char *) "show", NULL
16732 };
16733
16734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16736 if (!SWIG_IsOK(res1)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16738 }
16739 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16740 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16741 if (!SWIG_IsOK(ecode2)) {
50f151d7 16742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16743 }
50f151d7 16744 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16745 if (obj2) {
16746 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16747 if (!SWIG_IsOK(ecode3)) {
16748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16749 }
16750 arg3 = static_cast< bool >(val3);
16751 }
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 (arg1)->Show(arg2,arg3);
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 resultobj = SWIG_Py_Void();
16759 return resultobj;
16760fail:
16761 return NULL;
d55e5bfc
RD
16762}
16763
16764
50f151d7
RD
16765SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj = 0;
16767 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16768 unsigned int arg2 ;
16769 bool result;
16770 void *argp1 = 0 ;
16771 int res1 = 0 ;
16772 unsigned int val2 ;
16773 int ecode2 = 0 ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 char * kwnames[] = {
16777 (char *) "self",(char *) "n", NULL
16778 };
16779
16780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16782 if (!SWIG_IsOK(res1)) {
16783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16784 }
16785 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16786 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16787 if (!SWIG_IsOK(ecode2)) {
16788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16789 }
16790 arg2 = static_cast< unsigned int >(val2);
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16799 }
16800 return resultobj;
16801fail:
16802 return NULL;
16803}
16804
16805
16806SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj = 0;
16808 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16809 unsigned int arg2 ;
16810 bool result;
16811 void *argp1 = 0 ;
16812 int res1 = 0 ;
16813 unsigned int val2 ;
16814 int ecode2 = 0 ;
16815 PyObject * obj0 = 0 ;
16816 PyObject * obj1 = 0 ;
16817 char * kwnames[] = {
16818 (char *) "self",(char *) "n", NULL
16819 };
16820
16821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16823 if (!SWIG_IsOK(res1)) {
16824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16825 }
16826 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16827 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16828 if (!SWIG_IsOK(ecode2)) {
16829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16830 }
16831 arg2 = static_cast< unsigned int >(val2);
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 {
16839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16840 }
16841 return resultobj;
16842fail:
16843 return NULL;
16844}
16845
16846
1bd55598
RD
16847SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16848 PyObject *resultobj = 0;
16849 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16850 unsigned int result;
1bd55598
RD
16851 void *argp1 = 0 ;
16852 int res1 = 0 ;
16853 PyObject *swig_obj[1] ;
16854
16855 if (!args) SWIG_fail;
16856 swig_obj[0] = args;
16857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16858 if (!SWIG_IsOK(res1)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16860 }
16861 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16864 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
1bd55598
RD
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
50f151d7 16868 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16869 return resultobj;
16870fail:
16871 return NULL;
d55e5bfc
RD
16872}
16873
16874
1bd55598
RD
16875SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16876 PyObject *resultobj = 0;
16877 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16878 unsigned int result;
1bd55598
RD
16879 void *argp1 = 0 ;
16880 int res1 = 0 ;
16881 PyObject *swig_obj[1] ;
16882
16883 if (!args) SWIG_fail;
16884 swig_obj[0] = args;
16885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16886 if (!SWIG_IsOK(res1)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16888 }
16889 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16892 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
1bd55598
RD
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
50f151d7 16896 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16897 return resultobj;
16898fail:
16899 return NULL;
16900}
16901
16902
16903SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = 0;
16905 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16906 int arg2 ;
16907 wxDirection arg3 ;
16908 long arg4 ;
16909 int result;
16910 void *argp1 = 0 ;
16911 int res1 = 0 ;
16912 int val2 ;
16913 int ecode2 = 0 ;
16914 int val3 ;
16915 int ecode3 = 0 ;
16916 long val4 ;
16917 int ecode4 = 0 ;
16918 PyObject * obj0 = 0 ;
16919 PyObject * obj1 = 0 ;
16920 PyObject * obj2 = 0 ;
16921 PyObject * obj3 = 0 ;
16922 char * kwnames[] = {
16923 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16924 };
16925
16926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16928 if (!SWIG_IsOK(res1)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16930 }
16931 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16932 ecode2 = SWIG_AsVal_int(obj1, &val2);
16933 if (!SWIG_IsOK(ecode2)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16935 }
16936 arg2 = static_cast< int >(val2);
16937 ecode3 = SWIG_AsVal_int(obj2, &val3);
16938 if (!SWIG_IsOK(ecode3)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16940 }
16941 arg3 = static_cast< wxDirection >(val3);
16942 ecode4 = SWIG_AsVal_long(obj3, &val4);
16943 if (!SWIG_IsOK(ecode4)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16945 }
16946 arg4 = static_cast< long >(val4);
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 resultobj = SWIG_From_int(static_cast< int >(result));
16954 return resultobj;
16955fail:
16956 return NULL;
16957}
16958
16959
2131d850
RD
16960SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj = 0;
16962 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16963 unsigned int arg2 ;
16964 wxString *arg3 = 0 ;
16965 void *argp1 = 0 ;
16966 int res1 = 0 ;
16967 unsigned int val2 ;
16968 int ecode2 = 0 ;
16969 bool temp3 = false ;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 PyObject * obj2 = 0 ;
16973 char * kwnames[] = {
16974 (char *) "self",(char *) "item",(char *) "text", NULL
16975 };
16976
16977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16979 if (!SWIG_IsOK(res1)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16981 }
16982 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16983 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16984 if (!SWIG_IsOK(ecode2)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16986 }
16987 arg2 = static_cast< unsigned int >(val2);
16988 {
16989 arg3 = wxString_in_helper(obj2);
16990 if (arg3 == NULL) SWIG_fail;
16991 temp3 = true;
16992 }
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 resultobj = SWIG_Py_Void();
17000 {
17001 if (temp3)
17002 delete arg3;
17003 }
17004 return resultobj;
17005fail:
17006 {
17007 if (temp3)
17008 delete arg3;
17009 }
17010 return NULL;
17011}
17012
17013
17014SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj = 0;
17016 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17017 unsigned int arg2 ;
17018 wxToolTip *result = 0 ;
17019 void *argp1 = 0 ;
17020 int res1 = 0 ;
17021 unsigned int val2 ;
17022 int ecode2 = 0 ;
17023 PyObject * obj0 = 0 ;
17024 PyObject * obj1 = 0 ;
17025 char * kwnames[] = {
17026 (char *) "self",(char *) "item", NULL
17027 };
17028
17029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17031 if (!SWIG_IsOK(res1)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17033 }
17034 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17035 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17036 if (!SWIG_IsOK(ecode2)) {
17037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17038 }
17039 arg2 = static_cast< unsigned int >(val2);
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 resultobj = wxPyMake_wxObject(result, (bool)0);
17048 }
17049 return resultobj;
17050fail:
17051 return NULL;
17052}
17053
17054
b850e7f3
RD
17055SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj = 0;
17057 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17058 unsigned int arg2 ;
17059 wxString *arg3 = 0 ;
17060 void *argp1 = 0 ;
17061 int res1 = 0 ;
17062 unsigned int val2 ;
17063 int ecode2 = 0 ;
17064 bool temp3 = false ;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 PyObject * obj2 = 0 ;
17068 char * kwnames[] = {
17069 (char *) "self",(char *) "n",(char *) "helpText", NULL
17070 };
17071
17072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17074 if (!SWIG_IsOK(res1)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17076 }
17077 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17078 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17079 if (!SWIG_IsOK(ecode2)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17081 }
17082 arg2 = static_cast< unsigned int >(val2);
17083 {
17084 arg3 = wxString_in_helper(obj2);
17085 if (arg3 == NULL) SWIG_fail;
17086 temp3 = true;
17087 }
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = SWIG_Py_Void();
17095 {
17096 if (temp3)
17097 delete arg3;
17098 }
17099 return resultobj;
17100fail:
17101 {
17102 if (temp3)
17103 delete arg3;
17104 }
17105 return NULL;
17106}
17107
17108
17109SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj = 0;
17111 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17112 unsigned int arg2 ;
17113 wxString result;
17114 void *argp1 = 0 ;
17115 int res1 = 0 ;
17116 unsigned int val2 ;
17117 int ecode2 = 0 ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 char * kwnames[] = {
17121 (char *) "self",(char *) "n", NULL
17122 };
17123
17124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17126 if (!SWIG_IsOK(res1)) {
17127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17128 }
17129 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17130 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17131 if (!SWIG_IsOK(ecode2)) {
17132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17133 }
17134 arg2 = static_cast< unsigned int >(val2);
17135 {
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142#if wxUSE_UNICODE
17143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17144#else
17145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17146#endif
17147 }
17148 return resultobj;
17149fail:
17150 return NULL;
17151}
17152
17153
1bd55598
RD
17154SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj = 0;
17156 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17157 SwigValueWrapper<wxVisualAttributes > result;
17158 int val1 ;
17159 int ecode1 = 0 ;
17160 PyObject * obj0 = 0 ;
17161 char * kwnames[] = {
17162 (char *) "variant", NULL
17163 };
17164
17165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17166 if (obj0) {
17167 ecode1 = SWIG_AsVal_int(obj0, &val1);
17168 if (!SWIG_IsOK(ecode1)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17170 }
17171 arg1 = static_cast< wxWindowVariant >(val1);
17172 }
17173 {
17174 if (!wxPyCheckForApp()) SWIG_fail;
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17181 return resultobj;
17182fail:
17183 return NULL;
17184}
17185
17186
17187SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17188 PyObject *obj;
17189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17190 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17191 return SWIG_Py_Void();
17192}
17193
17194SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17195 return SWIG_Python_InitShadowInstance(args);
17196}
17197
17198SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj = 0;
17200 wxWindow *arg1 = (wxWindow *) 0 ;
17201 int arg2 = (int) -1 ;
17202 wxString const &arg3_defvalue = wxPyEmptyString ;
17203 wxString *arg3 = (wxString *) &arg3_defvalue ;
17204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17206 wxSize const &arg5_defvalue = wxDefaultSize ;
17207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17208 long arg6 = (long) 0 ;
17209 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17210 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17211 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17212 wxString *arg8 = (wxString *) &arg8_defvalue ;
17213 wxRadioButton *result = 0 ;
17214 void *argp1 = 0 ;
17215 int res1 = 0 ;
17216 int val2 ;
17217 int ecode2 = 0 ;
17218 bool temp3 = false ;
17219 wxPoint temp4 ;
17220 wxSize temp5 ;
17221 long val6 ;
17222 int ecode6 = 0 ;
17223 void *argp7 = 0 ;
17224 int res7 = 0 ;
17225 bool temp8 = false ;
17226 PyObject * obj0 = 0 ;
17227 PyObject * obj1 = 0 ;
17228 PyObject * obj2 = 0 ;
17229 PyObject * obj3 = 0 ;
17230 PyObject * obj4 = 0 ;
17231 PyObject * obj5 = 0 ;
17232 PyObject * obj6 = 0 ;
17233 PyObject * obj7 = 0 ;
17234 char * kwnames[] = {
17235 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17236 };
17237
17238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17240 if (!SWIG_IsOK(res1)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17242 }
17243 arg1 = reinterpret_cast< wxWindow * >(argp1);
17244 if (obj1) {
17245 ecode2 = SWIG_AsVal_int(obj1, &val2);
17246 if (!SWIG_IsOK(ecode2)) {
17247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17248 }
17249 arg2 = static_cast< int >(val2);
17250 }
17251 if (obj2) {
d55e5bfc 17252 {
1bd55598
RD
17253 arg3 = wxString_in_helper(obj2);
17254 if (arg3 == NULL) SWIG_fail;
17255 temp3 = true;
d55e5bfc 17256 }
1bd55598
RD
17257 }
17258 if (obj3) {
d55e5bfc 17259 {
1bd55598
RD
17260 arg4 = &temp4;
17261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17262 }
1bd55598
RD
17263 }
17264 if (obj4) {
d55e5bfc 17265 {
1bd55598
RD
17266 arg5 = &temp5;
17267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17268 }
1bd55598
RD
17269 }
17270 if (obj5) {
17271 ecode6 = SWIG_AsVal_long(obj5, &val6);
17272 if (!SWIG_IsOK(ecode6)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17274 }
17275 arg6 = static_cast< long >(val6);
17276 }
17277 if (obj6) {
17278 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17279 if (!SWIG_IsOK(res7)) {
17280 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17281 }
1bd55598
RD
17282 if (!argp7) {
17283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17284 }
17285 arg7 = reinterpret_cast< wxValidator * >(argp7);
17286 }
17287 if (obj7) {
d55e5bfc 17288 {
1bd55598
RD
17289 arg8 = wxString_in_helper(obj7);
17290 if (arg8 == NULL) SWIG_fail;
17291 temp8 = true;
d55e5bfc 17292 }
1bd55598
RD
17293 }
17294 {
17295 if (!wxPyCheckForApp()) SWIG_fail;
17296 PyThreadState* __tstate = wxPyBeginAllowThreads();
17297 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17302 {
17303 if (temp3)
17304 delete arg3;
17305 }
17306 {
17307 if (temp8)
17308 delete arg8;
17309 }
17310 return resultobj;
17311fail:
17312 {
17313 if (temp3)
17314 delete arg3;
17315 }
17316 {
17317 if (temp8)
17318 delete arg8;
17319 }
17320 return NULL;
d55e5bfc
RD
17321}
17322
17323
1bd55598
RD
17324SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17325 PyObject *resultobj = 0;
17326 wxRadioButton *result = 0 ;
17327
17328 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17329 {
17330 if (!wxPyCheckForApp()) SWIG_fail;
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = (wxRadioButton *)new wxRadioButton();
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17337 return resultobj;
17338fail:
17339 return NULL;
17340}
17341
17342
17343SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj = 0;
17345 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17346 wxWindow *arg2 = (wxWindow *) 0 ;
17347 int arg3 = (int) -1 ;
17348 wxString const &arg4_defvalue = wxPyEmptyString ;
17349 wxString *arg4 = (wxString *) &arg4_defvalue ;
17350 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17351 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17352 wxSize const &arg6_defvalue = wxDefaultSize ;
17353 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17354 long arg7 = (long) 0 ;
17355 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17356 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17357 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17358 wxString *arg9 = (wxString *) &arg9_defvalue ;
17359 bool result;
17360 void *argp1 = 0 ;
17361 int res1 = 0 ;
17362 void *argp2 = 0 ;
17363 int res2 = 0 ;
17364 int val3 ;
17365 int ecode3 = 0 ;
17366 bool temp4 = false ;
17367 wxPoint temp5 ;
17368 wxSize temp6 ;
17369 long val7 ;
17370 int ecode7 = 0 ;
17371 void *argp8 = 0 ;
17372 int res8 = 0 ;
17373 bool temp9 = false ;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 PyObject * obj2 = 0 ;
17377 PyObject * obj3 = 0 ;
17378 PyObject * obj4 = 0 ;
17379 PyObject * obj5 = 0 ;
17380 PyObject * obj6 = 0 ;
17381 PyObject * obj7 = 0 ;
17382 PyObject * obj8 = 0 ;
17383 char * kwnames[] = {
17384 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17385 };
17386
17387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17389 if (!SWIG_IsOK(res1)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17391 }
17392 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17393 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17394 if (!SWIG_IsOK(res2)) {
17395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17396 }
17397 arg2 = reinterpret_cast< wxWindow * >(argp2);
17398 if (obj2) {
17399 ecode3 = SWIG_AsVal_int(obj2, &val3);
17400 if (!SWIG_IsOK(ecode3)) {
17401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17402 }
17403 arg3 = static_cast< int >(val3);
17404 }
17405 if (obj3) {
d55e5bfc 17406 {
1bd55598
RD
17407 arg4 = wxString_in_helper(obj3);
17408 if (arg4 == NULL) SWIG_fail;
17409 temp4 = true;
d55e5bfc 17410 }
1bd55598
RD
17411 }
17412 if (obj4) {
d55e5bfc 17413 {
1bd55598
RD
17414 arg5 = &temp5;
17415 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17416 }
1bd55598
RD
17417 }
17418 if (obj5) {
d55e5bfc 17419 {
1bd55598
RD
17420 arg6 = &temp6;
17421 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17422 }
1bd55598
RD
17423 }
17424 if (obj6) {
17425 ecode7 = SWIG_AsVal_long(obj6, &val7);
17426 if (!SWIG_IsOK(ecode7)) {
17427 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17428 }
17429 arg7 = static_cast< long >(val7);
17430 }
17431 if (obj7) {
17432 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17433 if (!SWIG_IsOK(res8)) {
17434 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17435 }
1bd55598
RD
17436 if (!argp8) {
17437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17438 }
1bd55598
RD
17439 arg8 = reinterpret_cast< wxValidator * >(argp8);
17440 }
17441 if (obj8) {
d55e5bfc 17442 {
1bd55598
RD
17443 arg9 = wxString_in_helper(obj8);
17444 if (arg9 == NULL) SWIG_fail;
17445 temp9 = true;
d55e5bfc 17446 }
1bd55598
RD
17447 }
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17456 }
17457 {
17458 if (temp4)
17459 delete arg4;
17460 }
17461 {
17462 if (temp9)
17463 delete arg9;
17464 }
17465 return resultobj;
17466fail:
17467 {
17468 if (temp4)
17469 delete arg4;
17470 }
17471 {
17472 if (temp9)
17473 delete arg9;
17474 }
17475 return NULL;
d55e5bfc
RD
17476}
17477
17478
1bd55598
RD
17479SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17480 PyObject *resultobj = 0;
17481 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17482 bool result;
17483 void *argp1 = 0 ;
17484 int res1 = 0 ;
17485 PyObject *swig_obj[1] ;
17486
17487 if (!args) SWIG_fail;
17488 swig_obj[0] = args;
17489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17490 if (!SWIG_IsOK(res1)) {
17491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17492 }
17493 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (bool)(arg1)->GetValue();
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
17503 return resultobj;
17504fail:
17505 return NULL;
17506}
17507
17508
17509SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj = 0;
17511 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17512 bool arg2 ;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 bool val2 ;
17516 int ecode2 = 0 ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char * kwnames[] = {
17520 (char *) "self",(char *) "value", NULL
17521 };
17522
17523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17525 if (!SWIG_IsOK(res1)) {
17526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17527 }
17528 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17530 if (!SWIG_IsOK(ecode2)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17532 }
17533 arg2 = static_cast< bool >(val2);
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 (arg1)->SetValue(arg2);
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = SWIG_Py_Void();
17541 return resultobj;
17542fail:
17543 return NULL;
17544}
17545
17546
17547SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj = 0;
17549 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17550 SwigValueWrapper<wxVisualAttributes > result;
17551 int val1 ;
17552 int ecode1 = 0 ;
17553 PyObject * obj0 = 0 ;
17554 char * kwnames[] = {
17555 (char *) "variant", NULL
17556 };
17557
17558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17559 if (obj0) {
17560 ecode1 = SWIG_AsVal_int(obj0, &val1);
17561 if (!SWIG_IsOK(ecode1)) {
17562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17563 }
17564 arg1 = static_cast< wxWindowVariant >(val1);
17565 }
17566 {
17567 if (!wxPyCheckForApp()) SWIG_fail;
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17574 return resultobj;
17575fail:
17576 return NULL;
d55e5bfc
RD
17577}
17578
17579
1bd55598
RD
17580SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17581 PyObject *obj;
17582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17583 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17584 return SWIG_Py_Void();
d55e5bfc
RD
17585}
17586
1bd55598
RD
17587SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17588 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
17589}
17590
1bd55598
RD
17591SWIGINTERN int SliderNameStr_set(PyObject *) {
17592 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17593 return 1;
d55e5bfc
RD
17594}
17595
17596
1bd55598
RD
17597SWIGINTERN PyObject *SliderNameStr_get(void) {
17598 PyObject *pyobj = 0;
17599
17600 {
17601#if wxUSE_UNICODE
17602 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17603#else
17604 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17605#endif
17606 }
17607 return pyobj;
17608}
17609
17610
17611SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj = 0;
17613 wxWindow *arg1 = (wxWindow *) 0 ;
17614 int arg2 = (int) -1 ;
17615 int arg3 = (int) 0 ;
17616 int arg4 = (int) 0 ;
17617 int arg5 = (int) 100 ;
17618 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17619 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17620 wxSize const &arg7_defvalue = wxDefaultSize ;
17621 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17622 long arg8 = (long) wxSL_HORIZONTAL ;
17623 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17624 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17625 wxString const &arg10_defvalue = wxPySliderNameStr ;
17626 wxString *arg10 = (wxString *) &arg10_defvalue ;
17627 wxSlider *result = 0 ;
17628 void *argp1 = 0 ;
17629 int res1 = 0 ;
17630 int val2 ;
17631 int ecode2 = 0 ;
17632 int val3 ;
17633 int ecode3 = 0 ;
17634 int val4 ;
17635 int ecode4 = 0 ;
17636 int val5 ;
17637 int ecode5 = 0 ;
17638 wxPoint temp6 ;
17639 wxSize temp7 ;
17640 long val8 ;
17641 int ecode8 = 0 ;
17642 void *argp9 = 0 ;
17643 int res9 = 0 ;
17644 bool temp10 = false ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 PyObject * obj2 = 0 ;
17648 PyObject * obj3 = 0 ;
17649 PyObject * obj4 = 0 ;
17650 PyObject * obj5 = 0 ;
17651 PyObject * obj6 = 0 ;
17652 PyObject * obj7 = 0 ;
17653 PyObject * obj8 = 0 ;
17654 PyObject * obj9 = 0 ;
17655 char * kwnames[] = {
17656 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17657 };
17658
17659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17661 if (!SWIG_IsOK(res1)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17663 }
17664 arg1 = reinterpret_cast< wxWindow * >(argp1);
17665 if (obj1) {
17666 ecode2 = SWIG_AsVal_int(obj1, &val2);
17667 if (!SWIG_IsOK(ecode2)) {
17668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17669 }
17670 arg2 = static_cast< int >(val2);
17671 }
17672 if (obj2) {
17673 ecode3 = SWIG_AsVal_int(obj2, &val3);
17674 if (!SWIG_IsOK(ecode3)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17676 }
17677 arg3 = static_cast< int >(val3);
17678 }
17679 if (obj3) {
17680 ecode4 = SWIG_AsVal_int(obj3, &val4);
17681 if (!SWIG_IsOK(ecode4)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17683 }
17684 arg4 = static_cast< int >(val4);
17685 }
17686 if (obj4) {
17687 ecode5 = SWIG_AsVal_int(obj4, &val5);
17688 if (!SWIG_IsOK(ecode5)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17690 }
17691 arg5 = static_cast< int >(val5);
17692 }
17693 if (obj5) {
36ed4f51 17694 {
1bd55598
RD
17695 arg6 = &temp6;
17696 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 17697 }
1bd55598
RD
17698 }
17699 if (obj6) {
36ed4f51 17700 {
1bd55598
RD
17701 arg7 = &temp7;
17702 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
36ed4f51 17703 }
1bd55598
RD
17704 }
17705 if (obj7) {
17706 ecode8 = SWIG_AsVal_long(obj7, &val8);
17707 if (!SWIG_IsOK(ecode8)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17709 }
17710 arg8 = static_cast< long >(val8);
17711 }
17712 if (obj8) {
17713 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17714 if (!SWIG_IsOK(res9)) {
17715 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
36ed4f51 17716 }
1bd55598
RD
17717 if (!argp9) {
17718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 17719 }
1bd55598
RD
17720 arg9 = reinterpret_cast< wxValidator * >(argp9);
17721 }
17722 if (obj9) {
d55e5bfc 17723 {
1bd55598
RD
17724 arg10 = wxString_in_helper(obj9);
17725 if (arg10 == NULL) SWIG_fail;
17726 temp10 = true;
d55e5bfc 17727 }
1bd55598
RD
17728 }
17729 {
17730 if (!wxPyCheckForApp()) SWIG_fail;
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17737 {
17738 if (temp10)
17739 delete arg10;
17740 }
17741 return resultobj;
17742fail:
17743 {
17744 if (temp10)
17745 delete arg10;
17746 }
17747 return NULL;
d55e5bfc
RD
17748}
17749
17750
1bd55598
RD
17751SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17752 PyObject *resultobj = 0;
17753 wxSlider *result = 0 ;
17754
17755 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17756 {
17757 if (!wxPyCheckForApp()) SWIG_fail;
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 result = (wxSlider *)new wxSlider();
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17764 return resultobj;
17765fail:
17766 return NULL;
17767}
17768
17769
17770SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj = 0;
17772 wxSlider *arg1 = (wxSlider *) 0 ;
17773 wxWindow *arg2 = (wxWindow *) 0 ;
17774 int arg3 = (int) -1 ;
17775 int arg4 = (int) 0 ;
17776 int arg5 = (int) 0 ;
17777 int arg6 = (int) 100 ;
17778 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17779 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17780 wxSize const &arg8_defvalue = wxDefaultSize ;
17781 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17782 long arg9 = (long) wxSL_HORIZONTAL ;
17783 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17784 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17785 wxString const &arg11_defvalue = wxPySliderNameStr ;
17786 wxString *arg11 = (wxString *) &arg11_defvalue ;
17787 bool result;
17788 void *argp1 = 0 ;
17789 int res1 = 0 ;
17790 void *argp2 = 0 ;
17791 int res2 = 0 ;
17792 int val3 ;
17793 int ecode3 = 0 ;
17794 int val4 ;
17795 int ecode4 = 0 ;
17796 int val5 ;
17797 int ecode5 = 0 ;
17798 int val6 ;
17799 int ecode6 = 0 ;
17800 wxPoint temp7 ;
17801 wxSize temp8 ;
17802 long val9 ;
17803 int ecode9 = 0 ;
17804 void *argp10 = 0 ;
17805 int res10 = 0 ;
17806 bool temp11 = false ;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 PyObject * obj2 = 0 ;
17810 PyObject * obj3 = 0 ;
17811 PyObject * obj4 = 0 ;
17812 PyObject * obj5 = 0 ;
17813 PyObject * obj6 = 0 ;
17814 PyObject * obj7 = 0 ;
17815 PyObject * obj8 = 0 ;
17816 PyObject * obj9 = 0 ;
17817 PyObject * obj10 = 0 ;
17818 char * kwnames[] = {
17819 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17820 };
17821
17822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17824 if (!SWIG_IsOK(res1)) {
17825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17826 }
17827 arg1 = reinterpret_cast< wxSlider * >(argp1);
17828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17829 if (!SWIG_IsOK(res2)) {
17830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17831 }
17832 arg2 = reinterpret_cast< wxWindow * >(argp2);
17833 if (obj2) {
17834 ecode3 = SWIG_AsVal_int(obj2, &val3);
17835 if (!SWIG_IsOK(ecode3)) {
17836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17837 }
17838 arg3 = static_cast< int >(val3);
17839 }
17840 if (obj3) {
17841 ecode4 = SWIG_AsVal_int(obj3, &val4);
17842 if (!SWIG_IsOK(ecode4)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17844 }
17845 arg4 = static_cast< int >(val4);
17846 }
17847 if (obj4) {
17848 ecode5 = SWIG_AsVal_int(obj4, &val5);
17849 if (!SWIG_IsOK(ecode5)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17851 }
17852 arg5 = static_cast< int >(val5);
17853 }
17854 if (obj5) {
17855 ecode6 = SWIG_AsVal_int(obj5, &val6);
17856 if (!SWIG_IsOK(ecode6)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17858 }
17859 arg6 = static_cast< int >(val6);
17860 }
17861 if (obj6) {
d55e5bfc 17862 {
1bd55598
RD
17863 arg7 = &temp7;
17864 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17865 }
1bd55598
RD
17866 }
17867 if (obj7) {
d55e5bfc 17868 {
1bd55598
RD
17869 arg8 = &temp8;
17870 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d55e5bfc 17871 }
1bd55598
RD
17872 }
17873 if (obj8) {
17874 ecode9 = SWIG_AsVal_long(obj8, &val9);
17875 if (!SWIG_IsOK(ecode9)) {
17876 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17877 }
17878 arg9 = static_cast< long >(val9);
17879 }
17880 if (obj9) {
17881 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17882 if (!SWIG_IsOK(res10)) {
17883 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17884 }
1bd55598
RD
17885 if (!argp10) {
17886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17887 }
1bd55598
RD
17888 arg10 = reinterpret_cast< wxValidator * >(argp10);
17889 }
17890 if (obj10) {
d55e5bfc 17891 {
1bd55598
RD
17892 arg11 = wxString_in_helper(obj10);
17893 if (arg11 == NULL) SWIG_fail;
17894 temp11 = true;
d55e5bfc 17895 }
1bd55598
RD
17896 }
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 {
17904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17905 }
17906 {
17907 if (temp11)
17908 delete arg11;
17909 }
17910 return resultobj;
17911fail:
17912 {
17913 if (temp11)
17914 delete arg11;
17915 }
17916 return NULL;
d55e5bfc
RD
17917}
17918
17919
1bd55598
RD
17920SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17921 PyObject *resultobj = 0;
17922 wxSlider *arg1 = (wxSlider *) 0 ;
17923 int result;
17924 void *argp1 = 0 ;
17925 int res1 = 0 ;
17926 PyObject *swig_obj[1] ;
17927
17928 if (!args) SWIG_fail;
17929 swig_obj[0] = args;
17930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17931 if (!SWIG_IsOK(res1)) {
17932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17933 }
17934 arg1 = reinterpret_cast< wxSlider * >(argp1);
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (int)((wxSlider const *)arg1)->GetValue();
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 resultobj = SWIG_From_int(static_cast< int >(result));
17942 return resultobj;
17943fail:
17944 return NULL;
17945}
17946
17947
17948SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj = 0;
17950 wxSlider *arg1 = (wxSlider *) 0 ;
17951 int arg2 ;
17952 void *argp1 = 0 ;
17953 int res1 = 0 ;
17954 int val2 ;
17955 int ecode2 = 0 ;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char * kwnames[] = {
17959 (char *) "self",(char *) "value", NULL
17960 };
17961
17962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17964 if (!SWIG_IsOK(res1)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17966 }
17967 arg1 = reinterpret_cast< wxSlider * >(argp1);
17968 ecode2 = SWIG_AsVal_int(obj1, &val2);
17969 if (!SWIG_IsOK(ecode2)) {
17970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17971 }
17972 arg2 = static_cast< int >(val2);
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 (arg1)->SetValue(arg2);
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 resultobj = SWIG_Py_Void();
17980 return resultobj;
17981fail:
17982 return NULL;
17983}
17984
17985
17986SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj = 0;
17988 wxSlider *arg1 = (wxSlider *) 0 ;
17989 int arg2 ;
17990 int arg3 ;
17991 void *argp1 = 0 ;
17992 int res1 = 0 ;
17993 int val2 ;
17994 int ecode2 = 0 ;
17995 int val3 ;
17996 int ecode3 = 0 ;
17997 PyObject * obj0 = 0 ;
17998 PyObject * obj1 = 0 ;
17999 PyObject * obj2 = 0 ;
18000 char * kwnames[] = {
18001 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18002 };
18003
18004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18008 }
18009 arg1 = reinterpret_cast< wxSlider * >(argp1);
18010 ecode2 = SWIG_AsVal_int(obj1, &val2);
18011 if (!SWIG_IsOK(ecode2)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18013 }
18014 arg2 = static_cast< int >(val2);
18015 ecode3 = SWIG_AsVal_int(obj2, &val3);
18016 if (!SWIG_IsOK(ecode3)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18018 }
18019 arg3 = static_cast< int >(val3);
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 (arg1)->SetRange(arg2,arg3);
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_Py_Void();
18027 return resultobj;
18028fail:
18029 return NULL;
d55e5bfc
RD
18030}
18031
18032
1bd55598
RD
18033SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18034 PyObject *resultobj = 0;
18035 wxSlider *arg1 = (wxSlider *) 0 ;
18036 int result;
18037 void *argp1 = 0 ;
18038 int res1 = 0 ;
18039 PyObject *swig_obj[1] ;
18040
18041 if (!args) SWIG_fail;
18042 swig_obj[0] = args;
18043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18044 if (!SWIG_IsOK(res1)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18046 }
18047 arg1 = reinterpret_cast< wxSlider * >(argp1);
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (int)((wxSlider const *)arg1)->GetMin();
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 resultobj = SWIG_From_int(static_cast< int >(result));
18055 return resultobj;
18056fail:
18057 return NULL;
f20a2e1f
RD
18058}
18059
18060
1bd55598
RD
18061SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18062 PyObject *resultobj = 0;
18063 wxSlider *arg1 = (wxSlider *) 0 ;
18064 int result;
18065 void *argp1 = 0 ;
18066 int res1 = 0 ;
18067 PyObject *swig_obj[1] ;
18068
18069 if (!args) SWIG_fail;
18070 swig_obj[0] = args;
18071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18072 if (!SWIG_IsOK(res1)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18074 }
18075 arg1 = reinterpret_cast< wxSlider * >(argp1);
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (int)((wxSlider const *)arg1)->GetMax();
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = SWIG_From_int(static_cast< int >(result));
18083 return resultobj;
18084fail:
18085 return NULL;
18086}
18087
18088
18089SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj = 0;
18091 wxSlider *arg1 = (wxSlider *) 0 ;
18092 int arg2 ;
18093 void *argp1 = 0 ;
18094 int res1 = 0 ;
18095 int val2 ;
18096 int ecode2 = 0 ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char * kwnames[] = {
18100 (char *) "self",(char *) "minValue", NULL
18101 };
18102
18103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18105 if (!SWIG_IsOK(res1)) {
18106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18107 }
18108 arg1 = reinterpret_cast< wxSlider * >(argp1);
18109 ecode2 = SWIG_AsVal_int(obj1, &val2);
18110 if (!SWIG_IsOK(ecode2)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18112 }
18113 arg2 = static_cast< int >(val2);
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 (arg1)->SetMin(arg2);
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = SWIG_Py_Void();
18121 return resultobj;
18122fail:
18123 return NULL;
18124}
18125
18126
18127SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj = 0;
18129 wxSlider *arg1 = (wxSlider *) 0 ;
18130 int arg2 ;
18131 void *argp1 = 0 ;
18132 int res1 = 0 ;
18133 int val2 ;
18134 int ecode2 = 0 ;
18135 PyObject * obj0 = 0 ;
18136 PyObject * obj1 = 0 ;
18137 char * kwnames[] = {
18138 (char *) "self",(char *) "maxValue", NULL
18139 };
18140
18141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18143 if (!SWIG_IsOK(res1)) {
18144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18145 }
18146 arg1 = reinterpret_cast< wxSlider * >(argp1);
18147 ecode2 = SWIG_AsVal_int(obj1, &val2);
18148 if (!SWIG_IsOK(ecode2)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18150 }
18151 arg2 = static_cast< int >(val2);
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 (arg1)->SetMax(arg2);
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 resultobj = SWIG_Py_Void();
18159 return resultobj;
18160fail:
18161 return NULL;
18162}
18163
18164
18165SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj = 0;
18167 wxSlider *arg1 = (wxSlider *) 0 ;
18168 int arg2 ;
18169 void *argp1 = 0 ;
18170 int res1 = 0 ;
18171 int val2 ;
18172 int ecode2 = 0 ;
18173 PyObject * obj0 = 0 ;
18174 PyObject * obj1 = 0 ;
18175 char * kwnames[] = {
18176 (char *) "self",(char *) "lineSize", NULL
18177 };
18178
18179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18181 if (!SWIG_IsOK(res1)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18183 }
18184 arg1 = reinterpret_cast< wxSlider * >(argp1);
18185 ecode2 = SWIG_AsVal_int(obj1, &val2);
18186 if (!SWIG_IsOK(ecode2)) {
18187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18188 }
18189 arg2 = static_cast< int >(val2);
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 (arg1)->SetLineSize(arg2);
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_Py_Void();
18197 return resultobj;
18198fail:
18199 return NULL;
18200}
18201
18202
18203SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj = 0;
18205 wxSlider *arg1 = (wxSlider *) 0 ;
18206 int arg2 ;
18207 void *argp1 = 0 ;
18208 int res1 = 0 ;
18209 int val2 ;
18210 int ecode2 = 0 ;
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
18213 char * kwnames[] = {
18214 (char *) "self",(char *) "pageSize", NULL
18215 };
18216
18217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18219 if (!SWIG_IsOK(res1)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18221 }
18222 arg1 = reinterpret_cast< wxSlider * >(argp1);
18223 ecode2 = SWIG_AsVal_int(obj1, &val2);
18224 if (!SWIG_IsOK(ecode2)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18226 }
18227 arg2 = static_cast< int >(val2);
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 (arg1)->SetPageSize(arg2);
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = SWIG_Py_Void();
18235 return resultobj;
18236fail:
18237 return NULL;
d55e5bfc
RD
18238}
18239
18240
1bd55598
RD
18241SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18242 PyObject *resultobj = 0;
18243 wxSlider *arg1 = (wxSlider *) 0 ;
18244 int result;
18245 void *argp1 = 0 ;
18246 int res1 = 0 ;
18247 PyObject *swig_obj[1] ;
18248
18249 if (!args) SWIG_fail;
18250 swig_obj[0] = args;
18251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18252 if (!SWIG_IsOK(res1)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18254 }
18255 arg1 = reinterpret_cast< wxSlider * >(argp1);
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (int)((wxSlider const *)arg1)->GetLineSize();
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_From_int(static_cast< int >(result));
18263 return resultobj;
18264fail:
18265 return NULL;
d55e5bfc
RD
18266}
18267
18268
1bd55598
RD
18269SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18270 PyObject *resultobj = 0;
18271 wxSlider *arg1 = (wxSlider *) 0 ;
18272 int result;
18273 void *argp1 = 0 ;
18274 int res1 = 0 ;
18275 PyObject *swig_obj[1] ;
18276
18277 if (!args) SWIG_fail;
18278 swig_obj[0] = args;
18279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18280 if (!SWIG_IsOK(res1)) {
18281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18282 }
18283 arg1 = reinterpret_cast< wxSlider * >(argp1);
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 result = (int)((wxSlider const *)arg1)->GetPageSize();
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 resultobj = SWIG_From_int(static_cast< int >(result));
18291 return resultobj;
18292fail:
18293 return NULL;
18294}
18295
18296
18297SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj = 0;
18299 wxSlider *arg1 = (wxSlider *) 0 ;
18300 int arg2 ;
18301 void *argp1 = 0 ;
18302 int res1 = 0 ;
18303 int val2 ;
18304 int ecode2 = 0 ;
18305 PyObject * obj0 = 0 ;
18306 PyObject * obj1 = 0 ;
18307 char * kwnames[] = {
18308 (char *) "self",(char *) "lenPixels", NULL
18309 };
18310
18311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18313 if (!SWIG_IsOK(res1)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18315 }
18316 arg1 = reinterpret_cast< wxSlider * >(argp1);
18317 ecode2 = SWIG_AsVal_int(obj1, &val2);
18318 if (!SWIG_IsOK(ecode2)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18320 }
18321 arg2 = static_cast< int >(val2);
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 (arg1)->SetThumbLength(arg2);
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = SWIG_Py_Void();
18329 return resultobj;
18330fail:
18331 return NULL;
d55e5bfc
RD
18332}
18333
18334
1bd55598
RD
18335SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18336 PyObject *resultobj = 0;
18337 wxSlider *arg1 = (wxSlider *) 0 ;
18338 int result;
18339 void *argp1 = 0 ;
18340 int res1 = 0 ;
18341 PyObject *swig_obj[1] ;
18342
18343 if (!args) SWIG_fail;
18344 swig_obj[0] = args;
18345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18346 if (!SWIG_IsOK(res1)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18348 }
18349 arg1 = reinterpret_cast< wxSlider * >(argp1);
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 resultobj = SWIG_From_int(static_cast< int >(result));
18357 return resultobj;
18358fail:
18359 return NULL;
18360}
18361
18362
18363SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj = 0;
18365 wxSlider *arg1 = (wxSlider *) 0 ;
18366 int arg2 ;
18367 int arg3 = (int) 1 ;
18368 void *argp1 = 0 ;
18369 int res1 = 0 ;
18370 int val2 ;
18371 int ecode2 = 0 ;
18372 int val3 ;
18373 int ecode3 = 0 ;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 PyObject * obj2 = 0 ;
18377 char * kwnames[] = {
18378 (char *) "self",(char *) "n",(char *) "pos", NULL
18379 };
18380
18381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18383 if (!SWIG_IsOK(res1)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18385 }
18386 arg1 = reinterpret_cast< wxSlider * >(argp1);
18387 ecode2 = SWIG_AsVal_int(obj1, &val2);
18388 if (!SWIG_IsOK(ecode2)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18390 }
18391 arg2 = static_cast< int >(val2);
18392 if (obj2) {
18393 ecode3 = SWIG_AsVal_int(obj2, &val3);
18394 if (!SWIG_IsOK(ecode3)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18396 }
18397 arg3 = static_cast< int >(val3);
18398 }
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 (arg1)->SetTickFreq(arg2,arg3);
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 resultobj = SWIG_Py_Void();
18406 return resultobj;
18407fail:
18408 return NULL;
d55e5bfc
RD
18409}
18410
18411
1bd55598
RD
18412SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18413 PyObject *resultobj = 0;
18414 wxSlider *arg1 = (wxSlider *) 0 ;
18415 int result;
18416 void *argp1 = 0 ;
18417 int res1 = 0 ;
18418 PyObject *swig_obj[1] ;
18419
18420 if (!args) SWIG_fail;
18421 swig_obj[0] = args;
18422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18423 if (!SWIG_IsOK(res1)) {
18424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18425 }
18426 arg1 = reinterpret_cast< wxSlider * >(argp1);
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 resultobj = SWIG_From_int(static_cast< int >(result));
18434 return resultobj;
18435fail:
18436 return NULL;
d55e5bfc
RD
18437}
18438
18439
1bd55598
RD
18440SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18441 PyObject *resultobj = 0;
18442 wxSlider *arg1 = (wxSlider *) 0 ;
18443 void *argp1 = 0 ;
18444 int res1 = 0 ;
18445 PyObject *swig_obj[1] ;
18446
18447 if (!args) SWIG_fail;
18448 swig_obj[0] = args;
18449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18450 if (!SWIG_IsOK(res1)) {
18451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18452 }
18453 arg1 = reinterpret_cast< wxSlider * >(argp1);
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 (arg1)->ClearTicks();
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 resultobj = SWIG_Py_Void();
18461 return resultobj;
18462fail:
18463 return NULL;
18464}
18465
18466
18467SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj = 0;
18469 wxSlider *arg1 = (wxSlider *) 0 ;
18470 int arg2 ;
18471 void *argp1 = 0 ;
18472 int res1 = 0 ;
18473 int val2 ;
18474 int ecode2 = 0 ;
18475 PyObject * obj0 = 0 ;
18476 PyObject * obj1 = 0 ;
18477 char * kwnames[] = {
18478 (char *) "self",(char *) "tickPos", NULL
18479 };
18480
18481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18483 if (!SWIG_IsOK(res1)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18485 }
18486 arg1 = reinterpret_cast< wxSlider * >(argp1);
18487 ecode2 = SWIG_AsVal_int(obj1, &val2);
18488 if (!SWIG_IsOK(ecode2)) {
18489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18490 }
18491 arg2 = static_cast< int >(val2);
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 (arg1)->SetTick(arg2);
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 resultobj = SWIG_Py_Void();
18499 return resultobj;
18500fail:
18501 return NULL;
d55e5bfc
RD
18502}
18503
18504
1bd55598
RD
18505SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18506 PyObject *resultobj = 0;
18507 wxSlider *arg1 = (wxSlider *) 0 ;
18508 void *argp1 = 0 ;
18509 int res1 = 0 ;
18510 PyObject *swig_obj[1] ;
18511
18512 if (!args) SWIG_fail;
18513 swig_obj[0] = args;
18514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18515 if (!SWIG_IsOK(res1)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18517 }
18518 arg1 = reinterpret_cast< wxSlider * >(argp1);
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 (arg1)->ClearSel();
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 resultobj = SWIG_Py_Void();
18526 return resultobj;
18527fail:
18528 return NULL;
d55e5bfc
RD
18529}
18530
18531
1bd55598
RD
18532SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18533 PyObject *resultobj = 0;
18534 wxSlider *arg1 = (wxSlider *) 0 ;
18535 int result;
18536 void *argp1 = 0 ;
18537 int res1 = 0 ;
18538 PyObject *swig_obj[1] ;
18539
18540 if (!args) SWIG_fail;
18541 swig_obj[0] = args;
18542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18543 if (!SWIG_IsOK(res1)) {
18544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18545 }
18546 arg1 = reinterpret_cast< wxSlider * >(argp1);
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 resultobj = SWIG_From_int(static_cast< int >(result));
18554 return resultobj;
18555fail:
18556 return NULL;
d55e5bfc
RD
18557}
18558
18559
1bd55598
RD
18560SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18561 PyObject *resultobj = 0;
18562 wxSlider *arg1 = (wxSlider *) 0 ;
18563 int result;
18564 void *argp1 = 0 ;
18565 int res1 = 0 ;
18566 PyObject *swig_obj[1] ;
18567
18568 if (!args) SWIG_fail;
18569 swig_obj[0] = args;
18570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18571 if (!SWIG_IsOK(res1)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18573 }
18574 arg1 = reinterpret_cast< wxSlider * >(argp1);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)((wxSlider const *)arg1)->GetSelStart();
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_From_int(static_cast< int >(result));
18582 return resultobj;
18583fail:
18584 return NULL;
18585}
18586
18587
18588SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj = 0;
18590 wxSlider *arg1 = (wxSlider *) 0 ;
18591 int arg2 ;
18592 int arg3 ;
18593 void *argp1 = 0 ;
18594 int res1 = 0 ;
18595 int val2 ;
18596 int ecode2 = 0 ;
18597 int val3 ;
18598 int ecode3 = 0 ;
18599 PyObject * obj0 = 0 ;
18600 PyObject * obj1 = 0 ;
18601 PyObject * obj2 = 0 ;
18602 char * kwnames[] = {
18603 (char *) "self",(char *) "min",(char *) "max", NULL
18604 };
18605
18606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18608 if (!SWIG_IsOK(res1)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18610 }
18611 arg1 = reinterpret_cast< wxSlider * >(argp1);
18612 ecode2 = SWIG_AsVal_int(obj1, &val2);
18613 if (!SWIG_IsOK(ecode2)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18615 }
18616 arg2 = static_cast< int >(val2);
18617 ecode3 = SWIG_AsVal_int(obj2, &val3);
18618 if (!SWIG_IsOK(ecode3)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18620 }
18621 arg3 = static_cast< int >(val3);
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 (arg1)->SetSelection(arg2,arg3);
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 resultobj = SWIG_Py_Void();
18629 return resultobj;
18630fail:
18631 return NULL;
18632}
18633
18634
18635SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj = 0;
18637 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18638 SwigValueWrapper<wxVisualAttributes > result;
18639 int val1 ;
18640 int ecode1 = 0 ;
18641 PyObject * obj0 = 0 ;
18642 char * kwnames[] = {
18643 (char *) "variant", NULL
18644 };
18645
18646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18647 if (obj0) {
18648 ecode1 = SWIG_AsVal_int(obj0, &val1);
18649 if (!SWIG_IsOK(ecode1)) {
18650 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18651 }
18652 arg1 = static_cast< wxWindowVariant >(val1);
18653 }
18654 {
18655 if (!wxPyCheckForApp()) SWIG_fail;
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = wxSlider::GetClassDefaultAttributes(arg1);
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18662 return resultobj;
18663fail:
18664 return NULL;
d55e5bfc
RD
18665}
18666
18667
1bd55598
RD
18668SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18669 PyObject *obj;
18670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18671 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18672 return SWIG_Py_Void();
d55e5bfc
RD
18673}
18674
1bd55598
RD
18675SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18676 return SWIG_Python_InitShadowInstance(args);
18677}
d55e5bfc 18678
1bd55598
RD
18679SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18680 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18681 return 1;
d55e5bfc
RD
18682}
18683
18684
1bd55598
RD
18685SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18686 PyObject *pyobj = 0;
18687
18688 {
18689#if wxUSE_UNICODE
18690 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18691#else
18692 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18693#endif
18694 }
18695 return pyobj;
18696}
18697
18698
18699SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj = 0;
18701 wxWindow *arg1 = (wxWindow *) 0 ;
18702 int arg2 = (int) -1 ;
18703 wxString const &arg3_defvalue = wxPyEmptyString ;
18704 wxString *arg3 = (wxString *) &arg3_defvalue ;
18705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18707 wxSize const &arg5_defvalue = wxDefaultSize ;
18708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18709 long arg6 = (long) 0 ;
18710 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18711 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18712 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18713 wxString *arg8 = (wxString *) &arg8_defvalue ;
18714 wxToggleButton *result = 0 ;
18715 void *argp1 = 0 ;
18716 int res1 = 0 ;
18717 int val2 ;
18718 int ecode2 = 0 ;
18719 bool temp3 = false ;
18720 wxPoint temp4 ;
18721 wxSize temp5 ;
18722 long val6 ;
18723 int ecode6 = 0 ;
18724 void *argp7 = 0 ;
18725 int res7 = 0 ;
18726 bool temp8 = false ;
18727 PyObject * obj0 = 0 ;
18728 PyObject * obj1 = 0 ;
18729 PyObject * obj2 = 0 ;
18730 PyObject * obj3 = 0 ;
18731 PyObject * obj4 = 0 ;
18732 PyObject * obj5 = 0 ;
18733 PyObject * obj6 = 0 ;
18734 PyObject * obj7 = 0 ;
18735 char * kwnames[] = {
18736 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18737 };
18738
18739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18741 if (!SWIG_IsOK(res1)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18743 }
18744 arg1 = reinterpret_cast< wxWindow * >(argp1);
18745 if (obj1) {
18746 ecode2 = SWIG_AsVal_int(obj1, &val2);
18747 if (!SWIG_IsOK(ecode2)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18749 }
18750 arg2 = static_cast< int >(val2);
18751 }
18752 if (obj2) {
d55e5bfc 18753 {
1bd55598
RD
18754 arg3 = wxString_in_helper(obj2);
18755 if (arg3 == NULL) SWIG_fail;
18756 temp3 = true;
d55e5bfc 18757 }
1bd55598
RD
18758 }
18759 if (obj3) {
36ed4f51 18760 {
1bd55598
RD
18761 arg4 = &temp4;
18762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 18763 }
1bd55598
RD
18764 }
18765 if (obj4) {
d55e5bfc 18766 {
1bd55598
RD
18767 arg5 = &temp5;
18768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18769 }
1bd55598
RD
18770 }
18771 if (obj5) {
18772 ecode6 = SWIG_AsVal_long(obj5, &val6);
18773 if (!SWIG_IsOK(ecode6)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18775 }
18776 arg6 = static_cast< long >(val6);
18777 }
18778 if (obj6) {
18779 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18780 if (!SWIG_IsOK(res7)) {
18781 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18782 }
1bd55598
RD
18783 if (!argp7) {
18784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 18785 }
1bd55598
RD
18786 arg7 = reinterpret_cast< wxValidator * >(argp7);
18787 }
18788 if (obj7) {
d55e5bfc 18789 {
1bd55598
RD
18790 arg8 = wxString_in_helper(obj7);
18791 if (arg8 == NULL) SWIG_fail;
18792 temp8 = true;
d55e5bfc 18793 }
1bd55598
RD
18794 }
18795 {
18796 if (!wxPyCheckForApp()) SWIG_fail;
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18803 {
18804 if (temp3)
18805 delete arg3;
18806 }
18807 {
18808 if (temp8)
18809 delete arg8;
18810 }
18811 return resultobj;
18812fail:
18813 {
18814 if (temp3)
18815 delete arg3;
18816 }
18817 {
18818 if (temp8)
18819 delete arg8;
18820 }
18821 return NULL;
d55e5bfc
RD
18822}
18823
18824
1bd55598
RD
18825SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18826 PyObject *resultobj = 0;
18827 wxToggleButton *result = 0 ;
18828
18829 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18830 {
18831 if (!wxPyCheckForApp()) SWIG_fail;
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (wxToggleButton *)new wxToggleButton();
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18838 return resultobj;
18839fail:
18840 return NULL;
18841}
18842
18843
18844SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj = 0;
18846 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18847 wxWindow *arg2 = (wxWindow *) 0 ;
18848 int arg3 = (int) -1 ;
18849 wxString const &arg4_defvalue = wxPyEmptyString ;
18850 wxString *arg4 = (wxString *) &arg4_defvalue ;
18851 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18852 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18853 wxSize const &arg6_defvalue = wxDefaultSize ;
18854 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18855 long arg7 = (long) 0 ;
18856 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18857 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18858 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18859 wxString *arg9 = (wxString *) &arg9_defvalue ;
18860 bool result;
18861 void *argp1 = 0 ;
18862 int res1 = 0 ;
18863 void *argp2 = 0 ;
18864 int res2 = 0 ;
18865 int val3 ;
18866 int ecode3 = 0 ;
18867 bool temp4 = false ;
18868 wxPoint temp5 ;
18869 wxSize temp6 ;
18870 long val7 ;
18871 int ecode7 = 0 ;
18872 void *argp8 = 0 ;
18873 int res8 = 0 ;
18874 bool temp9 = false ;
18875 PyObject * obj0 = 0 ;
18876 PyObject * obj1 = 0 ;
18877 PyObject * obj2 = 0 ;
18878 PyObject * obj3 = 0 ;
18879 PyObject * obj4 = 0 ;
18880 PyObject * obj5 = 0 ;
18881 PyObject * obj6 = 0 ;
18882 PyObject * obj7 = 0 ;
18883 PyObject * obj8 = 0 ;
18884 char * kwnames[] = {
18885 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18886 };
18887
18888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18892 }
18893 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18895 if (!SWIG_IsOK(res2)) {
18896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18897 }
18898 arg2 = reinterpret_cast< wxWindow * >(argp2);
18899 if (obj2) {
18900 ecode3 = SWIG_AsVal_int(obj2, &val3);
18901 if (!SWIG_IsOK(ecode3)) {
18902 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18903 }
18904 arg3 = static_cast< int >(val3);
18905 }
18906 if (obj3) {
36ed4f51 18907 {
1bd55598
RD
18908 arg4 = wxString_in_helper(obj3);
18909 if (arg4 == NULL) SWIG_fail;
18910 temp4 = true;
36ed4f51 18911 }
1bd55598
RD
18912 }
18913 if (obj4) {
36ed4f51 18914 {
1bd55598
RD
18915 arg5 = &temp5;
18916 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 18917 }
1bd55598
RD
18918 }
18919 if (obj5) {
36ed4f51 18920 {
1bd55598
RD
18921 arg6 = &temp6;
18922 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 18923 }
1bd55598
RD
18924 }
18925 if (obj6) {
18926 ecode7 = SWIG_AsVal_long(obj6, &val7);
18927 if (!SWIG_IsOK(ecode7)) {
18928 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18929 }
18930 arg7 = static_cast< long >(val7);
18931 }
18932 if (obj7) {
18933 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18934 if (!SWIG_IsOK(res8)) {
18935 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 18936 }
1bd55598
RD
18937 if (!argp8) {
18938 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 18939 }
1bd55598
RD
18940 arg8 = reinterpret_cast< wxValidator * >(argp8);
18941 }
18942 if (obj8) {
d55e5bfc 18943 {
1bd55598
RD
18944 arg9 = wxString_in_helper(obj8);
18945 if (arg9 == NULL) SWIG_fail;
18946 temp9 = true;
d55e5bfc 18947 }
1bd55598
RD
18948 }
18949 {
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 {
18956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18957 }
18958 {
18959 if (temp4)
18960 delete arg4;
18961 }
18962 {
18963 if (temp9)
18964 delete arg9;
18965 }
18966 return resultobj;
18967fail:
18968 {
18969 if (temp4)
18970 delete arg4;
18971 }
18972 {
18973 if (temp9)
18974 delete arg9;
18975 }
18976 return NULL;
18977}
18978
18979
18980SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj = 0;
18982 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18983 bool arg2 ;
18984 void *argp1 = 0 ;
18985 int res1 = 0 ;
18986 bool val2 ;
18987 int ecode2 = 0 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char * kwnames[] = {
18991 (char *) "self",(char *) "value", NULL
18992 };
18993
18994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18998 }
18999 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19000 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19001 if (!SWIG_IsOK(ecode2)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19003 }
19004 arg2 = static_cast< bool >(val2);
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 (arg1)->SetValue(arg2);
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 resultobj = SWIG_Py_Void();
19012 return resultobj;
19013fail:
19014 return NULL;
d55e5bfc
RD
19015}
19016
19017
1bd55598
RD
19018SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19019 PyObject *resultobj = 0;
19020 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19021 bool result;
19022 void *argp1 = 0 ;
19023 int res1 = 0 ;
19024 PyObject *swig_obj[1] ;
19025
19026 if (!args) SWIG_fail;
19027 swig_obj[0] = args;
19028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19029 if (!SWIG_IsOK(res1)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19031 }
19032 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 {
19040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19041 }
19042 return resultobj;
19043fail:
19044 return NULL;
f20a2e1f
RD
19045}
19046
19047
1bd55598
RD
19048SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj = 0;
19050 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19051 SwigValueWrapper<wxVisualAttributes > result;
19052 int val1 ;
19053 int ecode1 = 0 ;
19054 PyObject * obj0 = 0 ;
19055 char * kwnames[] = {
19056 (char *) "variant", NULL
19057 };
19058
19059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19060 if (obj0) {
19061 ecode1 = SWIG_AsVal_int(obj0, &val1);
19062 if (!SWIG_IsOK(ecode1)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19064 }
19065 arg1 = static_cast< wxWindowVariant >(val1);
19066 }
19067 {
19068 if (!wxPyCheckForApp()) SWIG_fail;
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19075 return resultobj;
19076fail:
19077 return NULL;
d55e5bfc
RD
19078}
19079
19080
1bd55598
RD
19081SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19082 PyObject *obj;
19083 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19084 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19085 return SWIG_Py_Void();
d55e5bfc
RD
19086}
19087
1bd55598
RD
19088SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19089 return SWIG_Python_InitShadowInstance(args);
19090}
d55e5bfc 19091
1bd55598
RD
19092SWIGINTERN int NotebookNameStr_set(PyObject *) {
19093 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19094 return 1;
d55e5bfc
RD
19095}
19096
19097
1bd55598
RD
19098SWIGINTERN PyObject *NotebookNameStr_get(void) {
19099 PyObject *pyobj = 0;
19100
19101 {
d55e5bfc 19102#if wxUSE_UNICODE
1bd55598 19103 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19104#else
1bd55598 19105 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19106#endif
1bd55598
RD
19107 }
19108 return pyobj;
d55e5bfc
RD
19109}
19110
19111
1bd55598
RD
19112SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19113 PyObject *resultobj = 0;
19114 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19115 size_t result;
19116 void *argp1 = 0 ;
19117 int res1 = 0 ;
19118 PyObject *swig_obj[1] ;
19119
19120 if (!args) SWIG_fail;
19121 swig_obj[0] = args;
19122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19123 if (!SWIG_IsOK(res1)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19125 }
19126 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19134 return resultobj;
19135fail:
19136 return NULL;
19137}
19138
19139
19140SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj = 0;
19142 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19143 size_t arg2 ;
19144 wxWindow *result = 0 ;
19145 void *argp1 = 0 ;
19146 int res1 = 0 ;
19147 size_t val2 ;
19148 int ecode2 = 0 ;
19149 PyObject * obj0 = 0 ;
19150 PyObject * obj1 = 0 ;
19151 char * kwnames[] = {
19152 (char *) "self",(char *) "n", NULL
19153 };
19154
19155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19157 if (!SWIG_IsOK(res1)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19159 }
19160 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19161 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19162 if (!SWIG_IsOK(ecode2)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19164 }
19165 arg2 = static_cast< size_t >(val2);
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 result = (wxWindow *)(arg1)->GetPage(arg2);
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 {
19173 resultobj = wxPyMake_wxObject(result, 0);
19174 }
19175 return resultobj;
19176fail:
19177 return NULL;
d55e5bfc
RD
19178}
19179
19180
1bd55598
RD
19181SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19182 PyObject *resultobj = 0;
19183 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19184 wxWindow *result = 0 ;
19185 void *argp1 = 0 ;
19186 int res1 = 0 ;
19187 PyObject *swig_obj[1] ;
19188
19189 if (!args) SWIG_fail;
19190 swig_obj[0] = args;
19191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19192 if (!SWIG_IsOK(res1)) {
19193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19194 }
19195 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19196 {
19197 PyThreadState* __tstate = wxPyBeginAllowThreads();
19198 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 {
19203 resultobj = wxPyMake_wxObject(result, 0);
19204 }
19205 return resultobj;
19206fail:
19207 return NULL;
d55e5bfc
RD
19208}
19209
19210
1bd55598
RD
19211SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19212 PyObject *resultobj = 0;
19213 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19214 int result;
19215 void *argp1 = 0 ;
19216 int res1 = 0 ;
19217 PyObject *swig_obj[1] ;
19218
19219 if (!args) SWIG_fail;
19220 swig_obj[0] = args;
19221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19222 if (!SWIG_IsOK(res1)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19224 }
19225 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = SWIG_From_int(static_cast< int >(result));
19233 return resultobj;
19234fail:
19235 return NULL;
19236}
19237
19238
19239SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj = 0;
19241 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19242 size_t arg2 ;
19243 wxString *arg3 = 0 ;
19244 bool result;
19245 void *argp1 = 0 ;
19246 int res1 = 0 ;
19247 size_t val2 ;
19248 int ecode2 = 0 ;
19249 bool temp3 = false ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 PyObject * obj2 = 0 ;
19253 char * kwnames[] = {
19254 (char *) "self",(char *) "n",(char *) "strText", NULL
19255 };
19256
19257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19259 if (!SWIG_IsOK(res1)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19261 }
19262 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19263 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19264 if (!SWIG_IsOK(ecode2)) {
19265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19266 }
19267 arg2 = static_cast< size_t >(val2);
19268 {
19269 arg3 = wxString_in_helper(obj2);
19270 if (arg3 == NULL) SWIG_fail;
19271 temp3 = true;
19272 }
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 {
19280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19281 }
19282 {
19283 if (temp3)
19284 delete arg3;
19285 }
19286 return resultobj;
19287fail:
19288 {
19289 if (temp3)
19290 delete arg3;
19291 }
19292 return NULL;
19293}
19294
19295
19296SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj = 0;
19298 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19299 size_t arg2 ;
19300 wxString result;
19301 void *argp1 = 0 ;
19302 int res1 = 0 ;
19303 size_t val2 ;
19304 int ecode2 = 0 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
19307 char * kwnames[] = {
19308 (char *) "self",(char *) "n", NULL
19309 };
19310
19311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19313 if (!SWIG_IsOK(res1)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19315 }
19316 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19317 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19318 if (!SWIG_IsOK(ecode2)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19320 }
19321 arg2 = static_cast< size_t >(val2);
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 {
19329#if wxUSE_UNICODE
19330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19331#else
19332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19333#endif
19334 }
19335 return resultobj;
19336fail:
19337 return NULL;
19338}
19339
19340
19341SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj = 0;
19343 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19344 wxImageList *arg2 = (wxImageList *) 0 ;
19345 void *argp1 = 0 ;
19346 int res1 = 0 ;
19347 void *argp2 = 0 ;
19348 int res2 = 0 ;
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char * kwnames[] = {
19352 (char *) "self",(char *) "imageList", NULL
19353 };
19354
19355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19357 if (!SWIG_IsOK(res1)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19359 }
19360 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19362 if (!SWIG_IsOK(res2)) {
19363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19364 }
19365 arg2 = reinterpret_cast< wxImageList * >(argp2);
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 (arg1)->SetImageList(arg2);
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 resultobj = SWIG_Py_Void();
19373 return resultobj;
19374fail:
19375 return NULL;
19376}
19377
19378
19379SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj = 0;
19381 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19382 wxImageList *arg2 = (wxImageList *) 0 ;
19383 void *argp1 = 0 ;
19384 int res1 = 0 ;
19385 int res2 = 0 ;
19386 PyObject * obj0 = 0 ;
19387 PyObject * obj1 = 0 ;
19388 char * kwnames[] = {
19389 (char *) "self",(char *) "imageList", NULL
19390 };
19391
19392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19394 if (!SWIG_IsOK(res1)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19396 }
19397 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19398 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19399 if (!SWIG_IsOK(res2)) {
19400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19401 }
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 (arg1)->AssignImageList(arg2);
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 resultobj = SWIG_Py_Void();
19409 return resultobj;
19410fail:
19411 return NULL;
d55e5bfc
RD
19412}
19413
19414
1bd55598
RD
19415SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19416 PyObject *resultobj = 0;
19417 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19418 wxImageList *result = 0 ;
19419 void *argp1 = 0 ;
19420 int res1 = 0 ;
19421 PyObject *swig_obj[1] ;
19422
19423 if (!args) SWIG_fail;
19424 swig_obj[0] = args;
19425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19426 if (!SWIG_IsOK(res1)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19428 }
19429 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
3ecece7e
RD
19436 {
19437 resultobj = wxPyMake_wxObject(result, (bool)0);
19438 }
1bd55598
RD
19439 return resultobj;
19440fail:
19441 return NULL;
19442}
19443
19444
19445SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj = 0;
19447 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19448 size_t arg2 ;
19449 int result;
19450 void *argp1 = 0 ;
19451 int res1 = 0 ;
19452 size_t val2 ;
19453 int ecode2 = 0 ;
19454 PyObject * obj0 = 0 ;
19455 PyObject * obj1 = 0 ;
19456 char * kwnames[] = {
19457 (char *) "self",(char *) "n", NULL
19458 };
19459
19460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19462 if (!SWIG_IsOK(res1)) {
19463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19464 }
19465 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19466 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19467 if (!SWIG_IsOK(ecode2)) {
19468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19469 }
19470 arg2 = static_cast< size_t >(val2);
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 resultobj = SWIG_From_int(static_cast< int >(result));
19478 return resultobj;
19479fail:
19480 return NULL;
19481}
19482
19483
19484SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj = 0;
19486 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19487 size_t arg2 ;
19488 int arg3 ;
19489 bool result;
19490 void *argp1 = 0 ;
19491 int res1 = 0 ;
19492 size_t val2 ;
19493 int ecode2 = 0 ;
19494 int val3 ;
19495 int ecode3 = 0 ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 PyObject * obj2 = 0 ;
19499 char * kwnames[] = {
19500 (char *) "self",(char *) "n",(char *) "imageId", NULL
19501 };
19502
19503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19505 if (!SWIG_IsOK(res1)) {
19506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19507 }
19508 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19509 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19510 if (!SWIG_IsOK(ecode2)) {
19511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19512 }
19513 arg2 = static_cast< size_t >(val2);
19514 ecode3 = SWIG_AsVal_int(obj2, &val3);
19515 if (!SWIG_IsOK(ecode3)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19517 }
19518 arg3 = static_cast< int >(val3);
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 {
19526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19527 }
19528 return resultobj;
19529fail:
19530 return NULL;
19531}
19532
19533
19534SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj = 0;
19536 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19537 wxSize *arg2 = 0 ;
19538 void *argp1 = 0 ;
19539 int res1 = 0 ;
19540 wxSize temp2 ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 char * kwnames[] = {
19544 (char *) "self",(char *) "size", NULL
19545 };
19546
19547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19549 if (!SWIG_IsOK(res1)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19551 }
19552 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19553 {
19554 arg2 = &temp2;
19555 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19556 }
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 (arg1)->SetPageSize((wxSize const &)*arg2);
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 resultobj = SWIG_Py_Void();
19564 return resultobj;
19565fail:
19566 return NULL;
19567}
19568
19569
19570SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj = 0;
19572 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19573 wxSize *arg2 = 0 ;
19574 wxSize result;
19575 void *argp1 = 0 ;
19576 int res1 = 0 ;
19577 wxSize temp2 ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char * kwnames[] = {
19581 (char *) "self",(char *) "sizePage", NULL
19582 };
19583
19584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19586 if (!SWIG_IsOK(res1)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19588 }
19589 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19590 {
19591 arg2 = &temp2;
19592 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19593 }
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19601 return resultobj;
19602fail:
19603 return NULL;
d55e5bfc
RD
19604}
19605
19606
1bd55598
RD
19607SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19608 PyObject *resultobj = 0;
19609 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19610 unsigned int result;
1bd55598
RD
19611 void *argp1 = 0 ;
19612 int res1 = 0 ;
19613 PyObject *swig_obj[1] ;
19614
19615 if (!args) SWIG_fail;
19616 swig_obj[0] = args;
19617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19620 }
19621 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19624 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
1bd55598
RD
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
e9d6f3a4 19628 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
19629 return resultobj;
19630fail:
19631 return NULL;
19632}
19633
19634
19635SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj = 0;
19637 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19638 unsigned int arg2 ;
1bd55598
RD
19639 void *argp1 = 0 ;
19640 int res1 = 0 ;
e9d6f3a4 19641 unsigned int val2 ;
1bd55598
RD
19642 int ecode2 = 0 ;
19643 PyObject * obj0 = 0 ;
19644 PyObject * obj1 = 0 ;
19645 char * kwnames[] = {
19646 (char *) "self",(char *) "internalBorder", NULL
19647 };
19648
19649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19651 if (!SWIG_IsOK(res1)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19653 }
19654 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19655 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 19656 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 19658 }
e9d6f3a4 19659 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 (arg1)->SetInternalBorder(arg2);
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 resultobj = SWIG_Py_Void();
19667 return resultobj;
19668fail:
19669 return NULL;
d55e5bfc
RD
19670}
19671
19672
1bd55598
RD
19673SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19674 PyObject *resultobj = 0;
19675 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19676 bool result;
19677 void *argp1 = 0 ;
19678 int res1 = 0 ;
19679 PyObject *swig_obj[1] ;
19680
19681 if (!args) SWIG_fail;
19682 swig_obj[0] = args;
19683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19684 if (!SWIG_IsOK(res1)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19686 }
19687 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 {
19695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19696 }
19697 return resultobj;
19698fail:
19699 return NULL;
19700}
19701
19702
e9d6f3a4
RD
19703SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj = 0;
19705 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19706 int arg2 ;
19707 void *argp1 = 0 ;
19708 int res1 = 0 ;
19709 int val2 ;
19710 int ecode2 = 0 ;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 char * kwnames[] = {
19714 (char *) "self",(char *) "margin", NULL
19715 };
19716
19717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19719 if (!SWIG_IsOK(res1)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19721 }
19722 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19723 ecode2 = SWIG_AsVal_int(obj1, &val2);
19724 if (!SWIG_IsOK(ecode2)) {
19725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19726 }
19727 arg2 = static_cast< int >(val2);
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 (arg1)->SetControlMargin(arg2);
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 resultobj = SWIG_Py_Void();
19735 return resultobj;
19736fail:
19737 return NULL;
19738}
19739
19740
19741SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19742 PyObject *resultobj = 0;
19743 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19744 int result;
19745 void *argp1 = 0 ;
19746 int res1 = 0 ;
19747 PyObject *swig_obj[1] ;
19748
19749 if (!args) SWIG_fail;
19750 swig_obj[0] = args;
19751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19752 if (!SWIG_IsOK(res1)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19754 }
19755 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_From_int(static_cast< int >(result));
19763 return resultobj;
19764fail:
19765 return NULL;
19766}
19767
19768
1bd55598
RD
19769SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj = 0;
19771 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19772 bool arg2 ;
19773 void *argp1 = 0 ;
19774 int res1 = 0 ;
19775 bool val2 ;
19776 int ecode2 = 0 ;
19777 PyObject * obj0 = 0 ;
19778 PyObject * obj1 = 0 ;
19779 char * kwnames[] = {
19780 (char *) "self",(char *) "fit", NULL
19781 };
19782
19783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19785 if (!SWIG_IsOK(res1)) {
19786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19787 }
19788 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19789 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19790 if (!SWIG_IsOK(ecode2)) {
19791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19792 }
19793 arg2 = static_cast< bool >(val2);
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 (arg1)->SetFitToCurrentPage(arg2);
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 resultobj = SWIG_Py_Void();
19801 return resultobj;
19802fail:
19803 return NULL;
d55e5bfc
RD
19804}
19805
19806
1bd55598
RD
19807SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19808 PyObject *resultobj = 0;
19809 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19810 bool result;
19811 void *argp1 = 0 ;
19812 int res1 = 0 ;
19813 PyObject *swig_obj[1] ;
19814
19815 if (!args) SWIG_fail;
19816 swig_obj[0] = args;
19817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19818 if (!SWIG_IsOK(res1)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19820 }
19821 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 {
19829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19830 }
19831 return resultobj;
19832fail:
19833 return NULL;
19834}
19835
19836
e9d6f3a4
RD
19837SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19838 PyObject *resultobj = 0;
19839 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19840 wxSizer *result = 0 ;
19841 void *argp1 = 0 ;
19842 int res1 = 0 ;
19843 PyObject *swig_obj[1] ;
19844
19845 if (!args) SWIG_fail;
19846 swig_obj[0] = args;
19847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19848 if (!SWIG_IsOK(res1)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19850 }
19851 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 {
19859 resultobj = wxPyMake_wxObject(result, (bool)0);
19860 }
19861 return resultobj;
19862fail:
19863 return NULL;
19864}
19865
19866
1bd55598
RD
19867SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj = 0;
19869 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19870 size_t arg2 ;
19871 bool result;
19872 void *argp1 = 0 ;
19873 int res1 = 0 ;
19874 size_t val2 ;
19875 int ecode2 = 0 ;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 char * kwnames[] = {
19879 (char *) "self",(char *) "n", NULL
19880 };
19881
19882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19884 if (!SWIG_IsOK(res1)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19886 }
19887 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19888 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19889 if (!SWIG_IsOK(ecode2)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19891 }
19892 arg2 = static_cast< size_t >(val2);
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 result = (bool)(arg1)->DeletePage(arg2);
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 {
19900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19901 }
19902 return resultobj;
19903fail:
19904 return NULL;
19905}
19906
19907
19908SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj = 0;
19910 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19911 size_t arg2 ;
19912 bool result;
19913 void *argp1 = 0 ;
19914 int res1 = 0 ;
19915 size_t val2 ;
19916 int ecode2 = 0 ;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 char * kwnames[] = {
19920 (char *) "self",(char *) "n", NULL
19921 };
19922
19923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19925 if (!SWIG_IsOK(res1)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19927 }
19928 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19929 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19930 if (!SWIG_IsOK(ecode2)) {
19931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19932 }
19933 arg2 = static_cast< size_t >(val2);
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 result = (bool)(arg1)->RemovePage(arg2);
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 {
19941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19942 }
19943 return resultobj;
19944fail:
19945 return NULL;
f20a2e1f
RD
19946}
19947
19948
1bd55598
RD
19949SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19950 PyObject *resultobj = 0;
19951 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19952 bool result;
19953 void *argp1 = 0 ;
19954 int res1 = 0 ;
19955 PyObject *swig_obj[1] ;
19956
19957 if (!args) SWIG_fail;
19958 swig_obj[0] = args;
19959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19960 if (!SWIG_IsOK(res1)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19962 }
19963 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (bool)(arg1)->DeleteAllPages();
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
19971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19972 }
19973 return resultobj;
19974fail:
19975 return NULL;
19976}
19977
19978
19979SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19980 PyObject *resultobj = 0;
19981 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19982 wxWindow *arg2 = (wxWindow *) 0 ;
19983 wxString *arg3 = 0 ;
19984 bool arg4 = (bool) false ;
19985 int arg5 = (int) -1 ;
19986 bool result;
19987 void *argp1 = 0 ;
19988 int res1 = 0 ;
19989 void *argp2 = 0 ;
19990 int res2 = 0 ;
19991 bool temp3 = false ;
19992 bool val4 ;
19993 int ecode4 = 0 ;
19994 int val5 ;
19995 int ecode5 = 0 ;
19996 PyObject * obj0 = 0 ;
19997 PyObject * obj1 = 0 ;
19998 PyObject * obj2 = 0 ;
19999 PyObject * obj3 = 0 ;
20000 PyObject * obj4 = 0 ;
20001 char * kwnames[] = {
20002 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20003 };
20004
20005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20009 }
20010 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20011 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20012 if (!SWIG_IsOK(res2)) {
20013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20014 }
20015 arg2 = reinterpret_cast< wxWindow * >(argp2);
20016 {
20017 arg3 = wxString_in_helper(obj2);
20018 if (arg3 == NULL) SWIG_fail;
20019 temp3 = true;
20020 }
20021 if (obj3) {
20022 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20023 if (!SWIG_IsOK(ecode4)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20025 }
20026 arg4 = static_cast< bool >(val4);
20027 }
20028 if (obj4) {
20029 ecode5 = SWIG_AsVal_int(obj4, &val5);
20030 if (!SWIG_IsOK(ecode5)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20032 }
20033 arg5 = static_cast< int >(val5);
20034 }
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 {
20042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20043 }
20044 {
20045 if (temp3)
20046 delete arg3;
20047 }
20048 return resultobj;
20049fail:
20050 {
20051 if (temp3)
20052 delete arg3;
20053 }
20054 return NULL;
20055}
20056
20057
20058SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj = 0;
20060 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20061 size_t arg2 ;
20062 wxWindow *arg3 = (wxWindow *) 0 ;
20063 wxString *arg4 = 0 ;
20064 bool arg5 = (bool) false ;
20065 int arg6 = (int) -1 ;
20066 bool result;
20067 void *argp1 = 0 ;
20068 int res1 = 0 ;
20069 size_t val2 ;
20070 int ecode2 = 0 ;
20071 void *argp3 = 0 ;
20072 int res3 = 0 ;
20073 bool temp4 = false ;
20074 bool val5 ;
20075 int ecode5 = 0 ;
20076 int val6 ;
20077 int ecode6 = 0 ;
20078 PyObject * obj0 = 0 ;
20079 PyObject * obj1 = 0 ;
20080 PyObject * obj2 = 0 ;
20081 PyObject * obj3 = 0 ;
20082 PyObject * obj4 = 0 ;
20083 PyObject * obj5 = 0 ;
20084 char * kwnames[] = {
20085 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20086 };
20087
20088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20090 if (!SWIG_IsOK(res1)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20092 }
20093 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20095 if (!SWIG_IsOK(ecode2)) {
20096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20097 }
20098 arg2 = static_cast< size_t >(val2);
20099 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20100 if (!SWIG_IsOK(res3)) {
20101 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20102 }
20103 arg3 = reinterpret_cast< wxWindow * >(argp3);
20104 {
20105 arg4 = wxString_in_helper(obj3);
20106 if (arg4 == NULL) SWIG_fail;
20107 temp4 = true;
20108 }
20109 if (obj4) {
20110 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20111 if (!SWIG_IsOK(ecode5)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20113 }
20114 arg5 = static_cast< bool >(val5);
20115 }
20116 if (obj5) {
20117 ecode6 = SWIG_AsVal_int(obj5, &val6);
20118 if (!SWIG_IsOK(ecode6)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20120 }
20121 arg6 = static_cast< int >(val6);
20122 }
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 {
20130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20131 }
20132 {
20133 if (temp4)
20134 delete arg4;
20135 }
20136 return resultobj;
20137fail:
20138 {
20139 if (temp4)
20140 delete arg4;
20141 }
20142 return NULL;
20143}
20144
20145
20146SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj = 0;
20148 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20149 size_t arg2 ;
20150 int result;
20151 void *argp1 = 0 ;
20152 int res1 = 0 ;
20153 size_t val2 ;
20154 int ecode2 = 0 ;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157 char * kwnames[] = {
20158 (char *) "self",(char *) "n", NULL
20159 };
20160
20161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20163 if (!SWIG_IsOK(res1)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20165 }
20166 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20167 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20168 if (!SWIG_IsOK(ecode2)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20170 }
20171 arg2 = static_cast< size_t >(val2);
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (int)(arg1)->SetSelection(arg2);
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 resultobj = SWIG_From_int(static_cast< int >(result));
20179 return resultobj;
20180fail:
20181 return NULL;
20182}
20183
20184
b39fe951
RD
20185SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj = 0;
20187 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20188 size_t arg2 ;
20189 int result;
20190 void *argp1 = 0 ;
20191 int res1 = 0 ;
20192 size_t val2 ;
20193 int ecode2 = 0 ;
20194 PyObject * obj0 = 0 ;
20195 PyObject * obj1 = 0 ;
20196 char * kwnames[] = {
20197 (char *) "self",(char *) "n", NULL
20198 };
20199
20200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20202 if (!SWIG_IsOK(res1)) {
20203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20204 }
20205 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20206 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20207 if (!SWIG_IsOK(ecode2)) {
20208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20209 }
20210 arg2 = static_cast< size_t >(val2);
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 result = (int)(arg1)->ChangeSelection(arg2);
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 resultobj = SWIG_From_int(static_cast< int >(result));
20218 return resultobj;
20219fail:
20220 return NULL;
20221}
20222
20223
1bd55598
RD
20224SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj = 0;
20226 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20227 bool arg2 = (bool) true ;
20228 void *argp1 = 0 ;
20229 int res1 = 0 ;
20230 bool val2 ;
20231 int ecode2 = 0 ;
20232 PyObject * obj0 = 0 ;
20233 PyObject * obj1 = 0 ;
20234 char * kwnames[] = {
20235 (char *) "self",(char *) "forward", NULL
20236 };
20237
20238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20240 if (!SWIG_IsOK(res1)) {
20241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20242 }
20243 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20244 if (obj1) {
20245 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20246 if (!SWIG_IsOK(ecode2)) {
20247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20248 }
20249 arg2 = static_cast< bool >(val2);
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->AdvanceSelection(arg2);
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 resultobj = SWIG_Py_Void();
20258 return resultobj;
20259fail:
20260 return NULL;
20261}
20262
20263
704eda0c
RD
20264SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj = 0;
20266 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20267 wxPoint *arg2 = 0 ;
20268 long *arg3 = (long *) 0 ;
20269 int result;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 wxPoint temp2 ;
20273 long temp3 ;
20274 int res3 = SWIG_TMPOBJ ;
20275 PyObject * obj0 = 0 ;
20276 PyObject * obj1 = 0 ;
20277 char * kwnames[] = {
20278 (char *) "self",(char *) "pt", NULL
20279 };
20280
20281 arg3 = &temp3;
20282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20284 if (!SWIG_IsOK(res1)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20286 }
20287 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20288 {
20289 arg2 = &temp2;
20290 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20291 }
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 resultobj = SWIG_From_int(static_cast< int >(result));
20299 if (SWIG_IsTmpObj(res3)) {
20300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20301 } else {
20302 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20304 }
20305 return resultobj;
20306fail:
20307 return NULL;
20308}
20309
20310
1bd55598
RD
20311SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj = 0;
20313 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20314 SwigValueWrapper<wxVisualAttributes > result;
20315 int val1 ;
20316 int ecode1 = 0 ;
20317 PyObject * obj0 = 0 ;
20318 char * kwnames[] = {
20319 (char *) "variant", NULL
20320 };
20321
20322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20323 if (obj0) {
20324 ecode1 = SWIG_AsVal_int(obj0, &val1);
20325 if (!SWIG_IsOK(ecode1)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20327 }
20328 arg1 = static_cast< wxWindowVariant >(val1);
20329 }
20330 {
20331 if (!wxPyCheckForApp()) SWIG_fail;
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20338 return resultobj;
20339fail:
20340 return NULL;
20341}
20342
20343
20344SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20345 PyObject *obj;
20346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20347 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20348 return SWIG_Py_Void();
20349}
20350
20351SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj = 0;
20353 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20354 int arg2 = (int) 0 ;
20355 int arg3 = (int) -1 ;
20356 int arg4 = (int) -1 ;
20357 wxBookCtrlBaseEvent *result = 0 ;
20358 int val1 ;
20359 int ecode1 = 0 ;
20360 int val2 ;
20361 int ecode2 = 0 ;
20362 int val3 ;
20363 int ecode3 = 0 ;
20364 int val4 ;
20365 int ecode4 = 0 ;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 PyObject * obj2 = 0 ;
20369 PyObject * obj3 = 0 ;
20370 char * kwnames[] = {
20371 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20372 };
20373
20374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20375 if (obj0) {
20376 ecode1 = SWIG_AsVal_int(obj0, &val1);
20377 if (!SWIG_IsOK(ecode1)) {
20378 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20379 }
20380 arg1 = static_cast< wxEventType >(val1);
20381 }
20382 if (obj1) {
20383 ecode2 = SWIG_AsVal_int(obj1, &val2);
20384 if (!SWIG_IsOK(ecode2)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20386 }
20387 arg2 = static_cast< int >(val2);
20388 }
20389 if (obj2) {
20390 ecode3 = SWIG_AsVal_int(obj2, &val3);
20391 if (!SWIG_IsOK(ecode3)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20393 }
20394 arg3 = static_cast< int >(val3);
20395 }
20396 if (obj3) {
20397 ecode4 = SWIG_AsVal_int(obj3, &val4);
20398 if (!SWIG_IsOK(ecode4)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20400 }
20401 arg4 = static_cast< int >(val4);
20402 }
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20410 return resultobj;
20411fail:
20412 return NULL;
d55e5bfc
RD
20413}
20414
20415
1bd55598
RD
20416SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20417 PyObject *resultobj = 0;
20418 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20419 int result;
20420 void *argp1 = 0 ;
20421 int res1 = 0 ;
20422 PyObject *swig_obj[1] ;
20423
20424 if (!args) SWIG_fail;
20425 swig_obj[0] = args;
20426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20427 if (!SWIG_IsOK(res1)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20429 }
20430 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20434 wxPyEndAllowThreads(__tstate);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
20437 resultobj = SWIG_From_int(static_cast< int >(result));
20438 return resultobj;
20439fail:
20440 return NULL;
20441}
20442
20443
20444SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj = 0;
20446 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20447 int arg2 ;
20448 void *argp1 = 0 ;
20449 int res1 = 0 ;
20450 int val2 ;
20451 int ecode2 = 0 ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 char * kwnames[] = {
20455 (char *) "self",(char *) "nSel", NULL
20456 };
20457
20458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20460 if (!SWIG_IsOK(res1)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20462 }
20463 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20464 ecode2 = SWIG_AsVal_int(obj1, &val2);
20465 if (!SWIG_IsOK(ecode2)) {
20466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20467 }
20468 arg2 = static_cast< int >(val2);
20469 {
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 (arg1)->SetSelection(arg2);
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = SWIG_Py_Void();
20476 return resultobj;
20477fail:
20478 return NULL;
d55e5bfc
RD
20479}
20480
20481
1bd55598
RD
20482SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20483 PyObject *resultobj = 0;
20484 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20485 int result;
20486 void *argp1 = 0 ;
20487 int res1 = 0 ;
20488 PyObject *swig_obj[1] ;
20489
20490 if (!args) SWIG_fail;
20491 swig_obj[0] = args;
20492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20493 if (!SWIG_IsOK(res1)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20495 }
20496 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 resultobj = SWIG_From_int(static_cast< int >(result));
20504 return resultobj;
20505fail:
20506 return NULL;
20507}
20508
20509
20510SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj = 0;
20512 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20513 int arg2 ;
20514 void *argp1 = 0 ;
20515 int res1 = 0 ;
20516 int val2 ;
20517 int ecode2 = 0 ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 char * kwnames[] = {
20521 (char *) "self",(char *) "nOldSel", NULL
20522 };
20523
20524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20526 if (!SWIG_IsOK(res1)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20528 }
20529 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20530 ecode2 = SWIG_AsVal_int(obj1, &val2);
20531 if (!SWIG_IsOK(ecode2)) {
20532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20533 }
20534 arg2 = static_cast< int >(val2);
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->SetOldSelection(arg2);
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 resultobj = SWIG_Py_Void();
20542 return resultobj;
20543fail:
20544 return NULL;
20545}
20546
20547
20548SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20549 PyObject *obj;
20550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20551 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20552 return SWIG_Py_Void();
20553}
20554
20555SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20556 return SWIG_Python_InitShadowInstance(args);
20557}
20558
20559SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj = 0;
20561 wxWindow *arg1 = (wxWindow *) 0 ;
20562 int arg2 = (int) -1 ;
20563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20565 wxSize const &arg4_defvalue = wxDefaultSize ;
20566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20567 long arg5 = (long) 0 ;
20568 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20569 wxString *arg6 = (wxString *) &arg6_defvalue ;
20570 wxNotebook *result = 0 ;
20571 void *argp1 = 0 ;
20572 int res1 = 0 ;
20573 int val2 ;
20574 int ecode2 = 0 ;
20575 wxPoint temp3 ;
20576 wxSize temp4 ;
20577 long val5 ;
20578 int ecode5 = 0 ;
20579 bool temp6 = false ;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 PyObject * obj2 = 0 ;
20583 PyObject * obj3 = 0 ;
20584 PyObject * obj4 = 0 ;
20585 PyObject * obj5 = 0 ;
20586 char * kwnames[] = {
20587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20588 };
20589
20590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20592 if (!SWIG_IsOK(res1)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20594 }
20595 arg1 = reinterpret_cast< wxWindow * >(argp1);
20596 if (obj1) {
20597 ecode2 = SWIG_AsVal_int(obj1, &val2);
20598 if (!SWIG_IsOK(ecode2)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20600 }
20601 arg2 = static_cast< int >(val2);
20602 }
20603 if (obj2) {
20604 {
20605 arg3 = &temp3;
20606 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 20607 }
1bd55598
RD
20608 }
20609 if (obj3) {
d55e5bfc 20610 {
1bd55598
RD
20611 arg4 = &temp4;
20612 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20613 }
1bd55598
RD
20614 }
20615 if (obj4) {
20616 ecode5 = SWIG_AsVal_long(obj4, &val5);
20617 if (!SWIG_IsOK(ecode5)) {
20618 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20619 }
20620 arg5 = static_cast< long >(val5);
20621 }
20622 if (obj5) {
d55e5bfc 20623 {
1bd55598
RD
20624 arg6 = wxString_in_helper(obj5);
20625 if (arg6 == NULL) SWIG_fail;
20626 temp6 = true;
d55e5bfc 20627 }
1bd55598
RD
20628 }
20629 {
20630 if (!wxPyCheckForApp()) SWIG_fail;
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20637 {
20638 if (temp6)
20639 delete arg6;
20640 }
20641 return resultobj;
20642fail:
20643 {
20644 if (temp6)
20645 delete arg6;
20646 }
20647 return NULL;
20648}
20649
20650
20651SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20652 PyObject *resultobj = 0;
20653 wxNotebook *result = 0 ;
20654
20655 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20656 {
20657 if (!wxPyCheckForApp()) SWIG_fail;
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (wxNotebook *)new wxNotebook();
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20664 return resultobj;
20665fail:
20666 return NULL;
20667}
20668
20669
20670SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj = 0;
20672 wxNotebook *arg1 = (wxNotebook *) 0 ;
20673 wxWindow *arg2 = (wxWindow *) 0 ;
20674 int arg3 = (int) -1 ;
20675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20677 wxSize const &arg5_defvalue = wxDefaultSize ;
20678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20679 long arg6 = (long) 0 ;
20680 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20681 wxString *arg7 = (wxString *) &arg7_defvalue ;
20682 bool result;
20683 void *argp1 = 0 ;
20684 int res1 = 0 ;
20685 void *argp2 = 0 ;
20686 int res2 = 0 ;
20687 int val3 ;
20688 int ecode3 = 0 ;
20689 wxPoint temp4 ;
20690 wxSize temp5 ;
20691 long val6 ;
20692 int ecode6 = 0 ;
20693 bool temp7 = false ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 PyObject * obj2 = 0 ;
20697 PyObject * obj3 = 0 ;
20698 PyObject * obj4 = 0 ;
20699 PyObject * obj5 = 0 ;
20700 PyObject * obj6 = 0 ;
20701 char * kwnames[] = {
20702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20703 };
20704
20705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20707 if (!SWIG_IsOK(res1)) {
20708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20709 }
20710 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20712 if (!SWIG_IsOK(res2)) {
20713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20714 }
20715 arg2 = reinterpret_cast< wxWindow * >(argp2);
20716 if (obj2) {
20717 ecode3 = SWIG_AsVal_int(obj2, &val3);
20718 if (!SWIG_IsOK(ecode3)) {
20719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20720 }
20721 arg3 = static_cast< int >(val3);
20722 }
20723 if (obj3) {
d55e5bfc 20724 {
1bd55598
RD
20725 arg4 = &temp4;
20726 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20727 }
1bd55598
RD
20728 }
20729 if (obj4) {
d55e5bfc 20730 {
1bd55598
RD
20731 arg5 = &temp5;
20732 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20733 }
1bd55598
RD
20734 }
20735 if (obj5) {
20736 ecode6 = SWIG_AsVal_long(obj5, &val6);
20737 if (!SWIG_IsOK(ecode6)) {
20738 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20739 }
20740 arg6 = static_cast< long >(val6);
20741 }
20742 if (obj6) {
d55e5bfc 20743 {
1bd55598
RD
20744 arg7 = wxString_in_helper(obj6);
20745 if (arg7 == NULL) SWIG_fail;
20746 temp7 = true;
d55e5bfc 20747 }
1bd55598
RD
20748 }
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 {
20756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20757 }
20758 {
20759 if (temp7)
20760 delete arg7;
20761 }
20762 return resultobj;
20763fail:
20764 {
20765 if (temp7)
20766 delete arg7;
20767 }
20768 return NULL;
d55e5bfc
RD
20769}
20770
20771
1bd55598
RD
20772SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20773 PyObject *resultobj = 0;
20774 wxNotebook *arg1 = (wxNotebook *) 0 ;
20775 int result;
20776 void *argp1 = 0 ;
20777 int res1 = 0 ;
20778 PyObject *swig_obj[1] ;
20779
20780 if (!args) SWIG_fail;
20781 swig_obj[0] = args;
20782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20783 if (!SWIG_IsOK(res1)) {
20784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20785 }
20786 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = SWIG_From_int(static_cast< int >(result));
20794 return resultobj;
20795fail:
20796 return NULL;
20797}
20798
20799
20800SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj = 0;
20802 wxNotebook *arg1 = (wxNotebook *) 0 ;
20803 wxSize *arg2 = 0 ;
20804 void *argp1 = 0 ;
20805 int res1 = 0 ;
20806 wxSize temp2 ;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809 char * kwnames[] = {
20810 (char *) "self",(char *) "padding", NULL
20811 };
20812
20813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20815 if (!SWIG_IsOK(res1)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20817 }
20818 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20819 {
20820 arg2 = &temp2;
20821 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20822 }
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 (arg1)->SetPadding((wxSize const &)*arg2);
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = SWIG_Py_Void();
20830 return resultobj;
20831fail:
20832 return NULL;
20833}
20834
20835
20836SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj = 0;
20838 wxNotebook *arg1 = (wxNotebook *) 0 ;
20839 wxSize *arg2 = 0 ;
20840 void *argp1 = 0 ;
20841 int res1 = 0 ;
20842 wxSize temp2 ;
20843 PyObject * obj0 = 0 ;
20844 PyObject * obj1 = 0 ;
20845 char * kwnames[] = {
20846 (char *) "self",(char *) "sz", NULL
20847 };
20848
20849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20851 if (!SWIG_IsOK(res1)) {
20852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20853 }
20854 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20855 {
20856 arg2 = &temp2;
20857 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20858 }
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 (arg1)->SetTabSize((wxSize const &)*arg2);
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 resultobj = SWIG_Py_Void();
20866 return resultobj;
20867fail:
20868 return NULL;
20869}
20870
20871
1bd55598
RD
20872SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20873 PyObject *resultobj = 0;
20874 wxNotebook *arg1 = (wxNotebook *) 0 ;
20875 wxColour result;
20876 void *argp1 = 0 ;
20877 int res1 = 0 ;
20878 PyObject *swig_obj[1] ;
20879
20880 if (!args) SWIG_fail;
20881 swig_obj[0] = args;
20882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20883 if (!SWIG_IsOK(res1)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20885 }
20886 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20894 return resultobj;
20895fail:
20896 return NULL;
20897}
20898
20899
20900SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj = 0;
20902 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20903 SwigValueWrapper<wxVisualAttributes > result;
20904 int val1 ;
20905 int ecode1 = 0 ;
20906 PyObject * obj0 = 0 ;
20907 char * kwnames[] = {
20908 (char *) "variant", NULL
20909 };
20910
20911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20912 if (obj0) {
20913 ecode1 = SWIG_AsVal_int(obj0, &val1);
20914 if (!SWIG_IsOK(ecode1)) {
20915 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20916 }
20917 arg1 = static_cast< wxWindowVariant >(val1);
20918 }
20919 {
20920 if (!wxPyCheckForApp()) SWIG_fail;
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = wxNotebook::GetClassDefaultAttributes(arg1);
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20927 return resultobj;
20928fail:
20929 return NULL;
20930}
20931
20932
b39fe951
RD
20933SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj = 0;
20935 wxNotebook *arg1 = (wxNotebook *) 0 ;
20936 int arg2 ;
20937 bool result;
20938 void *argp1 = 0 ;
20939 int res1 = 0 ;
20940 int val2 ;
20941 int ecode2 = 0 ;
20942 PyObject * obj0 = 0 ;
20943 PyObject * obj1 = 0 ;
20944 char * kwnames[] = {
20945 (char *) "self",(char *) "nPage", NULL
20946 };
20947
20948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20950 if (!SWIG_IsOK(res1)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20952 }
20953 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20954 ecode2 = SWIG_AsVal_int(obj1, &val2);
20955 if (!SWIG_IsOK(ecode2)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20957 }
20958 arg2 = static_cast< int >(val2);
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 result = (bool)(arg1)->SendPageChangingEvent(arg2);
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 {
20966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20967 }
20968 return resultobj;
20969fail:
20970 return NULL;
20971}
20972
20973
20974SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj = 0;
20976 wxNotebook *arg1 = (wxNotebook *) 0 ;
20977 int arg2 ;
20978 int arg3 = (int) -1 ;
20979 void *argp1 = 0 ;
20980 int res1 = 0 ;
20981 int val2 ;
20982 int ecode2 = 0 ;
20983 int val3 ;
20984 int ecode3 = 0 ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 PyObject * obj2 = 0 ;
20988 char * kwnames[] = {
20989 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20990 };
20991
20992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20994 if (!SWIG_IsOK(res1)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20996 }
20997 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20998 ecode2 = SWIG_AsVal_int(obj1, &val2);
20999 if (!SWIG_IsOK(ecode2)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21001 }
21002 arg2 = static_cast< int >(val2);
21003 if (obj2) {
21004 ecode3 = SWIG_AsVal_int(obj2, &val3);
21005 if (!SWIG_IsOK(ecode3)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21007 }
21008 arg3 = static_cast< int >(val3);
21009 }
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 (arg1)->SendPageChangedEvent(arg2,arg3);
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 resultobj = SWIG_Py_Void();
21017 return resultobj;
21018fail:
21019 return NULL;
21020}
21021
21022
1bd55598
RD
21023SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21024 PyObject *obj;
21025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21026 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21027 return SWIG_Py_Void();
21028}
21029
21030SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21031 return SWIG_Python_InitShadowInstance(args);
21032}
21033
21034SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj = 0;
21036 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21037 int arg2 = (int) 0 ;
21038 int arg3 = (int) -1 ;
21039 int arg4 = (int) -1 ;
21040 wxNotebookEvent *result = 0 ;
21041 int val1 ;
21042 int ecode1 = 0 ;
21043 int val2 ;
21044 int ecode2 = 0 ;
21045 int val3 ;
21046 int ecode3 = 0 ;
21047 int val4 ;
21048 int ecode4 = 0 ;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 PyObject * obj2 = 0 ;
21052 PyObject * obj3 = 0 ;
21053 char * kwnames[] = {
21054 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21055 };
21056
21057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21058 if (obj0) {
21059 ecode1 = SWIG_AsVal_int(obj0, &val1);
21060 if (!SWIG_IsOK(ecode1)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21062 }
21063 arg1 = static_cast< wxEventType >(val1);
21064 }
21065 if (obj1) {
21066 ecode2 = SWIG_AsVal_int(obj1, &val2);
21067 if (!SWIG_IsOK(ecode2)) {
21068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21069 }
21070 arg2 = static_cast< int >(val2);
21071 }
21072 if (obj2) {
21073 ecode3 = SWIG_AsVal_int(obj2, &val3);
21074 if (!SWIG_IsOK(ecode3)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21076 }
21077 arg3 = static_cast< int >(val3);
21078 }
21079 if (obj3) {
21080 ecode4 = SWIG_AsVal_int(obj3, &val4);
21081 if (!SWIG_IsOK(ecode4)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21083 }
21084 arg4 = static_cast< int >(val4);
21085 }
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21089 wxPyEndAllowThreads(__tstate);
21090 if (PyErr_Occurred()) SWIG_fail;
21091 }
21092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21093 return resultobj;
21094fail:
21095 return NULL;
21096}
21097
21098
21099SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21100 PyObject *obj;
21101 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21102 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21103 return SWIG_Py_Void();
21104}
21105
21106SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21107 return SWIG_Python_InitShadowInstance(args);
21108}
21109
21110SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj = 0;
21112 wxWindow *arg1 = (wxWindow *) 0 ;
21113 int arg2 = (int) -1 ;
21114 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21115 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21116 wxSize const &arg4_defvalue = wxDefaultSize ;
21117 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21118 long arg5 = (long) 0 ;
21119 wxString const &arg6_defvalue = wxPyEmptyString ;
21120 wxString *arg6 = (wxString *) &arg6_defvalue ;
21121 wxListbook *result = 0 ;
21122 void *argp1 = 0 ;
21123 int res1 = 0 ;
21124 int val2 ;
21125 int ecode2 = 0 ;
21126 wxPoint temp3 ;
21127 wxSize temp4 ;
21128 long val5 ;
21129 int ecode5 = 0 ;
21130 bool temp6 = false ;
21131 PyObject * obj0 = 0 ;
21132 PyObject * obj1 = 0 ;
21133 PyObject * obj2 = 0 ;
21134 PyObject * obj3 = 0 ;
21135 PyObject * obj4 = 0 ;
21136 PyObject * obj5 = 0 ;
21137 char * kwnames[] = {
21138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21139 };
21140
21141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21143 if (!SWIG_IsOK(res1)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21145 }
21146 arg1 = reinterpret_cast< wxWindow * >(argp1);
21147 if (obj1) {
21148 ecode2 = SWIG_AsVal_int(obj1, &val2);
21149 if (!SWIG_IsOK(ecode2)) {
21150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21151 }
21152 arg2 = static_cast< int >(val2);
21153 }
21154 if (obj2) {
d55e5bfc 21155 {
1bd55598
RD
21156 arg3 = &temp3;
21157 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21158 }
1bd55598
RD
21159 }
21160 if (obj3) {
d55e5bfc 21161 {
1bd55598
RD
21162 arg4 = &temp4;
21163 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21164 }
1bd55598
RD
21165 }
21166 if (obj4) {
21167 ecode5 = SWIG_AsVal_long(obj4, &val5);
21168 if (!SWIG_IsOK(ecode5)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21170 }
21171 arg5 = static_cast< long >(val5);
21172 }
21173 if (obj5) {
d55e5bfc 21174 {
1bd55598
RD
21175 arg6 = wxString_in_helper(obj5);
21176 if (arg6 == NULL) SWIG_fail;
21177 temp6 = true;
d55e5bfc 21178 }
1bd55598
RD
21179 }
21180 {
21181 if (!wxPyCheckForApp()) SWIG_fail;
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21188 {
21189 if (temp6)
21190 delete arg6;
21191 }
21192 return resultobj;
21193fail:
21194 {
21195 if (temp6)
21196 delete arg6;
21197 }
21198 return NULL;
21199}
21200
21201
21202SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21203 PyObject *resultobj = 0;
21204 wxListbook *result = 0 ;
21205
21206 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21207 {
21208 if (!wxPyCheckForApp()) SWIG_fail;
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxListbook *)new wxListbook();
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21215 return resultobj;
21216fail:
21217 return NULL;
21218}
21219
21220
21221SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj = 0;
21223 wxListbook *arg1 = (wxListbook *) 0 ;
21224 wxWindow *arg2 = (wxWindow *) 0 ;
21225 int arg3 = (int) -1 ;
21226 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21227 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21228 wxSize const &arg5_defvalue = wxDefaultSize ;
21229 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21230 long arg6 = (long) 0 ;
21231 wxString const &arg7_defvalue = wxPyEmptyString ;
21232 wxString *arg7 = (wxString *) &arg7_defvalue ;
21233 bool result;
21234 void *argp1 = 0 ;
21235 int res1 = 0 ;
21236 void *argp2 = 0 ;
21237 int res2 = 0 ;
21238 int val3 ;
21239 int ecode3 = 0 ;
21240 wxPoint temp4 ;
21241 wxSize temp5 ;
21242 long val6 ;
21243 int ecode6 = 0 ;
21244 bool temp7 = false ;
21245 PyObject * obj0 = 0 ;
21246 PyObject * obj1 = 0 ;
21247 PyObject * obj2 = 0 ;
21248 PyObject * obj3 = 0 ;
21249 PyObject * obj4 = 0 ;
21250 PyObject * obj5 = 0 ;
21251 PyObject * obj6 = 0 ;
21252 char * kwnames[] = {
21253 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21254 };
21255
21256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21258 if (!SWIG_IsOK(res1)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21260 }
21261 arg1 = reinterpret_cast< wxListbook * >(argp1);
21262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21263 if (!SWIG_IsOK(res2)) {
21264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21265 }
21266 arg2 = reinterpret_cast< wxWindow * >(argp2);
21267 if (obj2) {
21268 ecode3 = SWIG_AsVal_int(obj2, &val3);
21269 if (!SWIG_IsOK(ecode3)) {
21270 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21271 }
21272 arg3 = static_cast< int >(val3);
21273 }
21274 if (obj3) {
d55e5bfc 21275 {
1bd55598
RD
21276 arg4 = &temp4;
21277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21278 }
1bd55598
RD
21279 }
21280 if (obj4) {
d55e5bfc 21281 {
1bd55598
RD
21282 arg5 = &temp5;
21283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21284 }
1bd55598
RD
21285 }
21286 if (obj5) {
21287 ecode6 = SWIG_AsVal_long(obj5, &val6);
21288 if (!SWIG_IsOK(ecode6)) {
21289 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21290 }
21291 arg6 = static_cast< long >(val6);
21292 }
21293 if (obj6) {
d55e5bfc 21294 {
1bd55598
RD
21295 arg7 = wxString_in_helper(obj6);
21296 if (arg7 == NULL) SWIG_fail;
21297 temp7 = true;
d55e5bfc 21298 }
1bd55598
RD
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 {
21307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21308 }
21309 {
21310 if (temp7)
21311 delete arg7;
21312 }
21313 return resultobj;
21314fail:
21315 {
21316 if (temp7)
21317 delete arg7;
21318 }
21319 return NULL;
d55e5bfc
RD
21320}
21321
21322
1bd55598
RD
21323SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21324 PyObject *resultobj = 0;
21325 wxListbook *arg1 = (wxListbook *) 0 ;
21326 wxListView *result = 0 ;
21327 void *argp1 = 0 ;
21328 int res1 = 0 ;
21329 PyObject *swig_obj[1] ;
21330
21331 if (!args) SWIG_fail;
21332 swig_obj[0] = args;
21333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21334 if (!SWIG_IsOK(res1)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21336 }
21337 arg1 = reinterpret_cast< wxListbook * >(argp1);
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 result = (wxListView *)(arg1)->GetListView();
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21345 return resultobj;
21346fail:
21347 return NULL;
21348}
21349
21350
21351SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21352 PyObject *obj;
21353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21354 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21355 return SWIG_Py_Void();
21356}
21357
21358SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21359 return SWIG_Python_InitShadowInstance(args);
21360}
21361
21362SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj = 0;
21364 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21365 int arg2 = (int) 0 ;
21366 int arg3 = (int) -1 ;
21367 int arg4 = (int) -1 ;
21368 wxListbookEvent *result = 0 ;
21369 int val1 ;
21370 int ecode1 = 0 ;
21371 int val2 ;
21372 int ecode2 = 0 ;
21373 int val3 ;
21374 int ecode3 = 0 ;
21375 int val4 ;
21376 int ecode4 = 0 ;
21377 PyObject * obj0 = 0 ;
21378 PyObject * obj1 = 0 ;
21379 PyObject * obj2 = 0 ;
21380 PyObject * obj3 = 0 ;
21381 char * kwnames[] = {
21382 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21383 };
21384
21385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21386 if (obj0) {
21387 ecode1 = SWIG_AsVal_int(obj0, &val1);
21388 if (!SWIG_IsOK(ecode1)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21390 }
21391 arg1 = static_cast< wxEventType >(val1);
21392 }
21393 if (obj1) {
21394 ecode2 = SWIG_AsVal_int(obj1, &val2);
21395 if (!SWIG_IsOK(ecode2)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21397 }
21398 arg2 = static_cast< int >(val2);
21399 }
21400 if (obj2) {
21401 ecode3 = SWIG_AsVal_int(obj2, &val3);
21402 if (!SWIG_IsOK(ecode3)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21404 }
21405 arg3 = static_cast< int >(val3);
21406 }
21407 if (obj3) {
21408 ecode4 = SWIG_AsVal_int(obj3, &val4);
21409 if (!SWIG_IsOK(ecode4)) {
21410 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21411 }
21412 arg4 = static_cast< int >(val4);
21413 }
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21421 return resultobj;
21422fail:
21423 return NULL;
21424}
21425
21426
21427SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21428 PyObject *obj;
21429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21430 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21431 return SWIG_Py_Void();
21432}
21433
21434SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21435 return SWIG_Python_InitShadowInstance(args);
21436}
21437
21438SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj = 0;
21440 wxWindow *arg1 = (wxWindow *) 0 ;
21441 int arg2 ;
21442 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21443 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21444 wxSize const &arg4_defvalue = wxDefaultSize ;
21445 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21446 long arg5 = (long) 0 ;
21447 wxString const &arg6_defvalue = wxPyEmptyString ;
21448 wxString *arg6 = (wxString *) &arg6_defvalue ;
21449 wxChoicebook *result = 0 ;
21450 void *argp1 = 0 ;
21451 int res1 = 0 ;
21452 int val2 ;
21453 int ecode2 = 0 ;
21454 wxPoint temp3 ;
21455 wxSize temp4 ;
21456 long val5 ;
21457 int ecode5 = 0 ;
21458 bool temp6 = false ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 PyObject * obj2 = 0 ;
21462 PyObject * obj3 = 0 ;
21463 PyObject * obj4 = 0 ;
21464 PyObject * obj5 = 0 ;
21465 char * kwnames[] = {
21466 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21467 };
21468
21469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21471 if (!SWIG_IsOK(res1)) {
21472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21473 }
21474 arg1 = reinterpret_cast< wxWindow * >(argp1);
21475 ecode2 = SWIG_AsVal_int(obj1, &val2);
21476 if (!SWIG_IsOK(ecode2)) {
21477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21478 }
21479 arg2 = static_cast< int >(val2);
21480 if (obj2) {
36ed4f51 21481 {
1bd55598
RD
21482 arg3 = &temp3;
21483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21484 }
1bd55598
RD
21485 }
21486 if (obj3) {
36ed4f51 21487 {
1bd55598
RD
21488 arg4 = &temp4;
21489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21490 }
1bd55598
RD
21491 }
21492 if (obj4) {
21493 ecode5 = SWIG_AsVal_long(obj4, &val5);
21494 if (!SWIG_IsOK(ecode5)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21496 }
21497 arg5 = static_cast< long >(val5);
21498 }
21499 if (obj5) {
d55e5bfc 21500 {
1bd55598
RD
21501 arg6 = wxString_in_helper(obj5);
21502 if (arg6 == NULL) SWIG_fail;
21503 temp6 = true;
d55e5bfc 21504 }
1bd55598
RD
21505 }
21506 {
21507 if (!wxPyCheckForApp()) SWIG_fail;
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21514 {
21515 if (temp6)
21516 delete arg6;
21517 }
21518 return resultobj;
21519fail:
21520 {
21521 if (temp6)
21522 delete arg6;
21523 }
21524 return NULL;
d55e5bfc
RD
21525}
21526
21527
1bd55598
RD
21528SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21529 PyObject *resultobj = 0;
21530 wxChoicebook *result = 0 ;
21531
21532 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21533 {
21534 if (!wxPyCheckForApp()) SWIG_fail;
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (wxChoicebook *)new wxChoicebook();
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21541 return resultobj;
21542fail:
21543 return NULL;
21544}
21545
21546
21547SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj = 0;
21549 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21550 wxWindow *arg2 = (wxWindow *) 0 ;
21551 int arg3 ;
21552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21554 wxSize const &arg5_defvalue = wxDefaultSize ;
21555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21556 long arg6 = (long) 0 ;
21557 wxString const &arg7_defvalue = wxPyEmptyString ;
21558 wxString *arg7 = (wxString *) &arg7_defvalue ;
21559 bool result;
21560 void *argp1 = 0 ;
21561 int res1 = 0 ;
21562 void *argp2 = 0 ;
21563 int res2 = 0 ;
21564 int val3 ;
21565 int ecode3 = 0 ;
21566 wxPoint temp4 ;
21567 wxSize temp5 ;
21568 long val6 ;
21569 int ecode6 = 0 ;
21570 bool temp7 = false ;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 PyObject * obj2 = 0 ;
21574 PyObject * obj3 = 0 ;
21575 PyObject * obj4 = 0 ;
21576 PyObject * obj5 = 0 ;
21577 PyObject * obj6 = 0 ;
21578 char * kwnames[] = {
21579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21580 };
21581
21582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21584 if (!SWIG_IsOK(res1)) {
21585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21586 }
21587 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21589 if (!SWIG_IsOK(res2)) {
21590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21591 }
21592 arg2 = reinterpret_cast< wxWindow * >(argp2);
21593 ecode3 = SWIG_AsVal_int(obj2, &val3);
21594 if (!SWIG_IsOK(ecode3)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21596 }
21597 arg3 = static_cast< int >(val3);
21598 if (obj3) {
d55e5bfc 21599 {
1bd55598
RD
21600 arg4 = &temp4;
21601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21602 }
1bd55598
RD
21603 }
21604 if (obj4) {
d55e5bfc 21605 {
1bd55598
RD
21606 arg5 = &temp5;
21607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21608 }
1bd55598
RD
21609 }
21610 if (obj5) {
21611 ecode6 = SWIG_AsVal_long(obj5, &val6);
21612 if (!SWIG_IsOK(ecode6)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21614 }
21615 arg6 = static_cast< long >(val6);
21616 }
21617 if (obj6) {
d55e5bfc 21618 {
1bd55598
RD
21619 arg7 = wxString_in_helper(obj6);
21620 if (arg7 == NULL) SWIG_fail;
21621 temp7 = true;
d55e5bfc 21622 }
1bd55598
RD
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21632 }
21633 {
21634 if (temp7)
21635 delete arg7;
21636 }
21637 return resultobj;
21638fail:
21639 {
21640 if (temp7)
21641 delete arg7;
21642 }
21643 return NULL;
d55e5bfc
RD
21644}
21645
21646
1bd55598
RD
21647SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21648 PyObject *resultobj = 0;
21649 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21650 wxChoice *result = 0 ;
21651 void *argp1 = 0 ;
21652 int res1 = 0 ;
21653 PyObject *swig_obj[1] ;
21654
21655 if (!args) SWIG_fail;
21656 swig_obj[0] = args;
21657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21658 if (!SWIG_IsOK(res1)) {
21659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21660 }
21661 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21669 return resultobj;
21670fail:
21671 return NULL;
21672}
21673
21674
21675SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21676 PyObject *obj;
21677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21678 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21679 return SWIG_Py_Void();
21680}
21681
21682SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21683 return SWIG_Python_InitShadowInstance(args);
21684}
21685
21686SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj = 0;
21688 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21689 int arg2 = (int) 0 ;
21690 int arg3 = (int) -1 ;
21691 int arg4 = (int) -1 ;
21692 wxChoicebookEvent *result = 0 ;
21693 int val1 ;
21694 int ecode1 = 0 ;
21695 int val2 ;
21696 int ecode2 = 0 ;
21697 int val3 ;
21698 int ecode3 = 0 ;
21699 int val4 ;
21700 int ecode4 = 0 ;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 PyObject * obj2 = 0 ;
21704 PyObject * obj3 = 0 ;
21705 char * kwnames[] = {
21706 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21707 };
21708
21709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21710 if (obj0) {
21711 ecode1 = SWIG_AsVal_int(obj0, &val1);
21712 if (!SWIG_IsOK(ecode1)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21714 }
21715 arg1 = static_cast< wxEventType >(val1);
21716 }
21717 if (obj1) {
21718 ecode2 = SWIG_AsVal_int(obj1, &val2);
21719 if (!SWIG_IsOK(ecode2)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21721 }
21722 arg2 = static_cast< int >(val2);
21723 }
21724 if (obj2) {
21725 ecode3 = SWIG_AsVal_int(obj2, &val3);
21726 if (!SWIG_IsOK(ecode3)) {
21727 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21728 }
21729 arg3 = static_cast< int >(val3);
21730 }
21731 if (obj3) {
21732 ecode4 = SWIG_AsVal_int(obj3, &val4);
21733 if (!SWIG_IsOK(ecode4)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21735 }
21736 arg4 = static_cast< int >(val4);
21737 }
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21745 return resultobj;
21746fail:
21747 return NULL;
21748}
21749
21750
21751SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21752 PyObject *obj;
21753 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21754 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21755 return SWIG_Py_Void();
21756}
21757
21758SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21759 return SWIG_Python_InitShadowInstance(args);
21760}
21761
21762SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj = 0;
21764 wxWindow *arg1 = (wxWindow *) 0 ;
21765 int arg2 ;
21766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21768 wxSize const &arg4_defvalue = wxDefaultSize ;
21769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21770 long arg5 = (long) wxBK_DEFAULT ;
21771 wxString const &arg6_defvalue = wxPyEmptyString ;
21772 wxString *arg6 = (wxString *) &arg6_defvalue ;
21773 wxTreebook *result = 0 ;
21774 void *argp1 = 0 ;
21775 int res1 = 0 ;
21776 int val2 ;
21777 int ecode2 = 0 ;
21778 wxPoint temp3 ;
21779 wxSize temp4 ;
21780 long val5 ;
21781 int ecode5 = 0 ;
21782 bool temp6 = false ;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 PyObject * obj2 = 0 ;
21786 PyObject * obj3 = 0 ;
21787 PyObject * obj4 = 0 ;
21788 PyObject * obj5 = 0 ;
21789 char * kwnames[] = {
21790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21791 };
21792
21793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21795 if (!SWIG_IsOK(res1)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21797 }
21798 arg1 = reinterpret_cast< wxWindow * >(argp1);
21799 ecode2 = SWIG_AsVal_int(obj1, &val2);
21800 if (!SWIG_IsOK(ecode2)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21802 }
21803 arg2 = static_cast< int >(val2);
21804 if (obj2) {
36ed4f51 21805 {
1bd55598
RD
21806 arg3 = &temp3;
21807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21808 }
1bd55598
RD
21809 }
21810 if (obj3) {
36ed4f51 21811 {
1bd55598
RD
21812 arg4 = &temp4;
21813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21814 }
1bd55598
RD
21815 }
21816 if (obj4) {
21817 ecode5 = SWIG_AsVal_long(obj4, &val5);
21818 if (!SWIG_IsOK(ecode5)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21820 }
21821 arg5 = static_cast< long >(val5);
21822 }
21823 if (obj5) {
d55e5bfc 21824 {
1bd55598
RD
21825 arg6 = wxString_in_helper(obj5);
21826 if (arg6 == NULL) SWIG_fail;
21827 temp6 = true;
d55e5bfc 21828 }
1bd55598
RD
21829 }
21830 {
21831 if (!wxPyCheckForApp()) SWIG_fail;
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21838 {
21839 if (temp6)
21840 delete arg6;
21841 }
21842 return resultobj;
21843fail:
21844 {
21845 if (temp6)
21846 delete arg6;
21847 }
21848 return NULL;
d55e5bfc
RD
21849}
21850
21851
1bd55598
RD
21852SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21853 PyObject *resultobj = 0;
21854 wxTreebook *result = 0 ;
21855
21856 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21857 {
21858 if (!wxPyCheckForApp()) SWIG_fail;
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 result = (wxTreebook *)new wxTreebook();
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21865 return resultobj;
21866fail:
21867 return NULL;
21868}
21869
21870
21871SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj = 0;
21873 wxTreebook *arg1 = (wxTreebook *) 0 ;
21874 wxWindow *arg2 = (wxWindow *) 0 ;
21875 int arg3 ;
21876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21878 wxSize const &arg5_defvalue = wxDefaultSize ;
21879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21880 long arg6 = (long) wxBK_DEFAULT ;
21881 wxString const &arg7_defvalue = wxPyEmptyString ;
21882 wxString *arg7 = (wxString *) &arg7_defvalue ;
21883 bool result;
21884 void *argp1 = 0 ;
21885 int res1 = 0 ;
21886 void *argp2 = 0 ;
21887 int res2 = 0 ;
21888 int val3 ;
21889 int ecode3 = 0 ;
21890 wxPoint temp4 ;
21891 wxSize temp5 ;
21892 long val6 ;
21893 int ecode6 = 0 ;
21894 bool temp7 = false ;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 PyObject * obj2 = 0 ;
21898 PyObject * obj3 = 0 ;
21899 PyObject * obj4 = 0 ;
21900 PyObject * obj5 = 0 ;
21901 PyObject * obj6 = 0 ;
21902 char * kwnames[] = {
21903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21904 };
21905
21906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21908 if (!SWIG_IsOK(res1)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21910 }
21911 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21913 if (!SWIG_IsOK(res2)) {
21914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21915 }
21916 arg2 = reinterpret_cast< wxWindow * >(argp2);
21917 ecode3 = SWIG_AsVal_int(obj2, &val3);
21918 if (!SWIG_IsOK(ecode3)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21920 }
21921 arg3 = static_cast< int >(val3);
21922 if (obj3) {
36ed4f51 21923 {
1bd55598
RD
21924 arg4 = &temp4;
21925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21926 }
1bd55598
RD
21927 }
21928 if (obj4) {
d55e5bfc 21929 {
1bd55598
RD
21930 arg5 = &temp5;
21931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21932 }
1bd55598
RD
21933 }
21934 if (obj5) {
21935 ecode6 = SWIG_AsVal_long(obj5, &val6);
21936 if (!SWIG_IsOK(ecode6)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21938 }
21939 arg6 = static_cast< long >(val6);
21940 }
21941 if (obj6) {
36ed4f51 21942 {
1bd55598
RD
21943 arg7 = wxString_in_helper(obj6);
21944 if (arg7 == NULL) SWIG_fail;
21945 temp7 = true;
36ed4f51 21946 }
1bd55598
RD
21947 }
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 {
21955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21956 }
21957 {
21958 if (temp7)
21959 delete arg7;
21960 }
21961 return resultobj;
21962fail:
21963 {
21964 if (temp7)
21965 delete arg7;
21966 }
21967 return NULL;
21968}
21969
21970
21971SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj = 0;
21973 wxTreebook *arg1 = (wxTreebook *) 0 ;
21974 size_t arg2 ;
21975 wxWindow *arg3 = (wxWindow *) 0 ;
21976 wxString *arg4 = 0 ;
21977 bool arg5 = (bool) false ;
21978 int arg6 = (int) wxNOT_FOUND ;
21979 bool result;
21980 void *argp1 = 0 ;
21981 int res1 = 0 ;
21982 size_t val2 ;
21983 int ecode2 = 0 ;
21984 void *argp3 = 0 ;
21985 int res3 = 0 ;
21986 bool temp4 = false ;
21987 bool val5 ;
21988 int ecode5 = 0 ;
21989 int val6 ;
21990 int ecode6 = 0 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 PyObject * obj2 = 0 ;
21994 PyObject * obj3 = 0 ;
21995 PyObject * obj4 = 0 ;
21996 PyObject * obj5 = 0 ;
21997 char * kwnames[] = {
21998 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21999 };
22000
22001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22003 if (!SWIG_IsOK(res1)) {
22004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22005 }
22006 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22007 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22008 if (!SWIG_IsOK(ecode2)) {
22009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22010 }
22011 arg2 = static_cast< size_t >(val2);
22012 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22013 if (!SWIG_IsOK(res3)) {
22014 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22015 }
22016 arg3 = reinterpret_cast< wxWindow * >(argp3);
22017 {
22018 arg4 = wxString_in_helper(obj3);
22019 if (arg4 == NULL) SWIG_fail;
22020 temp4 = true;
22021 }
22022 if (obj4) {
22023 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22024 if (!SWIG_IsOK(ecode5)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22026 }
22027 arg5 = static_cast< bool >(val5);
22028 }
22029 if (obj5) {
22030 ecode6 = SWIG_AsVal_int(obj5, &val6);
22031 if (!SWIG_IsOK(ecode6)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22033 }
22034 arg6 = static_cast< int >(val6);
22035 }
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 {
22043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22044 }
22045 {
22046 if (temp4)
22047 delete arg4;
22048 }
22049 return resultobj;
22050fail:
22051 {
22052 if (temp4)
22053 delete arg4;
22054 }
22055 return NULL;
22056}
22057
22058
22059SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj = 0;
22061 wxTreebook *arg1 = (wxTreebook *) 0 ;
22062 wxWindow *arg2 = (wxWindow *) 0 ;
22063 wxString *arg3 = 0 ;
22064 bool arg4 = (bool) false ;
22065 int arg5 = (int) wxNOT_FOUND ;
22066 bool result;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 void *argp2 = 0 ;
22070 int res2 = 0 ;
22071 bool temp3 = false ;
22072 bool val4 ;
22073 int ecode4 = 0 ;
22074 int val5 ;
22075 int ecode5 = 0 ;
22076 PyObject * obj0 = 0 ;
22077 PyObject * obj1 = 0 ;
22078 PyObject * obj2 = 0 ;
22079 PyObject * obj3 = 0 ;
22080 PyObject * obj4 = 0 ;
22081 char * kwnames[] = {
22082 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22083 };
22084
22085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22087 if (!SWIG_IsOK(res1)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22089 }
22090 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22092 if (!SWIG_IsOK(res2)) {
22093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22094 }
22095 arg2 = reinterpret_cast< wxWindow * >(argp2);
22096 {
22097 arg3 = wxString_in_helper(obj2);
22098 if (arg3 == NULL) SWIG_fail;
22099 temp3 = true;
22100 }
22101 if (obj3) {
22102 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22103 if (!SWIG_IsOK(ecode4)) {
22104 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22105 }
22106 arg4 = static_cast< bool >(val4);
22107 }
22108 if (obj4) {
22109 ecode5 = SWIG_AsVal_int(obj4, &val5);
22110 if (!SWIG_IsOK(ecode5)) {
22111 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22112 }
22113 arg5 = static_cast< int >(val5);
22114 }
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22123 }
22124 {
22125 if (temp3)
22126 delete arg3;
22127 }
22128 return resultobj;
22129fail:
22130 {
22131 if (temp3)
22132 delete arg3;
22133 }
22134 return NULL;
22135}
22136
22137
22138SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj = 0;
22140 wxTreebook *arg1 = (wxTreebook *) 0 ;
22141 size_t arg2 ;
22142 bool result;
22143 void *argp1 = 0 ;
22144 int res1 = 0 ;
22145 size_t val2 ;
22146 int ecode2 = 0 ;
22147 PyObject * obj0 = 0 ;
22148 PyObject * obj1 = 0 ;
22149 char * kwnames[] = {
22150 (char *) "self",(char *) "pos", NULL
22151 };
22152
22153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22155 if (!SWIG_IsOK(res1)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22157 }
22158 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22159 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22160 if (!SWIG_IsOK(ecode2)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22162 }
22163 arg2 = static_cast< size_t >(val2);
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 {
22171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22172 }
22173 return resultobj;
22174fail:
22175 return NULL;
22176}
22177
22178
22179SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj = 0;
22181 wxTreebook *arg1 = (wxTreebook *) 0 ;
22182 size_t arg2 ;
22183 bool arg3 = (bool) true ;
22184 bool result;
22185 void *argp1 = 0 ;
22186 int res1 = 0 ;
22187 size_t val2 ;
22188 int ecode2 = 0 ;
22189 bool val3 ;
22190 int ecode3 = 0 ;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 PyObject * obj2 = 0 ;
22194 char * kwnames[] = {
22195 (char *) "self",(char *) "pos",(char *) "expand", NULL
22196 };
22197
22198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22200 if (!SWIG_IsOK(res1)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22202 }
22203 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22204 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22205 if (!SWIG_IsOK(ecode2)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22207 }
22208 arg2 = static_cast< size_t >(val2);
22209 if (obj2) {
22210 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22211 if (!SWIG_IsOK(ecode3)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22213 }
22214 arg3 = static_cast< bool >(val3);
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 {
22223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22224 }
22225 return resultobj;
22226fail:
22227 return NULL;
22228}
22229
22230
22231SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj = 0;
22233 wxTreebook *arg1 = (wxTreebook *) 0 ;
22234 size_t arg2 ;
22235 bool result;
22236 void *argp1 = 0 ;
22237 int res1 = 0 ;
22238 size_t val2 ;
22239 int ecode2 = 0 ;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 char * kwnames[] = {
22243 (char *) "self",(char *) "pos", NULL
22244 };
22245
22246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22248 if (!SWIG_IsOK(res1)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22250 }
22251 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22252 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22253 if (!SWIG_IsOK(ecode2)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22255 }
22256 arg2 = static_cast< size_t >(val2);
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (bool)(arg1)->CollapseNode(arg2);
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22265 }
22266 return resultobj;
22267fail:
22268 return NULL;
22269}
22270
22271
22272SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj = 0;
22274 wxTreebook *arg1 = (wxTreebook *) 0 ;
22275 size_t arg2 ;
22276 int result;
22277 void *argp1 = 0 ;
22278 int res1 = 0 ;
22279 size_t val2 ;
22280 int ecode2 = 0 ;
22281 PyObject * obj0 = 0 ;
22282 PyObject * obj1 = 0 ;
22283 char * kwnames[] = {
22284 (char *) "self",(char *) "pos", NULL
22285 };
22286
22287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22289 if (!SWIG_IsOK(res1)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22291 }
22292 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22293 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22294 if (!SWIG_IsOK(ecode2)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22296 }
22297 arg2 = static_cast< size_t >(val2);
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 resultobj = SWIG_From_int(static_cast< int >(result));
22305 return resultobj;
22306fail:
22307 return NULL;
d55e5bfc
RD
22308}
22309
22310
1bd55598
RD
22311SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22312 PyObject *resultobj = 0;
22313 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22314 wxPyTreeCtrl *result = 0 ;
1bd55598
RD
22315 void *argp1 = 0 ;
22316 int res1 = 0 ;
22317 PyObject *swig_obj[1] ;
22318
22319 if (!args) SWIG_fail;
22320 swig_obj[0] = args;
22321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22322 if (!SWIG_IsOK(res1)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22324 }
22325 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22328 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
1bd55598
RD
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
10044bf1
RD
22332 {
22333 resultobj = wxPyMake_wxObject(result, (bool)0);
22334 }
1bd55598
RD
22335 return resultobj;
22336fail:
22337 return NULL;
22338}
22339
22340
22341SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22342 PyObject *obj;
22343 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22344 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22345 return SWIG_Py_Void();
22346}
22347
22348SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22349 return SWIG_Python_InitShadowInstance(args);
22350}
22351
22352SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj = 0;
22354 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22355 int arg2 = (int) 0 ;
22356 int arg3 = (int) wxNOT_FOUND ;
22357 int arg4 = (int) wxNOT_FOUND ;
22358 wxTreebookEvent *result = 0 ;
22359 int val1 ;
22360 int ecode1 = 0 ;
22361 int val2 ;
22362 int ecode2 = 0 ;
22363 int val3 ;
22364 int ecode3 = 0 ;
22365 int val4 ;
22366 int ecode4 = 0 ;
22367 PyObject * obj0 = 0 ;
22368 PyObject * obj1 = 0 ;
22369 PyObject * obj2 = 0 ;
22370 PyObject * obj3 = 0 ;
22371 char * kwnames[] = {
22372 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22373 };
22374
22375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22376 if (obj0) {
22377 ecode1 = SWIG_AsVal_int(obj0, &val1);
22378 if (!SWIG_IsOK(ecode1)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22380 }
22381 arg1 = static_cast< wxEventType >(val1);
22382 }
22383 if (obj1) {
22384 ecode2 = SWIG_AsVal_int(obj1, &val2);
22385 if (!SWIG_IsOK(ecode2)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22387 }
22388 arg2 = static_cast< int >(val2);
22389 }
22390 if (obj2) {
22391 ecode3 = SWIG_AsVal_int(obj2, &val3);
22392 if (!SWIG_IsOK(ecode3)) {
22393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22394 }
22395 arg3 = static_cast< int >(val3);
22396 }
22397 if (obj3) {
22398 ecode4 = SWIG_AsVal_int(obj3, &val4);
22399 if (!SWIG_IsOK(ecode4)) {
22400 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22401 }
22402 arg4 = static_cast< int >(val4);
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22411 return resultobj;
22412fail:
22413 return NULL;
22414}
22415
22416
22417SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22418 PyObject *obj;
22419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22420 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22421 return SWIG_Py_Void();
22422}
22423
22424SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22425 return SWIG_Python_InitShadowInstance(args);
22426}
22427
22428SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj = 0;
22430 wxWindow *arg1 = (wxWindow *) 0 ;
22431 int arg2 ;
22432 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22433 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22434 wxSize const &arg4_defvalue = wxDefaultSize ;
22435 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22436 long arg5 = (long) wxBK_DEFAULT ;
22437 wxString const &arg6_defvalue = wxPyEmptyString ;
22438 wxString *arg6 = (wxString *) &arg6_defvalue ;
22439 wxToolbook *result = 0 ;
22440 void *argp1 = 0 ;
22441 int res1 = 0 ;
22442 int val2 ;
22443 int ecode2 = 0 ;
22444 wxPoint temp3 ;
22445 wxSize temp4 ;
22446 long val5 ;
22447 int ecode5 = 0 ;
22448 bool temp6 = false ;
22449 PyObject * obj0 = 0 ;
22450 PyObject * obj1 = 0 ;
22451 PyObject * obj2 = 0 ;
22452 PyObject * obj3 = 0 ;
22453 PyObject * obj4 = 0 ;
22454 PyObject * obj5 = 0 ;
22455 char * kwnames[] = {
22456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22457 };
22458
22459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22461 if (!SWIG_IsOK(res1)) {
22462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22463 }
22464 arg1 = reinterpret_cast< wxWindow * >(argp1);
22465 ecode2 = SWIG_AsVal_int(obj1, &val2);
22466 if (!SWIG_IsOK(ecode2)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22468 }
22469 arg2 = static_cast< int >(val2);
22470 if (obj2) {
36ed4f51 22471 {
1bd55598
RD
22472 arg3 = &temp3;
22473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 22474 }
1bd55598
RD
22475 }
22476 if (obj3) {
36ed4f51 22477 {
1bd55598
RD
22478 arg4 = &temp4;
22479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 22480 }
1bd55598
RD
22481 }
22482 if (obj4) {
22483 ecode5 = SWIG_AsVal_long(obj4, &val5);
22484 if (!SWIG_IsOK(ecode5)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22486 }
22487 arg5 = static_cast< long >(val5);
22488 }
22489 if (obj5) {
d55e5bfc 22490 {
1bd55598
RD
22491 arg6 = wxString_in_helper(obj5);
22492 if (arg6 == NULL) SWIG_fail;
22493 temp6 = true;
d55e5bfc 22494 }
1bd55598
RD
22495 }
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22503 {
22504 if (temp6)
22505 delete arg6;
22506 }
22507 return resultobj;
22508fail:
22509 {
22510 if (temp6)
22511 delete arg6;
22512 }
22513 return NULL;
d55e5bfc
RD
22514}
22515
22516
1bd55598
RD
22517SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22518 PyObject *resultobj = 0;
22519 wxToolbook *result = 0 ;
22520
22521 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 result = (wxToolbook *)new wxToolbook();
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22529 return resultobj;
22530fail:
22531 return NULL;
22532}
22533
22534
22535SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj = 0;
22537 wxToolbook *arg1 = (wxToolbook *) 0 ;
22538 wxWindow *arg2 = (wxWindow *) 0 ;
22539 int arg3 ;
22540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22542 wxSize const &arg5_defvalue = wxDefaultSize ;
22543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22544 long arg6 = (long) 0 ;
22545 wxString const &arg7_defvalue = wxEmptyString ;
22546 wxString *arg7 = (wxString *) &arg7_defvalue ;
22547 bool result;
22548 void *argp1 = 0 ;
22549 int res1 = 0 ;
22550 void *argp2 = 0 ;
22551 int res2 = 0 ;
22552 int val3 ;
22553 int ecode3 = 0 ;
22554 wxPoint temp4 ;
22555 wxSize temp5 ;
22556 long val6 ;
22557 int ecode6 = 0 ;
22558 bool temp7 = false ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 PyObject * obj2 = 0 ;
22562 PyObject * obj3 = 0 ;
22563 PyObject * obj4 = 0 ;
22564 PyObject * obj5 = 0 ;
22565 PyObject * obj6 = 0 ;
22566 char * kwnames[] = {
22567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22568 };
22569
22570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22572 if (!SWIG_IsOK(res1)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22574 }
22575 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22577 if (!SWIG_IsOK(res2)) {
22578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22579 }
22580 arg2 = reinterpret_cast< wxWindow * >(argp2);
22581 ecode3 = SWIG_AsVal_int(obj2, &val3);
22582 if (!SWIG_IsOK(ecode3)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22584 }
22585 arg3 = static_cast< int >(val3);
22586 if (obj3) {
22587 {
22588 arg4 = &temp4;
22589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 22590 }
1bd55598
RD
22591 }
22592 if (obj4) {
f20a2e1f 22593 {
1bd55598
RD
22594 arg5 = &temp5;
22595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 22596 }
1bd55598
RD
22597 }
22598 if (obj5) {
22599 ecode6 = SWIG_AsVal_long(obj5, &val6);
22600 if (!SWIG_IsOK(ecode6)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22602 }
22603 arg6 = static_cast< long >(val6);
22604 }
22605 if (obj6) {
f20a2e1f 22606 {
1bd55598
RD
22607 arg7 = wxString_in_helper(obj6);
22608 if (arg7 == NULL) SWIG_fail;
22609 temp7 = true;
f20a2e1f 22610 }
1bd55598
RD
22611 }
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 {
22619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22620 }
22621 {
22622 if (temp7)
22623 delete arg7;
22624 }
22625 return resultobj;
22626fail:
22627 {
22628 if (temp7)
22629 delete arg7;
22630 }
22631 return NULL;
f20a2e1f
RD
22632}
22633
22634
1bd55598
RD
22635SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22636 PyObject *resultobj = 0;
22637 wxToolbook *arg1 = (wxToolbook *) 0 ;
22638 wxToolBarBase *result = 0 ;
22639 void *argp1 = 0 ;
22640 int res1 = 0 ;
22641 PyObject *swig_obj[1] ;
22642
22643 if (!args) SWIG_fail;
22644 swig_obj[0] = args;
22645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22646 if (!SWIG_IsOK(res1)) {
22647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22648 }
22649 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 {
22657 resultobj = wxPyMake_wxObject(result, (bool)0);
22658 }
22659 return resultobj;
22660fail:
22661 return NULL;
d55e5bfc
RD
22662}
22663
22664
1bd55598
RD
22665SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22666 PyObject *resultobj = 0;
22667 wxToolbook *arg1 = (wxToolbook *) 0 ;
22668 void *argp1 = 0 ;
22669 int res1 = 0 ;
22670 PyObject *swig_obj[1] ;
22671
22672 if (!args) SWIG_fail;
22673 swig_obj[0] = args;
22674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22675 if (!SWIG_IsOK(res1)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22677 }
22678 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->Realize();
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 resultobj = SWIG_Py_Void();
22686 return resultobj;
22687fail:
22688 return NULL;
22689}
22690
22691
22692SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22693 PyObject *obj;
22694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22695 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22696 return SWIG_Py_Void();
22697}
22698
22699SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22700 return SWIG_Python_InitShadowInstance(args);
22701}
22702
22703SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj = 0;
22705 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22706 int arg2 = (int) 0 ;
22707 int arg3 = (int) wxNOT_FOUND ;
22708 int arg4 = (int) wxNOT_FOUND ;
22709 wxToolbookEvent *result = 0 ;
22710 int val1 ;
22711 int ecode1 = 0 ;
22712 int val2 ;
22713 int ecode2 = 0 ;
22714 int val3 ;
22715 int ecode3 = 0 ;
22716 int val4 ;
22717 int ecode4 = 0 ;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 PyObject * obj2 = 0 ;
22721 PyObject * obj3 = 0 ;
22722 char * kwnames[] = {
22723 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22724 };
22725
22726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22727 if (obj0) {
22728 ecode1 = SWIG_AsVal_int(obj0, &val1);
22729 if (!SWIG_IsOK(ecode1)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22731 }
22732 arg1 = static_cast< wxEventType >(val1);
22733 }
22734 if (obj1) {
22735 ecode2 = SWIG_AsVal_int(obj1, &val2);
22736 if (!SWIG_IsOK(ecode2)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22738 }
22739 arg2 = static_cast< int >(val2);
22740 }
22741 if (obj2) {
22742 ecode3 = SWIG_AsVal_int(obj2, &val3);
22743 if (!SWIG_IsOK(ecode3)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22745 }
22746 arg3 = static_cast< int >(val3);
22747 }
22748 if (obj3) {
22749 ecode4 = SWIG_AsVal_int(obj3, &val4);
22750 if (!SWIG_IsOK(ecode4)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22752 }
22753 arg4 = static_cast< int >(val4);
22754 }
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22762 return resultobj;
22763fail:
22764 return NULL;
d55e5bfc
RD
22765}
22766
22767
1bd55598
RD
22768SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22769 PyObject *obj;
22770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22771 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22772 return SWIG_Py_Void();
d55e5bfc
RD
22773}
22774
1bd55598
RD
22775SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22776 return SWIG_Python_InitShadowInstance(args);
22777}
d55e5bfc 22778
1bd55598
RD
22779SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22780 PyObject *resultobj = 0;
22781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22782 int result;
22783 void *argp1 = 0 ;
22784 int res1 = 0 ;
22785 PyObject *swig_obj[1] ;
22786
22787 if (!args) SWIG_fail;
22788 swig_obj[0] = args;
22789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22790 if (!SWIG_IsOK(res1)) {
22791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22792 }
22793 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 result = (int)(arg1)->GetId();
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 resultobj = SWIG_From_int(static_cast< int >(result));
22801 return resultobj;
22802fail:
22803 return NULL;
d55e5bfc 22804}
1bd55598
RD
22805
22806
22807SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22808 PyObject *resultobj = 0;
22809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22810 wxControl *result = 0 ;
22811 void *argp1 = 0 ;
22812 int res1 = 0 ;
22813 PyObject *swig_obj[1] ;
22814
22815 if (!args) SWIG_fail;
22816 swig_obj[0] = args;
22817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22818 if (!SWIG_IsOK(res1)) {
22819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22820 }
22821 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22822 {
22823 PyThreadState* __tstate = wxPyBeginAllowThreads();
22824 result = (wxControl *)(arg1)->GetControl();
22825 wxPyEndAllowThreads(__tstate);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 {
22829 resultobj = wxPyMake_wxObject(result, 0);
22830 }
22831 return resultobj;
22832fail:
22833 return NULL;
d55e5bfc
RD
22834}
22835
22836
1bd55598
RD
22837SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 PyObject *resultobj = 0;
22839 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22840 wxToolBarBase *result = 0 ;
22841 void *argp1 = 0 ;
22842 int res1 = 0 ;
22843 PyObject *swig_obj[1] ;
22844
22845 if (!args) SWIG_fail;
22846 swig_obj[0] = args;
22847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22848 if (!SWIG_IsOK(res1)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22850 }
22851 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (wxToolBarBase *)(arg1)->GetToolBar();
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 {
22859 resultobj = wxPyMake_wxObject(result, (bool)0);
22860 }
22861 return resultobj;
22862fail:
22863 return NULL;
d55e5bfc
RD
22864}
22865
22866
1bd55598
RD
22867SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22868 PyObject *resultobj = 0;
22869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22870 int result;
22871 void *argp1 = 0 ;
22872 int res1 = 0 ;
22873 PyObject *swig_obj[1] ;
22874
22875 if (!args) SWIG_fail;
22876 swig_obj[0] = args;
22877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22878 if (!SWIG_IsOK(res1)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22880 }
22881 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (int)(arg1)->IsButton();
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_From_int(static_cast< int >(result));
22889 return resultobj;
22890fail:
22891 return NULL;
d55e5bfc
RD
22892}
22893
22894
1bd55598
RD
22895SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22896 PyObject *resultobj = 0;
22897 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22898 int result;
22899 void *argp1 = 0 ;
22900 int res1 = 0 ;
22901 PyObject *swig_obj[1] ;
22902
22903 if (!args) SWIG_fail;
22904 swig_obj[0] = args;
22905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22906 if (!SWIG_IsOK(res1)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22908 }
22909 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 result = (int)(arg1)->IsControl();
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 resultobj = SWIG_From_int(static_cast< int >(result));
22917 return resultobj;
22918fail:
22919 return NULL;
d55e5bfc
RD
22920}
22921
22922
1bd55598
RD
22923SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22924 PyObject *resultobj = 0;
22925 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22926 int result;
22927 void *argp1 = 0 ;
22928 int res1 = 0 ;
22929 PyObject *swig_obj[1] ;
22930
22931 if (!args) SWIG_fail;
22932 swig_obj[0] = args;
22933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22934 if (!SWIG_IsOK(res1)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22936 }
22937 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (int)(arg1)->IsSeparator();
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_From_int(static_cast< int >(result));
22945 return resultobj;
22946fail:
22947 return NULL;
d55e5bfc
RD
22948}
22949
22950
1bd55598
RD
22951SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22952 PyObject *resultobj = 0;
22953 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22954 int result;
22955 void *argp1 = 0 ;
22956 int res1 = 0 ;
22957 PyObject *swig_obj[1] ;
22958
22959 if (!args) SWIG_fail;
22960 swig_obj[0] = args;
22961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22962 if (!SWIG_IsOK(res1)) {
22963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22964 }
22965 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (int)(arg1)->GetStyle();
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 resultobj = SWIG_From_int(static_cast< int >(result));
22973 return resultobj;
22974fail:
22975 return NULL;
d55e5bfc
RD
22976}
22977
22978
1bd55598
RD
22979SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22980 PyObject *resultobj = 0;
22981 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22982 wxItemKind result;
22983 void *argp1 = 0 ;
22984 int res1 = 0 ;
22985 PyObject *swig_obj[1] ;
22986
22987 if (!args) SWIG_fail;
22988 swig_obj[0] = args;
22989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22990 if (!SWIG_IsOK(res1)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 }
22993 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 result = (wxItemKind)(arg1)->GetKind();
22997 wxPyEndAllowThreads(__tstate);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 resultobj = SWIG_From_int(static_cast< int >(result));
23001 return resultobj;
23002fail:
23003 return NULL;
d55e5bfc
RD
23004}
23005
23006
1bd55598
RD
23007SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23008 PyObject *resultobj = 0;
23009 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23010 bool result;
23011 void *argp1 = 0 ;
23012 int res1 = 0 ;
23013 PyObject *swig_obj[1] ;
23014
23015 if (!args) SWIG_fail;
23016 swig_obj[0] = args;
23017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23018 if (!SWIG_IsOK(res1)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23020 }
23021 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 result = (bool)(arg1)->IsEnabled();
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23030 }
23031 return resultobj;
23032fail:
23033 return NULL;
d55e5bfc
RD
23034}
23035
23036
1bd55598
RD
23037SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23038 PyObject *resultobj = 0;
23039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23040 bool result;
23041 void *argp1 = 0 ;
23042 int res1 = 0 ;
23043 PyObject *swig_obj[1] ;
23044
23045 if (!args) SWIG_fail;
23046 swig_obj[0] = args;
23047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23048 if (!SWIG_IsOK(res1)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 }
23051 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (bool)(arg1)->IsToggled();
23055 wxPyEndAllowThreads(__tstate);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 }
23058 {
23059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23060 }
23061 return resultobj;
23062fail:
23063 return NULL;
d55e5bfc
RD
23064}
23065
23066
1bd55598
RD
23067SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23068 PyObject *resultobj = 0;
23069 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23070 bool result;
23071 void *argp1 = 0 ;
23072 int res1 = 0 ;
23073 PyObject *swig_obj[1] ;
23074
23075 if (!args) SWIG_fail;
23076 swig_obj[0] = args;
23077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23078 if (!SWIG_IsOK(res1)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23080 }
23081 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 result = (bool)(arg1)->CanBeToggled();
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 {
23089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23090 }
23091 return resultobj;
23092fail:
23093 return NULL;
d55e5bfc
RD
23094}
23095
23096
1bd55598
RD
23097SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23098 PyObject *resultobj = 0;
23099 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23100 wxBitmap *result = 0 ;
23101 void *argp1 = 0 ;
23102 int res1 = 0 ;
23103 PyObject *swig_obj[1] ;
23104
23105 if (!args) SWIG_fail;
23106 swig_obj[0] = args;
23107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23108 if (!SWIG_IsOK(res1)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23110 }
23111 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 23114 {
1bd55598
RD
23115 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23116 result = (wxBitmap *) &_result_ref;
36ed4f51 23117 }
1bd55598
RD
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 {
23122 wxBitmap* resultptr = new wxBitmap(*result);
23123 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23124 }
23125 return resultobj;
23126fail:
23127 return NULL;
d55e5bfc
RD
23128}
23129
23130
1bd55598
RD
23131SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23132 PyObject *resultobj = 0;
23133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23134 wxBitmap *result = 0 ;
23135 void *argp1 = 0 ;
23136 int res1 = 0 ;
23137 PyObject *swig_obj[1] ;
23138
23139 if (!args) SWIG_fail;
23140 swig_obj[0] = args;
23141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23142 if (!SWIG_IsOK(res1)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23144 }
23145 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23148 {
1bd55598
RD
23149 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23150 result = (wxBitmap *) &_result_ref;
d55e5bfc 23151 }
1bd55598
RD
23152 wxPyEndAllowThreads(__tstate);
23153 if (PyErr_Occurred()) SWIG_fail;
23154 }
23155 {
23156 wxBitmap* resultptr = new wxBitmap(*result);
23157 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23158 }
23159 return resultobj;
23160fail:
23161 return NULL;
d55e5bfc
RD
23162}
23163
23164
1bd55598
RD
23165SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23166 PyObject *resultobj = 0;
23167 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23168 wxBitmap result;
23169 void *argp1 = 0 ;
23170 int res1 = 0 ;
23171 PyObject *swig_obj[1] ;
23172
23173 if (!args) SWIG_fail;
23174 swig_obj[0] = args;
23175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23176 if (!SWIG_IsOK(res1)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23178 }
23179 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 result = (arg1)->GetBitmap();
23183 wxPyEndAllowThreads(__tstate);
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23187 return resultobj;
23188fail:
23189 return NULL;
d55e5bfc
RD
23190}
23191
23192
1bd55598
RD
23193SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 PyObject *resultobj = 0;
23195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23196 wxString result;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject *swig_obj[1] ;
23200
23201 if (!args) SWIG_fail;
23202 swig_obj[0] = args;
23203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23204 if (!SWIG_IsOK(res1)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23206 }
23207 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (arg1)->GetLabel();
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215#if wxUSE_UNICODE
23216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23217#else
23218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23219#endif
23220 }
23221 return resultobj;
23222fail:
23223 return NULL;
d55e5bfc
RD
23224}
23225
23226
1bd55598
RD
23227SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23228 PyObject *resultobj = 0;
23229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23230 wxString result;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 PyObject *swig_obj[1] ;
23234
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23240 }
23241 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (arg1)->GetShortHelp();
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 {
23249#if wxUSE_UNICODE
23250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23251#else
23252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23253#endif
23254 }
23255 return resultobj;
23256fail:
23257 return NULL;
d55e5bfc
RD
23258}
23259
23260
1bd55598
RD
23261SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23262 PyObject *resultobj = 0;
23263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23264 wxString result;
23265 void *argp1 = 0 ;
23266 int res1 = 0 ;
23267 PyObject *swig_obj[1] ;
23268
23269 if (!args) SWIG_fail;
23270 swig_obj[0] = args;
23271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23272 if (!SWIG_IsOK(res1)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23274 }
23275 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 result = (arg1)->GetLongHelp();
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 {
23283#if wxUSE_UNICODE
23284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23285#else
23286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23287#endif
23288 }
23289 return resultobj;
23290fail:
23291 return NULL;
23292}
23293
23294
23295SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj = 0;
23297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23298 bool arg2 ;
23299 bool result;
23300 void *argp1 = 0 ;
23301 int res1 = 0 ;
23302 bool val2 ;
23303 int ecode2 = 0 ;
23304 PyObject * obj0 = 0 ;
23305 PyObject * obj1 = 0 ;
23306 char * kwnames[] = {
23307 (char *) "self",(char *) "enable", NULL
23308 };
23309
23310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23312 if (!SWIG_IsOK(res1)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23314 }
23315 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23316 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23317 if (!SWIG_IsOK(ecode2)) {
23318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23319 }
23320 arg2 = static_cast< bool >(val2);
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 result = (bool)(arg1)->Enable(arg2);
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 {
23328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23329 }
23330 return resultobj;
23331fail:
23332 return NULL;
d55e5bfc
RD
23333}
23334
23335
1bd55598
RD
23336SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23337 PyObject *resultobj = 0;
23338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23339 void *argp1 = 0 ;
23340 int res1 = 0 ;
23341 PyObject *swig_obj[1] ;
23342
23343 if (!args) SWIG_fail;
23344 swig_obj[0] = args;
23345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23346 if (!SWIG_IsOK(res1)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23348 }
23349 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->Toggle();
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_Py_Void();
23357 return resultobj;
23358fail:
23359 return NULL;
23360}
23361
23362
23363SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj = 0;
23365 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23366 bool arg2 ;
23367 bool result;
23368 void *argp1 = 0 ;
23369 int res1 = 0 ;
23370 bool val2 ;
23371 int ecode2 = 0 ;
23372 PyObject * obj0 = 0 ;
23373 PyObject * obj1 = 0 ;
23374 char * kwnames[] = {
23375 (char *) "self",(char *) "toggle", NULL
23376 };
23377
23378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23380 if (!SWIG_IsOK(res1)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23382 }
23383 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23385 if (!SWIG_IsOK(ecode2)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23387 }
23388 arg2 = static_cast< bool >(val2);
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 result = (bool)(arg1)->SetToggle(arg2);
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 {
23396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23397 }
23398 return resultobj;
23399fail:
23400 return NULL;
23401}
23402
23403
23404SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj = 0;
23406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23407 wxString *arg2 = 0 ;
23408 bool result;
23409 void *argp1 = 0 ;
23410 int res1 = 0 ;
23411 bool temp2 = false ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char * kwnames[] = {
23415 (char *) "self",(char *) "help", NULL
23416 };
23417
23418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23420 if (!SWIG_IsOK(res1)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 }
23423 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23424 {
23425 arg2 = wxString_in_helper(obj1);
23426 if (arg2 == NULL) SWIG_fail;
23427 temp2 = true;
23428 }
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23437 }
23438 {
23439 if (temp2)
23440 delete arg2;
23441 }
23442 return resultobj;
23443fail:
23444 {
23445 if (temp2)
23446 delete arg2;
23447 }
23448 return NULL;
23449}
23450
23451
23452SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23453 PyObject *resultobj = 0;
23454 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23455 wxString *arg2 = 0 ;
23456 bool result;
23457 void *argp1 = 0 ;
23458 int res1 = 0 ;
23459 bool temp2 = false ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 char * kwnames[] = {
23463 (char *) "self",(char *) "help", NULL
23464 };
23465
23466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23468 if (!SWIG_IsOK(res1)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23470 }
23471 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23472 {
23473 arg2 = wxString_in_helper(obj1);
23474 if (arg2 == NULL) SWIG_fail;
23475 temp2 = true;
23476 }
23477 {
23478 PyThreadState* __tstate = wxPyBeginAllowThreads();
23479 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23485 }
23486 {
23487 if (temp2)
23488 delete arg2;
23489 }
23490 return resultobj;
23491fail:
23492 {
23493 if (temp2)
23494 delete arg2;
23495 }
23496 return NULL;
23497}
23498
23499
23500SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj = 0;
23502 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23503 wxBitmap *arg2 = 0 ;
23504 void *argp1 = 0 ;
23505 int res1 = 0 ;
23506 void *argp2 = 0 ;
23507 int res2 = 0 ;
23508 PyObject * obj0 = 0 ;
23509 PyObject * obj1 = 0 ;
23510 char * kwnames[] = {
23511 (char *) "self",(char *) "bmp", NULL
23512 };
23513
23514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23516 if (!SWIG_IsOK(res1)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23518 }
23519 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23521 if (!SWIG_IsOK(res2)) {
23522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23523 }
23524 if (!argp2) {
23525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23526 }
23527 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_Py_Void();
23535 return resultobj;
23536fail:
23537 return NULL;
23538}
23539
23540
23541SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj = 0;
23543 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23544 wxBitmap *arg2 = 0 ;
23545 void *argp1 = 0 ;
23546 int res1 = 0 ;
23547 void *argp2 = 0 ;
23548 int res2 = 0 ;
23549 PyObject * obj0 = 0 ;
23550 PyObject * obj1 = 0 ;
23551 char * kwnames[] = {
23552 (char *) "self",(char *) "bmp", NULL
23553 };
23554
23555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23559 }
23560 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23561 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23562 if (!SWIG_IsOK(res2)) {
23563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23564 }
23565 if (!argp2) {
23566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23567 }
23568 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23569 {
23570 PyThreadState* __tstate = wxPyBeginAllowThreads();
23571 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 resultobj = SWIG_Py_Void();
23576 return resultobj;
23577fail:
23578 return NULL;
23579}
23580
23581
23582SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj = 0;
23584 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23585 wxString *arg2 = 0 ;
23586 void *argp1 = 0 ;
23587 int res1 = 0 ;
23588 bool temp2 = false ;
23589 PyObject * obj0 = 0 ;
23590 PyObject * obj1 = 0 ;
23591 char * kwnames[] = {
23592 (char *) "self",(char *) "label", NULL
23593 };
23594
23595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23597 if (!SWIG_IsOK(res1)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23599 }
23600 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23601 {
23602 arg2 = wxString_in_helper(obj1);
23603 if (arg2 == NULL) SWIG_fail;
23604 temp2 = true;
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->SetLabel((wxString const &)*arg2);
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 resultobj = SWIG_Py_Void();
23613 {
23614 if (temp2)
23615 delete arg2;
23616 }
23617 return resultobj;
23618fail:
23619 {
23620 if (temp2)
23621 delete arg2;
23622 }
23623 return NULL;
d55e5bfc
RD
23624}
23625
23626
1bd55598
RD
23627SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23628 PyObject *resultobj = 0;
23629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 PyObject *swig_obj[1] ;
23633
23634 if (!args) SWIG_fail;
23635 swig_obj[0] = args;
23636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23639 }
23640 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 (arg1)->Detach();
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 resultobj = SWIG_Py_Void();
23648 return resultobj;
23649fail:
23650 return NULL;
23651}
23652
23653
23654SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj = 0;
23656 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23657 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 void *argp2 = 0 ;
23661 int res2 = 0 ;
23662 PyObject * obj0 = 0 ;
23663 PyObject * obj1 = 0 ;
23664 char * kwnames[] = {
23665 (char *) "self",(char *) "tbar", NULL
23666 };
23667
23668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23670 if (!SWIG_IsOK(res1)) {
23671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23672 }
23673 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23675 if (!SWIG_IsOK(res2)) {
23676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23677 }
23678 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 (arg1)->Attach(arg2);
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 resultobj = SWIG_Py_Void();
23686 return resultobj;
23687fail:
23688 return NULL;
d55e5bfc
RD
23689}
23690
23691
1bd55598
RD
23692SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23693 PyObject *resultobj = 0;
23694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23695 PyObject *result = 0 ;
23696 void *argp1 = 0 ;
23697 int res1 = 0 ;
23698 PyObject *swig_obj[1] ;
23699
23700 if (!args) SWIG_fail;
23701 swig_obj[0] = args;
23702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23703 if (!SWIG_IsOK(res1)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23705 }
23706 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 resultobj = result;
23714 return resultobj;
23715fail:
23716 return NULL;
23717}
23718
23719
23720SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj = 0;
23722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23723 PyObject *arg2 = (PyObject *) 0 ;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char * kwnames[] = {
23729 (char *) "self",(char *) "clientData", NULL
23730 };
23731
23732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23734 if (!SWIG_IsOK(res1)) {
23735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23736 }
23737 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23738 arg2 = obj1;
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 wxToolBarToolBase_SetClientData(arg1,arg2);
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 resultobj = SWIG_Py_Void();
23746 return resultobj;
23747fail:
23748 return NULL;
23749}
23750
23751
23752SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23753 PyObject *obj;
23754 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23755 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23756 return SWIG_Py_Void();
23757}
23758
23759SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj = 0;
23761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23762 int arg2 ;
23763 wxString *arg3 = 0 ;
23764 wxBitmap *arg4 = 0 ;
23765 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23766 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23767 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23768 wxString const &arg7_defvalue = wxPyEmptyString ;
23769 wxString *arg7 = (wxString *) &arg7_defvalue ;
23770 wxString const &arg8_defvalue = wxPyEmptyString ;
23771 wxString *arg8 = (wxString *) &arg8_defvalue ;
23772 PyObject *arg9 = (PyObject *) NULL ;
23773 wxToolBarToolBase *result = 0 ;
23774 void *argp1 = 0 ;
23775 int res1 = 0 ;
23776 int val2 ;
23777 int ecode2 = 0 ;
23778 bool temp3 = false ;
23779 void *argp4 = 0 ;
23780 int res4 = 0 ;
23781 void *argp5 = 0 ;
23782 int res5 = 0 ;
23783 int val6 ;
23784 int ecode6 = 0 ;
23785 bool temp7 = false ;
23786 bool temp8 = false ;
23787 PyObject * obj0 = 0 ;
23788 PyObject * obj1 = 0 ;
23789 PyObject * obj2 = 0 ;
23790 PyObject * obj3 = 0 ;
23791 PyObject * obj4 = 0 ;
23792 PyObject * obj5 = 0 ;
23793 PyObject * obj6 = 0 ;
23794 PyObject * obj7 = 0 ;
23795 PyObject * obj8 = 0 ;
23796 char * kwnames[] = {
23797 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23798 };
23799
23800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23802 if (!SWIG_IsOK(res1)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23804 }
23805 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23806 ecode2 = SWIG_AsVal_int(obj1, &val2);
23807 if (!SWIG_IsOK(ecode2)) {
23808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23809 }
23810 arg2 = static_cast< int >(val2);
23811 {
23812 arg3 = wxString_in_helper(obj2);
23813 if (arg3 == NULL) SWIG_fail;
23814 temp3 = true;
23815 }
23816 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23817 if (!SWIG_IsOK(res4)) {
23818 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23819 }
23820 if (!argp4) {
23821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23822 }
23823 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23824 if (obj4) {
23825 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23826 if (!SWIG_IsOK(res5)) {
23827 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
36ed4f51 23828 }
1bd55598
RD
23829 if (!argp5) {
23830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
f20a2e1f 23831 }
1bd55598
RD
23832 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23833 }
23834 if (obj5) {
23835 ecode6 = SWIG_AsVal_int(obj5, &val6);
23836 if (!SWIG_IsOK(ecode6)) {
23837 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23838 }
23839 arg6 = static_cast< wxItemKind >(val6);
23840 }
23841 if (obj6) {
f20a2e1f 23842 {
1bd55598
RD
23843 arg7 = wxString_in_helper(obj6);
23844 if (arg7 == NULL) SWIG_fail;
23845 temp7 = true;
f20a2e1f 23846 }
1bd55598
RD
23847 }
23848 if (obj7) {
f20a2e1f 23849 {
1bd55598
RD
23850 arg8 = wxString_in_helper(obj7);
23851 if (arg8 == NULL) SWIG_fail;
23852 temp8 = true;
d55e5bfc 23853 }
1bd55598
RD
23854 }
23855 if (obj8) {
23856 arg9 = obj8;
23857 }
23858 {
23859 PyThreadState* __tstate = wxPyBeginAllowThreads();
23860 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23861 wxPyEndAllowThreads(__tstate);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 {
23865 resultobj = wxPyMake_wxObject(result, (bool)0);
23866 }
23867 {
23868 if (temp3)
23869 delete arg3;
23870 }
23871 {
23872 if (temp7)
23873 delete arg7;
23874 }
23875 {
23876 if (temp8)
23877 delete arg8;
23878 }
23879 return resultobj;
23880fail:
23881 {
23882 if (temp3)
23883 delete arg3;
23884 }
23885 {
23886 if (temp7)
23887 delete arg7;
23888 }
23889 {
23890 if (temp8)
23891 delete arg8;
23892 }
23893 return NULL;
23894}
23895
23896
23897SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj = 0;
23899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23900 size_t arg2 ;
23901 int arg3 ;
23902 wxString *arg4 = 0 ;
23903 wxBitmap *arg5 = 0 ;
23904 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23905 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23906 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23907 wxString const &arg8_defvalue = wxPyEmptyString ;
23908 wxString *arg8 = (wxString *) &arg8_defvalue ;
23909 wxString const &arg9_defvalue = wxPyEmptyString ;
23910 wxString *arg9 = (wxString *) &arg9_defvalue ;
23911 PyObject *arg10 = (PyObject *) NULL ;
23912 wxToolBarToolBase *result = 0 ;
23913 void *argp1 = 0 ;
23914 int res1 = 0 ;
23915 size_t val2 ;
23916 int ecode2 = 0 ;
23917 int val3 ;
23918 int ecode3 = 0 ;
23919 bool temp4 = false ;
23920 void *argp5 = 0 ;
23921 int res5 = 0 ;
23922 void *argp6 = 0 ;
23923 int res6 = 0 ;
23924 int val7 ;
23925 int ecode7 = 0 ;
23926 bool temp8 = false ;
23927 bool temp9 = false ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 PyObject * obj2 = 0 ;
23931 PyObject * obj3 = 0 ;
23932 PyObject * obj4 = 0 ;
23933 PyObject * obj5 = 0 ;
23934 PyObject * obj6 = 0 ;
23935 PyObject * obj7 = 0 ;
23936 PyObject * obj8 = 0 ;
23937 PyObject * obj9 = 0 ;
23938 char * kwnames[] = {
23939 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23940 };
23941
23942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23944 if (!SWIG_IsOK(res1)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23946 }
23947 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23948 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23949 if (!SWIG_IsOK(ecode2)) {
23950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23951 }
23952 arg2 = static_cast< size_t >(val2);
23953 ecode3 = SWIG_AsVal_int(obj2, &val3);
23954 if (!SWIG_IsOK(ecode3)) {
23955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23956 }
23957 arg3 = static_cast< int >(val3);
23958 {
23959 arg4 = wxString_in_helper(obj3);
23960 if (arg4 == NULL) SWIG_fail;
23961 temp4 = true;
23962 }
23963 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23964 if (!SWIG_IsOK(res5)) {
23965 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23966 }
23967 if (!argp5) {
23968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23969 }
23970 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23971 if (obj5) {
23972 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23973 if (!SWIG_IsOK(res6)) {
23974 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23975 }
1bd55598
RD
23976 if (!argp6) {
23977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23978 }
1bd55598
RD
23979 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23980 }
23981 if (obj6) {
23982 ecode7 = SWIG_AsVal_int(obj6, &val7);
23983 if (!SWIG_IsOK(ecode7)) {
23984 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23985 }
23986 arg7 = static_cast< wxItemKind >(val7);
23987 }
23988 if (obj7) {
d55e5bfc 23989 {
1bd55598
RD
23990 arg8 = wxString_in_helper(obj7);
23991 if (arg8 == NULL) SWIG_fail;
23992 temp8 = true;
d55e5bfc 23993 }
1bd55598
RD
23994 }
23995 if (obj8) {
d55e5bfc 23996 {
1bd55598
RD
23997 arg9 = wxString_in_helper(obj8);
23998 if (arg9 == NULL) SWIG_fail;
23999 temp9 = true;
d55e5bfc 24000 }
1bd55598
RD
24001 }
24002 if (obj9) {
24003 arg10 = obj9;
24004 }
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 {
24012 resultobj = wxPyMake_wxObject(result, (bool)0);
24013 }
24014 {
24015 if (temp4)
24016 delete arg4;
24017 }
24018 {
24019 if (temp8)
24020 delete arg8;
24021 }
24022 {
24023 if (temp9)
24024 delete arg9;
24025 }
24026 return resultobj;
24027fail:
24028 {
24029 if (temp4)
24030 delete arg4;
24031 }
24032 {
24033 if (temp8)
24034 delete arg8;
24035 }
24036 {
24037 if (temp9)
24038 delete arg9;
24039 }
24040 return NULL;
24041}
24042
24043
24044SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj = 0;
24046 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24047 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24048 wxToolBarToolBase *result = 0 ;
24049 void *argp1 = 0 ;
24050 int res1 = 0 ;
24051 void *argp2 = 0 ;
24052 int res2 = 0 ;
24053 PyObject * obj0 = 0 ;
24054 PyObject * obj1 = 0 ;
24055 char * kwnames[] = {
24056 (char *) "self",(char *) "tool", NULL
24057 };
24058
24059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24061 if (!SWIG_IsOK(res1)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24063 }
24064 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24066 if (!SWIG_IsOK(res2)) {
24067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24068 }
24069 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 {
24077 resultobj = wxPyMake_wxObject(result, (bool)0);
24078 }
24079 return resultobj;
24080fail:
24081 return NULL;
24082}
24083
24084
24085SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24086 PyObject *resultobj = 0;
24087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24088 size_t arg2 ;
24089 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24090 wxToolBarToolBase *result = 0 ;
24091 void *argp1 = 0 ;
24092 int res1 = 0 ;
24093 size_t val2 ;
24094 int ecode2 = 0 ;
24095 void *argp3 = 0 ;
24096 int res3 = 0 ;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099 PyObject * obj2 = 0 ;
24100 char * kwnames[] = {
24101 (char *) "self",(char *) "pos",(char *) "tool", NULL
24102 };
24103
24104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24106 if (!SWIG_IsOK(res1)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24108 }
24109 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24110 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24111 if (!SWIG_IsOK(ecode2)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24113 }
24114 arg2 = static_cast< size_t >(val2);
24115 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24116 if (!SWIG_IsOK(res3)) {
24117 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24118 }
24119 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 {
24127 resultobj = wxPyMake_wxObject(result, (bool)0);
24128 }
24129 return resultobj;
24130fail:
24131 return NULL;
24132}
24133
24134
24135SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj = 0;
24137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24138 wxControl *arg2 = (wxControl *) 0 ;
24139 wxToolBarToolBase *result = 0 ;
24140 void *argp1 = 0 ;
24141 int res1 = 0 ;
24142 void *argp2 = 0 ;
24143 int res2 = 0 ;
24144 PyObject * obj0 = 0 ;
24145 PyObject * obj1 = 0 ;
24146 char * kwnames[] = {
24147 (char *) "self",(char *) "control", NULL
24148 };
24149
24150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24152 if (!SWIG_IsOK(res1)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24154 }
24155 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24157 if (!SWIG_IsOK(res2)) {
24158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24159 }
24160 arg2 = reinterpret_cast< wxControl * >(argp2);
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 {
24168 resultobj = wxPyMake_wxObject(result, (bool)0);
24169 }
24170 return resultobj;
24171fail:
24172 return NULL;
24173}
24174
24175
24176SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj = 0;
24178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24179 size_t arg2 ;
24180 wxControl *arg3 = (wxControl *) 0 ;
24181 wxToolBarToolBase *result = 0 ;
24182 void *argp1 = 0 ;
24183 int res1 = 0 ;
24184 size_t val2 ;
24185 int ecode2 = 0 ;
24186 void *argp3 = 0 ;
24187 int res3 = 0 ;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj1 = 0 ;
24190 PyObject * obj2 = 0 ;
24191 char * kwnames[] = {
24192 (char *) "self",(char *) "pos",(char *) "control", NULL
24193 };
24194
24195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24197 if (!SWIG_IsOK(res1)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24199 }
24200 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24201 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24202 if (!SWIG_IsOK(ecode2)) {
24203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24204 }
24205 arg2 = static_cast< size_t >(val2);
24206 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24207 if (!SWIG_IsOK(res3)) {
24208 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24209 }
24210 arg3 = reinterpret_cast< wxControl * >(argp3);
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 {
24218 resultobj = wxPyMake_wxObject(result, (bool)0);
24219 }
24220 return resultobj;
24221fail:
24222 return NULL;
24223}
24224
24225
24226SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24227 PyObject *resultobj = 0;
24228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24229 int arg2 ;
24230 wxControl *result = 0 ;
24231 void *argp1 = 0 ;
24232 int res1 = 0 ;
24233 int val2 ;
24234 int ecode2 = 0 ;
24235 PyObject * obj0 = 0 ;
24236 PyObject * obj1 = 0 ;
24237 char * kwnames[] = {
24238 (char *) "self",(char *) "id", NULL
24239 };
24240
24241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24243 if (!SWIG_IsOK(res1)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24245 }
24246 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24247 ecode2 = SWIG_AsVal_int(obj1, &val2);
24248 if (!SWIG_IsOK(ecode2)) {
24249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24250 }
24251 arg2 = static_cast< int >(val2);
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = (wxControl *)(arg1)->FindControl(arg2);
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 {
24259 resultobj = wxPyMake_wxObject(result, 0);
24260 }
24261 return resultobj;
24262fail:
24263 return NULL;
d55e5bfc
RD
24264}
24265
24266
1bd55598
RD
24267SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24268 PyObject *resultobj = 0;
24269 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24270 wxToolBarToolBase *result = 0 ;
24271 void *argp1 = 0 ;
24272 int res1 = 0 ;
24273 PyObject *swig_obj[1] ;
24274
24275 if (!args) SWIG_fail;
24276 swig_obj[0] = args;
24277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24278 if (!SWIG_IsOK(res1)) {
24279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24280 }
24281 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24285 wxPyEndAllowThreads(__tstate);
24286 if (PyErr_Occurred()) SWIG_fail;
24287 }
24288 {
24289 resultobj = wxPyMake_wxObject(result, (bool)0);
24290 }
24291 return resultobj;
24292fail:
24293 return NULL;
24294}
24295
24296
24297SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj = 0;
24299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24300 size_t arg2 ;
24301 wxToolBarToolBase *result = 0 ;
24302 void *argp1 = 0 ;
24303 int res1 = 0 ;
24304 size_t val2 ;
24305 int ecode2 = 0 ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 char * kwnames[] = {
24309 (char *) "self",(char *) "pos", NULL
24310 };
24311
24312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24314 if (!SWIG_IsOK(res1)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24316 }
24317 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24318 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24319 if (!SWIG_IsOK(ecode2)) {
24320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24321 }
24322 arg2 = static_cast< size_t >(val2);
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24326 wxPyEndAllowThreads(__tstate);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 }
24329 {
24330 resultobj = wxPyMake_wxObject(result, (bool)0);
24331 }
24332 return resultobj;
24333fail:
24334 return NULL;
24335}
24336
24337
24338SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj = 0;
24340 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24341 int arg2 ;
24342 wxToolBarToolBase *result = 0 ;
24343 void *argp1 = 0 ;
24344 int res1 = 0 ;
24345 int val2 ;
24346 int ecode2 = 0 ;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349 char * kwnames[] = {
24350 (char *) "self",(char *) "id", NULL
24351 };
24352
24353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24355 if (!SWIG_IsOK(res1)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24357 }
24358 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24359 ecode2 = SWIG_AsVal_int(obj1, &val2);
24360 if (!SWIG_IsOK(ecode2)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24362 }
24363 arg2 = static_cast< int >(val2);
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 {
24371 resultobj = wxPyMake_wxObject(result, (bool)0);
24372 }
24373 return resultobj;
24374fail:
24375 return NULL;
24376}
24377
24378
24379SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj = 0;
24381 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24382 size_t arg2 ;
24383 bool result;
24384 void *argp1 = 0 ;
24385 int res1 = 0 ;
24386 size_t val2 ;
24387 int ecode2 = 0 ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 char * kwnames[] = {
24391 (char *) "self",(char *) "pos", NULL
24392 };
24393
24394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24396 if (!SWIG_IsOK(res1)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24398 }
24399 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24400 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24401 if (!SWIG_IsOK(ecode2)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24403 }
24404 arg2 = static_cast< size_t >(val2);
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 result = (bool)(arg1)->DeleteToolByPos(arg2);
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24413 }
24414 return resultobj;
24415fail:
24416 return NULL;
24417}
24418
24419
24420SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj = 0;
24422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24423 int arg2 ;
24424 bool result;
24425 void *argp1 = 0 ;
24426 int res1 = 0 ;
24427 int val2 ;
24428 int ecode2 = 0 ;
24429 PyObject * obj0 = 0 ;
24430 PyObject * obj1 = 0 ;
24431 char * kwnames[] = {
24432 (char *) "self",(char *) "id", NULL
24433 };
24434
24435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24437 if (!SWIG_IsOK(res1)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24439 }
24440 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24441 ecode2 = SWIG_AsVal_int(obj1, &val2);
24442 if (!SWIG_IsOK(ecode2)) {
24443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24444 }
24445 arg2 = static_cast< int >(val2);
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (bool)(arg1)->DeleteTool(arg2);
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24454 }
24455 return resultobj;
24456fail:
24457 return NULL;
d55e5bfc
RD
24458}
24459
24460
1bd55598
RD
24461SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24462 PyObject *resultobj = 0;
24463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24464 void *argp1 = 0 ;
24465 int res1 = 0 ;
24466 PyObject *swig_obj[1] ;
24467
24468 if (!args) SWIG_fail;
24469 swig_obj[0] = args;
24470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24471 if (!SWIG_IsOK(res1)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24473 }
24474 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24475 {
24476 PyThreadState* __tstate = wxPyBeginAllowThreads();
24477 (arg1)->ClearTools();
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 resultobj = SWIG_Py_Void();
24482 return resultobj;
24483fail:
24484 return NULL;
d55e5bfc
RD
24485}
24486
24487
1bd55598
RD
24488SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24489 PyObject *resultobj = 0;
24490 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24491 bool result;
24492 void *argp1 = 0 ;
24493 int res1 = 0 ;
24494 PyObject *swig_obj[1] ;
24495
24496 if (!args) SWIG_fail;
24497 swig_obj[0] = args;
24498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24499 if (!SWIG_IsOK(res1)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24501 }
24502 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 result = (bool)(arg1)->Realize();
24506 wxPyEndAllowThreads(__tstate);
24507 if (PyErr_Occurred()) SWIG_fail;
24508 }
24509 {
24510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24511 }
24512 return resultobj;
24513fail:
24514 return NULL;
24515}
24516
24517
24518SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24519 PyObject *resultobj = 0;
24520 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24521 int arg2 ;
24522 bool arg3 ;
24523 void *argp1 = 0 ;
24524 int res1 = 0 ;
24525 int val2 ;
24526 int ecode2 = 0 ;
24527 bool val3 ;
24528 int ecode3 = 0 ;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 PyObject * obj2 = 0 ;
24532 char * kwnames[] = {
24533 (char *) "self",(char *) "id",(char *) "enable", NULL
24534 };
24535
24536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24538 if (!SWIG_IsOK(res1)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24540 }
24541 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24542 ecode2 = SWIG_AsVal_int(obj1, &val2);
24543 if (!SWIG_IsOK(ecode2)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24545 }
24546 arg2 = static_cast< int >(val2);
24547 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24548 if (!SWIG_IsOK(ecode3)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24550 }
24551 arg3 = static_cast< bool >(val3);
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 (arg1)->EnableTool(arg2,arg3);
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 resultobj = SWIG_Py_Void();
24559 return resultobj;
24560fail:
24561 return NULL;
24562}
24563
24564
24565SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj = 0;
24567 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24568 int arg2 ;
24569 bool arg3 ;
24570 void *argp1 = 0 ;
24571 int res1 = 0 ;
24572 int val2 ;
24573 int ecode2 = 0 ;
24574 bool val3 ;
24575 int ecode3 = 0 ;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 PyObject * obj2 = 0 ;
24579 char * kwnames[] = {
24580 (char *) "self",(char *) "id",(char *) "toggle", NULL
24581 };
24582
24583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24585 if (!SWIG_IsOK(res1)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24587 }
24588 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24589 ecode2 = SWIG_AsVal_int(obj1, &val2);
24590 if (!SWIG_IsOK(ecode2)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24592 }
24593 arg2 = static_cast< int >(val2);
24594 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24595 if (!SWIG_IsOK(ecode3)) {
24596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24597 }
24598 arg3 = static_cast< bool >(val3);
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 (arg1)->ToggleTool(arg2,arg3);
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 resultobj = SWIG_Py_Void();
24606 return resultobj;
24607fail:
24608 return NULL;
24609}
24610
24611
24612SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj = 0;
24614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24615 int arg2 ;
24616 bool arg3 ;
24617 void *argp1 = 0 ;
24618 int res1 = 0 ;
24619 int val2 ;
24620 int ecode2 = 0 ;
24621 bool val3 ;
24622 int ecode3 = 0 ;
24623 PyObject * obj0 = 0 ;
24624 PyObject * obj1 = 0 ;
24625 PyObject * obj2 = 0 ;
24626 char * kwnames[] = {
24627 (char *) "self",(char *) "id",(char *) "toggle", NULL
24628 };
24629
24630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24632 if (!SWIG_IsOK(res1)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24634 }
24635 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24636 ecode2 = SWIG_AsVal_int(obj1, &val2);
24637 if (!SWIG_IsOK(ecode2)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24639 }
24640 arg2 = static_cast< int >(val2);
24641 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24642 if (!SWIG_IsOK(ecode3)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24644 }
24645 arg3 = static_cast< bool >(val3);
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetToggle(arg2,arg3);
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = SWIG_Py_Void();
24653 return resultobj;
24654fail:
24655 return NULL;
24656}
24657
24658
24659SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj = 0;
24661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24662 int arg2 ;
24663 PyObject *result = 0 ;
24664 void *argp1 = 0 ;
24665 int res1 = 0 ;
24666 int val2 ;
24667 int ecode2 = 0 ;
24668 PyObject * obj0 = 0 ;
24669 PyObject * obj1 = 0 ;
24670 char * kwnames[] = {
24671 (char *) "self",(char *) "id", NULL
24672 };
24673
24674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24676 if (!SWIG_IsOK(res1)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24678 }
24679 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24680 ecode2 = SWIG_AsVal_int(obj1, &val2);
24681 if (!SWIG_IsOK(ecode2)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24683 }
24684 arg2 = static_cast< int >(val2);
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = result;
24692 return resultobj;
24693fail:
24694 return NULL;
24695}
24696
24697
24698SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj = 0;
24700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24701 int arg2 ;
24702 PyObject *arg3 = (PyObject *) 0 ;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705 int val2 ;
24706 int ecode2 = 0 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 PyObject * obj2 = 0 ;
24710 char * kwnames[] = {
24711 (char *) "self",(char *) "id",(char *) "clientData", NULL
24712 };
24713
24714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24716 if (!SWIG_IsOK(res1)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24718 }
24719 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24720 ecode2 = SWIG_AsVal_int(obj1, &val2);
24721 if (!SWIG_IsOK(ecode2)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24723 }
24724 arg2 = static_cast< int >(val2);
24725 arg3 = obj2;
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_Py_Void();
24733 return resultobj;
24734fail:
24735 return NULL;
24736}
24737
24738
24739SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj = 0;
24741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24742 int arg2 ;
24743 int result;
24744 void *argp1 = 0 ;
24745 int res1 = 0 ;
24746 int val2 ;
24747 int ecode2 = 0 ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 char * kwnames[] = {
24751 (char *) "self",(char *) "id", NULL
24752 };
24753
24754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24756 if (!SWIG_IsOK(res1)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24758 }
24759 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24760 ecode2 = SWIG_AsVal_int(obj1, &val2);
24761 if (!SWIG_IsOK(ecode2)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24763 }
24764 arg2 = static_cast< int >(val2);
24765 {
24766 PyThreadState* __tstate = wxPyBeginAllowThreads();
24767 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 resultobj = SWIG_From_int(static_cast< int >(result));
24772 return resultobj;
24773fail:
24774 return NULL;
24775}
24776
24777
24778SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj = 0;
24780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24781 int arg2 ;
24782 bool result;
24783 void *argp1 = 0 ;
24784 int res1 = 0 ;
24785 int val2 ;
24786 int ecode2 = 0 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 char * kwnames[] = {
24790 (char *) "self",(char *) "id", NULL
24791 };
24792
24793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",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_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24797 }
24798 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24799 ecode2 = SWIG_AsVal_int(obj1, &val2);
24800 if (!SWIG_IsOK(ecode2)) {
24801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24802 }
24803 arg2 = static_cast< int >(val2);
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 result = (bool)(arg1)->GetToolState(arg2);
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 {
24811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24812 }
24813 return resultobj;
24814fail:
24815 return NULL;
24816}
24817
24818
24819SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24820 PyObject *resultobj = 0;
24821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24822 int arg2 ;
24823 bool result;
24824 void *argp1 = 0 ;
24825 int res1 = 0 ;
24826 int val2 ;
24827 int ecode2 = 0 ;
24828 PyObject * obj0 = 0 ;
24829 PyObject * obj1 = 0 ;
24830 char * kwnames[] = {
24831 (char *) "self",(char *) "id", NULL
24832 };
24833
24834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24836 if (!SWIG_IsOK(res1)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24838 }
24839 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24840 ecode2 = SWIG_AsVal_int(obj1, &val2);
24841 if (!SWIG_IsOK(ecode2)) {
24842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24843 }
24844 arg2 = static_cast< int >(val2);
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (bool)(arg1)->GetToolEnabled(arg2);
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 {
24852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24853 }
24854 return resultobj;
24855fail:
24856 return NULL;
24857}
24858
24859
24860SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj = 0;
24862 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24863 int arg2 ;
24864 wxString *arg3 = 0 ;
24865 void *argp1 = 0 ;
24866 int res1 = 0 ;
24867 int val2 ;
24868 int ecode2 = 0 ;
24869 bool temp3 = false ;
24870 PyObject * obj0 = 0 ;
24871 PyObject * obj1 = 0 ;
24872 PyObject * obj2 = 0 ;
24873 char * kwnames[] = {
24874 (char *) "self",(char *) "id",(char *) "helpString", NULL
24875 };
24876
24877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24879 if (!SWIG_IsOK(res1)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24881 }
24882 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24883 ecode2 = SWIG_AsVal_int(obj1, &val2);
24884 if (!SWIG_IsOK(ecode2)) {
24885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24886 }
24887 arg2 = static_cast< int >(val2);
24888 {
24889 arg3 = wxString_in_helper(obj2);
24890 if (arg3 == NULL) SWIG_fail;
24891 temp3 = true;
24892 }
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 resultobj = SWIG_Py_Void();
24900 {
24901 if (temp3)
24902 delete arg3;
24903 }
24904 return resultobj;
24905fail:
24906 {
24907 if (temp3)
24908 delete arg3;
24909 }
24910 return NULL;
24911}
24912
24913
24914SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24915 PyObject *resultobj = 0;
24916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24917 int arg2 ;
24918 wxString result;
24919 void *argp1 = 0 ;
24920 int res1 = 0 ;
24921 int val2 ;
24922 int ecode2 = 0 ;
24923 PyObject * obj0 = 0 ;
24924 PyObject * obj1 = 0 ;
24925 char * kwnames[] = {
24926 (char *) "self",(char *) "id", NULL
24927 };
24928
24929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24931 if (!SWIG_IsOK(res1)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24933 }
24934 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24935 ecode2 = SWIG_AsVal_int(obj1, &val2);
24936 if (!SWIG_IsOK(ecode2)) {
24937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24938 }
24939 arg2 = static_cast< int >(val2);
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 result = (arg1)->GetToolShortHelp(arg2);
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
24946 {
24947#if wxUSE_UNICODE
24948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24949#else
24950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24951#endif
24952 }
24953 return resultobj;
24954fail:
24955 return NULL;
24956}
24957
24958
24959SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj = 0;
24961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24962 int arg2 ;
24963 wxString *arg3 = 0 ;
24964 void *argp1 = 0 ;
24965 int res1 = 0 ;
24966 int val2 ;
24967 int ecode2 = 0 ;
24968 bool temp3 = false ;
24969 PyObject * obj0 = 0 ;
24970 PyObject * obj1 = 0 ;
24971 PyObject * obj2 = 0 ;
24972 char * kwnames[] = {
24973 (char *) "self",(char *) "id",(char *) "helpString", NULL
24974 };
24975
24976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24978 if (!SWIG_IsOK(res1)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24980 }
24981 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24982 ecode2 = SWIG_AsVal_int(obj1, &val2);
24983 if (!SWIG_IsOK(ecode2)) {
24984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24985 }
24986 arg2 = static_cast< int >(val2);
24987 {
24988 arg3 = wxString_in_helper(obj2);
24989 if (arg3 == NULL) SWIG_fail;
24990 temp3 = true;
24991 }
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 resultobj = SWIG_Py_Void();
24999 {
25000 if (temp3)
25001 delete arg3;
25002 }
25003 return resultobj;
25004fail:
25005 {
25006 if (temp3)
25007 delete arg3;
25008 }
25009 return NULL;
25010}
25011
25012
25013SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25014 PyObject *resultobj = 0;
25015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25016 int arg2 ;
25017 wxString result;
25018 void *argp1 = 0 ;
25019 int res1 = 0 ;
25020 int val2 ;
25021 int ecode2 = 0 ;
25022 PyObject * obj0 = 0 ;
25023 PyObject * obj1 = 0 ;
25024 char * kwnames[] = {
25025 (char *) "self",(char *) "id", NULL
25026 };
25027
25028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25030 if (!SWIG_IsOK(res1)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25032 }
25033 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25034 ecode2 = SWIG_AsVal_int(obj1, &val2);
25035 if (!SWIG_IsOK(ecode2)) {
25036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25037 }
25038 arg2 = static_cast< int >(val2);
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (arg1)->GetToolLongHelp(arg2);
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046#if wxUSE_UNICODE
25047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25048#else
25049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25050#endif
25051 }
25052 return resultobj;
25053fail:
25054 return NULL;
25055}
25056
25057
25058SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj = 0;
25060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25061 int arg2 ;
25062 int arg3 ;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 int val2 ;
25066 int ecode2 = 0 ;
25067 int val3 ;
25068 int ecode3 = 0 ;
25069 PyObject * obj0 = 0 ;
25070 PyObject * obj1 = 0 ;
25071 PyObject * obj2 = 0 ;
25072 char * kwnames[] = {
25073 (char *) "self",(char *) "x",(char *) "y", NULL
25074 };
25075
25076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25078 if (!SWIG_IsOK(res1)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25080 }
25081 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25082 ecode2 = SWIG_AsVal_int(obj1, &val2);
25083 if (!SWIG_IsOK(ecode2)) {
25084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25085 }
25086 arg2 = static_cast< int >(val2);
25087 ecode3 = SWIG_AsVal_int(obj2, &val3);
25088 if (!SWIG_IsOK(ecode3)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25090 }
25091 arg3 = static_cast< int >(val3);
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 (arg1)->SetMargins(arg2,arg3);
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_Py_Void();
25099 return resultobj;
25100fail:
25101 return NULL;
25102}
25103
25104
25105SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj = 0;
25107 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25108 wxSize *arg2 = 0 ;
25109 void *argp1 = 0 ;
25110 int res1 = 0 ;
25111 wxSize temp2 ;
25112 PyObject * obj0 = 0 ;
25113 PyObject * obj1 = 0 ;
25114 char * kwnames[] = {
25115 (char *) "self",(char *) "size", NULL
25116 };
25117
25118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25120 if (!SWIG_IsOK(res1)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25122 }
25123 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25124 {
25125 arg2 = &temp2;
25126 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25127 }
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 (arg1)->SetMargins((wxSize const &)*arg2);
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 resultobj = SWIG_Py_Void();
25135 return resultobj;
25136fail:
25137 return NULL;
25138}
25139
25140
25141SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25142 PyObject *resultobj = 0;
25143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25144 int arg2 ;
25145 void *argp1 = 0 ;
25146 int res1 = 0 ;
25147 int val2 ;
25148 int ecode2 = 0 ;
25149 PyObject * obj0 = 0 ;
25150 PyObject * obj1 = 0 ;
25151 char * kwnames[] = {
25152 (char *) "self",(char *) "packing", NULL
25153 };
25154
25155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25157 if (!SWIG_IsOK(res1)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25159 }
25160 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25161 ecode2 = SWIG_AsVal_int(obj1, &val2);
25162 if (!SWIG_IsOK(ecode2)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25164 }
25165 arg2 = static_cast< int >(val2);
25166 {
25167 PyThreadState* __tstate = wxPyBeginAllowThreads();
25168 (arg1)->SetToolPacking(arg2);
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 resultobj = SWIG_Py_Void();
25173 return resultobj;
25174fail:
25175 return NULL;
25176}
25177
25178
25179SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj = 0;
25181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25182 int arg2 ;
25183 void *argp1 = 0 ;
25184 int res1 = 0 ;
25185 int val2 ;
25186 int ecode2 = 0 ;
25187 PyObject * obj0 = 0 ;
25188 PyObject * obj1 = 0 ;
25189 char * kwnames[] = {
25190 (char *) "self",(char *) "separation", NULL
25191 };
25192
25193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25195 if (!SWIG_IsOK(res1)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25197 }
25198 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25199 ecode2 = SWIG_AsVal_int(obj1, &val2);
25200 if (!SWIG_IsOK(ecode2)) {
25201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25202 }
25203 arg2 = static_cast< int >(val2);
25204 {
25205 PyThreadState* __tstate = wxPyBeginAllowThreads();
25206 (arg1)->SetToolSeparation(arg2);
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 resultobj = SWIG_Py_Void();
25211 return resultobj;
25212fail:
25213 return NULL;
d55e5bfc
RD
25214}
25215
25216
1bd55598
RD
25217SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25218 PyObject *resultobj = 0;
25219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25220 wxSize result;
25221 void *argp1 = 0 ;
25222 int res1 = 0 ;
25223 PyObject *swig_obj[1] ;
25224
25225 if (!args) SWIG_fail;
25226 swig_obj[0] = args;
25227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25228 if (!SWIG_IsOK(res1)) {
25229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25230 }
25231 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 result = (arg1)->GetToolMargins();
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25239 return resultobj;
25240fail:
25241 return NULL;
d55e5bfc
RD
25242}
25243
25244
1bd55598
RD
25245SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25246 PyObject *resultobj = 0;
25247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25248 wxSize result;
25249 void *argp1 = 0 ;
25250 int res1 = 0 ;
25251 PyObject *swig_obj[1] ;
25252
25253 if (!args) SWIG_fail;
25254 swig_obj[0] = args;
25255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25256 if (!SWIG_IsOK(res1)) {
25257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25258 }
25259 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25260 {
25261 PyThreadState* __tstate = wxPyBeginAllowThreads();
25262 result = (arg1)->GetMargins();
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25267 return resultobj;
25268fail:
25269 return NULL;
d55e5bfc
RD
25270}
25271
25272
1bd55598
RD
25273SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25274 PyObject *resultobj = 0;
25275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25276 int result;
25277 void *argp1 = 0 ;
25278 int res1 = 0 ;
25279 PyObject *swig_obj[1] ;
25280
25281 if (!args) SWIG_fail;
25282 swig_obj[0] = args;
25283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25284 if (!SWIG_IsOK(res1)) {
25285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25286 }
25287 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25288 {
25289 PyThreadState* __tstate = wxPyBeginAllowThreads();
25290 result = (int)(arg1)->GetToolPacking();
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 resultobj = SWIG_From_int(static_cast< int >(result));
25295 return resultobj;
25296fail:
25297 return NULL;
d55e5bfc
RD
25298}
25299
25300
1bd55598
RD
25301SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25302 PyObject *resultobj = 0;
25303 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25304 int result;
25305 void *argp1 = 0 ;
25306 int res1 = 0 ;
25307 PyObject *swig_obj[1] ;
25308
25309 if (!args) SWIG_fail;
25310 swig_obj[0] = args;
25311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25312 if (!SWIG_IsOK(res1)) {
25313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25314 }
25315 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 result = (int)(arg1)->GetToolSeparation();
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 resultobj = SWIG_From_int(static_cast< int >(result));
25323 return resultobj;
25324fail:
25325 return NULL;
25326}
25327
25328
25329SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj = 0;
25331 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25332 int arg2 ;
25333 void *argp1 = 0 ;
25334 int res1 = 0 ;
25335 int val2 ;
25336 int ecode2 = 0 ;
25337 PyObject * obj0 = 0 ;
25338 PyObject * obj1 = 0 ;
25339 char * kwnames[] = {
25340 (char *) "self",(char *) "nRows", NULL
25341 };
25342
25343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25345 if (!SWIG_IsOK(res1)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25347 }
25348 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25349 ecode2 = SWIG_AsVal_int(obj1, &val2);
25350 if (!SWIG_IsOK(ecode2)) {
25351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25352 }
25353 arg2 = static_cast< int >(val2);
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 (arg1)->SetRows(arg2);
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
25360 resultobj = SWIG_Py_Void();
25361 return resultobj;
25362fail:
25363 return NULL;
25364}
25365
25366
25367SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25368 PyObject *resultobj = 0;
25369 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25370 int arg2 ;
25371 int arg3 ;
25372 void *argp1 = 0 ;
25373 int res1 = 0 ;
25374 int val2 ;
25375 int ecode2 = 0 ;
25376 int val3 ;
25377 int ecode3 = 0 ;
25378 PyObject * obj0 = 0 ;
25379 PyObject * obj1 = 0 ;
25380 PyObject * obj2 = 0 ;
25381 char * kwnames[] = {
25382 (char *) "self",(char *) "rows",(char *) "cols", NULL
25383 };
25384
25385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25389 }
25390 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25391 ecode2 = SWIG_AsVal_int(obj1, &val2);
25392 if (!SWIG_IsOK(ecode2)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25394 }
25395 arg2 = static_cast< int >(val2);
25396 ecode3 = SWIG_AsVal_int(obj2, &val3);
25397 if (!SWIG_IsOK(ecode3)) {
25398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25399 }
25400 arg3 = static_cast< int >(val3);
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->SetMaxRowsCols(arg2,arg3);
25404 wxPyEndAllowThreads(__tstate);
25405 if (PyErr_Occurred()) SWIG_fail;
25406 }
25407 resultobj = SWIG_Py_Void();
25408 return resultobj;
25409fail:
25410 return NULL;
d55e5bfc
RD
25411}
25412
25413
1bd55598
RD
25414SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25415 PyObject *resultobj = 0;
25416 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25417 int result;
25418 void *argp1 = 0 ;
25419 int res1 = 0 ;
25420 PyObject *swig_obj[1] ;
25421
25422 if (!args) SWIG_fail;
25423 swig_obj[0] = args;
25424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25425 if (!SWIG_IsOK(res1)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25427 }
25428 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (int)(arg1)->GetMaxRows();
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = SWIG_From_int(static_cast< int >(result));
25436 return resultobj;
25437fail:
25438 return NULL;
d55e5bfc
RD
25439}
25440
25441
1bd55598
RD
25442SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25443 PyObject *resultobj = 0;
25444 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25445 int result;
25446 void *argp1 = 0 ;
25447 int res1 = 0 ;
25448 PyObject *swig_obj[1] ;
25449
25450 if (!args) SWIG_fail;
25451 swig_obj[0] = args;
25452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25453 if (!SWIG_IsOK(res1)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25455 }
25456 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (int)(arg1)->GetMaxCols();
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 resultobj = SWIG_From_int(static_cast< int >(result));
25464 return resultobj;
25465fail:
25466 return NULL;
25467}
25468
25469
25470SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj = 0;
25472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25473 wxSize *arg2 = 0 ;
25474 void *argp1 = 0 ;
25475 int res1 = 0 ;
25476 wxSize temp2 ;
25477 PyObject * obj0 = 0 ;
25478 PyObject * obj1 = 0 ;
25479 char * kwnames[] = {
25480 (char *) "self",(char *) "size", NULL
25481 };
25482
25483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25485 if (!SWIG_IsOK(res1)) {
25486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25487 }
25488 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25489 {
25490 arg2 = &temp2;
25491 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25492 }
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25496 wxPyEndAllowThreads(__tstate);
25497 if (PyErr_Occurred()) SWIG_fail;
25498 }
25499 resultobj = SWIG_Py_Void();
25500 return resultobj;
25501fail:
25502 return NULL;
d55e5bfc
RD
25503}
25504
25505
1bd55598
RD
25506SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25507 PyObject *resultobj = 0;
25508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25509 wxSize result;
25510 void *argp1 = 0 ;
25511 int res1 = 0 ;
25512 PyObject *swig_obj[1] ;
25513
25514 if (!args) SWIG_fail;
25515 swig_obj[0] = args;
25516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25517 if (!SWIG_IsOK(res1)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25519 }
25520 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 result = (arg1)->GetToolBitmapSize();
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25528 return resultobj;
25529fail:
25530 return NULL;
d55e5bfc
RD
25531}
25532
25533
1bd55598
RD
25534SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25535 PyObject *resultobj = 0;
25536 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25537 wxSize result;
25538 void *argp1 = 0 ;
25539 int res1 = 0 ;
25540 PyObject *swig_obj[1] ;
25541
25542 if (!args) SWIG_fail;
25543 swig_obj[0] = args;
25544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25545 if (!SWIG_IsOK(res1)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25547 }
25548 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 result = (arg1)->GetToolSize();
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25556 return resultobj;
25557fail:
25558 return NULL;
25559}
25560
25561
25562SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj = 0;
25564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25565 int arg2 ;
25566 int arg3 ;
25567 wxToolBarToolBase *result = 0 ;
25568 void *argp1 = 0 ;
25569 int res1 = 0 ;
25570 int val2 ;
25571 int ecode2 = 0 ;
25572 int val3 ;
25573 int ecode3 = 0 ;
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 PyObject * obj2 = 0 ;
25577 char * kwnames[] = {
25578 (char *) "self",(char *) "x",(char *) "y", NULL
25579 };
25580
25581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25583 if (!SWIG_IsOK(res1)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25585 }
25586 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25587 ecode2 = SWIG_AsVal_int(obj1, &val2);
25588 if (!SWIG_IsOK(ecode2)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25590 }
25591 arg2 = static_cast< int >(val2);
25592 ecode3 = SWIG_AsVal_int(obj2, &val3);
25593 if (!SWIG_IsOK(ecode3)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25595 }
25596 arg3 = static_cast< int >(val3);
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 {
25604 resultobj = wxPyMake_wxObject(result, (bool)0);
25605 }
25606 return resultobj;
25607fail:
25608 return NULL;
25609}
25610
25611
25612SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj = 0;
25614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25615 int arg2 ;
25616 wxToolBarToolBase *result = 0 ;
25617 void *argp1 = 0 ;
25618 int res1 = 0 ;
25619 int val2 ;
25620 int ecode2 = 0 ;
25621 PyObject * obj0 = 0 ;
25622 PyObject * obj1 = 0 ;
25623 char * kwnames[] = {
25624 (char *) "self",(char *) "toolid", NULL
25625 };
25626
25627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25629 if (!SWIG_IsOK(res1)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25631 }
25632 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25633 ecode2 = SWIG_AsVal_int(obj1, &val2);
25634 if (!SWIG_IsOK(ecode2)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25636 }
25637 arg2 = static_cast< int >(val2);
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 {
25645 resultobj = wxPyMake_wxObject(result, (bool)0);
25646 }
25647 return resultobj;
25648fail:
25649 return NULL;
d55e5bfc
RD
25650}
25651
25652
1bd55598
RD
25653SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25654 PyObject *resultobj = 0;
25655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25656 bool result;
25657 void *argp1 = 0 ;
25658 int res1 = 0 ;
25659 PyObject *swig_obj[1] ;
25660
25661 if (!args) SWIG_fail;
25662 swig_obj[0] = args;
25663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25666 }
25667 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25668 {
25669 PyThreadState* __tstate = wxPyBeginAllowThreads();
25670 result = (bool)(arg1)->IsVertical();
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 {
25675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25676 }
25677 return resultobj;
25678fail:
25679 return NULL;
d55e5bfc
RD
25680}
25681
25682
1bd55598
RD
25683SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25684 PyObject *resultobj = 0;
25685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25686 size_t result;
25687 void *argp1 = 0 ;
25688 int res1 = 0 ;
25689 PyObject *swig_obj[1] ;
25690
25691 if (!args) SWIG_fail;
25692 swig_obj[0] = args;
25693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25694 if (!SWIG_IsOK(res1)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25696 }
25697 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25705 return resultobj;
25706fail:
25707 return NULL;
25708}
25709
25710
25711SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25712 PyObject *obj;
25713 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25714 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25715 return SWIG_Py_Void();
25716}
25717
25718SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj = 0;
25720 wxWindow *arg1 = (wxWindow *) 0 ;
25721 int arg2 = (int) -1 ;
25722 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25723 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25724 wxSize const &arg4_defvalue = wxDefaultSize ;
25725 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25726 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25727 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25728 wxString *arg6 = (wxString *) &arg6_defvalue ;
25729 wxToolBar *result = 0 ;
25730 void *argp1 = 0 ;
25731 int res1 = 0 ;
25732 int val2 ;
25733 int ecode2 = 0 ;
25734 wxPoint temp3 ;
25735 wxSize temp4 ;
25736 long val5 ;
25737 int ecode5 = 0 ;
25738 bool temp6 = false ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 PyObject * obj2 = 0 ;
25742 PyObject * obj3 = 0 ;
25743 PyObject * obj4 = 0 ;
25744 PyObject * obj5 = 0 ;
25745 char * kwnames[] = {
25746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25747 };
25748
25749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25751 if (!SWIG_IsOK(res1)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25753 }
25754 arg1 = reinterpret_cast< wxWindow * >(argp1);
25755 if (obj1) {
25756 ecode2 = SWIG_AsVal_int(obj1, &val2);
25757 if (!SWIG_IsOK(ecode2)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25759 }
25760 arg2 = static_cast< int >(val2);
25761 }
25762 if (obj2) {
d55e5bfc 25763 {
1bd55598
RD
25764 arg3 = &temp3;
25765 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25766 }
1bd55598
RD
25767 }
25768 if (obj3) {
d55e5bfc 25769 {
1bd55598
RD
25770 arg4 = &temp4;
25771 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25772 }
1bd55598
RD
25773 }
25774 if (obj4) {
25775 ecode5 = SWIG_AsVal_long(obj4, &val5);
25776 if (!SWIG_IsOK(ecode5)) {
25777 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25778 }
25779 arg5 = static_cast< long >(val5);
25780 }
25781 if (obj5) {
36ed4f51 25782 {
1bd55598
RD
25783 arg6 = wxString_in_helper(obj5);
25784 if (arg6 == NULL) SWIG_fail;
25785 temp6 = true;
36ed4f51 25786 }
1bd55598
RD
25787 }
25788 {
25789 if (!wxPyCheckForApp()) SWIG_fail;
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25796 {
25797 if (temp6)
25798 delete arg6;
25799 }
25800 return resultobj;
25801fail:
25802 {
25803 if (temp6)
25804 delete arg6;
25805 }
25806 return NULL;
d55e5bfc
RD
25807}
25808
25809
1bd55598
RD
25810SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25811 PyObject *resultobj = 0;
25812 wxToolBar *result = 0 ;
25813
25814 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25815 {
25816 if (!wxPyCheckForApp()) SWIG_fail;
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (wxToolBar *)new wxToolBar();
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25823 return resultobj;
25824fail:
25825 return NULL;
25826}
25827
25828
25829SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj = 0;
25831 wxToolBar *arg1 = (wxToolBar *) 0 ;
25832 wxWindow *arg2 = (wxWindow *) 0 ;
25833 int arg3 = (int) -1 ;
25834 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25835 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25836 wxSize const &arg5_defvalue = wxDefaultSize ;
25837 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25838 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25839 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25840 wxString *arg7 = (wxString *) &arg7_defvalue ;
25841 bool result;
25842 void *argp1 = 0 ;
25843 int res1 = 0 ;
25844 void *argp2 = 0 ;
25845 int res2 = 0 ;
25846 int val3 ;
25847 int ecode3 = 0 ;
25848 wxPoint temp4 ;
25849 wxSize temp5 ;
25850 long val6 ;
25851 int ecode6 = 0 ;
25852 bool temp7 = false ;
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 PyObject * obj2 = 0 ;
25856 PyObject * obj3 = 0 ;
25857 PyObject * obj4 = 0 ;
25858 PyObject * obj5 = 0 ;
25859 PyObject * obj6 = 0 ;
25860 char * kwnames[] = {
25861 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25862 };
25863
25864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25866 if (!SWIG_IsOK(res1)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25868 }
25869 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25871 if (!SWIG_IsOK(res2)) {
25872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25873 }
25874 arg2 = reinterpret_cast< wxWindow * >(argp2);
25875 if (obj2) {
25876 ecode3 = SWIG_AsVal_int(obj2, &val3);
25877 if (!SWIG_IsOK(ecode3)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25879 }
25880 arg3 = static_cast< int >(val3);
25881 }
25882 if (obj3) {
d55e5bfc 25883 {
1bd55598
RD
25884 arg4 = &temp4;
25885 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25886 }
1bd55598
RD
25887 }
25888 if (obj4) {
d55e5bfc 25889 {
1bd55598
RD
25890 arg5 = &temp5;
25891 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 25892 }
1bd55598
RD
25893 }
25894 if (obj5) {
25895 ecode6 = SWIG_AsVal_long(obj5, &val6);
25896 if (!SWIG_IsOK(ecode6)) {
25897 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25898 }
25899 arg6 = static_cast< long >(val6);
25900 }
25901 if (obj6) {
36ed4f51 25902 {
1bd55598
RD
25903 arg7 = wxString_in_helper(obj6);
25904 if (arg7 == NULL) SWIG_fail;
25905 temp7 = true;
36ed4f51 25906 }
1bd55598
RD
25907 }
25908 {
25909 PyThreadState* __tstate = wxPyBeginAllowThreads();
25910 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 {
25915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25916 }
25917 {
25918 if (temp7)
25919 delete arg7;
25920 }
25921 return resultobj;
25922fail:
25923 {
25924 if (temp7)
25925 delete arg7;
25926 }
25927 return NULL;
25928}
25929
25930
1bd55598
RD
25931SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj = 0;
25933 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25934 SwigValueWrapper<wxVisualAttributes > result;
25935 int val1 ;
25936 int ecode1 = 0 ;
25937 PyObject * obj0 = 0 ;
25938 char * kwnames[] = {
25939 (char *) "variant", NULL
25940 };
25941
25942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25943 if (obj0) {
25944 ecode1 = SWIG_AsVal_int(obj0, &val1);
25945 if (!SWIG_IsOK(ecode1)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25947 }
25948 arg1 = static_cast< wxWindowVariant >(val1);
25949 }
25950 {
25951 if (!wxPyCheckForApp()) SWIG_fail;
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = wxToolBar::GetClassDefaultAttributes(arg1);
25954 wxPyEndAllowThreads(__tstate);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25958 return resultobj;
25959fail:
25960 return NULL;
d55e5bfc
RD
25961}
25962
25963
1bd55598
RD
25964SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25965 PyObject *obj;
25966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25967 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25968 return SWIG_Py_Void();
d55e5bfc
RD
25969}
25970
1bd55598
RD
25971SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25972 return SWIG_Python_InitShadowInstance(args);
25973}
d55e5bfc 25974
1bd55598
RD
25975SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25976 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25977 return 1;
d55e5bfc
RD
25978}
25979
25980
1bd55598
RD
25981SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25982 PyObject *pyobj = 0;
25983
25984 {
25985#if wxUSE_UNICODE
25986 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25987#else
25988 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25989#endif
25990 }
25991 return pyobj;
25992}
25993
25994
25995SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj = 0;
25997 wxColour const &arg1_defvalue = wxNullColour ;
25998 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25999 wxColour const &arg2_defvalue = wxNullColour ;
26000 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26001 wxFont const &arg3_defvalue = wxNullFont ;
26002 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26003 wxListItemAttr *result = 0 ;
26004 wxColour temp1 ;
26005 wxColour temp2 ;
26006 void *argp3 = 0 ;
26007 int res3 = 0 ;
26008 PyObject * obj0 = 0 ;
26009 PyObject * obj1 = 0 ;
26010 PyObject * obj2 = 0 ;
26011 char * kwnames[] = {
26012 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26013 };
26014
26015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26016 if (obj0) {
d55e5bfc 26017 {
1bd55598
RD
26018 arg1 = &temp1;
26019 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 26020 }
1bd55598
RD
26021 }
26022 if (obj1) {
36ed4f51 26023 {
1bd55598
RD
26024 arg2 = &temp2;
26025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36ed4f51 26026 }
1bd55598
RD
26027 }
26028 if (obj2) {
26029 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26030 if (!SWIG_IsOK(res3)) {
26031 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 26032 }
1bd55598
RD
26033 if (!argp3) {
26034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
36ed4f51 26035 }
1bd55598
RD
26036 arg3 = reinterpret_cast< wxFont * >(argp3);
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26045 return resultobj;
26046fail:
26047 return NULL;
d55e5bfc
RD
26048}
26049
26050
1bd55598
RD
26051SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26052 PyObject *resultobj = 0;
26053 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26054 void *argp1 = 0 ;
26055 int res1 = 0 ;
26056 PyObject *swig_obj[1] ;
26057
26058 if (!args) SWIG_fail;
26059 swig_obj[0] = args;
26060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26061 if (!SWIG_IsOK(res1)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26063 }
26064 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 delete arg1;
d55e5bfc 26068
1bd55598
RD
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 resultobj = SWIG_Py_Void();
26073 return resultobj;
26074fail:
26075 return NULL;
26076}
26077
26078
26079SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26080 PyObject *resultobj = 0;
26081 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26082 wxColour *arg2 = 0 ;
26083 void *argp1 = 0 ;
26084 int res1 = 0 ;
26085 wxColour temp2 ;
26086 PyObject * obj0 = 0 ;
26087 PyObject * obj1 = 0 ;
26088 char * kwnames[] = {
26089 (char *) "self",(char *) "colText", NULL
26090 };
26091
26092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26094 if (!SWIG_IsOK(res1)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26096 }
26097 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26098 {
26099 arg2 = &temp2;
26100 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 (arg1)->SetTextColour((wxColour const &)*arg2);
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 resultobj = SWIG_Py_Void();
26109 return resultobj;
26110fail:
26111 return NULL;
26112}
26113
26114
26115SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26116 PyObject *resultobj = 0;
26117 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26118 wxColour *arg2 = 0 ;
26119 void *argp1 = 0 ;
26120 int res1 = 0 ;
26121 wxColour temp2 ;
26122 PyObject * obj0 = 0 ;
26123 PyObject * obj1 = 0 ;
26124 char * kwnames[] = {
26125 (char *) "self",(char *) "colBack", NULL
26126 };
26127
26128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26132 }
26133 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26134 {
26135 arg2 = &temp2;
26136 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26137 }
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 resultobj = SWIG_Py_Void();
26145 return resultobj;
26146fail:
26147 return NULL;
26148}
26149
26150
26151SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26152 PyObject *resultobj = 0;
26153 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26154 wxFont *arg2 = 0 ;
26155 void *argp1 = 0 ;
26156 int res1 = 0 ;
26157 void *argp2 = 0 ;
26158 int res2 = 0 ;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char * kwnames[] = {
26162 (char *) "self",(char *) "font", NULL
26163 };
26164
26165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26167 if (!SWIG_IsOK(res1)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26169 }
26170 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26171 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26172 if (!SWIG_IsOK(res2)) {
26173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26174 }
26175 if (!argp2) {
26176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26177 }
26178 arg2 = reinterpret_cast< wxFont * >(argp2);
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 (arg1)->SetFont((wxFont const &)*arg2);
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 resultobj = SWIG_Py_Void();
26186 return resultobj;
26187fail:
26188 return NULL;
d55e5bfc
RD
26189}
26190
26191
1bd55598
RD
26192SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26193 PyObject *resultobj = 0;
26194 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26195 bool result;
26196 void *argp1 = 0 ;
26197 int res1 = 0 ;
26198 PyObject *swig_obj[1] ;
26199
26200 if (!args) SWIG_fail;
26201 swig_obj[0] = args;
26202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26203 if (!SWIG_IsOK(res1)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26205 }
26206 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 result = (bool)(arg1)->HasTextColour();
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 {
26214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26215 }
26216 return resultobj;
26217fail:
26218 return NULL;
f20a2e1f
RD
26219}
26220
26221
1bd55598
RD
26222SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26223 PyObject *resultobj = 0;
26224 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26225 bool result;
26226 void *argp1 = 0 ;
26227 int res1 = 0 ;
26228 PyObject *swig_obj[1] ;
26229
26230 if (!args) SWIG_fail;
26231 swig_obj[0] = args;
26232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26233 if (!SWIG_IsOK(res1)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26235 }
26236 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26237 {
26238 PyThreadState* __tstate = wxPyBeginAllowThreads();
26239 result = (bool)(arg1)->HasBackgroundColour();
26240 wxPyEndAllowThreads(__tstate);
26241 if (PyErr_Occurred()) SWIG_fail;
26242 }
26243 {
26244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26245 }
26246 return resultobj;
26247fail:
26248 return NULL;
d55e5bfc 26249}
1bd55598
RD
26250
26251
26252SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26253 PyObject *resultobj = 0;
26254 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26255 bool result;
26256 void *argp1 = 0 ;
26257 int res1 = 0 ;
26258 PyObject *swig_obj[1] ;
26259
26260 if (!args) SWIG_fail;
26261 swig_obj[0] = args;
26262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26263 if (!SWIG_IsOK(res1)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26265 }
26266 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26267 {
26268 PyThreadState* __tstate = wxPyBeginAllowThreads();
26269 result = (bool)(arg1)->HasFont();
26270 wxPyEndAllowThreads(__tstate);
26271 if (PyErr_Occurred()) SWIG_fail;
26272 }
26273 {
26274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26275 }
26276 return resultobj;
26277fail:
26278 return NULL;
d55e5bfc
RD
26279}
26280
26281
1bd55598
RD
26282SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26283 PyObject *resultobj = 0;
26284 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26285 wxColour result;
26286 void *argp1 = 0 ;
26287 int res1 = 0 ;
26288 PyObject *swig_obj[1] ;
26289
26290 if (!args) SWIG_fail;
26291 swig_obj[0] = args;
26292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26293 if (!SWIG_IsOK(res1)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26295 }
26296 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26297 {
26298 PyThreadState* __tstate = wxPyBeginAllowThreads();
26299 result = (arg1)->GetTextColour();
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26304 return resultobj;
26305fail:
26306 return NULL;
d55e5bfc
RD
26307}
26308
26309
1bd55598
RD
26310SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26311 PyObject *resultobj = 0;
26312 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26313 wxColour result;
26314 void *argp1 = 0 ;
26315 int res1 = 0 ;
26316 PyObject *swig_obj[1] ;
26317
26318 if (!args) SWIG_fail;
26319 swig_obj[0] = args;
26320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26321 if (!SWIG_IsOK(res1)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26323 }
26324 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 result = (arg1)->GetBackgroundColour();
26328 wxPyEndAllowThreads(__tstate);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26332 return resultobj;
26333fail:
26334 return NULL;
d55e5bfc
RD
26335}
26336
26337
1bd55598
RD
26338SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26339 PyObject *resultobj = 0;
26340 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26341 wxFont result;
26342 void *argp1 = 0 ;
26343 int res1 = 0 ;
26344 PyObject *swig_obj[1] ;
26345
26346 if (!args) SWIG_fail;
26347 swig_obj[0] = args;
26348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26349 if (!SWIG_IsOK(res1)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26351 }
26352 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 result = (arg1)->GetFont();
26356 wxPyEndAllowThreads(__tstate);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 }
26359 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26360 return resultobj;
26361fail:
26362 return NULL;
26363}
26364
26365
26366SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj = 0;
26368 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26369 wxListItemAttr *arg2 = 0 ;
26370 void *argp1 = 0 ;
26371 int res1 = 0 ;
26372 void *argp2 = 0 ;
26373 int res2 = 0 ;
26374 PyObject * obj0 = 0 ;
26375 PyObject * obj1 = 0 ;
26376 char * kwnames[] = {
26377 (char *) "self",(char *) "source", NULL
26378 };
26379
26380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26382 if (!SWIG_IsOK(res1)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26384 }
26385 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26386 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26387 if (!SWIG_IsOK(res2)) {
26388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26389 }
26390 if (!argp2) {
26391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26392 }
26393 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_Py_Void();
26401 return resultobj;
26402fail:
26403 return NULL;
121b9a67
RD
26404}
26405
26406
1bd55598
RD
26407SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26408 PyObject *resultobj = 0;
26409 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26410 void *argp1 = 0 ;
26411 int res1 = 0 ;
26412 PyObject *swig_obj[1] ;
26413
26414 if (!args) SWIG_fail;
26415 swig_obj[0] = args;
26416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26417 if (!SWIG_IsOK(res1)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26419 }
26420 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 wxListItemAttr_Destroy(arg1);
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 resultobj = SWIG_Py_Void();
26428 return resultobj;
26429fail:
26430 return NULL;
121b9a67
RD
26431}
26432
26433
1bd55598
RD
26434SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26435 PyObject *obj;
26436 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26437 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26438 return SWIG_Py_Void();
121b9a67
RD
26439}
26440
1bd55598
RD
26441SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26442 return SWIG_Python_InitShadowInstance(args);
26443}
121b9a67 26444
1bd55598
RD
26445SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26446 PyObject *resultobj = 0;
26447 wxListItem *result = 0 ;
26448
26449 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = (wxListItem *)new wxListItem();
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
3ecece7e 26456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
1bd55598
RD
26457 return resultobj;
26458fail:
26459 return NULL;
121b9a67
RD
26460}
26461
26462
1bd55598
RD
26463SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26464 PyObject *resultobj = 0;
26465 wxListItem *arg1 = (wxListItem *) 0 ;
26466 void *argp1 = 0 ;
26467 int res1 = 0 ;
26468 PyObject *swig_obj[1] ;
26469
26470 if (!args) SWIG_fail;
26471 swig_obj[0] = args;
26472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26473 if (!SWIG_IsOK(res1)) {
26474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26475 }
26476 arg1 = reinterpret_cast< wxListItem * >(argp1);
26477 {
26478 PyThreadState* __tstate = wxPyBeginAllowThreads();
26479 delete arg1;
f20a2e1f 26480
1bd55598
RD
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 resultobj = SWIG_Py_Void();
26485 return resultobj;
26486fail:
26487 return NULL;
f20a2e1f
RD
26488}
26489
26490
1bd55598
RD
26491SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26492 PyObject *resultobj = 0;
26493 wxListItem *arg1 = (wxListItem *) 0 ;
26494 void *argp1 = 0 ;
26495 int res1 = 0 ;
26496 PyObject *swig_obj[1] ;
26497
26498 if (!args) SWIG_fail;
26499 swig_obj[0] = args;
26500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26501 if (!SWIG_IsOK(res1)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 }
26504 arg1 = reinterpret_cast< wxListItem * >(argp1);
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 (arg1)->Clear();
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 resultobj = SWIG_Py_Void();
26512 return resultobj;
26513fail:
26514 return NULL;
d55e5bfc 26515}
1bd55598
RD
26516
26517
26518SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26519 PyObject *resultobj = 0;
26520 wxListItem *arg1 = (wxListItem *) 0 ;
26521 void *argp1 = 0 ;
26522 int res1 = 0 ;
26523 PyObject *swig_obj[1] ;
26524
26525 if (!args) SWIG_fail;
26526 swig_obj[0] = args;
26527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26528 if (!SWIG_IsOK(res1)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26530 }
26531 arg1 = reinterpret_cast< wxListItem * >(argp1);
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 (arg1)->ClearAttributes();
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 resultobj = SWIG_Py_Void();
26539 return resultobj;
26540fail:
26541 return NULL;
26542}
26543
26544
26545SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj = 0;
26547 wxListItem *arg1 = (wxListItem *) 0 ;
26548 long arg2 ;
26549 void *argp1 = 0 ;
26550 int res1 = 0 ;
26551 long val2 ;
26552 int ecode2 = 0 ;
26553 PyObject * obj0 = 0 ;
26554 PyObject * obj1 = 0 ;
26555 char * kwnames[] = {
26556 (char *) "self",(char *) "mask", NULL
26557 };
26558
26559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26561 if (!SWIG_IsOK(res1)) {
26562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26563 }
26564 arg1 = reinterpret_cast< wxListItem * >(argp1);
26565 ecode2 = SWIG_AsVal_long(obj1, &val2);
26566 if (!SWIG_IsOK(ecode2)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26568 }
26569 arg2 = static_cast< long >(val2);
26570 {
26571 PyThreadState* __tstate = wxPyBeginAllowThreads();
26572 (arg1)->SetMask(arg2);
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 resultobj = SWIG_Py_Void();
26577 return resultobj;
26578fail:
26579 return NULL;
26580}
26581
26582
26583SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26584 PyObject *resultobj = 0;
26585 wxListItem *arg1 = (wxListItem *) 0 ;
26586 long arg2 ;
26587 void *argp1 = 0 ;
26588 int res1 = 0 ;
26589 long val2 ;
26590 int ecode2 = 0 ;
26591 PyObject * obj0 = 0 ;
26592 PyObject * obj1 = 0 ;
26593 char * kwnames[] = {
26594 (char *) "self",(char *) "id", NULL
26595 };
26596
26597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26599 if (!SWIG_IsOK(res1)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26601 }
26602 arg1 = reinterpret_cast< wxListItem * >(argp1);
26603 ecode2 = SWIG_AsVal_long(obj1, &val2);
26604 if (!SWIG_IsOK(ecode2)) {
26605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26606 }
26607 arg2 = static_cast< long >(val2);
26608 {
26609 PyThreadState* __tstate = wxPyBeginAllowThreads();
26610 (arg1)->SetId(arg2);
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = SWIG_Py_Void();
26615 return resultobj;
26616fail:
26617 return NULL;
26618}
26619
26620
26621SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26622 PyObject *resultobj = 0;
26623 wxListItem *arg1 = (wxListItem *) 0 ;
26624 int arg2 ;
26625 void *argp1 = 0 ;
26626 int res1 = 0 ;
26627 int val2 ;
26628 int ecode2 = 0 ;
26629 PyObject * obj0 = 0 ;
26630 PyObject * obj1 = 0 ;
26631 char * kwnames[] = {
26632 (char *) "self",(char *) "col", NULL
26633 };
26634
26635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26637 if (!SWIG_IsOK(res1)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26639 }
26640 arg1 = reinterpret_cast< wxListItem * >(argp1);
26641 ecode2 = SWIG_AsVal_int(obj1, &val2);
26642 if (!SWIG_IsOK(ecode2)) {
26643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26644 }
26645 arg2 = static_cast< int >(val2);
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 (arg1)->SetColumn(arg2);
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 resultobj = SWIG_Py_Void();
26653 return resultobj;
26654fail:
26655 return NULL;
26656}
26657
26658
26659SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj = 0;
26661 wxListItem *arg1 = (wxListItem *) 0 ;
26662 long arg2 ;
26663 void *argp1 = 0 ;
26664 int res1 = 0 ;
26665 long val2 ;
26666 int ecode2 = 0 ;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 char * kwnames[] = {
26670 (char *) "self",(char *) "state", NULL
26671 };
26672
26673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26675 if (!SWIG_IsOK(res1)) {
26676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26677 }
26678 arg1 = reinterpret_cast< wxListItem * >(argp1);
26679 ecode2 = SWIG_AsVal_long(obj1, &val2);
26680 if (!SWIG_IsOK(ecode2)) {
26681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26682 }
26683 arg2 = static_cast< long >(val2);
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 (arg1)->SetState(arg2);
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
26690 resultobj = SWIG_Py_Void();
26691 return resultobj;
26692fail:
26693 return NULL;
26694}
26695
26696
26697SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26698 PyObject *resultobj = 0;
26699 wxListItem *arg1 = (wxListItem *) 0 ;
26700 long arg2 ;
26701 void *argp1 = 0 ;
26702 int res1 = 0 ;
26703 long val2 ;
26704 int ecode2 = 0 ;
26705 PyObject * obj0 = 0 ;
26706 PyObject * obj1 = 0 ;
26707 char * kwnames[] = {
26708 (char *) "self",(char *) "stateMask", NULL
26709 };
26710
26711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26713 if (!SWIG_IsOK(res1)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26715 }
26716 arg1 = reinterpret_cast< wxListItem * >(argp1);
26717 ecode2 = SWIG_AsVal_long(obj1, &val2);
26718 if (!SWIG_IsOK(ecode2)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26720 }
26721 arg2 = static_cast< long >(val2);
26722 {
26723 PyThreadState* __tstate = wxPyBeginAllowThreads();
26724 (arg1)->SetStateMask(arg2);
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 resultobj = SWIG_Py_Void();
26729 return resultobj;
26730fail:
26731 return NULL;
26732}
26733
26734
26735SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj = 0;
26737 wxListItem *arg1 = (wxListItem *) 0 ;
26738 wxString *arg2 = 0 ;
26739 void *argp1 = 0 ;
26740 int res1 = 0 ;
26741 bool temp2 = false ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char * kwnames[] = {
26745 (char *) "self",(char *) "text", NULL
26746 };
26747
26748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26752 }
26753 arg1 = reinterpret_cast< wxListItem * >(argp1);
26754 {
26755 arg2 = wxString_in_helper(obj1);
26756 if (arg2 == NULL) SWIG_fail;
26757 temp2 = true;
26758 }
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->SetText((wxString const &)*arg2);
26762 wxPyEndAllowThreads(__tstate);
26763 if (PyErr_Occurred()) SWIG_fail;
26764 }
26765 resultobj = SWIG_Py_Void();
26766 {
26767 if (temp2)
26768 delete arg2;
26769 }
26770 return resultobj;
26771fail:
26772 {
26773 if (temp2)
26774 delete arg2;
26775 }
26776 return NULL;
26777}
26778
26779
26780SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26781 PyObject *resultobj = 0;
26782 wxListItem *arg1 = (wxListItem *) 0 ;
26783 int arg2 ;
26784 void *argp1 = 0 ;
26785 int res1 = 0 ;
26786 int val2 ;
26787 int ecode2 = 0 ;
26788 PyObject * obj0 = 0 ;
26789 PyObject * obj1 = 0 ;
26790 char * kwnames[] = {
26791 (char *) "self",(char *) "image", NULL
26792 };
26793
26794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26796 if (!SWIG_IsOK(res1)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26798 }
26799 arg1 = reinterpret_cast< wxListItem * >(argp1);
26800 ecode2 = SWIG_AsVal_int(obj1, &val2);
26801 if (!SWIG_IsOK(ecode2)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26803 }
26804 arg2 = static_cast< int >(val2);
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 (arg1)->SetImage(arg2);
26808 wxPyEndAllowThreads(__tstate);
26809 if (PyErr_Occurred()) SWIG_fail;
26810 }
26811 resultobj = SWIG_Py_Void();
26812 return resultobj;
26813fail:
26814 return NULL;
26815}
26816
26817
26818SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26819 PyObject *resultobj = 0;
26820 wxListItem *arg1 = (wxListItem *) 0 ;
26821 long arg2 ;
26822 void *argp1 = 0 ;
26823 int res1 = 0 ;
26824 long val2 ;
26825 int ecode2 = 0 ;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 char * kwnames[] = {
26829 (char *) "self",(char *) "data", NULL
26830 };
26831
26832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26834 if (!SWIG_IsOK(res1)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26836 }
26837 arg1 = reinterpret_cast< wxListItem * >(argp1);
26838 ecode2 = SWIG_AsVal_long(obj1, &val2);
26839 if (!SWIG_IsOK(ecode2)) {
26840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26841 }
26842 arg2 = static_cast< long >(val2);
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 (arg1)->SetData(arg2);
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 resultobj = SWIG_Py_Void();
26850 return resultobj;
26851fail:
26852 return NULL;
26853}
26854
26855
26856SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26857 PyObject *resultobj = 0;
26858 wxListItem *arg1 = (wxListItem *) 0 ;
26859 int arg2 ;
26860 void *argp1 = 0 ;
26861 int res1 = 0 ;
26862 int val2 ;
26863 int ecode2 = 0 ;
26864 PyObject * obj0 = 0 ;
26865 PyObject * obj1 = 0 ;
26866 char * kwnames[] = {
26867 (char *) "self",(char *) "width", NULL
26868 };
26869
26870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26872 if (!SWIG_IsOK(res1)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 }
26875 arg1 = reinterpret_cast< wxListItem * >(argp1);
26876 ecode2 = SWIG_AsVal_int(obj1, &val2);
26877 if (!SWIG_IsOK(ecode2)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26879 }
26880 arg2 = static_cast< int >(val2);
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 (arg1)->SetWidth(arg2);
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 resultobj = SWIG_Py_Void();
26888 return resultobj;
26889fail:
26890 return NULL;
26891}
26892
26893
26894SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj = 0;
26896 wxListItem *arg1 = (wxListItem *) 0 ;
26897 wxListColumnFormat arg2 ;
26898 void *argp1 = 0 ;
26899 int res1 = 0 ;
26900 int val2 ;
26901 int ecode2 = 0 ;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char * kwnames[] = {
26905 (char *) "self",(char *) "align", NULL
26906 };
26907
26908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26910 if (!SWIG_IsOK(res1)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 }
26913 arg1 = reinterpret_cast< wxListItem * >(argp1);
26914 ecode2 = SWIG_AsVal_int(obj1, &val2);
26915 if (!SWIG_IsOK(ecode2)) {
26916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26917 }
26918 arg2 = static_cast< wxListColumnFormat >(val2);
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 (arg1)->SetAlign(arg2);
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 resultobj = SWIG_Py_Void();
26926 return resultobj;
26927fail:
26928 return NULL;
26929}
26930
26931
26932SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj = 0;
26934 wxListItem *arg1 = (wxListItem *) 0 ;
26935 wxColour *arg2 = 0 ;
26936 void *argp1 = 0 ;
26937 int res1 = 0 ;
26938 wxColour temp2 ;
26939 PyObject * obj0 = 0 ;
26940 PyObject * obj1 = 0 ;
26941 char * kwnames[] = {
26942 (char *) "self",(char *) "colText", NULL
26943 };
26944
26945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26947 if (!SWIG_IsOK(res1)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26949 }
26950 arg1 = reinterpret_cast< wxListItem * >(argp1);
26951 {
26952 arg2 = &temp2;
26953 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26954 }
26955 {
26956 PyThreadState* __tstate = wxPyBeginAllowThreads();
26957 (arg1)->SetTextColour((wxColour const &)*arg2);
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
26961 resultobj = SWIG_Py_Void();
26962 return resultobj;
26963fail:
26964 return NULL;
26965}
26966
26967
26968SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26969 PyObject *resultobj = 0;
26970 wxListItem *arg1 = (wxListItem *) 0 ;
26971 wxColour *arg2 = 0 ;
26972 void *argp1 = 0 ;
26973 int res1 = 0 ;
26974 wxColour temp2 ;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char * kwnames[] = {
26978 (char *) "self",(char *) "colBack", NULL
26979 };
26980
26981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26983 if (!SWIG_IsOK(res1)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26985 }
26986 arg1 = reinterpret_cast< wxListItem * >(argp1);
26987 {
26988 arg2 = &temp2;
26989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 resultobj = SWIG_Py_Void();
26998 return resultobj;
26999fail:
27000 return NULL;
27001}
27002
27003
27004SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj = 0;
27006 wxListItem *arg1 = (wxListItem *) 0 ;
27007 wxFont *arg2 = 0 ;
27008 void *argp1 = 0 ;
27009 int res1 = 0 ;
27010 void *argp2 = 0 ;
27011 int res2 = 0 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 char * kwnames[] = {
27015 (char *) "self",(char *) "font", NULL
27016 };
27017
27018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27022 }
27023 arg1 = reinterpret_cast< wxListItem * >(argp1);
27024 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27025 if (!SWIG_IsOK(res2)) {
27026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27027 }
27028 if (!argp2) {
27029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27030 }
27031 arg2 = reinterpret_cast< wxFont * >(argp2);
27032 {
27033 PyThreadState* __tstate = wxPyBeginAllowThreads();
27034 (arg1)->SetFont((wxFont const &)*arg2);
27035 wxPyEndAllowThreads(__tstate);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 }
27038 resultobj = SWIG_Py_Void();
27039 return resultobj;
27040fail:
27041 return NULL;
d55e5bfc
RD
27042}
27043
27044
1bd55598
RD
27045SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27046 PyObject *resultobj = 0;
27047 wxListItem *arg1 = (wxListItem *) 0 ;
27048 long result;
27049 void *argp1 = 0 ;
27050 int res1 = 0 ;
27051 PyObject *swig_obj[1] ;
27052
27053 if (!args) SWIG_fail;
27054 swig_obj[0] = args;
27055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27056 if (!SWIG_IsOK(res1)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27058 }
27059 arg1 = reinterpret_cast< wxListItem * >(argp1);
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 result = (long)(arg1)->GetMask();
27063 wxPyEndAllowThreads(__tstate);
27064 if (PyErr_Occurred()) SWIG_fail;
27065 }
27066 resultobj = SWIG_From_long(static_cast< long >(result));
27067 return resultobj;
27068fail:
27069 return NULL;
d55e5bfc
RD
27070}
27071
27072
1bd55598
RD
27073SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27074 PyObject *resultobj = 0;
27075 wxListItem *arg1 = (wxListItem *) 0 ;
27076 long result;
27077 void *argp1 = 0 ;
27078 int res1 = 0 ;
27079 PyObject *swig_obj[1] ;
27080
27081 if (!args) SWIG_fail;
27082 swig_obj[0] = args;
27083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27084 if (!SWIG_IsOK(res1)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27086 }
27087 arg1 = reinterpret_cast< wxListItem * >(argp1);
27088 {
27089 PyThreadState* __tstate = wxPyBeginAllowThreads();
27090 result = (long)(arg1)->GetId();
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 resultobj = SWIG_From_long(static_cast< long >(result));
27095 return resultobj;
27096fail:
27097 return NULL;
d55e5bfc
RD
27098}
27099
27100
1bd55598
RD
27101SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27102 PyObject *resultobj = 0;
27103 wxListItem *arg1 = (wxListItem *) 0 ;
27104 int result;
27105 void *argp1 = 0 ;
27106 int res1 = 0 ;
27107 PyObject *swig_obj[1] ;
27108
27109 if (!args) SWIG_fail;
27110 swig_obj[0] = args;
27111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27112 if (!SWIG_IsOK(res1)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27114 }
27115 arg1 = reinterpret_cast< wxListItem * >(argp1);
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (int)(arg1)->GetColumn();
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 resultobj = SWIG_From_int(static_cast< int >(result));
27123 return resultobj;
27124fail:
27125 return NULL;
d55e5bfc
RD
27126}
27127
27128
1bd55598
RD
27129SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27130 PyObject *resultobj = 0;
27131 wxListItem *arg1 = (wxListItem *) 0 ;
27132 long result;
27133 void *argp1 = 0 ;
27134 int res1 = 0 ;
27135 PyObject *swig_obj[1] ;
27136
27137 if (!args) SWIG_fail;
27138 swig_obj[0] = args;
27139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27140 if (!SWIG_IsOK(res1)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27142 }
27143 arg1 = reinterpret_cast< wxListItem * >(argp1);
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (long)(arg1)->GetState();
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 resultobj = SWIG_From_long(static_cast< long >(result));
27151 return resultobj;
27152fail:
27153 return NULL;
8fb0e70a
RD
27154}
27155
27156
1bd55598
RD
27157SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27158 PyObject *resultobj = 0;
27159 wxListItem *arg1 = (wxListItem *) 0 ;
27160 wxString *result = 0 ;
27161 void *argp1 = 0 ;
27162 int res1 = 0 ;
27163 PyObject *swig_obj[1] ;
27164
27165 if (!args) SWIG_fail;
27166 swig_obj[0] = args;
27167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27168 if (!SWIG_IsOK(res1)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27170 }
27171 arg1 = reinterpret_cast< wxListItem * >(argp1);
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27174 {
1bd55598
RD
27175 wxString const &_result_ref = (arg1)->GetText();
27176 result = (wxString *) &_result_ref;
36ed4f51 27177 }
1bd55598
RD
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 {
27182#if wxUSE_UNICODE
27183 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27184#else
27185 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27186#endif
27187 }
27188 return resultobj;
27189fail:
27190 return NULL;
d55e5bfc
RD
27191}
27192
27193
1bd55598
RD
27194SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27195 PyObject *resultobj = 0;
27196 wxListItem *arg1 = (wxListItem *) 0 ;
27197 int result;
27198 void *argp1 = 0 ;
27199 int res1 = 0 ;
27200 PyObject *swig_obj[1] ;
27201
27202 if (!args) SWIG_fail;
27203 swig_obj[0] = args;
27204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27205 if (!SWIG_IsOK(res1)) {
27206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27207 }
27208 arg1 = reinterpret_cast< wxListItem * >(argp1);
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 result = (int)(arg1)->GetImage();
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 resultobj = SWIG_From_int(static_cast< int >(result));
27216 return resultobj;
27217fail:
27218 return NULL;
d55e5bfc
RD
27219}
27220
27221
1bd55598
RD
27222SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27223 PyObject *resultobj = 0;
27224 wxListItem *arg1 = (wxListItem *) 0 ;
27225 long result;
27226 void *argp1 = 0 ;
27227 int res1 = 0 ;
27228 PyObject *swig_obj[1] ;
27229
27230 if (!args) SWIG_fail;
27231 swig_obj[0] = args;
27232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27233 if (!SWIG_IsOK(res1)) {
27234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27235 }
27236 arg1 = reinterpret_cast< wxListItem * >(argp1);
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 result = (long)(arg1)->GetData();
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 resultobj = SWIG_From_long(static_cast< long >(result));
27244 return resultobj;
27245fail:
27246 return NULL;
d55e5bfc
RD
27247}
27248
27249
1bd55598
RD
27250SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27251 PyObject *resultobj = 0;
27252 wxListItem *arg1 = (wxListItem *) 0 ;
27253 int result;
27254 void *argp1 = 0 ;
27255 int res1 = 0 ;
27256 PyObject *swig_obj[1] ;
27257
27258 if (!args) SWIG_fail;
27259 swig_obj[0] = args;
27260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27261 if (!SWIG_IsOK(res1)) {
27262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27263 }
27264 arg1 = reinterpret_cast< wxListItem * >(argp1);
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (int)(arg1)->GetWidth();
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 resultobj = SWIG_From_int(static_cast< int >(result));
27272 return resultobj;
27273fail:
27274 return NULL;
d55e5bfc
RD
27275}
27276
27277
1bd55598
RD
27278SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27279 PyObject *resultobj = 0;
27280 wxListItem *arg1 = (wxListItem *) 0 ;
27281 wxListColumnFormat result;
27282 void *argp1 = 0 ;
27283 int res1 = 0 ;
27284 PyObject *swig_obj[1] ;
27285
27286 if (!args) SWIG_fail;
27287 swig_obj[0] = args;
27288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27289 if (!SWIG_IsOK(res1)) {
27290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27291 }
27292 arg1 = reinterpret_cast< wxListItem * >(argp1);
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 result = (wxListColumnFormat)(arg1)->GetAlign();
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 resultobj = SWIG_From_int(static_cast< int >(result));
27300 return resultobj;
27301fail:
27302 return NULL;
d55e5bfc
RD
27303}
27304
27305
1bd55598
RD
27306SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27307 PyObject *resultobj = 0;
27308 wxListItem *arg1 = (wxListItem *) 0 ;
27309 wxListItemAttr *result = 0 ;
27310 void *argp1 = 0 ;
27311 int res1 = 0 ;
27312 PyObject *swig_obj[1] ;
27313
27314 if (!args) SWIG_fail;
27315 swig_obj[0] = args;
27316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27317 if (!SWIG_IsOK(res1)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27319 }
27320 arg1 = reinterpret_cast< wxListItem * >(argp1);
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (wxListItemAttr *)(arg1)->GetAttributes();
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27328 return resultobj;
27329fail:
27330 return NULL;
d55e5bfc
RD
27331}
27332
27333
1bd55598
RD
27334SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *resultobj = 0;
27336 wxListItem *arg1 = (wxListItem *) 0 ;
27337 bool result;
27338 void *argp1 = 0 ;
27339 int res1 = 0 ;
27340 PyObject *swig_obj[1] ;
27341
27342 if (!args) SWIG_fail;
27343 swig_obj[0] = args;
27344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27345 if (!SWIG_IsOK(res1)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27347 }
27348 arg1 = reinterpret_cast< wxListItem * >(argp1);
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = (bool)(arg1)->HasAttributes();
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 {
27356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27357 }
27358 return resultobj;
27359fail:
27360 return NULL;
d55e5bfc
RD
27361}
27362
27363
1bd55598
RD
27364SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27365 PyObject *resultobj = 0;
27366 wxListItem *arg1 = (wxListItem *) 0 ;
27367 wxColour result;
27368 void *argp1 = 0 ;
27369 int res1 = 0 ;
27370 PyObject *swig_obj[1] ;
27371
27372 if (!args) SWIG_fail;
27373 swig_obj[0] = args;
27374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27375 if (!SWIG_IsOK(res1)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27377 }
27378 arg1 = reinterpret_cast< wxListItem * >(argp1);
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = ((wxListItem const *)arg1)->GetTextColour();
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27386 return resultobj;
27387fail:
27388 return NULL;
d55e5bfc
RD
27389}
27390
27391
1bd55598
RD
27392SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27393 PyObject *resultobj = 0;
27394 wxListItem *arg1 = (wxListItem *) 0 ;
27395 wxColour result;
27396 void *argp1 = 0 ;
27397 int res1 = 0 ;
27398 PyObject *swig_obj[1] ;
27399
27400 if (!args) SWIG_fail;
27401 swig_obj[0] = args;
27402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27403 if (!SWIG_IsOK(res1)) {
27404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27405 }
27406 arg1 = reinterpret_cast< wxListItem * >(argp1);
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27414 return resultobj;
27415fail:
27416 return NULL;
d55e5bfc
RD
27417}
27418
27419
1bd55598
RD
27420SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27421 PyObject *resultobj = 0;
27422 wxListItem *arg1 = (wxListItem *) 0 ;
27423 wxFont result;
27424 void *argp1 = 0 ;
27425 int res1 = 0 ;
27426 PyObject *swig_obj[1] ;
27427
27428 if (!args) SWIG_fail;
27429 swig_obj[0] = args;
27430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27431 if (!SWIG_IsOK(res1)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27433 }
27434 arg1 = reinterpret_cast< wxListItem * >(argp1);
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 result = ((wxListItem const *)arg1)->GetFont();
27438 wxPyEndAllowThreads(__tstate);
27439 if (PyErr_Occurred()) SWIG_fail;
27440 }
27441 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27442 return resultobj;
27443fail:
27444 return NULL;
27445}
27446
27447
27448SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27449 PyObject *resultobj = 0;
27450 wxListItem *arg1 = (wxListItem *) 0 ;
27451 long arg2 ;
27452 void *argp1 = 0 ;
27453 int res1 = 0 ;
27454 long val2 ;
27455 int ecode2 = 0 ;
27456 PyObject *swig_obj[2] ;
27457
27458 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27460 if (!SWIG_IsOK(res1)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 }
27463 arg1 = reinterpret_cast< wxListItem * >(argp1);
27464 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27465 if (!SWIG_IsOK(ecode2)) {
27466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27467 }
27468 arg2 = static_cast< long >(val2);
27469 if (arg1) (arg1)->m_mask = arg2;
27470
27471 resultobj = SWIG_Py_Void();
27472 return resultobj;
27473fail:
27474 return NULL;
d55e5bfc
RD
27475}
27476
27477
1bd55598
RD
27478SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27479 PyObject *resultobj = 0;
27480 wxListItem *arg1 = (wxListItem *) 0 ;
27481 long result;
27482 void *argp1 = 0 ;
27483 int res1 = 0 ;
27484 PyObject *swig_obj[1] ;
27485
27486 if (!args) SWIG_fail;
27487 swig_obj[0] = args;
27488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27489 if (!SWIG_IsOK(res1)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27491 }
27492 arg1 = reinterpret_cast< wxListItem * >(argp1);
27493 result = (long) ((arg1)->m_mask);
27494 resultobj = SWIG_From_long(static_cast< long >(result));
27495 return resultobj;
27496fail:
27497 return NULL;
27498}
27499
27500
27501SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27502 PyObject *resultobj = 0;
27503 wxListItem *arg1 = (wxListItem *) 0 ;
27504 long arg2 ;
27505 void *argp1 = 0 ;
27506 int res1 = 0 ;
27507 long val2 ;
27508 int ecode2 = 0 ;
27509 PyObject *swig_obj[2] ;
27510
27511 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27513 if (!SWIG_IsOK(res1)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27515 }
27516 arg1 = reinterpret_cast< wxListItem * >(argp1);
27517 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27518 if (!SWIG_IsOK(ecode2)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27520 }
27521 arg2 = static_cast< long >(val2);
27522 if (arg1) (arg1)->m_itemId = arg2;
27523
27524 resultobj = SWIG_Py_Void();
27525 return resultobj;
27526fail:
27527 return NULL;
7e08d4ef
RD
27528}
27529
27530
1bd55598
RD
27531SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27532 PyObject *resultobj = 0;
27533 wxListItem *arg1 = (wxListItem *) 0 ;
27534 long result;
27535 void *argp1 = 0 ;
27536 int res1 = 0 ;
27537 PyObject *swig_obj[1] ;
27538
27539 if (!args) SWIG_fail;
27540 swig_obj[0] = args;
27541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27542 if (!SWIG_IsOK(res1)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 }
27545 arg1 = reinterpret_cast< wxListItem * >(argp1);
27546 result = (long) ((arg1)->m_itemId);
27547 resultobj = SWIG_From_long(static_cast< long >(result));
27548 return resultobj;
27549fail:
27550 return NULL;
27551}
27552
27553
27554SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27555 PyObject *resultobj = 0;
27556 wxListItem *arg1 = (wxListItem *) 0 ;
27557 int arg2 ;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 int val2 ;
27561 int ecode2 = 0 ;
27562 PyObject *swig_obj[2] ;
27563
27564 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27566 if (!SWIG_IsOK(res1)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27568 }
27569 arg1 = reinterpret_cast< wxListItem * >(argp1);
27570 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27571 if (!SWIG_IsOK(ecode2)) {
27572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27573 }
27574 arg2 = static_cast< int >(val2);
27575 if (arg1) (arg1)->m_col = arg2;
27576
27577 resultobj = SWIG_Py_Void();
27578 return resultobj;
27579fail:
27580 return NULL;
7e08d4ef
RD
27581}
27582
27583
1bd55598
RD
27584SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27585 PyObject *resultobj = 0;
27586 wxListItem *arg1 = (wxListItem *) 0 ;
27587 int result;
27588 void *argp1 = 0 ;
27589 int res1 = 0 ;
27590 PyObject *swig_obj[1] ;
27591
27592 if (!args) SWIG_fail;
27593 swig_obj[0] = args;
27594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27595 if (!SWIG_IsOK(res1)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27597 }
27598 arg1 = reinterpret_cast< wxListItem * >(argp1);
27599 result = (int) ((arg1)->m_col);
27600 resultobj = SWIG_From_int(static_cast< int >(result));
27601 return resultobj;
27602fail:
27603 return NULL;
27604}
27605
27606
27607SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27608 PyObject *resultobj = 0;
27609 wxListItem *arg1 = (wxListItem *) 0 ;
27610 long arg2 ;
27611 void *argp1 = 0 ;
27612 int res1 = 0 ;
27613 long val2 ;
27614 int ecode2 = 0 ;
27615 PyObject *swig_obj[2] ;
27616
27617 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27619 if (!SWIG_IsOK(res1)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27621 }
27622 arg1 = reinterpret_cast< wxListItem * >(argp1);
27623 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27624 if (!SWIG_IsOK(ecode2)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27626 }
27627 arg2 = static_cast< long >(val2);
27628 if (arg1) (arg1)->m_state = arg2;
27629
27630 resultobj = SWIG_Py_Void();
27631 return resultobj;
27632fail:
27633 return NULL;
7e08d4ef
RD
27634}
27635
27636
1bd55598
RD
27637SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27638 PyObject *resultobj = 0;
27639 wxListItem *arg1 = (wxListItem *) 0 ;
27640 long result;
27641 void *argp1 = 0 ;
27642 int res1 = 0 ;
27643 PyObject *swig_obj[1] ;
27644
27645 if (!args) SWIG_fail;
27646 swig_obj[0] = args;
27647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27648 if (!SWIG_IsOK(res1)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27650 }
27651 arg1 = reinterpret_cast< wxListItem * >(argp1);
27652 result = (long) ((arg1)->m_state);
27653 resultobj = SWIG_From_long(static_cast< long >(result));
27654 return resultobj;
27655fail:
27656 return NULL;
27657}
27658
27659
27660SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27661 PyObject *resultobj = 0;
27662 wxListItem *arg1 = (wxListItem *) 0 ;
27663 long arg2 ;
27664 void *argp1 = 0 ;
27665 int res1 = 0 ;
27666 long val2 ;
27667 int ecode2 = 0 ;
27668 PyObject *swig_obj[2] ;
27669
27670 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27672 if (!SWIG_IsOK(res1)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27674 }
27675 arg1 = reinterpret_cast< wxListItem * >(argp1);
27676 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27677 if (!SWIG_IsOK(ecode2)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27679 }
27680 arg2 = static_cast< long >(val2);
27681 if (arg1) (arg1)->m_stateMask = arg2;
27682
27683 resultobj = SWIG_Py_Void();
27684 return resultobj;
27685fail:
27686 return NULL;
7e08d4ef
RD
27687}
27688
27689
1bd55598
RD
27690SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27691 PyObject *resultobj = 0;
27692 wxListItem *arg1 = (wxListItem *) 0 ;
27693 long result;
27694 void *argp1 = 0 ;
27695 int res1 = 0 ;
27696 PyObject *swig_obj[1] ;
27697
27698 if (!args) SWIG_fail;
27699 swig_obj[0] = args;
27700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27701 if (!SWIG_IsOK(res1)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27703 }
27704 arg1 = reinterpret_cast< wxListItem * >(argp1);
27705 result = (long) ((arg1)->m_stateMask);
27706 resultobj = SWIG_From_long(static_cast< long >(result));
27707 return resultobj;
27708fail:
27709 return NULL;
27710}
27711
27712
27713SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27714 PyObject *resultobj = 0;
27715 wxListItem *arg1 = (wxListItem *) 0 ;
27716 wxString *arg2 = (wxString *) 0 ;
27717 void *argp1 = 0 ;
27718 int res1 = 0 ;
27719 bool temp2 = false ;
27720 PyObject *swig_obj[2] ;
27721
27722 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27724 if (!SWIG_IsOK(res1)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27726 }
27727 arg1 = reinterpret_cast< wxListItem * >(argp1);
27728 {
27729 arg2 = wxString_in_helper(swig_obj[1]);
27730 if (arg2 == NULL) SWIG_fail;
27731 temp2 = true;
27732 }
27733 if (arg1) (arg1)->m_text = *arg2;
27734
27735 resultobj = SWIG_Py_Void();
27736 {
27737 if (temp2)
27738 delete arg2;
27739 }
27740 return resultobj;
27741fail:
27742 {
27743 if (temp2)
27744 delete arg2;
27745 }
27746 return NULL;
7e08d4ef
RD
27747}
27748
27749
1bd55598
RD
27750SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27751 PyObject *resultobj = 0;
27752 wxListItem *arg1 = (wxListItem *) 0 ;
27753 wxString *result = 0 ;
27754 void *argp1 = 0 ;
27755 int res1 = 0 ;
27756 PyObject *swig_obj[1] ;
27757
27758 if (!args) SWIG_fail;
27759 swig_obj[0] = args;
27760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27761 if (!SWIG_IsOK(res1)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27763 }
27764 arg1 = reinterpret_cast< wxListItem * >(argp1);
27765 result = (wxString *)& ((arg1)->m_text);
27766 {
27767#if wxUSE_UNICODE
27768 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27769#else
27770 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27771#endif
27772 }
27773 return resultobj;
27774fail:
27775 return NULL;
d55e5bfc
RD
27776}
27777
27778
1bd55598
RD
27779SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27780 PyObject *resultobj = 0;
27781 wxListItem *arg1 = (wxListItem *) 0 ;
27782 int arg2 ;
27783 void *argp1 = 0 ;
27784 int res1 = 0 ;
27785 int val2 ;
27786 int ecode2 = 0 ;
27787 PyObject *swig_obj[2] ;
27788
27789 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27791 if (!SWIG_IsOK(res1)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27793 }
27794 arg1 = reinterpret_cast< wxListItem * >(argp1);
27795 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27796 if (!SWIG_IsOK(ecode2)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27798 }
27799 arg2 = static_cast< int >(val2);
27800 if (arg1) (arg1)->m_image = arg2;
27801
27802 resultobj = SWIG_Py_Void();
27803 return resultobj;
27804fail:
27805 return NULL;
d55e5bfc
RD
27806}
27807
27808
1bd55598
RD
27809SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27810 PyObject *resultobj = 0;
27811 wxListItem *arg1 = (wxListItem *) 0 ;
27812 int result;
27813 void *argp1 = 0 ;
27814 int res1 = 0 ;
27815 PyObject *swig_obj[1] ;
27816
27817 if (!args) SWIG_fail;
27818 swig_obj[0] = args;
27819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27820 if (!SWIG_IsOK(res1)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27822 }
27823 arg1 = reinterpret_cast< wxListItem * >(argp1);
27824 result = (int) ((arg1)->m_image);
27825 resultobj = SWIG_From_int(static_cast< int >(result));
27826 return resultobj;
27827fail:
27828 return NULL;
27829}
27830
27831
27832SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27833 PyObject *resultobj = 0;
27834 wxListItem *arg1 = (wxListItem *) 0 ;
27835 long arg2 ;
27836 void *argp1 = 0 ;
27837 int res1 = 0 ;
27838 long val2 ;
27839 int ecode2 = 0 ;
27840 PyObject *swig_obj[2] ;
27841
27842 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27844 if (!SWIG_IsOK(res1)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27846 }
27847 arg1 = reinterpret_cast< wxListItem * >(argp1);
27848 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27849 if (!SWIG_IsOK(ecode2)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27851 }
27852 arg2 = static_cast< long >(val2);
27853 if (arg1) (arg1)->m_data = arg2;
27854
27855 resultobj = SWIG_Py_Void();
27856 return resultobj;
27857fail:
27858 return NULL;
d55e5bfc
RD
27859}
27860
27861
1bd55598
RD
27862SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27863 PyObject *resultobj = 0;
27864 wxListItem *arg1 = (wxListItem *) 0 ;
27865 long result;
27866 void *argp1 = 0 ;
27867 int res1 = 0 ;
27868 PyObject *swig_obj[1] ;
27869
27870 if (!args) SWIG_fail;
27871 swig_obj[0] = args;
27872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27873 if (!SWIG_IsOK(res1)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27875 }
27876 arg1 = reinterpret_cast< wxListItem * >(argp1);
27877 result = (long) ((arg1)->m_data);
27878 resultobj = SWIG_From_long(static_cast< long >(result));
27879 return resultobj;
27880fail:
27881 return NULL;
27882}
27883
27884
27885SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27886 PyObject *resultobj = 0;
27887 wxListItem *arg1 = (wxListItem *) 0 ;
27888 int arg2 ;
27889 void *argp1 = 0 ;
27890 int res1 = 0 ;
27891 int val2 ;
27892 int ecode2 = 0 ;
27893 PyObject *swig_obj[2] ;
27894
27895 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27897 if (!SWIG_IsOK(res1)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27899 }
27900 arg1 = reinterpret_cast< wxListItem * >(argp1);
27901 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27902 if (!SWIG_IsOK(ecode2)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27904 }
27905 arg2 = static_cast< int >(val2);
27906 if (arg1) (arg1)->m_format = arg2;
27907
27908 resultobj = SWIG_Py_Void();
27909 return resultobj;
27910fail:
27911 return NULL;
d55e5bfc
RD
27912}
27913
27914
1bd55598
RD
27915SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27916 PyObject *resultobj = 0;
27917 wxListItem *arg1 = (wxListItem *) 0 ;
27918 int result;
27919 void *argp1 = 0 ;
27920 int res1 = 0 ;
27921 PyObject *swig_obj[1] ;
27922
27923 if (!args) SWIG_fail;
27924 swig_obj[0] = args;
27925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27926 if (!SWIG_IsOK(res1)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27928 }
27929 arg1 = reinterpret_cast< wxListItem * >(argp1);
27930 result = (int) ((arg1)->m_format);
27931 resultobj = SWIG_From_int(static_cast< int >(result));
27932 return resultobj;
27933fail:
27934 return NULL;
27935}
27936
27937
27938SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27939 PyObject *resultobj = 0;
27940 wxListItem *arg1 = (wxListItem *) 0 ;
27941 int arg2 ;
27942 void *argp1 = 0 ;
27943 int res1 = 0 ;
27944 int val2 ;
27945 int ecode2 = 0 ;
27946 PyObject *swig_obj[2] ;
27947
27948 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27950 if (!SWIG_IsOK(res1)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27952 }
27953 arg1 = reinterpret_cast< wxListItem * >(argp1);
27954 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27955 if (!SWIG_IsOK(ecode2)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27957 }
27958 arg2 = static_cast< int >(val2);
27959 if (arg1) (arg1)->m_width = arg2;
27960
27961 resultobj = SWIG_Py_Void();
27962 return resultobj;
27963fail:
27964 return NULL;
d55e5bfc
RD
27965}
27966
27967
1bd55598
RD
27968SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27969 PyObject *resultobj = 0;
27970 wxListItem *arg1 = (wxListItem *) 0 ;
27971 int result;
27972 void *argp1 = 0 ;
27973 int res1 = 0 ;
27974 PyObject *swig_obj[1] ;
27975
27976 if (!args) SWIG_fail;
27977 swig_obj[0] = args;
27978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27979 if (!SWIG_IsOK(res1)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27981 }
27982 arg1 = reinterpret_cast< wxListItem * >(argp1);
27983 result = (int) ((arg1)->m_width);
27984 resultobj = SWIG_From_int(static_cast< int >(result));
27985 return resultobj;
27986fail:
27987 return NULL;
27988}
27989
27990
27991SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27992 PyObject *obj;
27993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27994 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27995 return SWIG_Py_Void();
27996}
27997
27998SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27999 return SWIG_Python_InitShadowInstance(args);
28000}
28001
28002SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj = 0;
28004 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28005 int arg2 = (int) 0 ;
28006 wxListEvent *result = 0 ;
28007 int val1 ;
28008 int ecode1 = 0 ;
28009 int val2 ;
28010 int ecode2 = 0 ;
28011 PyObject * obj0 = 0 ;
28012 PyObject * obj1 = 0 ;
28013 char * kwnames[] = {
28014 (char *) "commandType",(char *) "id", NULL
28015 };
28016
28017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28018 if (obj0) {
28019 ecode1 = SWIG_AsVal_int(obj0, &val1);
28020 if (!SWIG_IsOK(ecode1)) {
28021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28022 }
28023 arg1 = static_cast< wxEventType >(val1);
28024 }
28025 if (obj1) {
28026 ecode2 = SWIG_AsVal_int(obj1, &val2);
28027 if (!SWIG_IsOK(ecode2)) {
28028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28029 }
28030 arg2 = static_cast< int >(val2);
28031 }
28032 {
28033 PyThreadState* __tstate = wxPyBeginAllowThreads();
28034 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28035 wxPyEndAllowThreads(__tstate);
28036 if (PyErr_Occurred()) SWIG_fail;
28037 }
28038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28039 return resultobj;
28040fail:
28041 return NULL;
28042}
28043
28044
28045SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28046 PyObject *resultobj = 0;
28047 wxListEvent *arg1 = (wxListEvent *) 0 ;
28048 int arg2 ;
28049 void *argp1 = 0 ;
28050 int res1 = 0 ;
28051 int val2 ;
28052 int ecode2 = 0 ;
28053 PyObject *swig_obj[2] ;
28054
28055 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28057 if (!SWIG_IsOK(res1)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28059 }
28060 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28061 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28062 if (!SWIG_IsOK(ecode2)) {
28063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28064 }
28065 arg2 = static_cast< int >(val2);
28066 if (arg1) (arg1)->m_code = arg2;
28067
28068 resultobj = SWIG_Py_Void();
28069 return resultobj;
28070fail:
28071 return NULL;
d55e5bfc
RD
28072}
28073
28074
1bd55598
RD
28075SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28076 PyObject *resultobj = 0;
28077 wxListEvent *arg1 = (wxListEvent *) 0 ;
28078 int result;
28079 void *argp1 = 0 ;
28080 int res1 = 0 ;
28081 PyObject *swig_obj[1] ;
28082
28083 if (!args) SWIG_fail;
28084 swig_obj[0] = args;
28085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28086 if (!SWIG_IsOK(res1)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 }
28089 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28090 result = (int) ((arg1)->m_code);
28091 resultobj = SWIG_From_int(static_cast< int >(result));
28092 return resultobj;
28093fail:
28094 return NULL;
28095}
28096
28097
28098SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28099 PyObject *resultobj = 0;
28100 wxListEvent *arg1 = (wxListEvent *) 0 ;
28101 long arg2 ;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 long val2 ;
28105 int ecode2 = 0 ;
28106 PyObject *swig_obj[2] ;
28107
28108 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28110 if (!SWIG_IsOK(res1)) {
28111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28112 }
28113 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28114 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28115 if (!SWIG_IsOK(ecode2)) {
28116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28117 }
28118 arg2 = static_cast< long >(val2);
28119 if (arg1) (arg1)->m_oldItemIndex = arg2;
28120
28121 resultobj = SWIG_Py_Void();
28122 return resultobj;
28123fail:
28124 return NULL;
d55e5bfc
RD
28125}
28126
28127
1bd55598
RD
28128SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28129 PyObject *resultobj = 0;
28130 wxListEvent *arg1 = (wxListEvent *) 0 ;
28131 long result;
28132 void *argp1 = 0 ;
28133 int res1 = 0 ;
28134 PyObject *swig_obj[1] ;
28135
28136 if (!args) SWIG_fail;
28137 swig_obj[0] = args;
28138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28139 if (!SWIG_IsOK(res1)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28141 }
28142 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28143 result = (long) ((arg1)->m_oldItemIndex);
28144 resultobj = SWIG_From_long(static_cast< long >(result));
28145 return resultobj;
28146fail:
28147 return NULL;
28148}
28149
28150
28151SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28152 PyObject *resultobj = 0;
28153 wxListEvent *arg1 = (wxListEvent *) 0 ;
28154 long arg2 ;
28155 void *argp1 = 0 ;
28156 int res1 = 0 ;
28157 long val2 ;
28158 int ecode2 = 0 ;
28159 PyObject *swig_obj[2] ;
28160
28161 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28163 if (!SWIG_IsOK(res1)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28165 }
28166 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28167 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28168 if (!SWIG_IsOK(ecode2)) {
28169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28170 }
28171 arg2 = static_cast< long >(val2);
28172 if (arg1) (arg1)->m_itemIndex = arg2;
28173
28174 resultobj = SWIG_Py_Void();
28175 return resultobj;
28176fail:
28177 return NULL;
f20a2e1f
RD
28178}
28179
28180
1bd55598
RD
28181SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28182 PyObject *resultobj = 0;
28183 wxListEvent *arg1 = (wxListEvent *) 0 ;
28184 long result;
28185 void *argp1 = 0 ;
28186 int res1 = 0 ;
28187 PyObject *swig_obj[1] ;
28188
28189 if (!args) SWIG_fail;
28190 swig_obj[0] = args;
28191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28192 if (!SWIG_IsOK(res1)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28194 }
28195 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28196 result = (long) ((arg1)->m_itemIndex);
28197 resultobj = SWIG_From_long(static_cast< long >(result));
28198 return resultobj;
28199fail:
28200 return NULL;
28201}
28202
28203
28204SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28205 PyObject *resultobj = 0;
28206 wxListEvent *arg1 = (wxListEvent *) 0 ;
28207 int arg2 ;
28208 void *argp1 = 0 ;
28209 int res1 = 0 ;
28210 int val2 ;
28211 int ecode2 = 0 ;
28212 PyObject *swig_obj[2] ;
28213
28214 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28216 if (!SWIG_IsOK(res1)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28218 }
28219 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28220 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28221 if (!SWIG_IsOK(ecode2)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28223 }
28224 arg2 = static_cast< int >(val2);
28225 if (arg1) (arg1)->m_col = arg2;
28226
28227 resultobj = SWIG_Py_Void();
28228 return resultobj;
28229fail:
28230 return NULL;
d55e5bfc
RD
28231}
28232
28233
1bd55598
RD
28234SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28235 PyObject *resultobj = 0;
28236 wxListEvent *arg1 = (wxListEvent *) 0 ;
28237 int result;
28238 void *argp1 = 0 ;
28239 int res1 = 0 ;
28240 PyObject *swig_obj[1] ;
28241
28242 if (!args) SWIG_fail;
28243 swig_obj[0] = args;
28244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28245 if (!SWIG_IsOK(res1)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28247 }
28248 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28249 result = (int) ((arg1)->m_col);
28250 resultobj = SWIG_From_int(static_cast< int >(result));
28251 return resultobj;
28252fail:
28253 return NULL;
28254}
28255
28256
28257SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28258 PyObject *resultobj = 0;
28259 wxListEvent *arg1 = (wxListEvent *) 0 ;
28260 wxPoint *arg2 = (wxPoint *) 0 ;
28261 void *argp1 = 0 ;
28262 int res1 = 0 ;
28263 void *argp2 = 0 ;
28264 int res2 = 0 ;
28265 PyObject *swig_obj[2] ;
28266
28267 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28269 if (!SWIG_IsOK(res1)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28271 }
28272 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28273 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28274 if (!SWIG_IsOK(res2)) {
28275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28276 }
28277 arg2 = reinterpret_cast< wxPoint * >(argp2);
28278 if (arg1) (arg1)->m_pointDrag = *arg2;
28279
28280 resultobj = SWIG_Py_Void();
28281 return resultobj;
28282fail:
28283 return NULL;
d55e5bfc
RD
28284}
28285
28286
1bd55598
RD
28287SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28288 PyObject *resultobj = 0;
28289 wxListEvent *arg1 = (wxListEvent *) 0 ;
28290 wxPoint *result = 0 ;
28291 void *argp1 = 0 ;
28292 int res1 = 0 ;
28293 PyObject *swig_obj[1] ;
28294
28295 if (!args) SWIG_fail;
28296 swig_obj[0] = args;
28297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28298 if (!SWIG_IsOK(res1)) {
28299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28300 }
28301 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28302 result = (wxPoint *)& ((arg1)->m_pointDrag);
28303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28304 return resultobj;
28305fail:
28306 return NULL;
28307}
28308
28309
28310SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28311 PyObject *resultobj = 0;
28312 wxListEvent *arg1 = (wxListEvent *) 0 ;
28313 wxListItem *result = 0 ;
28314 void *argp1 = 0 ;
28315 int res1 = 0 ;
28316 PyObject *swig_obj[1] ;
28317
28318 if (!args) SWIG_fail;
28319 swig_obj[0] = args;
28320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28321 if (!SWIG_IsOK(res1)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28323 }
28324 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28325 result = (wxListItem *)& ((arg1)->m_item);
28326 {
3ecece7e 28327 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
28328 }
28329 return resultobj;
28330fail:
28331 return NULL;
d55e5bfc
RD
28332}
28333
28334
1bd55598
RD
28335SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28336 PyObject *resultobj = 0;
28337 wxListEvent *arg1 = (wxListEvent *) 0 ;
28338 int result;
28339 void *argp1 = 0 ;
28340 int res1 = 0 ;
28341 PyObject *swig_obj[1] ;
28342
28343 if (!args) SWIG_fail;
28344 swig_obj[0] = args;
28345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28346 if (!SWIG_IsOK(res1)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28348 }
28349 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28350 {
28351 PyThreadState* __tstate = wxPyBeginAllowThreads();
28352 result = (int)(arg1)->GetKeyCode();
28353 wxPyEndAllowThreads(__tstate);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 resultobj = SWIG_From_int(static_cast< int >(result));
28357 return resultobj;
28358fail:
28359 return NULL;
d55e5bfc
RD
28360}
28361
28362
1bd55598
RD
28363SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28364 PyObject *resultobj = 0;
28365 wxListEvent *arg1 = (wxListEvent *) 0 ;
28366 long result;
28367 void *argp1 = 0 ;
28368 int res1 = 0 ;
28369 PyObject *swig_obj[1] ;
28370
28371 if (!args) SWIG_fail;
28372 swig_obj[0] = args;
28373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28374 if (!SWIG_IsOK(res1)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28376 }
28377 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28378 {
28379 PyThreadState* __tstate = wxPyBeginAllowThreads();
28380 result = (long)(arg1)->GetIndex();
28381 wxPyEndAllowThreads(__tstate);
28382 if (PyErr_Occurred()) SWIG_fail;
28383 }
28384 resultobj = SWIG_From_long(static_cast< long >(result));
28385 return resultobj;
28386fail:
28387 return NULL;
d55e5bfc
RD
28388}
28389
28390
1bd55598
RD
28391SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28392 PyObject *resultobj = 0;
28393 wxListEvent *arg1 = (wxListEvent *) 0 ;
28394 int result;
28395 void *argp1 = 0 ;
28396 int res1 = 0 ;
28397 PyObject *swig_obj[1] ;
28398
28399 if (!args) SWIG_fail;
28400 swig_obj[0] = args;
28401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28402 if (!SWIG_IsOK(res1)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28404 }
28405 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 result = (int)(arg1)->GetColumn();
28409 wxPyEndAllowThreads(__tstate);
28410 if (PyErr_Occurred()) SWIG_fail;
28411 }
28412 resultobj = SWIG_From_int(static_cast< int >(result));
28413 return resultobj;
28414fail:
28415 return NULL;
d55e5bfc
RD
28416}
28417
28418
1bd55598
RD
28419SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28420 PyObject *resultobj = 0;
28421 wxListEvent *arg1 = (wxListEvent *) 0 ;
28422 wxPoint result;
28423 void *argp1 = 0 ;
28424 int res1 = 0 ;
28425 PyObject *swig_obj[1] ;
28426
28427 if (!args) SWIG_fail;
28428 swig_obj[0] = args;
28429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28430 if (!SWIG_IsOK(res1)) {
28431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28432 }
28433 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28434 {
28435 PyThreadState* __tstate = wxPyBeginAllowThreads();
28436 result = (arg1)->GetPoint();
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28441 return resultobj;
28442fail:
28443 return NULL;
d55e5bfc
RD
28444}
28445
28446
1bd55598
RD
28447SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28448 PyObject *resultobj = 0;
28449 wxListEvent *arg1 = (wxListEvent *) 0 ;
28450 wxString *result = 0 ;
28451 void *argp1 = 0 ;
28452 int res1 = 0 ;
28453 PyObject *swig_obj[1] ;
28454
28455 if (!args) SWIG_fail;
28456 swig_obj[0] = args;
28457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28458 if (!SWIG_IsOK(res1)) {
28459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28460 }
28461 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28462 {
28463 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28464 {
1bd55598
RD
28465 wxString const &_result_ref = (arg1)->GetLabel();
28466 result = (wxString *) &_result_ref;
d55e5bfc 28467 }
1bd55598
RD
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 {
28472#if wxUSE_UNICODE
28473 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28474#else
28475 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28476#endif
28477 }
28478 return resultobj;
28479fail:
28480 return NULL;
d55e5bfc
RD
28481}
28482
28483
1bd55598
RD
28484SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28485 PyObject *resultobj = 0;
28486 wxListEvent *arg1 = (wxListEvent *) 0 ;
28487 wxString *result = 0 ;
28488 void *argp1 = 0 ;
28489 int res1 = 0 ;
28490 PyObject *swig_obj[1] ;
28491
28492 if (!args) SWIG_fail;
28493 swig_obj[0] = args;
28494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28495 if (!SWIG_IsOK(res1)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28497 }
28498 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 28501 {
1bd55598
RD
28502 wxString const &_result_ref = (arg1)->GetText();
28503 result = (wxString *) &_result_ref;
36ed4f51 28504 }
1bd55598
RD
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
28508 {
28509#if wxUSE_UNICODE
28510 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28511#else
28512 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28513#endif
28514 }
28515 return resultobj;
28516fail:
28517 return NULL;
d55e5bfc
RD
28518}
28519
28520
1bd55598
RD
28521SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28522 PyObject *resultobj = 0;
28523 wxListEvent *arg1 = (wxListEvent *) 0 ;
28524 int result;
28525 void *argp1 = 0 ;
28526 int res1 = 0 ;
28527 PyObject *swig_obj[1] ;
28528
28529 if (!args) SWIG_fail;
28530 swig_obj[0] = args;
28531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28532 if (!SWIG_IsOK(res1)) {
28533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28534 }
28535 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 result = (int)(arg1)->GetImage();
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 resultobj = SWIG_From_int(static_cast< int >(result));
28543 return resultobj;
28544fail:
28545 return NULL;
d55e5bfc
RD
28546}
28547
28548
1bd55598
RD
28549SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28550 PyObject *resultobj = 0;
28551 wxListEvent *arg1 = (wxListEvent *) 0 ;
28552 long result;
28553 void *argp1 = 0 ;
28554 int res1 = 0 ;
28555 PyObject *swig_obj[1] ;
28556
28557 if (!args) SWIG_fail;
28558 swig_obj[0] = args;
28559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28560 if (!SWIG_IsOK(res1)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28562 }
28563 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 result = (long)(arg1)->GetData();
28567 wxPyEndAllowThreads(__tstate);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 }
28570 resultobj = SWIG_From_long(static_cast< long >(result));
28571 return resultobj;
28572fail:
28573 return NULL;
d55e5bfc
RD
28574}
28575
28576
1bd55598
RD
28577SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28578 PyObject *resultobj = 0;
28579 wxListEvent *arg1 = (wxListEvent *) 0 ;
28580 long result;
28581 void *argp1 = 0 ;
28582 int res1 = 0 ;
28583 PyObject *swig_obj[1] ;
28584
28585 if (!args) SWIG_fail;
28586 swig_obj[0] = args;
28587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28588 if (!SWIG_IsOK(res1)) {
28589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28590 }
28591 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28592 {
28593 PyThreadState* __tstate = wxPyBeginAllowThreads();
28594 result = (long)(arg1)->GetMask();
28595 wxPyEndAllowThreads(__tstate);
28596 if (PyErr_Occurred()) SWIG_fail;
28597 }
28598 resultobj = SWIG_From_long(static_cast< long >(result));
28599 return resultobj;
28600fail:
28601 return NULL;
d55e5bfc
RD
28602}
28603
28604
1bd55598
RD
28605SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28606 PyObject *resultobj = 0;
28607 wxListEvent *arg1 = (wxListEvent *) 0 ;
28608 wxListItem *result = 0 ;
28609 void *argp1 = 0 ;
28610 int res1 = 0 ;
28611 PyObject *swig_obj[1] ;
28612
28613 if (!args) SWIG_fail;
28614 swig_obj[0] = args;
28615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28616 if (!SWIG_IsOK(res1)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28618 }
28619 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28620 {
28621 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28622 {
1bd55598
RD
28623 wxListItem const &_result_ref = (arg1)->GetItem();
28624 result = (wxListItem *) &_result_ref;
d55e5bfc 28625 }
1bd55598
RD
28626 wxPyEndAllowThreads(__tstate);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 }
28629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28630 return resultobj;
28631fail:
28632 return NULL;
d55e5bfc
RD
28633}
28634
28635
1bd55598
RD
28636SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28637 PyObject *resultobj = 0;
28638 wxListEvent *arg1 = (wxListEvent *) 0 ;
28639 long result;
28640 void *argp1 = 0 ;
28641 int res1 = 0 ;
28642 PyObject *swig_obj[1] ;
28643
28644 if (!args) SWIG_fail;
28645 swig_obj[0] = args;
28646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28647 if (!SWIG_IsOK(res1)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28649 }
28650 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 result = (long)(arg1)->GetCacheFrom();
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_From_long(static_cast< long >(result));
28658 return resultobj;
28659fail:
28660 return NULL;
d55e5bfc
RD
28661}
28662
28663
1bd55598
RD
28664SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28665 PyObject *resultobj = 0;
28666 wxListEvent *arg1 = (wxListEvent *) 0 ;
28667 long result;
28668 void *argp1 = 0 ;
28669 int res1 = 0 ;
28670 PyObject *swig_obj[1] ;
28671
28672 if (!args) SWIG_fail;
28673 swig_obj[0] = args;
28674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28675 if (!SWIG_IsOK(res1)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28677 }
28678 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (long)(arg1)->GetCacheTo();
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 resultobj = SWIG_From_long(static_cast< long >(result));
28686 return resultobj;
28687fail:
28688 return NULL;
7e08d4ef
RD
28689}
28690
28691
1bd55598
RD
28692SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28693 PyObject *resultobj = 0;
28694 wxListEvent *arg1 = (wxListEvent *) 0 ;
28695 bool result;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 PyObject *swig_obj[1] ;
28699
28700 if (!args) SWIG_fail;
28701 swig_obj[0] = args;
28702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28703 if (!SWIG_IsOK(res1)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28705 }
28706 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28707 {
28708 PyThreadState* __tstate = wxPyBeginAllowThreads();
28709 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 {
28714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28715 }
28716 return resultobj;
28717fail:
28718 return NULL;
28719}
28720
28721
28722SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28723 PyObject *resultobj = 0;
28724 wxListEvent *arg1 = (wxListEvent *) 0 ;
28725 bool arg2 ;
28726 void *argp1 = 0 ;
28727 int res1 = 0 ;
28728 bool val2 ;
28729 int ecode2 = 0 ;
28730 PyObject * obj0 = 0 ;
28731 PyObject * obj1 = 0 ;
28732 char * kwnames[] = {
28733 (char *) "self",(char *) "editCancelled", NULL
28734 };
28735
28736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28738 if (!SWIG_IsOK(res1)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28740 }
28741 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28742 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28743 if (!SWIG_IsOK(ecode2)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28745 }
28746 arg2 = static_cast< bool >(val2);
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 (arg1)->SetEditCanceled(arg2);
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 resultobj = SWIG_Py_Void();
28754 return resultobj;
28755fail:
28756 return NULL;
28757}
28758
28759
28760SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28761 PyObject *obj;
28762 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28763 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28764 return SWIG_Py_Void();
28765}
28766
28767SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28768 return SWIG_Python_InitShadowInstance(args);
28769}
28770
28771SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28772 PyObject *resultobj = 0;
28773 wxWindow *arg1 = (wxWindow *) 0 ;
28774 int arg2 = (int) -1 ;
28775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28777 wxSize const &arg4_defvalue = wxDefaultSize ;
28778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28779 long arg5 = (long) wxLC_ICON ;
28780 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28781 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28782 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28783 wxString *arg7 = (wxString *) &arg7_defvalue ;
28784 wxPyListCtrl *result = 0 ;
28785 void *argp1 = 0 ;
28786 int res1 = 0 ;
28787 int val2 ;
28788 int ecode2 = 0 ;
28789 wxPoint temp3 ;
28790 wxSize temp4 ;
28791 long val5 ;
28792 int ecode5 = 0 ;
28793 void *argp6 = 0 ;
28794 int res6 = 0 ;
28795 bool temp7 = false ;
28796 PyObject * obj0 = 0 ;
28797 PyObject * obj1 = 0 ;
28798 PyObject * obj2 = 0 ;
28799 PyObject * obj3 = 0 ;
28800 PyObject * obj4 = 0 ;
28801 PyObject * obj5 = 0 ;
28802 PyObject * obj6 = 0 ;
28803 char * kwnames[] = {
28804 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28805 };
28806
28807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28809 if (!SWIG_IsOK(res1)) {
28810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28811 }
28812 arg1 = reinterpret_cast< wxWindow * >(argp1);
28813 if (obj1) {
28814 ecode2 = SWIG_AsVal_int(obj1, &val2);
28815 if (!SWIG_IsOK(ecode2)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28817 }
28818 arg2 = static_cast< int >(val2);
28819 }
28820 if (obj2) {
7e08d4ef 28821 {
1bd55598
RD
28822 arg3 = &temp3;
28823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 28824 }
1bd55598
RD
28825 }
28826 if (obj3) {
7e08d4ef 28827 {
1bd55598
RD
28828 arg4 = &temp4;
28829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 28830 }
1bd55598
RD
28831 }
28832 if (obj4) {
28833 ecode5 = SWIG_AsVal_long(obj4, &val5);
28834 if (!SWIG_IsOK(ecode5)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28836 }
28837 arg5 = static_cast< long >(val5);
28838 }
28839 if (obj5) {
28840 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28841 if (!SWIG_IsOK(res6)) {
28842 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28843 }
1bd55598
RD
28844 if (!argp6) {
28845 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28846 }
1bd55598
RD
28847 arg6 = reinterpret_cast< wxValidator * >(argp6);
28848 }
28849 if (obj6) {
7e08d4ef 28850 {
1bd55598
RD
28851 arg7 = wxString_in_helper(obj6);
28852 if (arg7 == NULL) SWIG_fail;
28853 temp7 = true;
7e08d4ef 28854 }
1bd55598
RD
28855 }
28856 {
28857 if (!wxPyCheckForApp()) SWIG_fail;
28858 PyThreadState* __tstate = wxPyBeginAllowThreads();
28859 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28864 {
28865 if (temp7)
28866 delete arg7;
28867 }
28868 return resultobj;
28869fail:
28870 {
28871 if (temp7)
28872 delete arg7;
28873 }
28874 return NULL;
7e08d4ef
RD
28875}
28876
28877
1bd55598
RD
28878SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28879 PyObject *resultobj = 0;
28880 wxPyListCtrl *result = 0 ;
28881
28882 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28883 {
28884 if (!wxPyCheckForApp()) SWIG_fail;
28885 PyThreadState* __tstate = wxPyBeginAllowThreads();
28886 result = (wxPyListCtrl *)new wxPyListCtrl();
28887 wxPyEndAllowThreads(__tstate);
28888 if (PyErr_Occurred()) SWIG_fail;
28889 }
28890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28891 return resultobj;
28892fail:
28893 return NULL;
28894}
28895
28896
28897SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28898 PyObject *resultobj = 0;
28899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28900 wxWindow *arg2 = (wxWindow *) 0 ;
28901 int arg3 = (int) -1 ;
28902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28904 wxSize const &arg5_defvalue = wxDefaultSize ;
28905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28906 long arg6 = (long) wxLC_ICON ;
28907 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28908 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28909 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28910 wxString *arg8 = (wxString *) &arg8_defvalue ;
28911 bool result;
28912 void *argp1 = 0 ;
28913 int res1 = 0 ;
28914 void *argp2 = 0 ;
28915 int res2 = 0 ;
28916 int val3 ;
28917 int ecode3 = 0 ;
28918 wxPoint temp4 ;
28919 wxSize temp5 ;
28920 long val6 ;
28921 int ecode6 = 0 ;
28922 void *argp7 = 0 ;
28923 int res7 = 0 ;
28924 bool temp8 = false ;
28925 PyObject * obj0 = 0 ;
28926 PyObject * obj1 = 0 ;
28927 PyObject * obj2 = 0 ;
28928 PyObject * obj3 = 0 ;
28929 PyObject * obj4 = 0 ;
28930 PyObject * obj5 = 0 ;
28931 PyObject * obj6 = 0 ;
28932 PyObject * obj7 = 0 ;
28933 char * kwnames[] = {
28934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28935 };
28936
28937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28941 }
28942 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28944 if (!SWIG_IsOK(res2)) {
28945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28946 }
28947 arg2 = reinterpret_cast< wxWindow * >(argp2);
28948 if (obj2) {
28949 ecode3 = SWIG_AsVal_int(obj2, &val3);
28950 if (!SWIG_IsOK(ecode3)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28952 }
28953 arg3 = static_cast< int >(val3);
28954 }
28955 if (obj3) {
7e08d4ef 28956 {
1bd55598
RD
28957 arg4 = &temp4;
28958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 28959 }
1bd55598
RD
28960 }
28961 if (obj4) {
7e08d4ef 28962 {
1bd55598
RD
28963 arg5 = &temp5;
28964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 28965 }
1bd55598
RD
28966 }
28967 if (obj5) {
28968 ecode6 = SWIG_AsVal_long(obj5, &val6);
28969 if (!SWIG_IsOK(ecode6)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28971 }
28972 arg6 = static_cast< long >(val6);
28973 }
28974 if (obj6) {
28975 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28976 if (!SWIG_IsOK(res7)) {
28977 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 28978 }
1bd55598
RD
28979 if (!argp7) {
28980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 28981 }
1bd55598
RD
28982 arg7 = reinterpret_cast< wxValidator * >(argp7);
28983 }
28984 if (obj7) {
7e08d4ef 28985 {
1bd55598
RD
28986 arg8 = wxString_in_helper(obj7);
28987 if (arg8 == NULL) SWIG_fail;
28988 temp8 = true;
7e08d4ef 28989 }
1bd55598
RD
28990 }
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28994 wxPyEndAllowThreads(__tstate);
28995 if (PyErr_Occurred()) SWIG_fail;
28996 }
28997 {
28998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28999 }
29000 {
29001 if (temp8)
29002 delete arg8;
29003 }
29004 return resultobj;
29005fail:
29006 {
29007 if (temp8)
29008 delete arg8;
29009 }
29010 return NULL;
29011}
29012
29013
29014SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29015 PyObject *resultobj = 0;
29016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29017 PyObject *arg2 = (PyObject *) 0 ;
29018 PyObject *arg3 = (PyObject *) 0 ;
29019 void *argp1 = 0 ;
29020 int res1 = 0 ;
29021 PyObject * obj0 = 0 ;
29022 PyObject * obj1 = 0 ;
29023 PyObject * obj2 = 0 ;
29024 char * kwnames[] = {
29025 (char *) "self",(char *) "self",(char *) "_class", NULL
29026 };
29027
29028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29030 if (!SWIG_IsOK(res1)) {
29031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29032 }
29033 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29034 arg2 = obj1;
29035 arg3 = obj2;
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 (arg1)->_setCallbackInfo(arg2,arg3);
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 resultobj = SWIG_Py_Void();
29043 return resultobj;
29044fail:
29045 return NULL;
29046}
29047
29048
29049SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29050 PyObject *resultobj = 0;
29051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29052 int arg2 ;
29053 wxListItem *result = 0 ;
29054 void *argp1 = 0 ;
29055 int res1 = 0 ;
29056 int val2 ;
29057 int ecode2 = 0 ;
29058 PyObject * obj0 = 0 ;
29059 PyObject * obj1 = 0 ;
29060 char * kwnames[] = {
29061 (char *) "self",(char *) "col", NULL
29062 };
29063
29064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29066 if (!SWIG_IsOK(res1)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29068 }
29069 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29070 ecode2 = SWIG_AsVal_int(obj1, &val2);
29071 if (!SWIG_IsOK(ecode2)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29073 }
29074 arg2 = static_cast< int >(val2);
29075 {
29076 PyThreadState* __tstate = wxPyBeginAllowThreads();
29077 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29078 wxPyEndAllowThreads(__tstate);
29079 if (PyErr_Occurred()) SWIG_fail;
29080 }
29081 {
3ecece7e 29082 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
29083 }
29084 return resultobj;
29085fail:
29086 return NULL;
29087}
29088
29089
29090SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29091 PyObject *resultobj = 0;
29092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29093 int arg2 ;
29094 wxListItem *arg3 = 0 ;
29095 bool result;
29096 void *argp1 = 0 ;
29097 int res1 = 0 ;
29098 int val2 ;
29099 int ecode2 = 0 ;
29100 void *argp3 = 0 ;
29101 int res3 = 0 ;
29102 PyObject * obj0 = 0 ;
29103 PyObject * obj1 = 0 ;
29104 PyObject * obj2 = 0 ;
29105 char * kwnames[] = {
29106 (char *) "self",(char *) "col",(char *) "item", NULL
29107 };
29108
29109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29111 if (!SWIG_IsOK(res1)) {
29112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29113 }
29114 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29115 ecode2 = SWIG_AsVal_int(obj1, &val2);
29116 if (!SWIG_IsOK(ecode2)) {
29117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29118 }
29119 arg2 = static_cast< int >(val2);
29120 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29121 if (!SWIG_IsOK(res3)) {
29122 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29123 }
29124 if (!argp3) {
29125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29126 }
29127 arg3 = reinterpret_cast< wxListItem * >(argp3);
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29131 wxPyEndAllowThreads(__tstate);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 }
29134 {
29135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29136 }
29137 return resultobj;
29138fail:
29139 return NULL;
29140}
29141
29142
29143SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj = 0;
29145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29146 int arg2 ;
29147 int result;
29148 void *argp1 = 0 ;
29149 int res1 = 0 ;
29150 int val2 ;
29151 int ecode2 = 0 ;
29152 PyObject * obj0 = 0 ;
29153 PyObject * obj1 = 0 ;
29154 char * kwnames[] = {
29155 (char *) "self",(char *) "col", NULL
29156 };
29157
29158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29160 if (!SWIG_IsOK(res1)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29162 }
29163 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29164 ecode2 = SWIG_AsVal_int(obj1, &val2);
29165 if (!SWIG_IsOK(ecode2)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29167 }
29168 arg2 = static_cast< int >(val2);
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 resultobj = SWIG_From_int(static_cast< int >(result));
29176 return resultobj;
29177fail:
29178 return NULL;
29179}
29180
29181
29182SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29183 PyObject *resultobj = 0;
29184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29185 int arg2 ;
29186 int arg3 ;
29187 bool result;
29188 void *argp1 = 0 ;
29189 int res1 = 0 ;
29190 int val2 ;
29191 int ecode2 = 0 ;
29192 int val3 ;
29193 int ecode3 = 0 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 PyObject * obj2 = 0 ;
29197 char * kwnames[] = {
29198 (char *) "self",(char *) "col",(char *) "width", NULL
29199 };
29200
29201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29203 if (!SWIG_IsOK(res1)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29205 }
29206 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29207 ecode2 = SWIG_AsVal_int(obj1, &val2);
29208 if (!SWIG_IsOK(ecode2)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29210 }
29211 arg2 = static_cast< int >(val2);
29212 ecode3 = SWIG_AsVal_int(obj2, &val3);
29213 if (!SWIG_IsOK(ecode3)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29215 }
29216 arg3 = static_cast< int >(val3);
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29220 wxPyEndAllowThreads(__tstate);
29221 if (PyErr_Occurred()) SWIG_fail;
29222 }
29223 {
29224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29225 }
29226 return resultobj;
29227fail:
29228 return NULL;
7e08d4ef
RD
29229}
29230
29231
1bd55598
RD
29232SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29233 PyObject *resultobj = 0;
29234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29235 int result;
29236 void *argp1 = 0 ;
29237 int res1 = 0 ;
29238 PyObject *swig_obj[1] ;
29239
29240 if (!args) SWIG_fail;
29241 swig_obj[0] = args;
29242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29243 if (!SWIG_IsOK(res1)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29245 }
29246 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29247 {
29248 PyThreadState* __tstate = wxPyBeginAllowThreads();
29249 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29250 wxPyEndAllowThreads(__tstate);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 }
29253 resultobj = SWIG_From_int(static_cast< int >(result));
29254 return resultobj;
29255fail:
29256 return NULL;
7e08d4ef
RD
29257}
29258
29259
1bd55598
RD
29260SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29261 PyObject *resultobj = 0;
29262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29263 wxRect result;
29264 void *argp1 = 0 ;
29265 int res1 = 0 ;
29266 PyObject *swig_obj[1] ;
29267
29268 if (!args) SWIG_fail;
29269 swig_obj[0] = args;
29270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29271 if (!SWIG_IsOK(res1)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29273 }
29274 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29275 {
29276 PyThreadState* __tstate = wxPyBeginAllowThreads();
29277 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29282 return resultobj;
29283fail:
29284 return NULL;
7e08d4ef
RD
29285}
29286
29287
1bd55598
RD
29288SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29289 PyObject *resultobj = 0;
29290 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29291 wxTextCtrl *result = 0 ;
29292 void *argp1 = 0 ;
29293 int res1 = 0 ;
29294 PyObject *swig_obj[1] ;
29295
29296 if (!args) SWIG_fail;
29297 swig_obj[0] = args;
29298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29299 if (!SWIG_IsOK(res1)) {
29300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29301 }
29302 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29303 {
29304 PyThreadState* __tstate = wxPyBeginAllowThreads();
29305 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29306 wxPyEndAllowThreads(__tstate);
29307 if (PyErr_Occurred()) SWIG_fail;
29308 }
29309 {
29310 resultobj = wxPyMake_wxObject(result, 0);
29311 }
29312 return resultobj;
29313fail:
29314 return NULL;
29315}
29316
29317
29318SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29319 PyObject *resultobj = 0;
29320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29321 long arg2 ;
29322 int arg3 = (int) 0 ;
29323 wxListItem *result = 0 ;
29324 void *argp1 = 0 ;
29325 int res1 = 0 ;
29326 long val2 ;
29327 int ecode2 = 0 ;
29328 int val3 ;
29329 int ecode3 = 0 ;
29330 PyObject * obj0 = 0 ;
29331 PyObject * obj1 = 0 ;
29332 PyObject * obj2 = 0 ;
29333 char * kwnames[] = {
29334 (char *) "self",(char *) "itemId",(char *) "col", NULL
29335 };
29336
29337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29339 if (!SWIG_IsOK(res1)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29341 }
29342 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29343 ecode2 = SWIG_AsVal_long(obj1, &val2);
29344 if (!SWIG_IsOK(ecode2)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29346 }
29347 arg2 = static_cast< long >(val2);
29348 if (obj2) {
29349 ecode3 = SWIG_AsVal_int(obj2, &val3);
29350 if (!SWIG_IsOK(ecode3)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29352 }
29353 arg3 = static_cast< int >(val3);
29354 }
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 {
3ecece7e 29362 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
29363 }
29364 return resultobj;
29365fail:
29366 return NULL;
29367}
29368
29369
29370SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj = 0;
29372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29373 wxListItem *arg2 = 0 ;
29374 bool result;
29375 void *argp1 = 0 ;
29376 int res1 = 0 ;
29377 void *argp2 = 0 ;
29378 int res2 = 0 ;
29379 PyObject * obj0 = 0 ;
29380 PyObject * obj1 = 0 ;
29381 char * kwnames[] = {
29382 (char *) "self",(char *) "info", NULL
29383 };
29384
29385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29387 if (!SWIG_IsOK(res1)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29389 }
29390 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29391 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29392 if (!SWIG_IsOK(res2)) {
29393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29394 }
29395 if (!argp2) {
29396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29397 }
29398 arg2 = reinterpret_cast< wxListItem * >(argp2);
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 result = (bool)(arg1)->SetItem(*arg2);
29402 wxPyEndAllowThreads(__tstate);
29403 if (PyErr_Occurred()) SWIG_fail;
29404 }
29405 {
29406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29407 }
29408 return resultobj;
29409fail:
29410 return NULL;
29411}
29412
29413
29414SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj = 0;
29416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29417 long arg2 ;
29418 int arg3 ;
29419 wxString *arg4 = 0 ;
29420 int arg5 = (int) -1 ;
29421 long result;
29422 void *argp1 = 0 ;
29423 int res1 = 0 ;
29424 long val2 ;
29425 int ecode2 = 0 ;
29426 int val3 ;
29427 int ecode3 = 0 ;
29428 bool temp4 = false ;
29429 int val5 ;
29430 int ecode5 = 0 ;
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 PyObject * obj2 = 0 ;
29434 PyObject * obj3 = 0 ;
29435 PyObject * obj4 = 0 ;
29436 char * kwnames[] = {
29437 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29438 };
29439
29440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29442 if (!SWIG_IsOK(res1)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29444 }
29445 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29446 ecode2 = SWIG_AsVal_long(obj1, &val2);
29447 if (!SWIG_IsOK(ecode2)) {
29448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29449 }
29450 arg2 = static_cast< long >(val2);
29451 ecode3 = SWIG_AsVal_int(obj2, &val3);
29452 if (!SWIG_IsOK(ecode3)) {
29453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29454 }
29455 arg3 = static_cast< int >(val3);
29456 {
29457 arg4 = wxString_in_helper(obj3);
29458 if (arg4 == NULL) SWIG_fail;
29459 temp4 = true;
29460 }
29461 if (obj4) {
29462 ecode5 = SWIG_AsVal_int(obj4, &val5);
29463 if (!SWIG_IsOK(ecode5)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29465 }
29466 arg5 = static_cast< int >(val5);
29467 }
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29471 wxPyEndAllowThreads(__tstate);
29472 if (PyErr_Occurred()) SWIG_fail;
29473 }
29474 resultobj = SWIG_From_long(static_cast< long >(result));
29475 {
29476 if (temp4)
29477 delete arg4;
29478 }
29479 return resultobj;
29480fail:
29481 {
29482 if (temp4)
29483 delete arg4;
29484 }
29485 return NULL;
29486}
29487
29488
29489SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29490 PyObject *resultobj = 0;
29491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29492 long arg2 ;
29493 long arg3 ;
29494 int result;
29495 void *argp1 = 0 ;
29496 int res1 = 0 ;
29497 long val2 ;
29498 int ecode2 = 0 ;
29499 long val3 ;
29500 int ecode3 = 0 ;
29501 PyObject * obj0 = 0 ;
29502 PyObject * obj1 = 0 ;
29503 PyObject * obj2 = 0 ;
29504 char * kwnames[] = {
29505 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29506 };
29507
29508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29510 if (!SWIG_IsOK(res1)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29512 }
29513 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29514 ecode2 = SWIG_AsVal_long(obj1, &val2);
29515 if (!SWIG_IsOK(ecode2)) {
29516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29517 }
29518 arg2 = static_cast< long >(val2);
29519 ecode3 = SWIG_AsVal_long(obj2, &val3);
29520 if (!SWIG_IsOK(ecode3)) {
29521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29522 }
29523 arg3 = static_cast< long >(val3);
29524 {
29525 PyThreadState* __tstate = wxPyBeginAllowThreads();
29526 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29527 wxPyEndAllowThreads(__tstate);
29528 if (PyErr_Occurred()) SWIG_fail;
29529 }
29530 resultobj = SWIG_From_int(static_cast< int >(result));
29531 return resultobj;
29532fail:
29533 return NULL;
29534}
29535
29536
29537SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29538 PyObject *resultobj = 0;
29539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29540 long arg2 ;
29541 long arg3 ;
29542 long arg4 ;
29543 bool result;
29544 void *argp1 = 0 ;
29545 int res1 = 0 ;
29546 long val2 ;
29547 int ecode2 = 0 ;
29548 long val3 ;
29549 int ecode3 = 0 ;
29550 long val4 ;
29551 int ecode4 = 0 ;
29552 PyObject * obj0 = 0 ;
29553 PyObject * obj1 = 0 ;
29554 PyObject * obj2 = 0 ;
29555 PyObject * obj3 = 0 ;
29556 char * kwnames[] = {
29557 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29558 };
29559
29560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29562 if (!SWIG_IsOK(res1)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29564 }
29565 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29566 ecode2 = SWIG_AsVal_long(obj1, &val2);
29567 if (!SWIG_IsOK(ecode2)) {
29568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29569 }
29570 arg2 = static_cast< long >(val2);
29571 ecode3 = SWIG_AsVal_long(obj2, &val3);
29572 if (!SWIG_IsOK(ecode3)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29574 }
29575 arg3 = static_cast< long >(val3);
29576 ecode4 = SWIG_AsVal_long(obj3, &val4);
29577 if (!SWIG_IsOK(ecode4)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29579 }
29580 arg4 = static_cast< long >(val4);
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 {
29588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29589 }
29590 return resultobj;
29591fail:
29592 return NULL;
29593}
29594
29595
29596SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29597 PyObject *resultobj = 0;
29598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29599 long arg2 ;
29600 int arg3 ;
29601 int arg4 = (int) -1 ;
29602 bool result;
29603 void *argp1 = 0 ;
29604 int res1 = 0 ;
29605 long val2 ;
29606 int ecode2 = 0 ;
29607 int val3 ;
29608 int ecode3 = 0 ;
29609 int val4 ;
29610 int ecode4 = 0 ;
29611 PyObject * obj0 = 0 ;
29612 PyObject * obj1 = 0 ;
29613 PyObject * obj2 = 0 ;
29614 PyObject * obj3 = 0 ;
29615 char * kwnames[] = {
29616 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29617 };
29618
29619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29621 if (!SWIG_IsOK(res1)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29623 }
29624 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29625 ecode2 = SWIG_AsVal_long(obj1, &val2);
29626 if (!SWIG_IsOK(ecode2)) {
29627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29628 }
29629 arg2 = static_cast< long >(val2);
29630 ecode3 = SWIG_AsVal_int(obj2, &val3);
29631 if (!SWIG_IsOK(ecode3)) {
29632 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29633 }
29634 arg3 = static_cast< int >(val3);
29635 if (obj3) {
29636 ecode4 = SWIG_AsVal_int(obj3, &val4);
29637 if (!SWIG_IsOK(ecode4)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29639 }
29640 arg4 = static_cast< int >(val4);
29641 }
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29645 wxPyEndAllowThreads(__tstate);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 {
29649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29650 }
29651 return resultobj;
29652fail:
29653 return NULL;
29654}
29655
29656
29657SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29658 PyObject *resultobj = 0;
29659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29660 long arg2 ;
29661 long arg3 ;
29662 int arg4 ;
29663 bool result;
29664 void *argp1 = 0 ;
29665 int res1 = 0 ;
29666 long val2 ;
29667 int ecode2 = 0 ;
29668 long val3 ;
29669 int ecode3 = 0 ;
29670 int val4 ;
29671 int ecode4 = 0 ;
29672 PyObject * obj0 = 0 ;
29673 PyObject * obj1 = 0 ;
29674 PyObject * obj2 = 0 ;
29675 PyObject * obj3 = 0 ;
29676 char * kwnames[] = {
29677 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29678 };
29679
29680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29682 if (!SWIG_IsOK(res1)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29684 }
29685 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29686 ecode2 = SWIG_AsVal_long(obj1, &val2);
29687 if (!SWIG_IsOK(ecode2)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29689 }
29690 arg2 = static_cast< long >(val2);
29691 ecode3 = SWIG_AsVal_long(obj2, &val3);
29692 if (!SWIG_IsOK(ecode3)) {
29693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29694 }
29695 arg3 = static_cast< long >(val3);
29696 ecode4 = SWIG_AsVal_int(obj3, &val4);
29697 if (!SWIG_IsOK(ecode4)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29699 }
29700 arg4 = static_cast< int >(val4);
29701 {
29702 PyThreadState* __tstate = wxPyBeginAllowThreads();
29703 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29704 wxPyEndAllowThreads(__tstate);
29705 if (PyErr_Occurred()) SWIG_fail;
29706 }
29707 {
29708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29709 }
29710 return resultobj;
29711fail:
29712 return NULL;
29713}
29714
29715
29716SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29717 PyObject *resultobj = 0;
29718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29719 long arg2 ;
29720 wxString result;
29721 void *argp1 = 0 ;
29722 int res1 = 0 ;
29723 long val2 ;
29724 int ecode2 = 0 ;
29725 PyObject * obj0 = 0 ;
29726 PyObject * obj1 = 0 ;
29727 char * kwnames[] = {
29728 (char *) "self",(char *) "item", NULL
29729 };
29730
29731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29733 if (!SWIG_IsOK(res1)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29735 }
29736 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29737 ecode2 = SWIG_AsVal_long(obj1, &val2);
29738 if (!SWIG_IsOK(ecode2)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29740 }
29741 arg2 = static_cast< long >(val2);
29742 {
29743 PyThreadState* __tstate = wxPyBeginAllowThreads();
29744 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29745 wxPyEndAllowThreads(__tstate);
29746 if (PyErr_Occurred()) SWIG_fail;
29747 }
29748 {
29749#if wxUSE_UNICODE
29750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29751#else
29752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29753#endif
29754 }
29755 return resultobj;
29756fail:
29757 return NULL;
29758}
29759
29760
29761SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29762 PyObject *resultobj = 0;
29763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29764 long arg2 ;
29765 wxString *arg3 = 0 ;
29766 void *argp1 = 0 ;
29767 int res1 = 0 ;
29768 long val2 ;
29769 int ecode2 = 0 ;
29770 bool temp3 = false ;
29771 PyObject * obj0 = 0 ;
29772 PyObject * obj1 = 0 ;
29773 PyObject * obj2 = 0 ;
29774 char * kwnames[] = {
29775 (char *) "self",(char *) "item",(char *) "str", NULL
29776 };
29777
29778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29780 if (!SWIG_IsOK(res1)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29782 }
29783 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29784 ecode2 = SWIG_AsVal_long(obj1, &val2);
29785 if (!SWIG_IsOK(ecode2)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29787 }
29788 arg2 = static_cast< long >(val2);
29789 {
29790 arg3 = wxString_in_helper(obj2);
29791 if (arg3 == NULL) SWIG_fail;
29792 temp3 = true;
29793 }
29794 {
29795 PyThreadState* __tstate = wxPyBeginAllowThreads();
29796 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29797 wxPyEndAllowThreads(__tstate);
29798 if (PyErr_Occurred()) SWIG_fail;
29799 }
29800 resultobj = SWIG_Py_Void();
29801 {
29802 if (temp3)
29803 delete arg3;
29804 }
29805 return resultobj;
29806fail:
29807 {
29808 if (temp3)
29809 delete arg3;
29810 }
29811 return NULL;
29812}
29813
29814
29815SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29816 PyObject *resultobj = 0;
29817 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29818 long arg2 ;
29819 long result;
29820 void *argp1 = 0 ;
29821 int res1 = 0 ;
29822 long val2 ;
29823 int ecode2 = 0 ;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 char * kwnames[] = {
29827 (char *) "self",(char *) "item", NULL
29828 };
29829
29830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29832 if (!SWIG_IsOK(res1)) {
29833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29834 }
29835 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29836 ecode2 = SWIG_AsVal_long(obj1, &val2);
29837 if (!SWIG_IsOK(ecode2)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29839 }
29840 arg2 = static_cast< long >(val2);
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29844 wxPyEndAllowThreads(__tstate);
29845 if (PyErr_Occurred()) SWIG_fail;
29846 }
29847 resultobj = SWIG_From_long(static_cast< long >(result));
29848 return resultobj;
29849fail:
29850 return NULL;
29851}
29852
29853
29854SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29855 PyObject *resultobj = 0;
29856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29857 long arg2 ;
29858 long arg3 ;
29859 bool result;
29860 void *argp1 = 0 ;
29861 int res1 = 0 ;
29862 long val2 ;
29863 int ecode2 = 0 ;
29864 long val3 ;
29865 int ecode3 = 0 ;
29866 PyObject * obj0 = 0 ;
29867 PyObject * obj1 = 0 ;
29868 PyObject * obj2 = 0 ;
29869 char * kwnames[] = {
29870 (char *) "self",(char *) "item",(char *) "data", NULL
29871 };
29872
29873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29875 if (!SWIG_IsOK(res1)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29877 }
29878 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29879 ecode2 = SWIG_AsVal_long(obj1, &val2);
29880 if (!SWIG_IsOK(ecode2)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29882 }
29883 arg2 = static_cast< long >(val2);
29884 ecode3 = SWIG_AsVal_long(obj2, &val3);
29885 if (!SWIG_IsOK(ecode3)) {
29886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29887 }
29888 arg3 = static_cast< long >(val3);
29889 {
29890 PyThreadState* __tstate = wxPyBeginAllowThreads();
29891 result = (bool)(arg1)->SetItemData(arg2,arg3);
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29897 }
29898 return resultobj;
29899fail:
29900 return NULL;
29901}
29902
29903
29904SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29905 PyObject *resultobj = 0;
29906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29907 long arg2 ;
29908 wxPoint result;
29909 void *argp1 = 0 ;
29910 int res1 = 0 ;
29911 long val2 ;
29912 int ecode2 = 0 ;
29913 PyObject * obj0 = 0 ;
29914 PyObject * obj1 = 0 ;
29915 char * kwnames[] = {
29916 (char *) "self",(char *) "item", NULL
29917 };
29918
29919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29921 if (!SWIG_IsOK(res1)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29923 }
29924 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29925 ecode2 = SWIG_AsVal_long(obj1, &val2);
29926 if (!SWIG_IsOK(ecode2)) {
29927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29928 }
29929 arg2 = static_cast< long >(val2);
29930 {
29931 PyThreadState* __tstate = wxPyBeginAllowThreads();
29932 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29933 wxPyEndAllowThreads(__tstate);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 }
29936 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29937 return resultobj;
29938fail:
29939 return NULL;
29940}
29941
29942
29943SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29944 PyObject *resultobj = 0;
29945 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29946 long arg2 ;
29947 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29948 wxRect result;
29949 void *argp1 = 0 ;
29950 int res1 = 0 ;
29951 long val2 ;
29952 int ecode2 = 0 ;
29953 int val3 ;
29954 int ecode3 = 0 ;
29955 PyObject * obj0 = 0 ;
29956 PyObject * obj1 = 0 ;
29957 PyObject * obj2 = 0 ;
29958 char * kwnames[] = {
29959 (char *) "self",(char *) "item",(char *) "code", NULL
29960 };
29961
29962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29964 if (!SWIG_IsOK(res1)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29966 }
29967 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29968 ecode2 = SWIG_AsVal_long(obj1, &val2);
29969 if (!SWIG_IsOK(ecode2)) {
29970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29971 }
29972 arg2 = static_cast< long >(val2);
29973 if (obj2) {
29974 ecode3 = SWIG_AsVal_int(obj2, &val3);
29975 if (!SWIG_IsOK(ecode3)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29977 }
29978 arg3 = static_cast< int >(val3);
29979 }
29980 {
29981 PyThreadState* __tstate = wxPyBeginAllowThreads();
29982 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29983 wxPyEndAllowThreads(__tstate);
29984 if (PyErr_Occurred()) SWIG_fail;
29985 }
29986 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29987 return resultobj;
29988fail:
29989 return NULL;
29990}
29991
29992
29993SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29994 PyObject *resultobj = 0;
29995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29996 long arg2 ;
29997 wxPoint *arg3 = 0 ;
29998 bool result;
29999 void *argp1 = 0 ;
30000 int res1 = 0 ;
30001 long val2 ;
30002 int ecode2 = 0 ;
30003 wxPoint temp3 ;
30004 PyObject * obj0 = 0 ;
30005 PyObject * obj1 = 0 ;
30006 PyObject * obj2 = 0 ;
30007 char * kwnames[] = {
30008 (char *) "self",(char *) "item",(char *) "pos", NULL
30009 };
30010
30011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30013 if (!SWIG_IsOK(res1)) {
30014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30015 }
30016 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30017 ecode2 = SWIG_AsVal_long(obj1, &val2);
30018 if (!SWIG_IsOK(ecode2)) {
30019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30020 }
30021 arg2 = static_cast< long >(val2);
30022 {
30023 arg3 = &temp3;
30024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30025 }
30026 {
30027 PyThreadState* __tstate = wxPyBeginAllowThreads();
30028 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30029 wxPyEndAllowThreads(__tstate);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
30032 {
30033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30034 }
30035 return resultobj;
30036fail:
30037 return NULL;
7e08d4ef
RD
30038}
30039
30040
1bd55598
RD
30041SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30042 PyObject *resultobj = 0;
30043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30044 int result;
30045 void *argp1 = 0 ;
30046 int res1 = 0 ;
30047 PyObject *swig_obj[1] ;
30048
30049 if (!args) SWIG_fail;
30050 swig_obj[0] = args;
30051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30052 if (!SWIG_IsOK(res1)) {
30053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30054 }
30055 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30056 {
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 resultobj = SWIG_From_int(static_cast< int >(result));
30063 return resultobj;
30064fail:
30065 return NULL;
7e08d4ef
RD
30066}
30067
30068
1bd55598
RD
30069SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30070 PyObject *resultobj = 0;
30071 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30072 int result;
30073 void *argp1 = 0 ;
30074 int res1 = 0 ;
30075 PyObject *swig_obj[1] ;
30076
30077 if (!args) SWIG_fail;
30078 swig_obj[0] = args;
30079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30080 if (!SWIG_IsOK(res1)) {
30081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30082 }
30083 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30084 {
30085 PyThreadState* __tstate = wxPyBeginAllowThreads();
30086 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30087 wxPyEndAllowThreads(__tstate);
30088 if (PyErr_Occurred()) SWIG_fail;
30089 }
30090 resultobj = SWIG_From_int(static_cast< int >(result));
30091 return resultobj;
30092fail:
30093 return NULL;
7e08d4ef
RD
30094}
30095
30096
1bd55598
RD
30097SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30098 PyObject *resultobj = 0;
30099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30100 wxSize result;
30101 void *argp1 = 0 ;
30102 int res1 = 0 ;
30103 PyObject *swig_obj[1] ;
30104
30105 if (!args) SWIG_fail;
30106 swig_obj[0] = args;
30107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30108 if (!SWIG_IsOK(res1)) {
30109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30110 }
30111 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30112 {
30113 PyThreadState* __tstate = wxPyBeginAllowThreads();
30114 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30115 wxPyEndAllowThreads(__tstate);
30116 if (PyErr_Occurred()) SWIG_fail;
30117 }
30118 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30119 return resultobj;
30120fail:
30121 return NULL;
30122}
30123
30124
30125SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30126 PyObject *resultobj = 0;
30127 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30128 int arg2 ;
30129 bool arg3 = (bool) false ;
30130 void *argp1 = 0 ;
30131 int res1 = 0 ;
30132 int val2 ;
30133 int ecode2 = 0 ;
30134 bool val3 ;
30135 int ecode3 = 0 ;
30136 PyObject * obj0 = 0 ;
30137 PyObject * obj1 = 0 ;
30138 PyObject * obj2 = 0 ;
30139 char * kwnames[] = {
30140 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30141 };
30142
30143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30145 if (!SWIG_IsOK(res1)) {
30146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30147 }
30148 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30149 ecode2 = SWIG_AsVal_int(obj1, &val2);
30150 if (!SWIG_IsOK(ecode2)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30152 }
30153 arg2 = static_cast< int >(val2);
30154 if (obj2) {
30155 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30156 if (!SWIG_IsOK(ecode3)) {
30157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30158 }
30159 arg3 = static_cast< bool >(val3);
30160 }
30161 {
30162 PyThreadState* __tstate = wxPyBeginAllowThreads();
30163 (arg1)->SetItemSpacing(arg2,arg3);
30164 wxPyEndAllowThreads(__tstate);
30165 if (PyErr_Occurred()) SWIG_fail;
30166 }
30167 resultobj = SWIG_Py_Void();
30168 return resultobj;
30169fail:
30170 return NULL;
7e08d4ef
RD
30171}
30172
30173
1bd55598
RD
30174SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30175 PyObject *resultobj = 0;
30176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30177 int result;
30178 void *argp1 = 0 ;
30179 int res1 = 0 ;
30180 PyObject *swig_obj[1] ;
30181
30182 if (!args) SWIG_fail;
30183 swig_obj[0] = args;
30184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30185 if (!SWIG_IsOK(res1)) {
30186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30187 }
30188 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30189 {
30190 PyThreadState* __tstate = wxPyBeginAllowThreads();
30191 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30192 wxPyEndAllowThreads(__tstate);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 }
30195 resultobj = SWIG_From_int(static_cast< int >(result));
30196 return resultobj;
30197fail:
30198 return NULL;
7e08d4ef
RD
30199}
30200
30201
1bd55598
RD
30202SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30203 PyObject *resultobj = 0;
30204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30205 wxColour result;
30206 void *argp1 = 0 ;
30207 int res1 = 0 ;
30208 PyObject *swig_obj[1] ;
30209
30210 if (!args) SWIG_fail;
30211 swig_obj[0] = args;
30212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30213 if (!SWIG_IsOK(res1)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30215 }
30216 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30217 {
30218 PyThreadState* __tstate = wxPyBeginAllowThreads();
30219 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30224 return resultobj;
30225fail:
30226 return NULL;
30227}
30228
30229
30230SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30231 PyObject *resultobj = 0;
30232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30233 wxColour *arg2 = 0 ;
30234 void *argp1 = 0 ;
30235 int res1 = 0 ;
30236 wxColour temp2 ;
30237 PyObject * obj0 = 0 ;
30238 PyObject * obj1 = 0 ;
30239 char * kwnames[] = {
30240 (char *) "self",(char *) "col", NULL
30241 };
30242
30243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30245 if (!SWIG_IsOK(res1)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30247 }
30248 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30249 {
30250 arg2 = &temp2;
30251 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30252 }
30253 {
30254 PyThreadState* __tstate = wxPyBeginAllowThreads();
30255 (arg1)->SetTextColour((wxColour const &)*arg2);
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 resultobj = SWIG_Py_Void();
30260 return resultobj;
30261fail:
30262 return NULL;
7e08d4ef
RD
30263}
30264
30265
1bd55598
RD
30266SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30267 PyObject *resultobj = 0;
30268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30269 long result;
30270 void *argp1 = 0 ;
30271 int res1 = 0 ;
30272 PyObject *swig_obj[1] ;
30273
30274 if (!args) SWIG_fail;
30275 swig_obj[0] = args;
30276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30279 }
30280 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30281 {
30282 PyThreadState* __tstate = wxPyBeginAllowThreads();
30283 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 resultobj = SWIG_From_long(static_cast< long >(result));
30288 return resultobj;
30289fail:
30290 return NULL;
30291}
30292
30293
30294SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30295 PyObject *resultobj = 0;
30296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30297 long arg2 ;
30298 bool arg3 = (bool) true ;
30299 void *argp1 = 0 ;
30300 int res1 = 0 ;
30301 long val2 ;
30302 int ecode2 = 0 ;
30303 bool val3 ;
30304 int ecode3 = 0 ;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 char * kwnames[] = {
30309 (char *) "self",(char *) "style",(char *) "add", NULL
30310 };
30311
30312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30314 if (!SWIG_IsOK(res1)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30316 }
30317 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30318 ecode2 = SWIG_AsVal_long(obj1, &val2);
30319 if (!SWIG_IsOK(ecode2)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30321 }
30322 arg2 = static_cast< long >(val2);
30323 if (obj2) {
30324 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30325 if (!SWIG_IsOK(ecode3)) {
30326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30327 }
30328 arg3 = static_cast< bool >(val3);
30329 }
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 (arg1)->SetSingleStyle(arg2,arg3);
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 resultobj = SWIG_Py_Void();
30337 return resultobj;
30338fail:
30339 return NULL;
30340}
30341
30342
30343SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30344 PyObject *resultobj = 0;
30345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30346 long arg2 ;
30347 int arg3 = (int) wxLIST_NEXT_ALL ;
30348 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30349 long result;
30350 void *argp1 = 0 ;
30351 int res1 = 0 ;
30352 long val2 ;
30353 int ecode2 = 0 ;
30354 int val3 ;
30355 int ecode3 = 0 ;
30356 int val4 ;
30357 int ecode4 = 0 ;
30358 PyObject * obj0 = 0 ;
30359 PyObject * obj1 = 0 ;
30360 PyObject * obj2 = 0 ;
30361 PyObject * obj3 = 0 ;
30362 char * kwnames[] = {
30363 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30364 };
30365
30366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30368 if (!SWIG_IsOK(res1)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30370 }
30371 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30372 ecode2 = SWIG_AsVal_long(obj1, &val2);
30373 if (!SWIG_IsOK(ecode2)) {
30374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30375 }
30376 arg2 = static_cast< long >(val2);
30377 if (obj2) {
30378 ecode3 = SWIG_AsVal_int(obj2, &val3);
30379 if (!SWIG_IsOK(ecode3)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30381 }
30382 arg3 = static_cast< int >(val3);
30383 }
30384 if (obj3) {
30385 ecode4 = SWIG_AsVal_int(obj3, &val4);
30386 if (!SWIG_IsOK(ecode4)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30388 }
30389 arg4 = static_cast< int >(val4);
30390 }
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30394 wxPyEndAllowThreads(__tstate);
30395 if (PyErr_Occurred()) SWIG_fail;
30396 }
30397 resultobj = SWIG_From_long(static_cast< long >(result));
30398 return resultobj;
30399fail:
30400 return NULL;
30401}
30402
30403
30404SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30405 PyObject *resultobj = 0;
30406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30407 int arg2 ;
30408 wxImageList *result = 0 ;
30409 void *argp1 = 0 ;
30410 int res1 = 0 ;
30411 int val2 ;
30412 int ecode2 = 0 ;
30413 PyObject * obj0 = 0 ;
30414 PyObject * obj1 = 0 ;
30415 char * kwnames[] = {
30416 (char *) "self",(char *) "which", NULL
30417 };
30418
30419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30421 if (!SWIG_IsOK(res1)) {
30422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30423 }
30424 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30425 ecode2 = SWIG_AsVal_int(obj1, &val2);
30426 if (!SWIG_IsOK(ecode2)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30428 }
30429 arg2 = static_cast< int >(val2);
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
3ecece7e
RD
30436 {
30437 resultobj = wxPyMake_wxObject(result, (bool)0);
30438 }
1bd55598
RD
30439 return resultobj;
30440fail:
30441 return NULL;
30442}
30443
30444
30445SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30446 PyObject *resultobj = 0;
30447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30448 wxImageList *arg2 = (wxImageList *) 0 ;
30449 int arg3 ;
30450 void *argp1 = 0 ;
30451 int res1 = 0 ;
30452 void *argp2 = 0 ;
30453 int res2 = 0 ;
30454 int val3 ;
30455 int ecode3 = 0 ;
30456 PyObject * obj0 = 0 ;
30457 PyObject * obj1 = 0 ;
30458 PyObject * obj2 = 0 ;
30459 char * kwnames[] = {
30460 (char *) "self",(char *) "imageList",(char *) "which", NULL
30461 };
30462
30463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30465 if (!SWIG_IsOK(res1)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30467 }
30468 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30469 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30470 if (!SWIG_IsOK(res2)) {
30471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30472 }
30473 arg2 = reinterpret_cast< wxImageList * >(argp2);
30474 ecode3 = SWIG_AsVal_int(obj2, &val3);
30475 if (!SWIG_IsOK(ecode3)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30477 }
30478 arg3 = static_cast< int >(val3);
30479 {
30480 PyThreadState* __tstate = wxPyBeginAllowThreads();
30481 (arg1)->SetImageList(arg2,arg3);
30482 wxPyEndAllowThreads(__tstate);
30483 if (PyErr_Occurred()) SWIG_fail;
30484 }
30485 resultobj = SWIG_Py_Void();
30486 return resultobj;
30487fail:
30488 return NULL;
30489}
30490
30491
30492SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30493 PyObject *resultobj = 0;
30494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30495 wxImageList *arg2 = (wxImageList *) 0 ;
30496 int arg3 ;
30497 void *argp1 = 0 ;
30498 int res1 = 0 ;
30499 int res2 = 0 ;
30500 int val3 ;
30501 int ecode3 = 0 ;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 PyObject * obj2 = 0 ;
30505 char * kwnames[] = {
30506 (char *) "self",(char *) "imageList",(char *) "which", NULL
30507 };
30508
30509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30511 if (!SWIG_IsOK(res1)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30513 }
30514 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30515 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30516 if (!SWIG_IsOK(res2)) {
30517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30518 }
30519 ecode3 = SWIG_AsVal_int(obj2, &val3);
30520 if (!SWIG_IsOK(ecode3)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30522 }
30523 arg3 = static_cast< int >(val3);
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->AssignImageList(arg2,arg3);
30527 wxPyEndAllowThreads(__tstate);
30528 if (PyErr_Occurred()) SWIG_fail;
30529 }
30530 resultobj = SWIG_Py_Void();
30531 return resultobj;
30532fail:
30533 return NULL;
7e08d4ef
RD
30534}
30535
30536
1bd55598
RD
30537SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30538 PyObject *resultobj = 0;
30539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30540 bool result;
30541 void *argp1 = 0 ;
30542 int res1 = 0 ;
30543 PyObject *swig_obj[1] ;
30544
30545 if (!args) SWIG_fail;
30546 swig_obj[0] = args;
30547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30548 if (!SWIG_IsOK(res1)) {
30549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30550 }
30551 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30552 {
30553 PyThreadState* __tstate = wxPyBeginAllowThreads();
30554 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 {
30559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30560 }
30561 return resultobj;
30562fail:
30563 return NULL;
44bf767a
RD
30564}
30565
30566
1bd55598
RD
30567SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30568 PyObject *resultobj = 0;
30569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30570 bool result;
30571 void *argp1 = 0 ;
30572 int res1 = 0 ;
30573 PyObject *swig_obj[1] ;
30574
30575 if (!args) SWIG_fail;
30576 swig_obj[0] = args;
30577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30578 if (!SWIG_IsOK(res1)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30580 }
30581 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30582 {
30583 PyThreadState* __tstate = wxPyBeginAllowThreads();
30584 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30585 wxPyEndAllowThreads(__tstate);
30586 if (PyErr_Occurred()) SWIG_fail;
30587 }
30588 {
30589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30590 }
30591 return resultobj;
30592fail:
30593 return NULL;
30594}
30595
30596
30597SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30598 PyObject *resultobj = 0;
30599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30600 long arg2 ;
30601 void *argp1 = 0 ;
30602 int res1 = 0 ;
30603 long val2 ;
30604 int ecode2 = 0 ;
30605 PyObject * obj0 = 0 ;
30606 PyObject * obj1 = 0 ;
30607 char * kwnames[] = {
30608 (char *) "self",(char *) "item", NULL
30609 };
30610
30611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30613 if (!SWIG_IsOK(res1)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30615 }
30616 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30617 ecode2 = SWIG_AsVal_long(obj1, &val2);
30618 if (!SWIG_IsOK(ecode2)) {
30619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30620 }
30621 arg2 = static_cast< long >(val2);
30622 {
30623 PyThreadState* __tstate = wxPyBeginAllowThreads();
30624 (arg1)->RefreshItem(arg2);
30625 wxPyEndAllowThreads(__tstate);
30626 if (PyErr_Occurred()) SWIG_fail;
30627 }
30628 resultobj = SWIG_Py_Void();
30629 return resultobj;
30630fail:
30631 return NULL;
30632}
30633
30634
30635SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30636 PyObject *resultobj = 0;
30637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30638 long arg2 ;
30639 long arg3 ;
30640 void *argp1 = 0 ;
30641 int res1 = 0 ;
30642 long val2 ;
30643 int ecode2 = 0 ;
30644 long val3 ;
30645 int ecode3 = 0 ;
30646 PyObject * obj0 = 0 ;
30647 PyObject * obj1 = 0 ;
30648 PyObject * obj2 = 0 ;
30649 char * kwnames[] = {
30650 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30651 };
30652
30653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30655 if (!SWIG_IsOK(res1)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30657 }
30658 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30659 ecode2 = SWIG_AsVal_long(obj1, &val2);
30660 if (!SWIG_IsOK(ecode2)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30662 }
30663 arg2 = static_cast< long >(val2);
30664 ecode3 = SWIG_AsVal_long(obj2, &val3);
30665 if (!SWIG_IsOK(ecode3)) {
30666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30667 }
30668 arg3 = static_cast< long >(val3);
30669 {
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 (arg1)->RefreshItems(arg2,arg3);
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 resultobj = SWIG_Py_Void();
30676 return resultobj;
30677fail:
30678 return NULL;
30679}
30680
30681
30682SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30683 PyObject *resultobj = 0;
30684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30685 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30686 bool result;
30687 void *argp1 = 0 ;
30688 int res1 = 0 ;
30689 int val2 ;
30690 int ecode2 = 0 ;
30691 PyObject * obj0 = 0 ;
30692 PyObject * obj1 = 0 ;
30693 char * kwnames[] = {
30694 (char *) "self",(char *) "flag", NULL
30695 };
30696
30697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30699 if (!SWIG_IsOK(res1)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30701 }
30702 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30703 if (obj1) {
30704 ecode2 = SWIG_AsVal_int(obj1, &val2);
30705 if (!SWIG_IsOK(ecode2)) {
30706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30707 }
30708 arg2 = static_cast< int >(val2);
30709 }
30710 {
30711 PyThreadState* __tstate = wxPyBeginAllowThreads();
30712 result = (bool)(arg1)->Arrange(arg2);
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
30716 {
30717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30718 }
30719 return resultobj;
30720fail:
30721 return NULL;
30722}
30723
30724
30725SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj = 0;
30727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30728 long arg2 ;
30729 bool result;
30730 void *argp1 = 0 ;
30731 int res1 = 0 ;
30732 long val2 ;
30733 int ecode2 = 0 ;
30734 PyObject * obj0 = 0 ;
30735 PyObject * obj1 = 0 ;
30736 char * kwnames[] = {
30737 (char *) "self",(char *) "item", NULL
30738 };
30739
30740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30742 if (!SWIG_IsOK(res1)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30744 }
30745 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30746 ecode2 = SWIG_AsVal_long(obj1, &val2);
30747 if (!SWIG_IsOK(ecode2)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30749 }
30750 arg2 = static_cast< long >(val2);
30751 {
30752 PyThreadState* __tstate = wxPyBeginAllowThreads();
30753 result = (bool)(arg1)->DeleteItem(arg2);
30754 wxPyEndAllowThreads(__tstate);
30755 if (PyErr_Occurred()) SWIG_fail;
30756 }
30757 {
30758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30759 }
30760 return resultobj;
30761fail:
30762 return NULL;
d55e5bfc
RD
30763}
30764
30765
1bd55598
RD
30766SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30767 PyObject *resultobj = 0;
30768 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30769 bool result;
30770 void *argp1 = 0 ;
30771 int res1 = 0 ;
30772 PyObject *swig_obj[1] ;
30773
30774 if (!args) SWIG_fail;
30775 swig_obj[0] = args;
30776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30777 if (!SWIG_IsOK(res1)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30779 }
30780 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30781 {
30782 PyThreadState* __tstate = wxPyBeginAllowThreads();
30783 result = (bool)(arg1)->DeleteAllItems();
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791fail:
30792 return NULL;
30793}
30794
30795
30796SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj = 0;
30798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30799 int arg2 ;
30800 bool result;
30801 void *argp1 = 0 ;
30802 int res1 = 0 ;
30803 int val2 ;
30804 int ecode2 = 0 ;
30805 PyObject * obj0 = 0 ;
30806 PyObject * obj1 = 0 ;
30807 char * kwnames[] = {
30808 (char *) "self",(char *) "col", NULL
30809 };
30810
30811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30813 if (!SWIG_IsOK(res1)) {
30814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30815 }
30816 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30817 ecode2 = SWIG_AsVal_int(obj1, &val2);
30818 if (!SWIG_IsOK(ecode2)) {
30819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30820 }
30821 arg2 = static_cast< int >(val2);
30822 {
30823 PyThreadState* __tstate = wxPyBeginAllowThreads();
30824 result = (bool)(arg1)->DeleteColumn(arg2);
30825 wxPyEndAllowThreads(__tstate);
30826 if (PyErr_Occurred()) SWIG_fail;
30827 }
30828 {
30829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30830 }
30831 return resultobj;
30832fail:
30833 return NULL;
b411df4a
RD
30834}
30835
30836
1bd55598
RD
30837SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30838 PyObject *resultobj = 0;
30839 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30840 bool result;
30841 void *argp1 = 0 ;
30842 int res1 = 0 ;
30843 PyObject *swig_obj[1] ;
30844
30845 if (!args) SWIG_fail;
30846 swig_obj[0] = args;
30847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30848 if (!SWIG_IsOK(res1)) {
30849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30850 }
30851 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30852 {
30853 PyThreadState* __tstate = wxPyBeginAllowThreads();
30854 result = (bool)(arg1)->DeleteAllColumns();
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 {
30859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30860 }
30861 return resultobj;
30862fail:
30863 return NULL;
b411df4a
RD
30864}
30865
30866
1bd55598
RD
30867SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30868 PyObject *resultobj = 0;
30869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30870 void *argp1 = 0 ;
30871 int res1 = 0 ;
30872 PyObject *swig_obj[1] ;
30873
30874 if (!args) SWIG_fail;
30875 swig_obj[0] = args;
30876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30877 if (!SWIG_IsOK(res1)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30879 }
30880 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30881 {
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 (arg1)->ClearAll();
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 resultobj = SWIG_Py_Void();
30888 return resultobj;
30889fail:
30890 return NULL;
30891}
30892
30893
30894SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30895 PyObject *resultobj = 0;
30896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30897 long arg2 ;
30898 void *argp1 = 0 ;
30899 int res1 = 0 ;
30900 long val2 ;
30901 int ecode2 = 0 ;
30902 PyObject * obj0 = 0 ;
30903 PyObject * obj1 = 0 ;
30904 char * kwnames[] = {
30905 (char *) "self",(char *) "item", NULL
30906 };
30907
30908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30910 if (!SWIG_IsOK(res1)) {
30911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30912 }
30913 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30914 ecode2 = SWIG_AsVal_long(obj1, &val2);
30915 if (!SWIG_IsOK(ecode2)) {
30916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30917 }
30918 arg2 = static_cast< long >(val2);
30919 {
30920 PyThreadState* __tstate = wxPyBeginAllowThreads();
30921 (arg1)->EditLabel(arg2);
30922 wxPyEndAllowThreads(__tstate);
30923 if (PyErr_Occurred()) SWIG_fail;
30924 }
30925 resultobj = SWIG_Py_Void();
30926 return resultobj;
30927fail:
30928 return NULL;
30929}
30930
30931
30932SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30933 PyObject *resultobj = 0;
30934 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30935 long arg2 ;
30936 bool result;
30937 void *argp1 = 0 ;
30938 int res1 = 0 ;
30939 long val2 ;
30940 int ecode2 = 0 ;
30941 PyObject * obj0 = 0 ;
30942 PyObject * obj1 = 0 ;
30943 char * kwnames[] = {
30944 (char *) "self",(char *) "item", NULL
30945 };
30946
30947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30949 if (!SWIG_IsOK(res1)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30951 }
30952 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30953 ecode2 = SWIG_AsVal_long(obj1, &val2);
30954 if (!SWIG_IsOK(ecode2)) {
30955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30956 }
30957 arg2 = static_cast< long >(val2);
30958 {
30959 PyThreadState* __tstate = wxPyBeginAllowThreads();
30960 result = (bool)(arg1)->EnsureVisible(arg2);
30961 wxPyEndAllowThreads(__tstate);
30962 if (PyErr_Occurred()) SWIG_fail;
30963 }
30964 {
30965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30966 }
30967 return resultobj;
30968fail:
30969 return NULL;
30970}
30971
30972
30973SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30974 PyObject *resultobj = 0;
30975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30976 long arg2 ;
30977 wxString *arg3 = 0 ;
30978 bool arg4 = (bool) false ;
30979 long result;
30980 void *argp1 = 0 ;
30981 int res1 = 0 ;
30982 long val2 ;
30983 int ecode2 = 0 ;
30984 bool temp3 = false ;
30985 bool val4 ;
30986 int ecode4 = 0 ;
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 PyObject * obj2 = 0 ;
30990 PyObject * obj3 = 0 ;
30991 char * kwnames[] = {
30992 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30993 };
30994
30995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30997 if (!SWIG_IsOK(res1)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30999 }
31000 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31001 ecode2 = SWIG_AsVal_long(obj1, &val2);
31002 if (!SWIG_IsOK(ecode2)) {
31003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31004 }
31005 arg2 = static_cast< long >(val2);
31006 {
31007 arg3 = wxString_in_helper(obj2);
31008 if (arg3 == NULL) SWIG_fail;
31009 temp3 = true;
31010 }
31011 if (obj3) {
31012 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31013 if (!SWIG_IsOK(ecode4)) {
31014 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31015 }
31016 arg4 = static_cast< bool >(val4);
31017 }
31018 {
31019 PyThreadState* __tstate = wxPyBeginAllowThreads();
31020 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31021 wxPyEndAllowThreads(__tstate);
31022 if (PyErr_Occurred()) SWIG_fail;
31023 }
31024 resultobj = SWIG_From_long(static_cast< long >(result));
31025 {
31026 if (temp3)
31027 delete arg3;
31028 }
31029 return resultobj;
31030fail:
31031 {
31032 if (temp3)
31033 delete arg3;
31034 }
31035 return NULL;
31036}
31037
31038
31039SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31040 PyObject *resultobj = 0;
31041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31042 long arg2 ;
31043 long arg3 ;
31044 long result;
31045 void *argp1 = 0 ;
31046 int res1 = 0 ;
31047 long val2 ;
31048 int ecode2 = 0 ;
31049 long val3 ;
31050 int ecode3 = 0 ;
31051 PyObject * obj0 = 0 ;
31052 PyObject * obj1 = 0 ;
31053 PyObject * obj2 = 0 ;
31054 char * kwnames[] = {
31055 (char *) "self",(char *) "start",(char *) "data", NULL
31056 };
31057
31058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31060 if (!SWIG_IsOK(res1)) {
31061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31062 }
31063 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31064 ecode2 = SWIG_AsVal_long(obj1, &val2);
31065 if (!SWIG_IsOK(ecode2)) {
31066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31067 }
31068 arg2 = static_cast< long >(val2);
31069 ecode3 = SWIG_AsVal_long(obj2, &val3);
31070 if (!SWIG_IsOK(ecode3)) {
31071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31072 }
31073 arg3 = static_cast< long >(val3);
31074 {
31075 PyThreadState* __tstate = wxPyBeginAllowThreads();
31076 result = (long)(arg1)->FindItem(arg2,arg3);
31077 wxPyEndAllowThreads(__tstate);
31078 if (PyErr_Occurred()) SWIG_fail;
31079 }
31080 resultobj = SWIG_From_long(static_cast< long >(result));
31081 return resultobj;
31082fail:
31083 return NULL;
31084}
31085
31086
31087SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31088 PyObject *resultobj = 0;
31089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31090 long arg2 ;
31091 wxPoint *arg3 = 0 ;
31092 int arg4 ;
31093 long result;
31094 void *argp1 = 0 ;
31095 int res1 = 0 ;
31096 long val2 ;
31097 int ecode2 = 0 ;
31098 wxPoint temp3 ;
31099 int val4 ;
31100 int ecode4 = 0 ;
31101 PyObject * obj0 = 0 ;
31102 PyObject * obj1 = 0 ;
31103 PyObject * obj2 = 0 ;
31104 PyObject * obj3 = 0 ;
31105 char * kwnames[] = {
31106 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31107 };
31108
31109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31111 if (!SWIG_IsOK(res1)) {
31112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31113 }
31114 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31115 ecode2 = SWIG_AsVal_long(obj1, &val2);
31116 if (!SWIG_IsOK(ecode2)) {
31117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31118 }
31119 arg2 = static_cast< long >(val2);
31120 {
31121 arg3 = &temp3;
31122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31123 }
31124 ecode4 = SWIG_AsVal_int(obj3, &val4);
31125 if (!SWIG_IsOK(ecode4)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31127 }
31128 arg4 = static_cast< int >(val4);
31129 {
31130 PyThreadState* __tstate = wxPyBeginAllowThreads();
31131 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31132 wxPyEndAllowThreads(__tstate);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 }
31135 resultobj = SWIG_From_long(static_cast< long >(result));
31136 return resultobj;
31137fail:
31138 return NULL;
31139}
31140
31141
31142SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31143 PyObject *resultobj = 0;
31144 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31145 wxPoint *arg2 = 0 ;
31146 int *arg3 = 0 ;
31147 long result;
31148 void *argp1 = 0 ;
31149 int res1 = 0 ;
31150 wxPoint temp2 ;
31151 int temp3 ;
31152 int res3 = SWIG_TMPOBJ ;
31153 PyObject * obj0 = 0 ;
31154 PyObject * obj1 = 0 ;
31155 char * kwnames[] = {
31156 (char *) "self",(char *) "point", NULL
31157 };
31158
31159 arg3 = &temp3;
31160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31162 if (!SWIG_IsOK(res1)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31164 }
31165 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31166 {
31167 arg2 = &temp2;
31168 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31169 }
31170 {
31171 PyThreadState* __tstate = wxPyBeginAllowThreads();
31172 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31173 wxPyEndAllowThreads(__tstate);
31174 if (PyErr_Occurred()) SWIG_fail;
31175 }
31176 resultobj = SWIG_From_long(static_cast< long >(result));
31177 if (SWIG_IsTmpObj(res3)) {
31178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31179 } else {
31180 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31182 }
31183 return resultobj;
31184fail:
31185 return NULL;
31186}
31187
31188
704eda0c
RD
31189SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31190 PyObject *resultobj = 0;
31191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31192 wxPoint *arg2 = 0 ;
31193 int *arg3 = 0 ;
31194 long *arg4 = (long *) 0 ;
31195 long result;
31196 void *argp1 = 0 ;
31197 int res1 = 0 ;
31198 wxPoint temp2 ;
31199 int temp3 ;
31200 int res3 = SWIG_TMPOBJ ;
31201 long temp4 ;
31202 int res4 = SWIG_TMPOBJ ;
31203 PyObject * obj0 = 0 ;
31204 PyObject * obj1 = 0 ;
31205 char * kwnames[] = {
31206 (char *) "self",(char *) "point", NULL
31207 };
31208
31209 arg3 = &temp3;
31210 arg4 = &temp4;
31211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31213 if (!SWIG_IsOK(res1)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31215 }
31216 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31217 {
31218 arg2 = &temp2;
31219 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31220 }
31221 {
31222 PyThreadState* __tstate = wxPyBeginAllowThreads();
31223 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 resultobj = SWIG_From_long(static_cast< long >(result));
31228 if (SWIG_IsTmpObj(res3)) {
31229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31230 } else {
31231 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31233 }
31234 if (SWIG_IsTmpObj(res4)) {
31235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31236 } else {
31237 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31238 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31239 }
31240 return resultobj;
31241fail:
31242 return NULL;
31243}
31244
31245
1bd55598
RD
31246SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31247 PyObject *resultobj = 0;
31248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31249 wxListItem *arg2 = 0 ;
31250 long result;
31251 void *argp1 = 0 ;
31252 int res1 = 0 ;
31253 void *argp2 = 0 ;
31254 int res2 = 0 ;
31255 PyObject * obj0 = 0 ;
31256 PyObject * obj1 = 0 ;
31257 char * kwnames[] = {
31258 (char *) "self",(char *) "info", NULL
31259 };
31260
31261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31263 if (!SWIG_IsOK(res1)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31265 }
31266 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31267 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31268 if (!SWIG_IsOK(res2)) {
31269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31270 }
31271 if (!argp2) {
31272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31273 }
31274 arg2 = reinterpret_cast< wxListItem * >(argp2);
31275 {
31276 PyThreadState* __tstate = wxPyBeginAllowThreads();
31277 result = (long)(arg1)->InsertItem(*arg2);
31278 wxPyEndAllowThreads(__tstate);
31279 if (PyErr_Occurred()) SWIG_fail;
31280 }
31281 resultobj = SWIG_From_long(static_cast< long >(result));
31282 return resultobj;
31283fail:
31284 return NULL;
31285}
31286
31287
31288SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31289 PyObject *resultobj = 0;
31290 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31291 long arg2 ;
31292 wxString *arg3 = 0 ;
31293 int arg4 = (int) -1 ;
31294 long result;
31295 void *argp1 = 0 ;
31296 int res1 = 0 ;
31297 long val2 ;
31298 int ecode2 = 0 ;
31299 bool temp3 = false ;
31300 int val4 ;
31301 int ecode4 = 0 ;
31302 PyObject * obj0 = 0 ;
31303 PyObject * obj1 = 0 ;
31304 PyObject * obj2 = 0 ;
31305 PyObject * obj3 = 0 ;
31306 char * kwnames[] = {
31307 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31308 };
31309
31310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31312 if (!SWIG_IsOK(res1)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31314 }
31315 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31316 ecode2 = SWIG_AsVal_long(obj1, &val2);
31317 if (!SWIG_IsOK(ecode2)) {
31318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31319 }
31320 arg2 = static_cast< long >(val2);
31321 {
31322 arg3 = wxString_in_helper(obj2);
31323 if (arg3 == NULL) SWIG_fail;
31324 temp3 = true;
31325 }
31326 if (obj3) {
31327 ecode4 = SWIG_AsVal_int(obj3, &val4);
31328 if (!SWIG_IsOK(ecode4)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31330 }
31331 arg4 = static_cast< int >(val4);
31332 }
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31336 wxPyEndAllowThreads(__tstate);
31337 if (PyErr_Occurred()) SWIG_fail;
31338 }
31339 resultobj = SWIG_From_long(static_cast< long >(result));
31340 {
31341 if (temp3)
31342 delete arg3;
31343 }
31344 return resultobj;
31345fail:
31346 {
31347 if (temp3)
31348 delete arg3;
31349 }
31350 return NULL;
31351}
31352
31353
31354SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31355 PyObject *resultobj = 0;
31356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31357 long arg2 ;
31358 int arg3 ;
31359 long result;
31360 void *argp1 = 0 ;
31361 int res1 = 0 ;
31362 long val2 ;
31363 int ecode2 = 0 ;
31364 int val3 ;
31365 int ecode3 = 0 ;
31366 PyObject * obj0 = 0 ;
31367 PyObject * obj1 = 0 ;
31368 PyObject * obj2 = 0 ;
31369 char * kwnames[] = {
31370 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31371 };
31372
31373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31375 if (!SWIG_IsOK(res1)) {
31376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31377 }
31378 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31379 ecode2 = SWIG_AsVal_long(obj1, &val2);
31380 if (!SWIG_IsOK(ecode2)) {
31381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31382 }
31383 arg2 = static_cast< long >(val2);
31384 ecode3 = SWIG_AsVal_int(obj2, &val3);
31385 if (!SWIG_IsOK(ecode3)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31387 }
31388 arg3 = static_cast< int >(val3);
31389 {
31390 PyThreadState* __tstate = wxPyBeginAllowThreads();
31391 result = (long)(arg1)->InsertItem(arg2,arg3);
31392 wxPyEndAllowThreads(__tstate);
31393 if (PyErr_Occurred()) SWIG_fail;
31394 }
31395 resultobj = SWIG_From_long(static_cast< long >(result));
31396 return resultobj;
31397fail:
31398 return NULL;
31399}
31400
31401
31402SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31403 PyObject *resultobj = 0;
31404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31405 long arg2 ;
31406 wxString *arg3 = 0 ;
31407 int arg4 ;
31408 long result;
31409 void *argp1 = 0 ;
31410 int res1 = 0 ;
31411 long val2 ;
31412 int ecode2 = 0 ;
31413 bool temp3 = false ;
31414 int val4 ;
31415 int ecode4 = 0 ;
31416 PyObject * obj0 = 0 ;
31417 PyObject * obj1 = 0 ;
31418 PyObject * obj2 = 0 ;
31419 PyObject * obj3 = 0 ;
31420 char * kwnames[] = {
31421 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31422 };
31423
31424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31426 if (!SWIG_IsOK(res1)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31428 }
31429 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31430 ecode2 = SWIG_AsVal_long(obj1, &val2);
31431 if (!SWIG_IsOK(ecode2)) {
31432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31433 }
31434 arg2 = static_cast< long >(val2);
31435 {
31436 arg3 = wxString_in_helper(obj2);
31437 if (arg3 == NULL) SWIG_fail;
31438 temp3 = true;
31439 }
31440 ecode4 = SWIG_AsVal_int(obj3, &val4);
31441 if (!SWIG_IsOK(ecode4)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31443 }
31444 arg4 = static_cast< int >(val4);
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31448 wxPyEndAllowThreads(__tstate);
31449 if (PyErr_Occurred()) SWIG_fail;
31450 }
31451 resultobj = SWIG_From_long(static_cast< long >(result));
31452 {
31453 if (temp3)
31454 delete arg3;
31455 }
31456 return resultobj;
31457fail:
31458 {
31459 if (temp3)
31460 delete arg3;
31461 }
31462 return NULL;
31463}
31464
31465
31466SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31467 PyObject *resultobj = 0;
31468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31469 long arg2 ;
31470 wxListItem *arg3 = 0 ;
31471 long result;
31472 void *argp1 = 0 ;
31473 int res1 = 0 ;
31474 long val2 ;
31475 int ecode2 = 0 ;
31476 void *argp3 = 0 ;
31477 int res3 = 0 ;
31478 PyObject * obj0 = 0 ;
31479 PyObject * obj1 = 0 ;
31480 PyObject * obj2 = 0 ;
31481 char * kwnames[] = {
31482 (char *) "self",(char *) "col",(char *) "info", NULL
31483 };
31484
31485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31487 if (!SWIG_IsOK(res1)) {
31488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31489 }
31490 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31491 ecode2 = SWIG_AsVal_long(obj1, &val2);
31492 if (!SWIG_IsOK(ecode2)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31494 }
31495 arg2 = static_cast< long >(val2);
31496 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31497 if (!SWIG_IsOK(res3)) {
31498 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31499 }
31500 if (!argp3) {
31501 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31502 }
31503 arg3 = reinterpret_cast< wxListItem * >(argp3);
31504 {
31505 PyThreadState* __tstate = wxPyBeginAllowThreads();
31506 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31507 wxPyEndAllowThreads(__tstate);
31508 if (PyErr_Occurred()) SWIG_fail;
31509 }
31510 resultobj = SWIG_From_long(static_cast< long >(result));
31511 return resultobj;
31512fail:
31513 return NULL;
31514}
31515
31516
31517SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31518 PyObject *resultobj = 0;
31519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31520 long arg2 ;
31521 wxString *arg3 = 0 ;
31522 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31523 int arg5 = (int) -1 ;
31524 long result;
31525 void *argp1 = 0 ;
31526 int res1 = 0 ;
31527 long val2 ;
31528 int ecode2 = 0 ;
31529 bool temp3 = false ;
31530 int val4 ;
31531 int ecode4 = 0 ;
31532 int val5 ;
31533 int ecode5 = 0 ;
31534 PyObject * obj0 = 0 ;
31535 PyObject * obj1 = 0 ;
31536 PyObject * obj2 = 0 ;
31537 PyObject * obj3 = 0 ;
31538 PyObject * obj4 = 0 ;
31539 char * kwnames[] = {
31540 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31541 };
31542
31543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31545 if (!SWIG_IsOK(res1)) {
31546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31547 }
31548 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31549 ecode2 = SWIG_AsVal_long(obj1, &val2);
31550 if (!SWIG_IsOK(ecode2)) {
31551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31552 }
31553 arg2 = static_cast< long >(val2);
31554 {
31555 arg3 = wxString_in_helper(obj2);
31556 if (arg3 == NULL) SWIG_fail;
31557 temp3 = true;
31558 }
31559 if (obj3) {
31560 ecode4 = SWIG_AsVal_int(obj3, &val4);
31561 if (!SWIG_IsOK(ecode4)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31563 }
31564 arg4 = static_cast< int >(val4);
31565 }
31566 if (obj4) {
31567 ecode5 = SWIG_AsVal_int(obj4, &val5);
31568 if (!SWIG_IsOK(ecode5)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31570 }
31571 arg5 = static_cast< int >(val5);
31572 }
31573 {
31574 PyThreadState* __tstate = wxPyBeginAllowThreads();
31575 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 resultobj = SWIG_From_long(static_cast< long >(result));
31580 {
31581 if (temp3)
31582 delete arg3;
31583 }
31584 return resultobj;
31585fail:
31586 {
31587 if (temp3)
31588 delete arg3;
31589 }
31590 return NULL;
31591}
31592
31593
31594SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31595 PyObject *resultobj = 0;
31596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31597 long arg2 ;
31598 void *argp1 = 0 ;
31599 int res1 = 0 ;
31600 long val2 ;
31601 int ecode2 = 0 ;
31602 PyObject * obj0 = 0 ;
31603 PyObject * obj1 = 0 ;
31604 char * kwnames[] = {
31605 (char *) "self",(char *) "count", NULL
31606 };
31607
31608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31610 if (!SWIG_IsOK(res1)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31612 }
31613 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31614 ecode2 = SWIG_AsVal_long(obj1, &val2);
31615 if (!SWIG_IsOK(ecode2)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31617 }
31618 arg2 = static_cast< long >(val2);
31619 {
31620 PyThreadState* __tstate = wxPyBeginAllowThreads();
31621 (arg1)->SetItemCount(arg2);
31622 wxPyEndAllowThreads(__tstate);
31623 if (PyErr_Occurred()) SWIG_fail;
31624 }
31625 resultobj = SWIG_Py_Void();
31626 return resultobj;
31627fail:
31628 return NULL;
31629}
31630
31631
31632SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31633 PyObject *resultobj = 0;
31634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31635 int arg2 ;
31636 int arg3 ;
31637 bool result;
31638 void *argp1 = 0 ;
31639 int res1 = 0 ;
31640 int val2 ;
31641 int ecode2 = 0 ;
31642 int val3 ;
31643 int ecode3 = 0 ;
31644 PyObject * obj0 = 0 ;
31645 PyObject * obj1 = 0 ;
31646 PyObject * obj2 = 0 ;
31647 char * kwnames[] = {
31648 (char *) "self",(char *) "dx",(char *) "dy", NULL
31649 };
31650
31651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31653 if (!SWIG_IsOK(res1)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31655 }
31656 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31657 ecode2 = SWIG_AsVal_int(obj1, &val2);
31658 if (!SWIG_IsOK(ecode2)) {
31659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31660 }
31661 arg2 = static_cast< int >(val2);
31662 ecode3 = SWIG_AsVal_int(obj2, &val3);
31663 if (!SWIG_IsOK(ecode3)) {
31664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31665 }
31666 arg3 = static_cast< int >(val3);
31667 {
31668 PyThreadState* __tstate = wxPyBeginAllowThreads();
31669 result = (bool)(arg1)->ScrollList(arg2,arg3);
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 {
31674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31675 }
31676 return resultobj;
31677fail:
31678 return NULL;
31679}
31680
31681
31682SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31683 PyObject *resultobj = 0;
31684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31685 long arg2 ;
31686 wxColour *arg3 = 0 ;
31687 void *argp1 = 0 ;
31688 int res1 = 0 ;
31689 long val2 ;
31690 int ecode2 = 0 ;
31691 wxColour temp3 ;
31692 PyObject * obj0 = 0 ;
31693 PyObject * obj1 = 0 ;
31694 PyObject * obj2 = 0 ;
31695 char * kwnames[] = {
31696 (char *) "self",(char *) "item",(char *) "col", NULL
31697 };
31698
31699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31701 if (!SWIG_IsOK(res1)) {
31702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31703 }
31704 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31705 ecode2 = SWIG_AsVal_long(obj1, &val2);
31706 if (!SWIG_IsOK(ecode2)) {
31707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31708 }
31709 arg2 = static_cast< long >(val2);
31710 {
31711 arg3 = &temp3;
31712 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31713 }
31714 {
31715 PyThreadState* __tstate = wxPyBeginAllowThreads();
31716 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31717 wxPyEndAllowThreads(__tstate);
31718 if (PyErr_Occurred()) SWIG_fail;
31719 }
31720 resultobj = SWIG_Py_Void();
31721 return resultobj;
31722fail:
31723 return NULL;
31724}
31725
31726
31727SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31728 PyObject *resultobj = 0;
31729 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31730 long arg2 ;
31731 wxColour result;
31732 void *argp1 = 0 ;
31733 int res1 = 0 ;
31734 long val2 ;
31735 int ecode2 = 0 ;
31736 PyObject * obj0 = 0 ;
31737 PyObject * obj1 = 0 ;
31738 char * kwnames[] = {
31739 (char *) "self",(char *) "item", NULL
31740 };
31741
31742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31744 if (!SWIG_IsOK(res1)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31746 }
31747 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31748 ecode2 = SWIG_AsVal_long(obj1, &val2);
31749 if (!SWIG_IsOK(ecode2)) {
31750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31751 }
31752 arg2 = static_cast< long >(val2);
31753 {
31754 PyThreadState* __tstate = wxPyBeginAllowThreads();
31755 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31756 wxPyEndAllowThreads(__tstate);
31757 if (PyErr_Occurred()) SWIG_fail;
31758 }
31759 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31760 return resultobj;
31761fail:
31762 return NULL;
31763}
31764
31765
31766SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31767 PyObject *resultobj = 0;
31768 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31769 long arg2 ;
31770 wxColour *arg3 = 0 ;
31771 void *argp1 = 0 ;
31772 int res1 = 0 ;
31773 long val2 ;
31774 int ecode2 = 0 ;
31775 wxColour temp3 ;
31776 PyObject * obj0 = 0 ;
31777 PyObject * obj1 = 0 ;
31778 PyObject * obj2 = 0 ;
31779 char * kwnames[] = {
31780 (char *) "self",(char *) "item",(char *) "col", NULL
31781 };
31782
31783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31785 if (!SWIG_IsOK(res1)) {
31786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31787 }
31788 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31789 ecode2 = SWIG_AsVal_long(obj1, &val2);
31790 if (!SWIG_IsOK(ecode2)) {
31791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31792 }
31793 arg2 = static_cast< long >(val2);
31794 {
31795 arg3 = &temp3;
31796 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31797 }
31798 {
31799 PyThreadState* __tstate = wxPyBeginAllowThreads();
31800 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31801 wxPyEndAllowThreads(__tstate);
31802 if (PyErr_Occurred()) SWIG_fail;
31803 }
31804 resultobj = SWIG_Py_Void();
31805 return resultobj;
31806fail:
31807 return NULL;
31808}
31809
31810
31811SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31812 PyObject *resultobj = 0;
31813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31814 long arg2 ;
31815 wxColour result;
31816 void *argp1 = 0 ;
31817 int res1 = 0 ;
31818 long val2 ;
31819 int ecode2 = 0 ;
31820 PyObject * obj0 = 0 ;
31821 PyObject * obj1 = 0 ;
31822 char * kwnames[] = {
31823 (char *) "self",(char *) "item", NULL
31824 };
31825
31826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31828 if (!SWIG_IsOK(res1)) {
31829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31830 }
31831 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31832 ecode2 = SWIG_AsVal_long(obj1, &val2);
31833 if (!SWIG_IsOK(ecode2)) {
31834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31835 }
31836 arg2 = static_cast< long >(val2);
31837 {
31838 PyThreadState* __tstate = wxPyBeginAllowThreads();
31839 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31840 wxPyEndAllowThreads(__tstate);
31841 if (PyErr_Occurred()) SWIG_fail;
31842 }
31843 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31844 return resultobj;
31845fail:
31846 return NULL;
31847}
31848
31849
31850SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31851 PyObject *resultobj = 0;
31852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31853 long arg2 ;
31854 wxFont *arg3 = 0 ;
31855 void *argp1 = 0 ;
31856 int res1 = 0 ;
31857 long val2 ;
31858 int ecode2 = 0 ;
31859 void *argp3 = 0 ;
31860 int res3 = 0 ;
31861 PyObject * obj0 = 0 ;
31862 PyObject * obj1 = 0 ;
31863 PyObject * obj2 = 0 ;
31864 char * kwnames[] = {
31865 (char *) "self",(char *) "item",(char *) "f", NULL
31866 };
31867
31868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31870 if (!SWIG_IsOK(res1)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31872 }
31873 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31874 ecode2 = SWIG_AsVal_long(obj1, &val2);
31875 if (!SWIG_IsOK(ecode2)) {
31876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31877 }
31878 arg2 = static_cast< long >(val2);
31879 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31880 if (!SWIG_IsOK(res3)) {
31881 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31882 }
31883 if (!argp3) {
31884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31885 }
31886 arg3 = reinterpret_cast< wxFont * >(argp3);
31887 {
31888 PyThreadState* __tstate = wxPyBeginAllowThreads();
31889 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31890 wxPyEndAllowThreads(__tstate);
31891 if (PyErr_Occurred()) SWIG_fail;
31892 }
31893 resultobj = SWIG_Py_Void();
31894 return resultobj;
31895fail:
31896 return NULL;
31897}
31898
31899
31900SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31901 PyObject *resultobj = 0;
31902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31903 long arg2 ;
31904 wxFont result;
31905 void *argp1 = 0 ;
31906 int res1 = 0 ;
31907 long val2 ;
31908 int ecode2 = 0 ;
31909 PyObject * obj0 = 0 ;
31910 PyObject * obj1 = 0 ;
31911 char * kwnames[] = {
31912 (char *) "self",(char *) "item", NULL
31913 };
31914
31915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31917 if (!SWIG_IsOK(res1)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31919 }
31920 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31921 ecode2 = SWIG_AsVal_long(obj1, &val2);
31922 if (!SWIG_IsOK(ecode2)) {
31923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31924 }
31925 arg2 = static_cast< long >(val2);
31926 {
31927 PyThreadState* __tstate = wxPyBeginAllowThreads();
31928 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31929 wxPyEndAllowThreads(__tstate);
31930 if (PyErr_Occurred()) SWIG_fail;
31931 }
31932 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31933 return resultobj;
31934fail:
31935 return NULL;
31936}
31937
31938
31939SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31940 PyObject *resultobj = 0;
31941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31942 PyObject *arg2 = (PyObject *) 0 ;
31943 bool result;
31944 void *argp1 = 0 ;
31945 int res1 = 0 ;
31946 PyObject * obj0 = 0 ;
31947 PyObject * obj1 = 0 ;
31948 char * kwnames[] = {
31949 (char *) "self",(char *) "func", NULL
31950 };
31951
31952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31954 if (!SWIG_IsOK(res1)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31956 }
31957 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31958 arg2 = obj1;
31959 {
31960 PyThreadState* __tstate = wxPyBeginAllowThreads();
31961 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 {
31966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31967 }
31968 return resultobj;
31969fail:
31970 return NULL;
b411df4a
RD
31971}
31972
31973
1bd55598
RD
31974SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31975 PyObject *resultobj = 0;
31976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31977 wxWindow *result = 0 ;
31978 void *argp1 = 0 ;
31979 int res1 = 0 ;
31980 PyObject *swig_obj[1] ;
31981
31982 if (!args) SWIG_fail;
31983 swig_obj[0] = args;
31984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31985 if (!SWIG_IsOK(res1)) {
31986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31987 }
31988 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31989 {
31990 PyThreadState* __tstate = wxPyBeginAllowThreads();
31991 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31992 wxPyEndAllowThreads(__tstate);
31993 if (PyErr_Occurred()) SWIG_fail;
31994 }
31995 {
31996 resultobj = wxPyMake_wxObject(result, 0);
31997 }
31998 return resultobj;
31999fail:
32000 return NULL;
7993762b
RD
32001}
32002
32003
1bd55598
RD
32004SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32005 PyObject *resultobj = 0;
32006 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32007 SwigValueWrapper<wxVisualAttributes > result;
32008 int val1 ;
32009 int ecode1 = 0 ;
32010 PyObject * obj0 = 0 ;
32011 char * kwnames[] = {
32012 (char *) "variant", NULL
32013 };
32014
32015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32016 if (obj0) {
32017 ecode1 = SWIG_AsVal_int(obj0, &val1);
32018 if (!SWIG_IsOK(ecode1)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32020 }
32021 arg1 = static_cast< wxWindowVariant >(val1);
32022 }
32023 {
32024 if (!wxPyCheckForApp()) SWIG_fail;
32025 PyThreadState* __tstate = wxPyBeginAllowThreads();
32026 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32027 wxPyEndAllowThreads(__tstate);
32028 if (PyErr_Occurred()) SWIG_fail;
32029 }
32030 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32031 return resultobj;
32032fail:
32033 return NULL;
32034}
32035
32036
32037SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32038 PyObject *obj;
32039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32041 return SWIG_Py_Void();
32042}
32043
32044SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32045 return SWIG_Python_InitShadowInstance(args);
32046}
32047
32048SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj = 0;
32050 wxWindow *arg1 = (wxWindow *) 0 ;
32051 int arg2 = (int) -1 ;
32052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32054 wxSize const &arg4_defvalue = wxDefaultSize ;
32055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32056 long arg5 = (long) wxLC_REPORT ;
32057 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32058 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32059 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32060 wxString *arg7 = (wxString *) &arg7_defvalue ;
32061 wxListView *result = 0 ;
32062 void *argp1 = 0 ;
32063 int res1 = 0 ;
32064 int val2 ;
32065 int ecode2 = 0 ;
32066 wxPoint temp3 ;
32067 wxSize temp4 ;
32068 long val5 ;
32069 int ecode5 = 0 ;
32070 void *argp6 = 0 ;
32071 int res6 = 0 ;
32072 bool temp7 = false ;
32073 PyObject * obj0 = 0 ;
32074 PyObject * obj1 = 0 ;
32075 PyObject * obj2 = 0 ;
32076 PyObject * obj3 = 0 ;
32077 PyObject * obj4 = 0 ;
32078 PyObject * obj5 = 0 ;
32079 PyObject * obj6 = 0 ;
32080 char * kwnames[] = {
32081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32082 };
32083
32084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32086 if (!SWIG_IsOK(res1)) {
32087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32088 }
32089 arg1 = reinterpret_cast< wxWindow * >(argp1);
32090 if (obj1) {
32091 ecode2 = SWIG_AsVal_int(obj1, &val2);
32092 if (!SWIG_IsOK(ecode2)) {
32093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32094 }
32095 arg2 = static_cast< int >(val2);
32096 }
32097 if (obj2) {
b411df4a 32098 {
1bd55598
RD
32099 arg3 = &temp3;
32100 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
b411df4a 32101 }
1bd55598
RD
32102 }
32103 if (obj3) {
32104 {
32105 arg4 = &temp4;
32106 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
b411df4a 32107 }
1bd55598
RD
32108 }
32109 if (obj4) {
32110 ecode5 = SWIG_AsVal_long(obj4, &val5);
32111 if (!SWIG_IsOK(ecode5)) {
32112 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32113 }
32114 arg5 = static_cast< long >(val5);
32115 }
32116 if (obj5) {
32117 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32118 if (!SWIG_IsOK(res6)) {
32119 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 32120 }
1bd55598
RD
32121 if (!argp6) {
32122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 32123 }
1bd55598
RD
32124 arg6 = reinterpret_cast< wxValidator * >(argp6);
32125 }
32126 if (obj6) {
b411df4a 32127 {
1bd55598
RD
32128 arg7 = wxString_in_helper(obj6);
32129 if (arg7 == NULL) SWIG_fail;
32130 temp7 = true;
b411df4a 32131 }
1bd55598
RD
32132 }
32133 {
32134 if (!wxPyCheckForApp()) SWIG_fail;
32135 PyThreadState* __tstate = wxPyBeginAllowThreads();
32136 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32137 wxPyEndAllowThreads(__tstate);
32138 if (PyErr_Occurred()) SWIG_fail;
32139 }
32140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32141 {
32142 if (temp7)
32143 delete arg7;
32144 }
32145 return resultobj;
32146fail:
32147 {
32148 if (temp7)
32149 delete arg7;
32150 }
32151 return NULL;
b411df4a
RD
32152}
32153
32154
1bd55598
RD
32155SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32156 PyObject *resultobj = 0;
32157 wxListView *result = 0 ;
32158
32159 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32160 {
32161 if (!wxPyCheckForApp()) SWIG_fail;
32162 PyThreadState* __tstate = wxPyBeginAllowThreads();
32163 result = (wxListView *)new wxListView();
32164 wxPyEndAllowThreads(__tstate);
32165 if (PyErr_Occurred()) SWIG_fail;
32166 }
32167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32168 return resultobj;
32169fail:
32170 return NULL;
32171}
32172
32173
32174SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32175 PyObject *resultobj = 0;
32176 wxListView *arg1 = (wxListView *) 0 ;
32177 wxWindow *arg2 = (wxWindow *) 0 ;
32178 int arg3 = (int) -1 ;
32179 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32180 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32181 wxSize const &arg5_defvalue = wxDefaultSize ;
32182 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32183 long arg6 = (long) wxLC_REPORT ;
32184 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32185 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32186 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32187 wxString *arg8 = (wxString *) &arg8_defvalue ;
32188 bool result;
32189 void *argp1 = 0 ;
32190 int res1 = 0 ;
32191 void *argp2 = 0 ;
32192 int res2 = 0 ;
32193 int val3 ;
32194 int ecode3 = 0 ;
32195 wxPoint temp4 ;
32196 wxSize temp5 ;
32197 long val6 ;
32198 int ecode6 = 0 ;
32199 void *argp7 = 0 ;
32200 int res7 = 0 ;
32201 bool temp8 = false ;
32202 PyObject * obj0 = 0 ;
32203 PyObject * obj1 = 0 ;
32204 PyObject * obj2 = 0 ;
32205 PyObject * obj3 = 0 ;
32206 PyObject * obj4 = 0 ;
32207 PyObject * obj5 = 0 ;
32208 PyObject * obj6 = 0 ;
32209 PyObject * obj7 = 0 ;
32210 char * kwnames[] = {
32211 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32212 };
32213
32214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32216 if (!SWIG_IsOK(res1)) {
32217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32218 }
32219 arg1 = reinterpret_cast< wxListView * >(argp1);
32220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32221 if (!SWIG_IsOK(res2)) {
32222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32223 }
32224 arg2 = reinterpret_cast< wxWindow * >(argp2);
32225 if (obj2) {
32226 ecode3 = SWIG_AsVal_int(obj2, &val3);
32227 if (!SWIG_IsOK(ecode3)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32229 }
32230 arg3 = static_cast< int >(val3);
32231 }
32232 if (obj3) {
d55e5bfc 32233 {
1bd55598
RD
32234 arg4 = &temp4;
32235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 32236 }
1bd55598
RD
32237 }
32238 if (obj4) {
36ed4f51 32239 {
1bd55598
RD
32240 arg5 = &temp5;
32241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 32242 }
1bd55598
RD
32243 }
32244 if (obj5) {
32245 ecode6 = SWIG_AsVal_long(obj5, &val6);
32246 if (!SWIG_IsOK(ecode6)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32248 }
32249 arg6 = static_cast< long >(val6);
32250 }
32251 if (obj6) {
32252 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32253 if (!SWIG_IsOK(res7)) {
32254 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 32255 }
1bd55598
RD
32256 if (!argp7) {
32257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32258 }
32259 arg7 = reinterpret_cast< wxValidator * >(argp7);
32260 }
32261 if (obj7) {
d55e5bfc 32262 {
1bd55598
RD
32263 arg8 = wxString_in_helper(obj7);
32264 if (arg8 == NULL) SWIG_fail;
32265 temp8 = true;
d55e5bfc 32266 }
1bd55598
RD
32267 }
32268 {
32269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32270 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32271 wxPyEndAllowThreads(__tstate);
32272 if (PyErr_Occurred()) SWIG_fail;
32273 }
32274 {
32275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32276 }
32277 {
32278 if (temp8)
32279 delete arg8;
32280 }
32281 return resultobj;
32282fail:
32283 {
32284 if (temp8)
32285 delete arg8;
32286 }
32287 return NULL;
32288}
32289
32290
32291SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32292 PyObject *resultobj = 0;
32293 wxListView *arg1 = (wxListView *) 0 ;
32294 long arg2 ;
32295 bool arg3 = (bool) true ;
32296 void *argp1 = 0 ;
32297 int res1 = 0 ;
32298 long val2 ;
32299 int ecode2 = 0 ;
32300 bool val3 ;
32301 int ecode3 = 0 ;
32302 PyObject * obj0 = 0 ;
32303 PyObject * obj1 = 0 ;
32304 PyObject * obj2 = 0 ;
32305 char * kwnames[] = {
32306 (char *) "self",(char *) "n",(char *) "on", NULL
32307 };
32308
32309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32311 if (!SWIG_IsOK(res1)) {
32312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32313 }
32314 arg1 = reinterpret_cast< wxListView * >(argp1);
32315 ecode2 = SWIG_AsVal_long(obj1, &val2);
32316 if (!SWIG_IsOK(ecode2)) {
32317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32318 }
32319 arg2 = static_cast< long >(val2);
32320 if (obj2) {
32321 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32322 if (!SWIG_IsOK(ecode3)) {
32323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32324 }
32325 arg3 = static_cast< bool >(val3);
32326 }
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 (arg1)->Select(arg2,arg3);
32330 wxPyEndAllowThreads(__tstate);
32331 if (PyErr_Occurred()) SWIG_fail;
32332 }
32333 resultobj = SWIG_Py_Void();
32334 return resultobj;
32335fail:
32336 return NULL;
32337}
32338
32339
32340SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32341 PyObject *resultobj = 0;
32342 wxListView *arg1 = (wxListView *) 0 ;
32343 long arg2 ;
32344 void *argp1 = 0 ;
32345 int res1 = 0 ;
32346 long val2 ;
32347 int ecode2 = 0 ;
32348 PyObject * obj0 = 0 ;
32349 PyObject * obj1 = 0 ;
32350 char * kwnames[] = {
32351 (char *) "self",(char *) "index", NULL
32352 };
32353
32354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32356 if (!SWIG_IsOK(res1)) {
32357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32358 }
32359 arg1 = reinterpret_cast< wxListView * >(argp1);
32360 ecode2 = SWIG_AsVal_long(obj1, &val2);
32361 if (!SWIG_IsOK(ecode2)) {
32362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32363 }
32364 arg2 = static_cast< long >(val2);
32365 {
32366 PyThreadState* __tstate = wxPyBeginAllowThreads();
32367 (arg1)->Focus(arg2);
32368 wxPyEndAllowThreads(__tstate);
32369 if (PyErr_Occurred()) SWIG_fail;
32370 }
32371 resultobj = SWIG_Py_Void();
32372 return resultobj;
32373fail:
32374 return NULL;
d55e5bfc
RD
32375}
32376
32377
1bd55598
RD
32378SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32379 PyObject *resultobj = 0;
32380 wxListView *arg1 = (wxListView *) 0 ;
32381 long result;
32382 void *argp1 = 0 ;
32383 int res1 = 0 ;
32384 PyObject *swig_obj[1] ;
32385
32386 if (!args) SWIG_fail;
32387 swig_obj[0] = args;
32388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32389 if (!SWIG_IsOK(res1)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32391 }
32392 arg1 = reinterpret_cast< wxListView * >(argp1);
32393 {
32394 PyThreadState* __tstate = wxPyBeginAllowThreads();
32395 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32396 wxPyEndAllowThreads(__tstate);
32397 if (PyErr_Occurred()) SWIG_fail;
32398 }
32399 resultobj = SWIG_From_long(static_cast< long >(result));
32400 return resultobj;
32401fail:
32402 return NULL;
32403}
32404
32405
32406SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32407 PyObject *resultobj = 0;
32408 wxListView *arg1 = (wxListView *) 0 ;
32409 long arg2 ;
32410 long result;
32411 void *argp1 = 0 ;
32412 int res1 = 0 ;
32413 long val2 ;
32414 int ecode2 = 0 ;
32415 PyObject * obj0 = 0 ;
32416 PyObject * obj1 = 0 ;
32417 char * kwnames[] = {
32418 (char *) "self",(char *) "item", NULL
32419 };
32420
32421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32423 if (!SWIG_IsOK(res1)) {
32424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32425 }
32426 arg1 = reinterpret_cast< wxListView * >(argp1);
32427 ecode2 = SWIG_AsVal_long(obj1, &val2);
32428 if (!SWIG_IsOK(ecode2)) {
32429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32430 }
32431 arg2 = static_cast< long >(val2);
32432 {
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32435 wxPyEndAllowThreads(__tstate);
32436 if (PyErr_Occurred()) SWIG_fail;
32437 }
32438 resultobj = SWIG_From_long(static_cast< long >(result));
32439 return resultobj;
32440fail:
32441 return NULL;
d55e5bfc
RD
32442}
32443
32444
1bd55598
RD
32445SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32446 PyObject *resultobj = 0;
32447 wxListView *arg1 = (wxListView *) 0 ;
32448 long result;
32449 void *argp1 = 0 ;
32450 int res1 = 0 ;
32451 PyObject *swig_obj[1] ;
32452
32453 if (!args) SWIG_fail;
32454 swig_obj[0] = args;
32455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32456 if (!SWIG_IsOK(res1)) {
32457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32458 }
32459 arg1 = reinterpret_cast< wxListView * >(argp1);
32460 {
32461 PyThreadState* __tstate = wxPyBeginAllowThreads();
32462 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32463 wxPyEndAllowThreads(__tstate);
32464 if (PyErr_Occurred()) SWIG_fail;
32465 }
32466 resultobj = SWIG_From_long(static_cast< long >(result));
32467 return resultobj;
32468fail:
32469 return NULL;
32470}
32471
32472
32473SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32474 PyObject *resultobj = 0;
32475 wxListView *arg1 = (wxListView *) 0 ;
32476 long arg2 ;
32477 bool result;
32478 void *argp1 = 0 ;
32479 int res1 = 0 ;
32480 long val2 ;
32481 int ecode2 = 0 ;
32482 PyObject * obj0 = 0 ;
32483 PyObject * obj1 = 0 ;
32484 char * kwnames[] = {
32485 (char *) "self",(char *) "index", NULL
32486 };
32487
32488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32490 if (!SWIG_IsOK(res1)) {
32491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32492 }
32493 arg1 = reinterpret_cast< wxListView * >(argp1);
32494 ecode2 = SWIG_AsVal_long(obj1, &val2);
32495 if (!SWIG_IsOK(ecode2)) {
32496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32497 }
32498 arg2 = static_cast< long >(val2);
32499 {
32500 PyThreadState* __tstate = wxPyBeginAllowThreads();
32501 result = (bool)(arg1)->IsSelected(arg2);
32502 wxPyEndAllowThreads(__tstate);
32503 if (PyErr_Occurred()) SWIG_fail;
32504 }
32505 {
32506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32507 }
32508 return resultobj;
32509fail:
32510 return NULL;
32511}
32512
32513
32514SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32515 PyObject *resultobj = 0;
32516 wxListView *arg1 = (wxListView *) 0 ;
32517 int arg2 ;
32518 int arg3 ;
32519 void *argp1 = 0 ;
32520 int res1 = 0 ;
32521 int val2 ;
32522 int ecode2 = 0 ;
32523 int val3 ;
32524 int ecode3 = 0 ;
32525 PyObject * obj0 = 0 ;
32526 PyObject * obj1 = 0 ;
32527 PyObject * obj2 = 0 ;
32528 char * kwnames[] = {
32529 (char *) "self",(char *) "col",(char *) "image", NULL
32530 };
32531
32532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32534 if (!SWIG_IsOK(res1)) {
32535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32536 }
32537 arg1 = reinterpret_cast< wxListView * >(argp1);
32538 ecode2 = SWIG_AsVal_int(obj1, &val2);
32539 if (!SWIG_IsOK(ecode2)) {
32540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32541 }
32542 arg2 = static_cast< int >(val2);
32543 ecode3 = SWIG_AsVal_int(obj2, &val3);
32544 if (!SWIG_IsOK(ecode3)) {
32545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32546 }
32547 arg3 = static_cast< int >(val3);
32548 {
32549 PyThreadState* __tstate = wxPyBeginAllowThreads();
32550 (arg1)->SetColumnImage(arg2,arg3);
32551 wxPyEndAllowThreads(__tstate);
32552 if (PyErr_Occurred()) SWIG_fail;
32553 }
32554 resultobj = SWIG_Py_Void();
32555 return resultobj;
32556fail:
32557 return NULL;
32558}
32559
32560
32561SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj = 0;
32563 wxListView *arg1 = (wxListView *) 0 ;
32564 int arg2 ;
32565 void *argp1 = 0 ;
32566 int res1 = 0 ;
32567 int val2 ;
32568 int ecode2 = 0 ;
32569 PyObject * obj0 = 0 ;
32570 PyObject * obj1 = 0 ;
32571 char * kwnames[] = {
32572 (char *) "self",(char *) "col", NULL
32573 };
32574
32575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32577 if (!SWIG_IsOK(res1)) {
32578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32579 }
32580 arg1 = reinterpret_cast< wxListView * >(argp1);
32581 ecode2 = SWIG_AsVal_int(obj1, &val2);
32582 if (!SWIG_IsOK(ecode2)) {
32583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32584 }
32585 arg2 = static_cast< int >(val2);
32586 {
32587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32588 (arg1)->ClearColumnImage(arg2);
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 resultobj = SWIG_Py_Void();
32593 return resultobj;
32594fail:
32595 return NULL;
d55e5bfc
RD
32596}
32597
32598
1bd55598
RD
32599SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32600 PyObject *obj;
32601 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32602 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32603 return SWIG_Py_Void();
d55e5bfc
RD
32604}
32605
1bd55598
RD
32606SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32607 return SWIG_Python_InitShadowInstance(args);
32608}
d55e5bfc 32609
1bd55598
RD
32610SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32611 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32612 return 1;
d55e5bfc
RD
32613}
32614
32615
1bd55598
RD
32616SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32617 PyObject *pyobj = 0;
32618
32619 {
32620#if wxUSE_UNICODE
32621 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32622#else
32623 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32624#endif
32625 }
32626 return pyobj;
d55e5bfc
RD
32627}
32628
32629
1bd55598
RD
32630SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32631 PyObject *resultobj = 0;
32632 wxTreeItemId *result = 0 ;
32633
32634 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32635 {
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 result = (wxTreeItemId *)new wxTreeItemId();
32638 wxPyEndAllowThreads(__tstate);
32639 if (PyErr_Occurred()) SWIG_fail;
32640 }
32641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32642 return resultobj;
32643fail:
32644 return NULL;
d55e5bfc
RD
32645}
32646
32647
1bd55598
RD
32648SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32649 PyObject *resultobj = 0;
32650 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32651 void *argp1 = 0 ;
32652 int res1 = 0 ;
32653 PyObject *swig_obj[1] ;
32654
32655 if (!args) SWIG_fail;
32656 swig_obj[0] = args;
32657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32658 if (!SWIG_IsOK(res1)) {
32659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32660 }
32661 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32662 {
32663 PyThreadState* __tstate = wxPyBeginAllowThreads();
32664 delete arg1;
d55e5bfc 32665
1bd55598
RD
32666 wxPyEndAllowThreads(__tstate);
32667 if (PyErr_Occurred()) SWIG_fail;
32668 }
32669 resultobj = SWIG_Py_Void();
32670 return resultobj;
32671fail:
32672 return NULL;
d55e5bfc
RD
32673}
32674
32675
1bd55598
RD
32676SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32677 PyObject *resultobj = 0;
32678 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32679 bool result;
32680 void *argp1 = 0 ;
32681 int res1 = 0 ;
32682 PyObject *swig_obj[1] ;
32683
32684 if (!args) SWIG_fail;
32685 swig_obj[0] = args;
32686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32687 if (!SWIG_IsOK(res1)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32689 }
32690 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32691 {
32692 PyThreadState* __tstate = wxPyBeginAllowThreads();
32693 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32694 wxPyEndAllowThreads(__tstate);
32695 if (PyErr_Occurred()) SWIG_fail;
32696 }
32697 {
32698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32699 }
32700 return resultobj;
32701fail:
32702 return NULL;
32703}
32704
32705
32706SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32707 PyObject *resultobj = 0;
32708 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32709 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32710 bool result;
32711 void *argp1 = 0 ;
32712 int res1 = 0 ;
32713 void *argp2 = 0 ;
32714 int res2 = 0 ;
32715 PyObject * obj0 = 0 ;
32716 PyObject * obj1 = 0 ;
32717 char * kwnames[] = {
32718 (char *) "self",(char *) "other", NULL
32719 };
32720
32721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32723 if (!SWIG_IsOK(res1)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32725 }
32726 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32728 if (!SWIG_IsOK(res2)) {
32729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32730 }
32731 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32732 {
32733 PyThreadState* __tstate = wxPyBeginAllowThreads();
32734 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32735 wxPyEndAllowThreads(__tstate);
32736 if (PyErr_Occurred()) SWIG_fail;
32737 }
32738 {
32739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32740 }
32741 return resultobj;
32742fail:
32743 return NULL;
32744}
32745
32746
32747SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32748 PyObject *resultobj = 0;
32749 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32750 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32751 bool result;
32752 void *argp1 = 0 ;
32753 int res1 = 0 ;
32754 void *argp2 = 0 ;
32755 int res2 = 0 ;
32756 PyObject * obj0 = 0 ;
32757 PyObject * obj1 = 0 ;
32758 char * kwnames[] = {
32759 (char *) "self",(char *) "other", NULL
32760 };
32761
32762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32764 if (!SWIG_IsOK(res1)) {
32765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32766 }
32767 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32769 if (!SWIG_IsOK(res2)) {
32770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32771 }
32772 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32773 {
32774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32775 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32776 wxPyEndAllowThreads(__tstate);
32777 if (PyErr_Occurred()) SWIG_fail;
32778 }
32779 {
32780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32781 }
32782 return resultobj;
32783fail:
32784 return NULL;
d55e5bfc
RD
32785}
32786
32787
1bd55598
RD
32788SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32789 PyObject *resultobj = 0;
32790 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32791 void *arg2 = (void *) 0 ;
32792 void *argp1 = 0 ;
32793 int res1 = 0 ;
32794 int res2 ;
32795 PyObject *swig_obj[2] ;
32796
32797 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32799 if (!SWIG_IsOK(res1)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32801 }
32802 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32803 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32804 if (!SWIG_IsOK(res2)) {
32805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32806 }
32807 if (arg1) (arg1)->m_pItem = arg2;
32808
32809 resultobj = SWIG_Py_Void();
32810 return resultobj;
32811fail:
32812 return NULL;
d55e5bfc
RD
32813}
32814
32815
1bd55598
RD
32816SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32817 PyObject *resultobj = 0;
32818 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32819 void *result = 0 ;
32820 void *argp1 = 0 ;
32821 int res1 = 0 ;
32822 PyObject *swig_obj[1] ;
32823
32824 if (!args) SWIG_fail;
32825 swig_obj[0] = args;
32826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32827 if (!SWIG_IsOK(res1)) {
32828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32829 }
32830 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32831 result = (void *) ((arg1)->m_pItem);
32832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32833 return resultobj;
32834fail:
32835 return NULL;
d55e5bfc
RD
32836}
32837
32838
1bd55598
RD
32839SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32840 PyObject *obj;
32841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32842 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32843 return SWIG_Py_Void();
d55e5bfc
RD
32844}
32845
1bd55598
RD
32846SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32847 return SWIG_Python_InitShadowInstance(args);
32848}
d55e5bfc 32849
1bd55598
RD
32850SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32851 PyObject *resultobj = 0;
32852 PyObject *arg1 = (PyObject *) NULL ;
32853 wxPyTreeItemData *result = 0 ;
32854 PyObject * obj0 = 0 ;
32855 char * kwnames[] = {
32856 (char *) "obj", NULL
32857 };
32858
32859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32860 if (obj0) {
32861 arg1 = obj0;
32862 }
32863 {
32864 PyThreadState* __tstate = wxPyBeginAllowThreads();
32865 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32866 wxPyEndAllowThreads(__tstate);
32867 if (PyErr_Occurred()) SWIG_fail;
32868 }
32869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32870 return resultobj;
32871fail:
32872 return NULL;
d55e5bfc
RD
32873}
32874
32875
1bd55598
RD
32876SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32877 PyObject *resultobj = 0;
32878 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32879 void *argp1 = 0 ;
32880 int res1 = 0 ;
32881 PyObject *swig_obj[1] ;
32882
32883 if (!args) SWIG_fail;
32884 swig_obj[0] = args;
32885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32886 if (!SWIG_IsOK(res1)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32888 }
32889 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32890 {
32891 PyThreadState* __tstate = wxPyBeginAllowThreads();
32892 delete arg1;
d55e5bfc 32893
1bd55598
RD
32894 wxPyEndAllowThreads(__tstate);
32895 if (PyErr_Occurred()) SWIG_fail;
32896 }
32897 resultobj = SWIG_Py_Void();
32898 return resultobj;
32899fail:
32900 return NULL;
d55e5bfc
RD
32901}
32902
32903
1bd55598
RD
32904SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32905 PyObject *resultobj = 0;
32906 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32907 PyObject *result = 0 ;
32908 void *argp1 = 0 ;
32909 int res1 = 0 ;
32910 PyObject *swig_obj[1] ;
32911
32912 if (!args) SWIG_fail;
32913 swig_obj[0] = args;
32914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32915 if (!SWIG_IsOK(res1)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32917 }
32918 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32919 {
32920 PyThreadState* __tstate = wxPyBeginAllowThreads();
32921 result = (PyObject *)(arg1)->GetData();
32922 wxPyEndAllowThreads(__tstate);
32923 if (PyErr_Occurred()) SWIG_fail;
32924 }
32925 resultobj = result;
32926 return resultobj;
32927fail:
32928 return NULL;
32929}
32930
32931
32932SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32933 PyObject *resultobj = 0;
32934 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32935 PyObject *arg2 = (PyObject *) 0 ;
32936 void *argp1 = 0 ;
32937 int res1 = 0 ;
32938 PyObject * obj0 = 0 ;
32939 PyObject * obj1 = 0 ;
32940 char * kwnames[] = {
32941 (char *) "self",(char *) "obj", NULL
32942 };
32943
32944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32946 if (!SWIG_IsOK(res1)) {
32947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32948 }
32949 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32950 arg2 = obj1;
32951 {
32952 PyThreadState* __tstate = wxPyBeginAllowThreads();
32953 (arg1)->SetData(arg2);
32954 wxPyEndAllowThreads(__tstate);
32955 if (PyErr_Occurred()) SWIG_fail;
32956 }
32957 resultobj = SWIG_Py_Void();
32958 return resultobj;
32959fail:
32960 return NULL;
d55e5bfc
RD
32961}
32962
32963
1bd55598
RD
32964SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32965 PyObject *resultobj = 0;
32966 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32967 wxTreeItemId *result = 0 ;
32968 void *argp1 = 0 ;
32969 int res1 = 0 ;
32970 PyObject *swig_obj[1] ;
32971
32972 if (!args) SWIG_fail;
32973 swig_obj[0] = args;
32974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32975 if (!SWIG_IsOK(res1)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32977 }
32978 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32979 {
32980 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 32981 {
1bd55598
RD
32982 wxTreeItemId const &_result_ref = (arg1)->GetId();
32983 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 32984 }
1bd55598
RD
32985 wxPyEndAllowThreads(__tstate);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32989 return resultobj;
32990fail:
32991 return NULL;
32992}
32993
32994
32995SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32996 PyObject *resultobj = 0;
32997 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32998 wxTreeItemId *arg2 = 0 ;
32999 void *argp1 = 0 ;
33000 int res1 = 0 ;
33001 void *argp2 = 0 ;
33002 int res2 = 0 ;
33003 PyObject * obj0 = 0 ;
33004 PyObject * obj1 = 0 ;
33005 char * kwnames[] = {
33006 (char *) "self",(char *) "id", NULL
33007 };
33008
33009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33011 if (!SWIG_IsOK(res1)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33013 }
33014 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33015 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33016 if (!SWIG_IsOK(res2)) {
33017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33018 }
33019 if (!argp2) {
33020 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33021 }
33022 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33023 {
33024 PyThreadState* __tstate = wxPyBeginAllowThreads();
33025 (arg1)->SetId((wxTreeItemId const &)*arg2);
33026 wxPyEndAllowThreads(__tstate);
33027 if (PyErr_Occurred()) SWIG_fail;
33028 }
33029 resultobj = SWIG_Py_Void();
33030 return resultobj;
33031fail:
33032 return NULL;
d55e5bfc
RD
33033}
33034
33035
1bd55598
RD
33036SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33037 PyObject *resultobj = 0;
33038 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33039 void *argp1 = 0 ;
33040 int res1 = 0 ;
33041 PyObject *swig_obj[1] ;
33042
33043 if (!args) SWIG_fail;
33044 swig_obj[0] = args;
33045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33046 if (!SWIG_IsOK(res1)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33048 }
33049 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33050 {
33051 PyThreadState* __tstate = wxPyBeginAllowThreads();
33052 wxPyTreeItemData_Destroy(arg1);
33053 wxPyEndAllowThreads(__tstate);
33054 if (PyErr_Occurred()) SWIG_fail;
33055 }
33056 resultobj = SWIG_Py_Void();
33057 return resultobj;
33058fail:
33059 return NULL;
d55e5bfc
RD
33060}
33061
33062
1bd55598
RD
33063SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33064 PyObject *obj;
33065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33067 return SWIG_Py_Void();
d55e5bfc
RD
33068}
33069
1bd55598
RD
33070SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33071 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
33072}
33073
b02396e8
RD
33074SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33075 {
33076 void *argp = 0;
33077 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33078 if (!SWIG_IsOK(res)) {
33079 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33080 }
33081 if (!argp) {
33082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33083 } else {
33084 wxTreeItemId * temp;
33085 temp = reinterpret_cast< wxTreeItemId * >(argp);
33086 wxNullTreeItemId = *temp;
33087 if (SWIG_IsNewObj(res)) delete temp;
33088 }
33089 }
33090 return 0;
33091fail:
33092 return 1;
33093}
33094
33095
33096SWIGINTERN PyObject *NullTreeItemId_get(void) {
33097 PyObject *pyobj = 0;
33098
33099 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33100 return pyobj;
33101}
33102
33103
33104SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
1bd55598
RD
33105 PyObject *resultobj = 0;
33106 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33107 int arg2 = (int) 0 ;
33108 wxTreeEvent *result = 0 ;
33109 int val1 ;
33110 int ecode1 = 0 ;
33111 int val2 ;
33112 int ecode2 = 0 ;
1bd55598 33113
b02396e8
RD
33114 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33115 if (swig_obj[0]) {
33116 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
1bd55598
RD
33117 if (!SWIG_IsOK(ecode1)) {
33118 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33119 }
33120 arg1 = static_cast< wxEventType >(val1);
33121 }
b02396e8
RD
33122 if (swig_obj[1]) {
33123 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
1bd55598
RD
33124 if (!SWIG_IsOK(ecode2)) {
33125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33126 }
33127 arg2 = static_cast< int >(val2);
33128 }
33129 {
33130 PyThreadState* __tstate = wxPyBeginAllowThreads();
33131 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33132 wxPyEndAllowThreads(__tstate);
33133 if (PyErr_Occurred()) SWIG_fail;
33134 }
33135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33136 return resultobj;
33137fail:
33138 return NULL;
d55e5bfc
RD
33139}
33140
33141
b02396e8
RD
33142SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33143 PyObject *resultobj = 0;
33144 wxEventType arg1 ;
33145 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33146 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33147 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33148 wxTreeEvent *result = 0 ;
33149 int val1 ;
33150 int ecode1 = 0 ;
33151 void *argp2 = 0 ;
33152 int res2 = 0 ;
33153 void *argp3 = 0 ;
33154 int res3 = 0 ;
33155
33156 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33157 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33158 if (!SWIG_IsOK(ecode1)) {
33159 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33160 }
33161 arg1 = static_cast< wxEventType >(val1);
33162 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33163 if (!SWIG_IsOK(res2)) {
33164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33165 }
33166 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33167 if (swig_obj[2]) {
33168 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33169 if (!SWIG_IsOK(res3)) {
33170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33171 }
33172 if (!argp3) {
33173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33174 }
33175 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33176 }
33177 {
33178 PyThreadState* __tstate = wxPyBeginAllowThreads();
33179 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33180 wxPyEndAllowThreads(__tstate);
33181 if (PyErr_Occurred()) SWIG_fail;
33182 }
33183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33184 return resultobj;
33185fail:
33186 return NULL;
33187}
33188
33189
33190SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33191 int argc;
33192 PyObject *argv[4];
33193
33194 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33195 --argc;
33196 if ((argc >= 0) && (argc <= 2)) {
33197 int _v = 0;
33198 if (argc > 1) {
33199 {
33200 {
33201 int res = SWIG_AsVal_int(argv[1], NULL);
33202 _v = SWIG_CheckState(res);
33203 }
33204 }
33205 if (!_v) goto check_1;
33206 }
33207 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33208 }
33209check_1:
33210
33211 if ((argc >= 2) && (argc <= 3)) {
33212 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33213 }
33214
33215fail:
33216 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33217 return NULL;
33218}
33219
33220
1bd55598
RD
33221SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33222 PyObject *resultobj = 0;
33223 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33224 wxTreeItemId result;
33225 void *argp1 = 0 ;
33226 int res1 = 0 ;
33227 PyObject *swig_obj[1] ;
33228
33229 if (!args) SWIG_fail;
33230 swig_obj[0] = args;
33231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33232 if (!SWIG_IsOK(res1)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33234 }
33235 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33236 {
33237 PyThreadState* __tstate = wxPyBeginAllowThreads();
33238 result = ((wxTreeEvent const *)arg1)->GetItem();
33239 wxPyEndAllowThreads(__tstate);
33240 if (PyErr_Occurred()) SWIG_fail;
33241 }
33242 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33243 return resultobj;
33244fail:
33245 return NULL;
33246}
33247
33248
33249SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33250 PyObject *resultobj = 0;
33251 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33252 wxTreeItemId *arg2 = 0 ;
33253 void *argp1 = 0 ;
33254 int res1 = 0 ;
33255 void *argp2 = 0 ;
33256 int res2 = 0 ;
33257 PyObject * obj0 = 0 ;
33258 PyObject * obj1 = 0 ;
33259 char * kwnames[] = {
33260 (char *) "self",(char *) "item", NULL
33261 };
33262
33263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33265 if (!SWIG_IsOK(res1)) {
33266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33267 }
33268 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33270 if (!SWIG_IsOK(res2)) {
33271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33272 }
33273 if (!argp2) {
33274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33275 }
33276 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33280 wxPyEndAllowThreads(__tstate);
33281 if (PyErr_Occurred()) SWIG_fail;
33282 }
33283 resultobj = SWIG_Py_Void();
33284 return resultobj;
33285fail:
33286 return NULL;
d55e5bfc
RD
33287}
33288
33289
1bd55598
RD
33290SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33291 PyObject *resultobj = 0;
33292 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33293 wxTreeItemId result;
33294 void *argp1 = 0 ;
33295 int res1 = 0 ;
33296 PyObject *swig_obj[1] ;
33297
33298 if (!args) SWIG_fail;
33299 swig_obj[0] = args;
33300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33301 if (!SWIG_IsOK(res1)) {
33302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33303 }
33304 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33305 {
33306 PyThreadState* __tstate = wxPyBeginAllowThreads();
33307 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33308 wxPyEndAllowThreads(__tstate);
33309 if (PyErr_Occurred()) SWIG_fail;
33310 }
33311 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33312 return resultobj;
33313fail:
33314 return NULL;
33315}
33316
33317
33318SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33319 PyObject *resultobj = 0;
33320 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33321 wxTreeItemId *arg2 = 0 ;
33322 void *argp1 = 0 ;
33323 int res1 = 0 ;
33324 void *argp2 = 0 ;
33325 int res2 = 0 ;
33326 PyObject * obj0 = 0 ;
33327 PyObject * obj1 = 0 ;
33328 char * kwnames[] = {
33329 (char *) "self",(char *) "item", NULL
33330 };
33331
33332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33334 if (!SWIG_IsOK(res1)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33336 }
33337 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33339 if (!SWIG_IsOK(res2)) {
33340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33341 }
33342 if (!argp2) {
33343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33344 }
33345 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33346 {
33347 PyThreadState* __tstate = wxPyBeginAllowThreads();
33348 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33349 wxPyEndAllowThreads(__tstate);
33350 if (PyErr_Occurred()) SWIG_fail;
33351 }
33352 resultobj = SWIG_Py_Void();
33353 return resultobj;
33354fail:
33355 return NULL;
d55e5bfc
RD
33356}
33357
33358
1bd55598
RD
33359SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33360 PyObject *resultobj = 0;
33361 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33362 wxPoint result;
33363 void *argp1 = 0 ;
33364 int res1 = 0 ;
33365 PyObject *swig_obj[1] ;
33366
33367 if (!args) SWIG_fail;
33368 swig_obj[0] = args;
33369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33370 if (!SWIG_IsOK(res1)) {
33371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33372 }
33373 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33374 {
33375 PyThreadState* __tstate = wxPyBeginAllowThreads();
33376 result = ((wxTreeEvent const *)arg1)->GetPoint();
33377 wxPyEndAllowThreads(__tstate);
33378 if (PyErr_Occurred()) SWIG_fail;
33379 }
33380 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33381 return resultobj;
33382fail:
33383 return NULL;
33384}
33385
33386
33387SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33388 PyObject *resultobj = 0;
33389 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33390 wxPoint *arg2 = 0 ;
33391 void *argp1 = 0 ;
33392 int res1 = 0 ;
33393 wxPoint temp2 ;
33394 PyObject * obj0 = 0 ;
33395 PyObject * obj1 = 0 ;
33396 char * kwnames[] = {
33397 (char *) "self",(char *) "pt", NULL
33398 };
33399
33400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33402 if (!SWIG_IsOK(res1)) {
33403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33404 }
33405 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33406 {
33407 arg2 = &temp2;
33408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33409 }
33410 {
33411 PyThreadState* __tstate = wxPyBeginAllowThreads();
33412 (arg1)->SetPoint((wxPoint const &)*arg2);
33413 wxPyEndAllowThreads(__tstate);
33414 if (PyErr_Occurred()) SWIG_fail;
33415 }
33416 resultobj = SWIG_Py_Void();
33417 return resultobj;
33418fail:
33419 return NULL;
d55e5bfc
RD
33420}
33421
33422
1bd55598
RD
33423SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33424 PyObject *resultobj = 0;
33425 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33426 wxKeyEvent *result = 0 ;
33427 void *argp1 = 0 ;
33428 int res1 = 0 ;
33429 PyObject *swig_obj[1] ;
33430
33431 if (!args) SWIG_fail;
33432 swig_obj[0] = args;
33433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33434 if (!SWIG_IsOK(res1)) {
33435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33436 }
33437 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33438 {
33439 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33440 {
1bd55598
RD
33441 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33442 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33443 }
1bd55598
RD
33444 wxPyEndAllowThreads(__tstate);
33445 if (PyErr_Occurred()) SWIG_fail;
33446 }
33447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33448 return resultobj;
33449fail:
33450 return NULL;
d55e5bfc
RD
33451}
33452
33453
1bd55598
RD
33454SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33455 PyObject *resultobj = 0;
33456 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33457 int result;
33458 void *argp1 = 0 ;
33459 int res1 = 0 ;
33460 PyObject *swig_obj[1] ;
33461
33462 if (!args) SWIG_fail;
33463 swig_obj[0] = args;
33464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33465 if (!SWIG_IsOK(res1)) {
33466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33467 }
33468 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33469 {
33470 PyThreadState* __tstate = wxPyBeginAllowThreads();
33471 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33472 wxPyEndAllowThreads(__tstate);
33473 if (PyErr_Occurred()) SWIG_fail;
33474 }
33475 resultobj = SWIG_From_int(static_cast< int >(result));
33476 return resultobj;
33477fail:
33478 return NULL;
33479}
33480
33481
33482SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33483 PyObject *resultobj = 0;
33484 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33485 wxKeyEvent *arg2 = 0 ;
33486 void *argp1 = 0 ;
33487 int res1 = 0 ;
33488 void *argp2 = 0 ;
33489 int res2 = 0 ;
33490 PyObject * obj0 = 0 ;
33491 PyObject * obj1 = 0 ;
33492 char * kwnames[] = {
33493 (char *) "self",(char *) "evt", NULL
33494 };
33495
33496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33498 if (!SWIG_IsOK(res1)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33500 }
33501 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33502 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33503 if (!SWIG_IsOK(res2)) {
33504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33505 }
33506 if (!argp2) {
33507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33508 }
33509 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33510 {
33511 PyThreadState* __tstate = wxPyBeginAllowThreads();
33512 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33513 wxPyEndAllowThreads(__tstate);
33514 if (PyErr_Occurred()) SWIG_fail;
33515 }
33516 resultobj = SWIG_Py_Void();
33517 return resultobj;
33518fail:
33519 return NULL;
d55e5bfc
RD
33520}
33521
33522
1bd55598
RD
33523SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33524 PyObject *resultobj = 0;
33525 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33526 wxString *result = 0 ;
33527 void *argp1 = 0 ;
33528 int res1 = 0 ;
33529 PyObject *swig_obj[1] ;
33530
33531 if (!args) SWIG_fail;
33532 swig_obj[0] = args;
33533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33534 if (!SWIG_IsOK(res1)) {
33535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33536 }
33537 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33538 {
33539 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33540 {
1bd55598
RD
33541 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33542 result = (wxString *) &_result_ref;
d55e5bfc 33543 }
1bd55598
RD
33544 wxPyEndAllowThreads(__tstate);
33545 if (PyErr_Occurred()) SWIG_fail;
33546 }
33547 {
33548#if wxUSE_UNICODE
33549 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33550#else
33551 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33552#endif
33553 }
33554 return resultobj;
33555fail:
33556 return NULL;
33557}
33558
33559
33560SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33561 PyObject *resultobj = 0;
33562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33563 wxString *arg2 = 0 ;
33564 void *argp1 = 0 ;
33565 int res1 = 0 ;
33566 bool temp2 = false ;
33567 PyObject * obj0 = 0 ;
33568 PyObject * obj1 = 0 ;
33569 char * kwnames[] = {
33570 (char *) "self",(char *) "label", NULL
33571 };
33572
33573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33575 if (!SWIG_IsOK(res1)) {
33576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33577 }
33578 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33579 {
33580 arg2 = wxString_in_helper(obj1);
33581 if (arg2 == NULL) SWIG_fail;
33582 temp2 = true;
33583 }
33584 {
33585 PyThreadState* __tstate = wxPyBeginAllowThreads();
33586 (arg1)->SetLabel((wxString const &)*arg2);
33587 wxPyEndAllowThreads(__tstate);
33588 if (PyErr_Occurred()) SWIG_fail;
33589 }
33590 resultobj = SWIG_Py_Void();
33591 {
33592 if (temp2)
33593 delete arg2;
33594 }
33595 return resultobj;
33596fail:
33597 {
33598 if (temp2)
33599 delete arg2;
33600 }
33601 return NULL;
d55e5bfc
RD
33602}
33603
33604
1bd55598
RD
33605SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33606 PyObject *resultobj = 0;
33607 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33608 bool result;
33609 void *argp1 = 0 ;
33610 int res1 = 0 ;
33611 PyObject *swig_obj[1] ;
33612
33613 if (!args) SWIG_fail;
33614 swig_obj[0] = args;
33615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33616 if (!SWIG_IsOK(res1)) {
33617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33618 }
33619 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33620 {
33621 PyThreadState* __tstate = wxPyBeginAllowThreads();
33622 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33623 wxPyEndAllowThreads(__tstate);
33624 if (PyErr_Occurred()) SWIG_fail;
33625 }
33626 {
33627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33628 }
33629 return resultobj;
33630fail:
33631 return NULL;
33632}
33633
33634
33635SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33636 PyObject *resultobj = 0;
33637 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33638 bool arg2 ;
33639 void *argp1 = 0 ;
33640 int res1 = 0 ;
33641 bool val2 ;
33642 int ecode2 = 0 ;
33643 PyObject * obj0 = 0 ;
33644 PyObject * obj1 = 0 ;
33645 char * kwnames[] = {
33646 (char *) "self",(char *) "editCancelled", NULL
33647 };
33648
33649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33651 if (!SWIG_IsOK(res1)) {
33652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33653 }
33654 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33655 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33656 if (!SWIG_IsOK(ecode2)) {
33657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33658 }
33659 arg2 = static_cast< bool >(val2);
33660 {
33661 PyThreadState* __tstate = wxPyBeginAllowThreads();
33662 (arg1)->SetEditCanceled(arg2);
33663 wxPyEndAllowThreads(__tstate);
33664 if (PyErr_Occurred()) SWIG_fail;
33665 }
33666 resultobj = SWIG_Py_Void();
33667 return resultobj;
33668fail:
33669 return NULL;
33670}
33671
33672
33673SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33674 PyObject *resultobj = 0;
33675 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33676 wxString *arg2 = 0 ;
33677 void *argp1 = 0 ;
33678 int res1 = 0 ;
33679 bool temp2 = false ;
33680 PyObject * obj0 = 0 ;
33681 PyObject * obj1 = 0 ;
33682 char * kwnames[] = {
33683 (char *) "self",(char *) "toolTip", NULL
33684 };
33685
33686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33688 if (!SWIG_IsOK(res1)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33690 }
33691 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33692 {
33693 arg2 = wxString_in_helper(obj1);
33694 if (arg2 == NULL) SWIG_fail;
33695 temp2 = true;
33696 }
33697 {
33698 PyThreadState* __tstate = wxPyBeginAllowThreads();
33699 (arg1)->SetToolTip((wxString const &)*arg2);
33700 wxPyEndAllowThreads(__tstate);
33701 if (PyErr_Occurred()) SWIG_fail;
33702 }
33703 resultobj = SWIG_Py_Void();
33704 {
33705 if (temp2)
33706 delete arg2;
33707 }
33708 return resultobj;
33709fail:
33710 {
33711 if (temp2)
33712 delete arg2;
33713 }
33714 return NULL;
d55e5bfc
RD
33715}
33716
33717
1bd55598
RD
33718SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33719 PyObject *resultobj = 0;
33720 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33721 wxString result;
33722 void *argp1 = 0 ;
33723 int res1 = 0 ;
33724 PyObject *swig_obj[1] ;
33725
33726 if (!args) SWIG_fail;
33727 swig_obj[0] = args;
33728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33729 if (!SWIG_IsOK(res1)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33731 }
33732 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33733 {
33734 PyThreadState* __tstate = wxPyBeginAllowThreads();
33735 result = (arg1)->GetToolTip();
33736 wxPyEndAllowThreads(__tstate);
33737 if (PyErr_Occurred()) SWIG_fail;
33738 }
33739 {
33740#if wxUSE_UNICODE
33741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33742#else
33743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33744#endif
33745 }
33746 return resultobj;
33747fail:
33748 return NULL;
33749}
33750
33751
33752SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33753 PyObject *obj;
33754 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33755 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33756 return SWIG_Py_Void();
33757}
33758
33759SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33760 return SWIG_Python_InitShadowInstance(args);
33761}
33762
33763SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33764 PyObject *resultobj = 0;
33765 wxWindow *arg1 = (wxWindow *) 0 ;
33766 int arg2 = (int) -1 ;
33767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33769 wxSize const &arg4_defvalue = wxDefaultSize ;
33770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33771 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33772 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33773 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33774 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33775 wxString *arg7 = (wxString *) &arg7_defvalue ;
33776 wxPyTreeCtrl *result = 0 ;
33777 void *argp1 = 0 ;
33778 int res1 = 0 ;
33779 int val2 ;
33780 int ecode2 = 0 ;
33781 wxPoint temp3 ;
33782 wxSize temp4 ;
33783 long val5 ;
33784 int ecode5 = 0 ;
33785 void *argp6 = 0 ;
33786 int res6 = 0 ;
33787 bool temp7 = false ;
33788 PyObject * obj0 = 0 ;
33789 PyObject * obj1 = 0 ;
33790 PyObject * obj2 = 0 ;
33791 PyObject * obj3 = 0 ;
33792 PyObject * obj4 = 0 ;
33793 PyObject * obj5 = 0 ;
33794 PyObject * obj6 = 0 ;
33795 char * kwnames[] = {
33796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33797 };
33798
33799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33801 if (!SWIG_IsOK(res1)) {
33802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33803 }
33804 arg1 = reinterpret_cast< wxWindow * >(argp1);
33805 if (obj1) {
33806 ecode2 = SWIG_AsVal_int(obj1, &val2);
33807 if (!SWIG_IsOK(ecode2)) {
33808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33809 }
33810 arg2 = static_cast< int >(val2);
33811 }
33812 if (obj2) {
d55e5bfc 33813 {
1bd55598
RD
33814 arg3 = &temp3;
33815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33816 }
1bd55598
RD
33817 }
33818 if (obj3) {
36ed4f51 33819 {
1bd55598
RD
33820 arg4 = &temp4;
33821 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33822 }
1bd55598
RD
33823 }
33824 if (obj4) {
33825 ecode5 = SWIG_AsVal_long(obj4, &val5);
33826 if (!SWIG_IsOK(ecode5)) {
33827 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33828 }
33829 arg5 = static_cast< long >(val5);
33830 }
33831 if (obj5) {
33832 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33833 if (!SWIG_IsOK(res6)) {
33834 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33835 }
1bd55598
RD
33836 if (!argp6) {
33837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33838 }
1bd55598
RD
33839 arg6 = reinterpret_cast< wxValidator * >(argp6);
33840 }
33841 if (obj6) {
d55e5bfc 33842 {
1bd55598
RD
33843 arg7 = wxString_in_helper(obj6);
33844 if (arg7 == NULL) SWIG_fail;
33845 temp7 = true;
d55e5bfc 33846 }
1bd55598
RD
33847 }
33848 {
33849 if (!wxPyCheckForApp()) SWIG_fail;
33850 PyThreadState* __tstate = wxPyBeginAllowThreads();
33851 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33852 wxPyEndAllowThreads(__tstate);
33853 if (PyErr_Occurred()) SWIG_fail;
33854 }
33855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33856 {
33857 if (temp7)
33858 delete arg7;
33859 }
33860 return resultobj;
33861fail:
33862 {
33863 if (temp7)
33864 delete arg7;
33865 }
33866 return NULL;
33867}
33868
33869
33870SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33871 PyObject *resultobj = 0;
33872 wxPyTreeCtrl *result = 0 ;
33873
33874 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33875 {
33876 if (!wxPyCheckForApp()) SWIG_fail;
33877 PyThreadState* __tstate = wxPyBeginAllowThreads();
33878 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33879 wxPyEndAllowThreads(__tstate);
33880 if (PyErr_Occurred()) SWIG_fail;
33881 }
33882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33883 return resultobj;
33884fail:
33885 return NULL;
33886}
33887
33888
33889SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33890 PyObject *resultobj = 0;
33891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33892 wxWindow *arg2 = (wxWindow *) 0 ;
33893 int arg3 = (int) -1 ;
33894 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33895 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33896 wxSize const &arg5_defvalue = wxDefaultSize ;
33897 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33898 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33899 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33900 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33901 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33902 wxString *arg8 = (wxString *) &arg8_defvalue ;
33903 bool result;
33904 void *argp1 = 0 ;
33905 int res1 = 0 ;
33906 void *argp2 = 0 ;
33907 int res2 = 0 ;
33908 int val3 ;
33909 int ecode3 = 0 ;
33910 wxPoint temp4 ;
33911 wxSize temp5 ;
33912 long val6 ;
33913 int ecode6 = 0 ;
33914 void *argp7 = 0 ;
33915 int res7 = 0 ;
33916 bool temp8 = false ;
33917 PyObject * obj0 = 0 ;
33918 PyObject * obj1 = 0 ;
33919 PyObject * obj2 = 0 ;
33920 PyObject * obj3 = 0 ;
33921 PyObject * obj4 = 0 ;
33922 PyObject * obj5 = 0 ;
33923 PyObject * obj6 = 0 ;
33924 PyObject * obj7 = 0 ;
33925 char * kwnames[] = {
33926 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33927 };
33928
33929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33931 if (!SWIG_IsOK(res1)) {
33932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33933 }
33934 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33936 if (!SWIG_IsOK(res2)) {
33937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33938 }
33939 arg2 = reinterpret_cast< wxWindow * >(argp2);
33940 if (obj2) {
33941 ecode3 = SWIG_AsVal_int(obj2, &val3);
33942 if (!SWIG_IsOK(ecode3)) {
33943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33944 }
33945 arg3 = static_cast< int >(val3);
33946 }
33947 if (obj3) {
d55e5bfc 33948 {
1bd55598
RD
33949 arg4 = &temp4;
33950 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33951 }
1bd55598
RD
33952 }
33953 if (obj4) {
d55e5bfc 33954 {
1bd55598
RD
33955 arg5 = &temp5;
33956 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 33957 }
1bd55598
RD
33958 }
33959 if (obj5) {
33960 ecode6 = SWIG_AsVal_long(obj5, &val6);
33961 if (!SWIG_IsOK(ecode6)) {
33962 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33963 }
33964 arg6 = static_cast< long >(val6);
33965 }
33966 if (obj6) {
33967 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33968 if (!SWIG_IsOK(res7)) {
33969 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33970 }
1bd55598
RD
33971 if (!argp7) {
33972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33973 }
1bd55598
RD
33974 arg7 = reinterpret_cast< wxValidator * >(argp7);
33975 }
33976 if (obj7) {
d55e5bfc 33977 {
1bd55598
RD
33978 arg8 = wxString_in_helper(obj7);
33979 if (arg8 == NULL) SWIG_fail;
33980 temp8 = true;
d55e5bfc 33981 }
1bd55598
RD
33982 }
33983 {
33984 PyThreadState* __tstate = wxPyBeginAllowThreads();
33985 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 {
33990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33991 }
33992 {
33993 if (temp8)
33994 delete arg8;
33995 }
33996 return resultobj;
33997fail:
33998 {
33999 if (temp8)
34000 delete arg8;
34001 }
34002 return NULL;
34003}
34004
34005
34006SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34007 PyObject *resultobj = 0;
34008 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34009 PyObject *arg2 = (PyObject *) 0 ;
34010 PyObject *arg3 = (PyObject *) 0 ;
34011 void *argp1 = 0 ;
34012 int res1 = 0 ;
34013 PyObject * obj0 = 0 ;
34014 PyObject * obj1 = 0 ;
34015 PyObject * obj2 = 0 ;
34016 char * kwnames[] = {
34017 (char *) "self",(char *) "self",(char *) "_class", NULL
34018 };
34019
34020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34022 if (!SWIG_IsOK(res1)) {
34023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34024 }
34025 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34026 arg2 = obj1;
34027 arg3 = obj2;
34028 {
34029 PyThreadState* __tstate = wxPyBeginAllowThreads();
34030 (arg1)->_setCallbackInfo(arg2,arg3);
34031 wxPyEndAllowThreads(__tstate);
34032 if (PyErr_Occurred()) SWIG_fail;
34033 }
34034 resultobj = SWIG_Py_Void();
34035 return resultobj;
34036fail:
34037 return NULL;
d55e5bfc
RD
34038}
34039
34040
1bd55598
RD
34041SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34042 PyObject *resultobj = 0;
34043 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34044 unsigned int result;
1bd55598
RD
34045 void *argp1 = 0 ;
34046 int res1 = 0 ;
34047 PyObject *swig_obj[1] ;
34048
34049 if (!args) SWIG_fail;
34050 swig_obj[0] = args;
34051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34052 if (!SWIG_IsOK(res1)) {
34053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34054 }
34055 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34056 {
34057 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34058 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
1bd55598
RD
34059 wxPyEndAllowThreads(__tstate);
34060 if (PyErr_Occurred()) SWIG_fail;
34061 }
e9d6f3a4 34062 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
34063 return resultobj;
34064fail:
34065 return NULL;
d55e5bfc
RD
34066}
34067
34068
1bd55598
RD
34069SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34070 PyObject *resultobj = 0;
34071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34072 unsigned int result;
34073 void *argp1 = 0 ;
34074 int res1 = 0 ;
34075 PyObject *swig_obj[1] ;
34076
34077 if (!args) SWIG_fail;
34078 swig_obj[0] = args;
34079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34080 if (!SWIG_IsOK(res1)) {
34081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34082 }
34083 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34084 {
34085 PyThreadState* __tstate = wxPyBeginAllowThreads();
34086 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34087 wxPyEndAllowThreads(__tstate);
34088 if (PyErr_Occurred()) SWIG_fail;
34089 }
34090 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34091 return resultobj;
34092fail:
34093 return NULL;
34094}
34095
34096
34097SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34098 PyObject *resultobj = 0;
34099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34100 unsigned int arg2 ;
34101 void *argp1 = 0 ;
34102 int res1 = 0 ;
34103 unsigned int val2 ;
34104 int ecode2 = 0 ;
34105 PyObject * obj0 = 0 ;
34106 PyObject * obj1 = 0 ;
34107 char * kwnames[] = {
34108 (char *) "self",(char *) "indent", NULL
34109 };
34110
34111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34113 if (!SWIG_IsOK(res1)) {
34114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34115 }
34116 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34117 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34118 if (!SWIG_IsOK(ecode2)) {
34119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34120 }
34121 arg2 = static_cast< unsigned int >(val2);
34122 {
34123 PyThreadState* __tstate = wxPyBeginAllowThreads();
34124 (arg1)->SetIndent(arg2);
34125 wxPyEndAllowThreads(__tstate);
34126 if (PyErr_Occurred()) SWIG_fail;
34127 }
34128 resultobj = SWIG_Py_Void();
34129 return resultobj;
34130fail:
34131 return NULL;
d55e5bfc
RD
34132}
34133
34134
1bd55598
RD
34135SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34136 PyObject *resultobj = 0;
34137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34138 unsigned int result;
34139 void *argp1 = 0 ;
34140 int res1 = 0 ;
34141 PyObject *swig_obj[1] ;
34142
34143 if (!args) SWIG_fail;
34144 swig_obj[0] = args;
34145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34146 if (!SWIG_IsOK(res1)) {
34147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34148 }
34149 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34150 {
34151 PyThreadState* __tstate = wxPyBeginAllowThreads();
34152 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34153 wxPyEndAllowThreads(__tstate);
34154 if (PyErr_Occurred()) SWIG_fail;
34155 }
34156 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34157 return resultobj;
34158fail:
34159 return NULL;
34160}
34161
34162
34163SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34164 PyObject *resultobj = 0;
34165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34166 unsigned int arg2 ;
34167 void *argp1 = 0 ;
34168 int res1 = 0 ;
34169 unsigned int val2 ;
34170 int ecode2 = 0 ;
34171 PyObject * obj0 = 0 ;
34172 PyObject * obj1 = 0 ;
34173 char * kwnames[] = {
34174 (char *) "self",(char *) "spacing", NULL
34175 };
34176
34177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34179 if (!SWIG_IsOK(res1)) {
34180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34181 }
34182 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34183 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34184 if (!SWIG_IsOK(ecode2)) {
34185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34186 }
34187 arg2 = static_cast< unsigned int >(val2);
34188 {
34189 PyThreadState* __tstate = wxPyBeginAllowThreads();
34190 (arg1)->SetSpacing(arg2);
34191 wxPyEndAllowThreads(__tstate);
34192 if (PyErr_Occurred()) SWIG_fail;
34193 }
34194 resultobj = SWIG_Py_Void();
34195 return resultobj;
34196fail:
34197 return NULL;
d55e5bfc
RD
34198}
34199
34200
1bd55598
RD
34201SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34202 PyObject *resultobj = 0;
34203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34204 wxImageList *result = 0 ;
34205 void *argp1 = 0 ;
34206 int res1 = 0 ;
34207 PyObject *swig_obj[1] ;
34208
34209 if (!args) SWIG_fail;
34210 swig_obj[0] = args;
34211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34212 if (!SWIG_IsOK(res1)) {
34213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34214 }
34215 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34216 {
34217 PyThreadState* __tstate = wxPyBeginAllowThreads();
34218 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34219 wxPyEndAllowThreads(__tstate);
34220 if (PyErr_Occurred()) SWIG_fail;
34221 }
3ecece7e
RD
34222 {
34223 resultobj = wxPyMake_wxObject(result, (bool)0);
34224 }
1bd55598
RD
34225 return resultobj;
34226fail:
34227 return NULL;
d55e5bfc
RD
34228}
34229
34230
1bd55598
RD
34231SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34232 PyObject *resultobj = 0;
34233 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34234 wxImageList *result = 0 ;
34235 void *argp1 = 0 ;
34236 int res1 = 0 ;
34237 PyObject *swig_obj[1] ;
34238
34239 if (!args) SWIG_fail;
34240 swig_obj[0] = args;
34241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34242 if (!SWIG_IsOK(res1)) {
34243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34244 }
34245 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34249 wxPyEndAllowThreads(__tstate);
34250 if (PyErr_Occurred()) SWIG_fail;
34251 }
3ecece7e
RD
34252 {
34253 resultobj = wxPyMake_wxObject(result, (bool)0);
34254 }
1bd55598
RD
34255 return resultobj;
34256fail:
34257 return NULL;
34258}
34259
34260
34261SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34262 PyObject *resultobj = 0;
34263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34264 wxImageList *arg2 = (wxImageList *) 0 ;
34265 void *argp1 = 0 ;
34266 int res1 = 0 ;
34267 void *argp2 = 0 ;
34268 int res2 = 0 ;
34269 PyObject * obj0 = 0 ;
34270 PyObject * obj1 = 0 ;
34271 char * kwnames[] = {
34272 (char *) "self",(char *) "imageList", NULL
34273 };
34274
34275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34277 if (!SWIG_IsOK(res1)) {
34278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34279 }
34280 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34281 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34282 if (!SWIG_IsOK(res2)) {
34283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34284 }
34285 arg2 = reinterpret_cast< wxImageList * >(argp2);
34286 {
34287 PyThreadState* __tstate = wxPyBeginAllowThreads();
34288 (arg1)->SetImageList(arg2);
34289 wxPyEndAllowThreads(__tstate);
34290 if (PyErr_Occurred()) SWIG_fail;
34291 }
34292 resultobj = SWIG_Py_Void();
34293 return resultobj;
34294fail:
34295 return NULL;
34296}
34297
34298
34299SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34300 PyObject *resultobj = 0;
34301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34302 wxImageList *arg2 = (wxImageList *) 0 ;
34303 void *argp1 = 0 ;
34304 int res1 = 0 ;
34305 void *argp2 = 0 ;
34306 int res2 = 0 ;
34307 PyObject * obj0 = 0 ;
34308 PyObject * obj1 = 0 ;
34309 char * kwnames[] = {
34310 (char *) "self",(char *) "imageList", NULL
34311 };
34312
34313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34315 if (!SWIG_IsOK(res1)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34317 }
34318 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34319 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34320 if (!SWIG_IsOK(res2)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34322 }
34323 arg2 = reinterpret_cast< wxImageList * >(argp2);
34324 {
34325 PyThreadState* __tstate = wxPyBeginAllowThreads();
34326 (arg1)->SetStateImageList(arg2);
34327 wxPyEndAllowThreads(__tstate);
34328 if (PyErr_Occurred()) SWIG_fail;
34329 }
34330 resultobj = SWIG_Py_Void();
34331 return resultobj;
34332fail:
34333 return NULL;
34334}
34335
34336
34337SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34338 PyObject *resultobj = 0;
34339 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34340 wxImageList *arg2 = (wxImageList *) 0 ;
34341 void *argp1 = 0 ;
34342 int res1 = 0 ;
34343 int res2 = 0 ;
34344 PyObject * obj0 = 0 ;
34345 PyObject * obj1 = 0 ;
34346 char * kwnames[] = {
34347 (char *) "self",(char *) "imageList", NULL
34348 };
34349
34350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34352 if (!SWIG_IsOK(res1)) {
34353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34354 }
34355 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34356 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34357 if (!SWIG_IsOK(res2)) {
34358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34359 }
34360 {
34361 PyThreadState* __tstate = wxPyBeginAllowThreads();
34362 (arg1)->AssignImageList(arg2);
34363 wxPyEndAllowThreads(__tstate);
34364 if (PyErr_Occurred()) SWIG_fail;
34365 }
34366 resultobj = SWIG_Py_Void();
34367 return resultobj;
34368fail:
34369 return NULL;
34370}
34371
34372
34373SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34374 PyObject *resultobj = 0;
34375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34376 wxImageList *arg2 = (wxImageList *) 0 ;
34377 void *argp1 = 0 ;
34378 int res1 = 0 ;
34379 int res2 = 0 ;
34380 PyObject * obj0 = 0 ;
34381 PyObject * obj1 = 0 ;
34382 char * kwnames[] = {
34383 (char *) "self",(char *) "imageList", NULL
34384 };
34385
34386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34388 if (!SWIG_IsOK(res1)) {
34389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34390 }
34391 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34392 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34393 if (!SWIG_IsOK(res2)) {
34394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34395 }
34396 {
34397 PyThreadState* __tstate = wxPyBeginAllowThreads();
34398 (arg1)->AssignStateImageList(arg2);
34399 wxPyEndAllowThreads(__tstate);
34400 if (PyErr_Occurred()) SWIG_fail;
34401 }
34402 resultobj = SWIG_Py_Void();
34403 return resultobj;
34404fail:
34405 return NULL;
34406}
34407
34408
34409SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34410 PyObject *resultobj = 0;
34411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34412 wxTreeItemId *arg2 = 0 ;
34413 wxString result;
34414 void *argp1 = 0 ;
34415 int res1 = 0 ;
34416 void *argp2 = 0 ;
34417 int res2 = 0 ;
34418 PyObject * obj0 = 0 ;
34419 PyObject * obj1 = 0 ;
34420 char * kwnames[] = {
34421 (char *) "self",(char *) "item", NULL
34422 };
34423
34424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34426 if (!SWIG_IsOK(res1)) {
34427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34428 }
34429 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34430 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34431 if (!SWIG_IsOK(res2)) {
34432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34433 }
34434 if (!argp2) {
34435 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34436 }
34437 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34438 {
34439 PyThreadState* __tstate = wxPyBeginAllowThreads();
34440 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34441 wxPyEndAllowThreads(__tstate);
34442 if (PyErr_Occurred()) SWIG_fail;
34443 }
34444 {
34445#if wxUSE_UNICODE
34446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34447#else
34448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34449#endif
34450 }
34451 return resultobj;
34452fail:
34453 return NULL;
34454}
34455
34456
34457SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34458 PyObject *resultobj = 0;
34459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34460 wxTreeItemId *arg2 = 0 ;
34461 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34462 int result;
34463 void *argp1 = 0 ;
34464 int res1 = 0 ;
34465 void *argp2 = 0 ;
34466 int res2 = 0 ;
34467 int val3 ;
34468 int ecode3 = 0 ;
34469 PyObject * obj0 = 0 ;
34470 PyObject * obj1 = 0 ;
34471 PyObject * obj2 = 0 ;
34472 char * kwnames[] = {
34473 (char *) "self",(char *) "item",(char *) "which", NULL
34474 };
34475
34476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34478 if (!SWIG_IsOK(res1)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34480 }
34481 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34482 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34483 if (!SWIG_IsOK(res2)) {
34484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34485 }
34486 if (!argp2) {
34487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34488 }
34489 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34490 if (obj2) {
34491 ecode3 = SWIG_AsVal_int(obj2, &val3);
34492 if (!SWIG_IsOK(ecode3)) {
34493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34494 }
34495 arg3 = static_cast< wxTreeItemIcon >(val3);
34496 }
34497 {
34498 PyThreadState* __tstate = wxPyBeginAllowThreads();
34499 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34500 wxPyEndAllowThreads(__tstate);
34501 if (PyErr_Occurred()) SWIG_fail;
34502 }
34503 resultobj = SWIG_From_int(static_cast< int >(result));
34504 return resultobj;
34505fail:
34506 return NULL;
34507}
34508
34509
34510SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34511 PyObject *resultobj = 0;
34512 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34513 wxTreeItemId *arg2 = 0 ;
34514 wxPyTreeItemData *result = 0 ;
34515 void *argp1 = 0 ;
34516 int res1 = 0 ;
34517 void *argp2 = 0 ;
34518 int res2 = 0 ;
34519 PyObject * obj0 = 0 ;
34520 PyObject * obj1 = 0 ;
34521 char * kwnames[] = {
34522 (char *) "self",(char *) "item", NULL
34523 };
34524
34525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34527 if (!SWIG_IsOK(res1)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34529 }
34530 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34531 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34532 if (!SWIG_IsOK(res2)) {
34533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34534 }
34535 if (!argp2) {
34536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 }
34538 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34539 {
34540 PyThreadState* __tstate = wxPyBeginAllowThreads();
34541 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34542 wxPyEndAllowThreads(__tstate);
34543 if (PyErr_Occurred()) SWIG_fail;
34544 }
34545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34546 return resultobj;
34547fail:
34548 return NULL;
34549}
34550
34551
34552SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34553 PyObject *resultobj = 0;
34554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34555 wxTreeItemId *arg2 = 0 ;
34556 PyObject *result = 0 ;
34557 void *argp1 = 0 ;
34558 int res1 = 0 ;
34559 void *argp2 = 0 ;
34560 int res2 = 0 ;
34561 PyObject * obj0 = 0 ;
34562 PyObject * obj1 = 0 ;
34563 char * kwnames[] = {
34564 (char *) "self",(char *) "item", NULL
34565 };
34566
34567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34569 if (!SWIG_IsOK(res1)) {
34570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34571 }
34572 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34574 if (!SWIG_IsOK(res2)) {
34575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34576 }
34577 if (!argp2) {
34578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34579 }
34580 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34581 {
34582 PyThreadState* __tstate = wxPyBeginAllowThreads();
34583 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34584 wxPyEndAllowThreads(__tstate);
34585 if (PyErr_Occurred()) SWIG_fail;
34586 }
34587 resultobj = result;
34588 return resultobj;
34589fail:
34590 return NULL;
34591}
34592
34593
34594SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34595 PyObject *resultobj = 0;
34596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34597 wxTreeItemId *arg2 = 0 ;
34598 wxColour result;
34599 void *argp1 = 0 ;
34600 int res1 = 0 ;
34601 void *argp2 = 0 ;
34602 int res2 = 0 ;
34603 PyObject * obj0 = 0 ;
34604 PyObject * obj1 = 0 ;
34605 char * kwnames[] = {
34606 (char *) "self",(char *) "item", NULL
34607 };
34608
34609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34611 if (!SWIG_IsOK(res1)) {
34612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34613 }
34614 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34616 if (!SWIG_IsOK(res2)) {
34617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34618 }
34619 if (!argp2) {
34620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34621 }
34622 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34630 return resultobj;
34631fail:
34632 return NULL;
34633}
34634
34635
34636SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34637 PyObject *resultobj = 0;
34638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34639 wxTreeItemId *arg2 = 0 ;
34640 wxColour result;
34641 void *argp1 = 0 ;
34642 int res1 = 0 ;
34643 void *argp2 = 0 ;
34644 int res2 = 0 ;
34645 PyObject * obj0 = 0 ;
34646 PyObject * obj1 = 0 ;
34647 char * kwnames[] = {
34648 (char *) "self",(char *) "item", NULL
34649 };
34650
34651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34653 if (!SWIG_IsOK(res1)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34655 }
34656 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34658 if (!SWIG_IsOK(res2)) {
34659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 }
34661 if (!argp2) {
34662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 }
34664 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34665 {
34666 PyThreadState* __tstate = wxPyBeginAllowThreads();
34667 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34672 return resultobj;
34673fail:
34674 return NULL;
34675}
34676
34677
34678SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34679 PyObject *resultobj = 0;
34680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34681 wxTreeItemId *arg2 = 0 ;
34682 wxFont result;
34683 void *argp1 = 0 ;
34684 int res1 = 0 ;
34685 void *argp2 = 0 ;
34686 int res2 = 0 ;
34687 PyObject * obj0 = 0 ;
34688 PyObject * obj1 = 0 ;
34689 char * kwnames[] = {
34690 (char *) "self",(char *) "item", NULL
34691 };
34692
34693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34695 if (!SWIG_IsOK(res1)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34697 }
34698 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34700 if (!SWIG_IsOK(res2)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 }
34703 if (!argp2) {
34704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34705 }
34706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34707 {
34708 PyThreadState* __tstate = wxPyBeginAllowThreads();
34709 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34710 wxPyEndAllowThreads(__tstate);
34711 if (PyErr_Occurred()) SWIG_fail;
34712 }
34713 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34714 return resultobj;
34715fail:
34716 return NULL;
34717}
34718
34719
34720SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34721 PyObject *resultobj = 0;
34722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34723 wxTreeItemId *arg2 = 0 ;
34724 wxString *arg3 = 0 ;
34725 void *argp1 = 0 ;
34726 int res1 = 0 ;
34727 void *argp2 = 0 ;
34728 int res2 = 0 ;
34729 bool temp3 = false ;
34730 PyObject * obj0 = 0 ;
34731 PyObject * obj1 = 0 ;
34732 PyObject * obj2 = 0 ;
34733 char * kwnames[] = {
34734 (char *) "self",(char *) "item",(char *) "text", NULL
34735 };
34736
34737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34739 if (!SWIG_IsOK(res1)) {
34740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34741 }
34742 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34743 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34744 if (!SWIG_IsOK(res2)) {
34745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 }
34747 if (!argp2) {
34748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34749 }
34750 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34751 {
34752 arg3 = wxString_in_helper(obj2);
34753 if (arg3 == NULL) SWIG_fail;
34754 temp3 = true;
34755 }
34756 {
34757 PyThreadState* __tstate = wxPyBeginAllowThreads();
34758 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 resultobj = SWIG_Py_Void();
34763 {
34764 if (temp3)
34765 delete arg3;
34766 }
34767 return resultobj;
34768fail:
34769 {
34770 if (temp3)
34771 delete arg3;
34772 }
34773 return NULL;
34774}
34775
34776
34777SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34778 PyObject *resultobj = 0;
34779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34780 wxTreeItemId *arg2 = 0 ;
34781 int arg3 ;
34782 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34783 void *argp1 = 0 ;
34784 int res1 = 0 ;
34785 void *argp2 = 0 ;
34786 int res2 = 0 ;
34787 int val3 ;
34788 int ecode3 = 0 ;
34789 int val4 ;
34790 int ecode4 = 0 ;
34791 PyObject * obj0 = 0 ;
34792 PyObject * obj1 = 0 ;
34793 PyObject * obj2 = 0 ;
34794 PyObject * obj3 = 0 ;
34795 char * kwnames[] = {
34796 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34797 };
34798
34799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34801 if (!SWIG_IsOK(res1)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34803 }
34804 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34806 if (!SWIG_IsOK(res2)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34808 }
34809 if (!argp2) {
34810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 }
34812 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34813 ecode3 = SWIG_AsVal_int(obj2, &val3);
34814 if (!SWIG_IsOK(ecode3)) {
34815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34816 }
34817 arg3 = static_cast< int >(val3);
34818 if (obj3) {
34819 ecode4 = SWIG_AsVal_int(obj3, &val4);
34820 if (!SWIG_IsOK(ecode4)) {
34821 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34822 }
34823 arg4 = static_cast< wxTreeItemIcon >(val4);
34824 }
34825 {
34826 PyThreadState* __tstate = wxPyBeginAllowThreads();
34827 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34828 wxPyEndAllowThreads(__tstate);
34829 if (PyErr_Occurred()) SWIG_fail;
34830 }
34831 resultobj = SWIG_Py_Void();
34832 return resultobj;
34833fail:
34834 return NULL;
34835}
34836
34837
34838SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34839 PyObject *resultobj = 0;
34840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34841 wxTreeItemId *arg2 = 0 ;
34842 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34843 void *argp1 = 0 ;
34844 int res1 = 0 ;
34845 void *argp2 = 0 ;
34846 int res2 = 0 ;
34847 int res3 = 0 ;
34848 PyObject * obj0 = 0 ;
34849 PyObject * obj1 = 0 ;
34850 PyObject * obj2 = 0 ;
34851 char * kwnames[] = {
34852 (char *) "self",(char *) "item",(char *) "data", NULL
34853 };
34854
34855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34857 if (!SWIG_IsOK(res1)) {
34858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34859 }
34860 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34861 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34862 if (!SWIG_IsOK(res2)) {
34863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34864 }
34865 if (!argp2) {
34866 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34867 }
34868 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34869 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34870 if (!SWIG_IsOK(res3)) {
34871 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34872 }
34873 {
34874 PyThreadState* __tstate = wxPyBeginAllowThreads();
34875 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34876 wxPyEndAllowThreads(__tstate);
34877 if (PyErr_Occurred()) SWIG_fail;
34878 }
34879 resultobj = SWIG_Py_Void();
34880 return resultobj;
34881fail:
34882 return NULL;
34883}
34884
34885
34886SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34887 PyObject *resultobj = 0;
34888 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34889 wxTreeItemId *arg2 = 0 ;
34890 PyObject *arg3 = (PyObject *) 0 ;
34891 void *argp1 = 0 ;
34892 int res1 = 0 ;
34893 void *argp2 = 0 ;
34894 int res2 = 0 ;
34895 PyObject * obj0 = 0 ;
34896 PyObject * obj1 = 0 ;
34897 PyObject * obj2 = 0 ;
34898 char * kwnames[] = {
34899 (char *) "self",(char *) "item",(char *) "obj", NULL
34900 };
34901
34902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34904 if (!SWIG_IsOK(res1)) {
34905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34906 }
34907 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34908 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34909 if (!SWIG_IsOK(res2)) {
34910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34911 }
34912 if (!argp2) {
34913 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34914 }
34915 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34916 arg3 = obj2;
34917 {
34918 PyThreadState* __tstate = wxPyBeginAllowThreads();
34919 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34920 wxPyEndAllowThreads(__tstate);
34921 if (PyErr_Occurred()) SWIG_fail;
34922 }
34923 resultobj = SWIG_Py_Void();
34924 return resultobj;
34925fail:
34926 return NULL;
34927}
34928
34929
34930SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34931 PyObject *resultobj = 0;
34932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34933 wxTreeItemId *arg2 = 0 ;
34934 bool arg3 = (bool) true ;
34935 void *argp1 = 0 ;
34936 int res1 = 0 ;
34937 void *argp2 = 0 ;
34938 int res2 = 0 ;
34939 bool val3 ;
34940 int ecode3 = 0 ;
34941 PyObject * obj0 = 0 ;
34942 PyObject * obj1 = 0 ;
34943 PyObject * obj2 = 0 ;
34944 char * kwnames[] = {
34945 (char *) "self",(char *) "item",(char *) "has", NULL
34946 };
34947
34948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34950 if (!SWIG_IsOK(res1)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34952 }
34953 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34954 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34955 if (!SWIG_IsOK(res2)) {
34956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34957 }
34958 if (!argp2) {
34959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34960 }
34961 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34962 if (obj2) {
34963 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34964 if (!SWIG_IsOK(ecode3)) {
34965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34966 }
34967 arg3 = static_cast< bool >(val3);
34968 }
34969 {
34970 PyThreadState* __tstate = wxPyBeginAllowThreads();
34971 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34972 wxPyEndAllowThreads(__tstate);
34973 if (PyErr_Occurred()) SWIG_fail;
34974 }
34975 resultobj = SWIG_Py_Void();
34976 return resultobj;
34977fail:
34978 return NULL;
34979}
34980
34981
34982SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34983 PyObject *resultobj = 0;
34984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34985 wxTreeItemId *arg2 = 0 ;
34986 bool arg3 = (bool) true ;
34987 void *argp1 = 0 ;
34988 int res1 = 0 ;
34989 void *argp2 = 0 ;
34990 int res2 = 0 ;
34991 bool val3 ;
34992 int ecode3 = 0 ;
34993 PyObject * obj0 = 0 ;
34994 PyObject * obj1 = 0 ;
34995 PyObject * obj2 = 0 ;
34996 char * kwnames[] = {
34997 (char *) "self",(char *) "item",(char *) "bold", NULL
34998 };
34999
35000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35002 if (!SWIG_IsOK(res1)) {
35003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35004 }
35005 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35006 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35007 if (!SWIG_IsOK(res2)) {
35008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35009 }
35010 if (!argp2) {
35011 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 }
35013 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35014 if (obj2) {
35015 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35016 if (!SWIG_IsOK(ecode3)) {
35017 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35018 }
35019 arg3 = static_cast< bool >(val3);
35020 }
35021 {
35022 PyThreadState* __tstate = wxPyBeginAllowThreads();
35023 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35024 wxPyEndAllowThreads(__tstate);
35025 if (PyErr_Occurred()) SWIG_fail;
35026 }
35027 resultobj = SWIG_Py_Void();
35028 return resultobj;
35029fail:
35030 return NULL;
35031}
35032
35033
35034SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35035 PyObject *resultobj = 0;
35036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35037 wxTreeItemId *arg2 = 0 ;
35038 bool arg3 = (bool) true ;
35039 void *argp1 = 0 ;
35040 int res1 = 0 ;
35041 void *argp2 = 0 ;
35042 int res2 = 0 ;
35043 bool val3 ;
35044 int ecode3 = 0 ;
35045 PyObject * obj0 = 0 ;
35046 PyObject * obj1 = 0 ;
35047 PyObject * obj2 = 0 ;
35048 char * kwnames[] = {
35049 (char *) "self",(char *) "item",(char *) "highlight", NULL
35050 };
35051
35052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35054 if (!SWIG_IsOK(res1)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35056 }
35057 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35058 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35059 if (!SWIG_IsOK(res2)) {
35060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 }
35062 if (!argp2) {
35063 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35064 }
35065 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35066 if (obj2) {
35067 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35068 if (!SWIG_IsOK(ecode3)) {
35069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35070 }
35071 arg3 = static_cast< bool >(val3);
35072 }
35073 {
35074 PyThreadState* __tstate = wxPyBeginAllowThreads();
35075 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35076 wxPyEndAllowThreads(__tstate);
35077 if (PyErr_Occurred()) SWIG_fail;
35078 }
35079 resultobj = SWIG_Py_Void();
35080 return resultobj;
35081fail:
35082 return NULL;
35083}
35084
35085
35086SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35087 PyObject *resultobj = 0;
35088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35089 wxTreeItemId *arg2 = 0 ;
35090 wxColour *arg3 = 0 ;
35091 void *argp1 = 0 ;
35092 int res1 = 0 ;
35093 void *argp2 = 0 ;
35094 int res2 = 0 ;
35095 wxColour temp3 ;
35096 PyObject * obj0 = 0 ;
35097 PyObject * obj1 = 0 ;
35098 PyObject * obj2 = 0 ;
35099 char * kwnames[] = {
35100 (char *) "self",(char *) "item",(char *) "col", NULL
35101 };
35102
35103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35105 if (!SWIG_IsOK(res1)) {
35106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35107 }
35108 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35109 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35110 if (!SWIG_IsOK(res2)) {
35111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35112 }
35113 if (!argp2) {
35114 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 }
35116 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35117 {
35118 arg3 = &temp3;
35119 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35120 }
35121 {
35122 PyThreadState* __tstate = wxPyBeginAllowThreads();
35123 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35124 wxPyEndAllowThreads(__tstate);
35125 if (PyErr_Occurred()) SWIG_fail;
35126 }
35127 resultobj = SWIG_Py_Void();
35128 return resultobj;
35129fail:
35130 return NULL;
35131}
35132
35133
35134SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35135 PyObject *resultobj = 0;
35136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35137 wxTreeItemId *arg2 = 0 ;
35138 wxColour *arg3 = 0 ;
35139 void *argp1 = 0 ;
35140 int res1 = 0 ;
35141 void *argp2 = 0 ;
35142 int res2 = 0 ;
35143 wxColour temp3 ;
35144 PyObject * obj0 = 0 ;
35145 PyObject * obj1 = 0 ;
35146 PyObject * obj2 = 0 ;
35147 char * kwnames[] = {
35148 (char *) "self",(char *) "item",(char *) "col", NULL
35149 };
35150
35151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35153 if (!SWIG_IsOK(res1)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35155 }
35156 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35157 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35158 if (!SWIG_IsOK(res2)) {
35159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 }
35161 if (!argp2) {
35162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35163 }
35164 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35165 {
35166 arg3 = &temp3;
35167 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35168 }
35169 {
35170 PyThreadState* __tstate = wxPyBeginAllowThreads();
35171 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35172 wxPyEndAllowThreads(__tstate);
35173 if (PyErr_Occurred()) SWIG_fail;
35174 }
35175 resultobj = SWIG_Py_Void();
35176 return resultobj;
35177fail:
35178 return NULL;
35179}
35180
35181
35182SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35183 PyObject *resultobj = 0;
35184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35185 wxTreeItemId *arg2 = 0 ;
35186 wxFont *arg3 = 0 ;
35187 void *argp1 = 0 ;
35188 int res1 = 0 ;
35189 void *argp2 = 0 ;
35190 int res2 = 0 ;
35191 void *argp3 = 0 ;
35192 int res3 = 0 ;
35193 PyObject * obj0 = 0 ;
35194 PyObject * obj1 = 0 ;
35195 PyObject * obj2 = 0 ;
35196 char * kwnames[] = {
35197 (char *) "self",(char *) "item",(char *) "font", NULL
35198 };
35199
35200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35202 if (!SWIG_IsOK(res1)) {
35203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35204 }
35205 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35206 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35207 if (!SWIG_IsOK(res2)) {
35208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35209 }
35210 if (!argp2) {
35211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35212 }
35213 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35214 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35215 if (!SWIG_IsOK(res3)) {
35216 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35217 }
35218 if (!argp3) {
35219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35220 }
35221 arg3 = reinterpret_cast< wxFont * >(argp3);
35222 {
35223 PyThreadState* __tstate = wxPyBeginAllowThreads();
35224 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35225 wxPyEndAllowThreads(__tstate);
35226 if (PyErr_Occurred()) SWIG_fail;
35227 }
35228 resultobj = SWIG_Py_Void();
35229 return resultobj;
35230fail:
35231 return NULL;
35232}
35233
35234
35235SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35236 PyObject *resultobj = 0;
35237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35238 wxTreeItemId *arg2 = 0 ;
35239 bool result;
35240 void *argp1 = 0 ;
35241 int res1 = 0 ;
35242 void *argp2 = 0 ;
35243 int res2 = 0 ;
35244 PyObject * obj0 = 0 ;
35245 PyObject * obj1 = 0 ;
35246 char * kwnames[] = {
35247 (char *) "self",(char *) "item", NULL
35248 };
35249
35250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35252 if (!SWIG_IsOK(res1)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35254 }
35255 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35256 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35257 if (!SWIG_IsOK(res2)) {
35258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35259 }
35260 if (!argp2) {
35261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35262 }
35263 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35264 {
35265 PyThreadState* __tstate = wxPyBeginAllowThreads();
35266 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35267 wxPyEndAllowThreads(__tstate);
35268 if (PyErr_Occurred()) SWIG_fail;
35269 }
35270 {
35271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35272 }
35273 return resultobj;
35274fail:
35275 return NULL;
35276}
35277
35278
35279SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35280 PyObject *resultobj = 0;
35281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35282 wxTreeItemId *arg2 = 0 ;
35283 bool result;
35284 void *argp1 = 0 ;
35285 int res1 = 0 ;
35286 void *argp2 = 0 ;
35287 int res2 = 0 ;
35288 PyObject * obj0 = 0 ;
35289 PyObject * obj1 = 0 ;
35290 char * kwnames[] = {
35291 (char *) "self",(char *) "item", NULL
35292 };
35293
35294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35296 if (!SWIG_IsOK(res1)) {
35297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35298 }
35299 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35300 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35301 if (!SWIG_IsOK(res2)) {
35302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35303 }
35304 if (!argp2) {
35305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35306 }
35307 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35308 {
35309 PyThreadState* __tstate = wxPyBeginAllowThreads();
35310 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35311 wxPyEndAllowThreads(__tstate);
35312 if (PyErr_Occurred()) SWIG_fail;
35313 }
35314 {
35315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35316 }
35317 return resultobj;
35318fail:
35319 return NULL;
35320}
35321
35322
35323SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35324 PyObject *resultobj = 0;
35325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35326 wxTreeItemId *arg2 = 0 ;
35327 bool result;
35328 void *argp1 = 0 ;
35329 int res1 = 0 ;
35330 void *argp2 = 0 ;
35331 int res2 = 0 ;
35332 PyObject * obj0 = 0 ;
35333 PyObject * obj1 = 0 ;
35334 char * kwnames[] = {
35335 (char *) "self",(char *) "item", NULL
35336 };
35337
35338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35340 if (!SWIG_IsOK(res1)) {
35341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35342 }
35343 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35344 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35345 if (!SWIG_IsOK(res2)) {
35346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35347 }
35348 if (!argp2) {
35349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35350 }
35351 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35352 {
35353 PyThreadState* __tstate = wxPyBeginAllowThreads();
35354 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35355 wxPyEndAllowThreads(__tstate);
35356 if (PyErr_Occurred()) SWIG_fail;
35357 }
35358 {
35359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35360 }
35361 return resultobj;
35362fail:
35363 return NULL;
35364}
35365
35366
35367SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35368 PyObject *resultobj = 0;
35369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35370 wxTreeItemId *arg2 = 0 ;
35371 bool result;
35372 void *argp1 = 0 ;
35373 int res1 = 0 ;
35374 void *argp2 = 0 ;
35375 int res2 = 0 ;
35376 PyObject * obj0 = 0 ;
35377 PyObject * obj1 = 0 ;
35378 char * kwnames[] = {
35379 (char *) "self",(char *) "item", NULL
35380 };
35381
35382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35384 if (!SWIG_IsOK(res1)) {
35385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35386 }
35387 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35388 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35389 if (!SWIG_IsOK(res2)) {
35390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35391 }
35392 if (!argp2) {
35393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35394 }
35395 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35396 {
35397 PyThreadState* __tstate = wxPyBeginAllowThreads();
35398 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35399 wxPyEndAllowThreads(__tstate);
35400 if (PyErr_Occurred()) SWIG_fail;
35401 }
35402 {
35403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35404 }
35405 return resultobj;
35406fail:
35407 return NULL;
35408}
35409
35410
35411SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35412 PyObject *resultobj = 0;
35413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35414 wxTreeItemId *arg2 = 0 ;
35415 bool result;
35416 void *argp1 = 0 ;
35417 int res1 = 0 ;
35418 void *argp2 = 0 ;
35419 int res2 = 0 ;
35420 PyObject * obj0 = 0 ;
35421 PyObject * obj1 = 0 ;
35422 char * kwnames[] = {
35423 (char *) "self",(char *) "item", NULL
35424 };
35425
35426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35428 if (!SWIG_IsOK(res1)) {
35429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35430 }
35431 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35433 if (!SWIG_IsOK(res2)) {
35434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35435 }
35436 if (!argp2) {
35437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35438 }
35439 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35440 {
35441 PyThreadState* __tstate = wxPyBeginAllowThreads();
35442 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35443 wxPyEndAllowThreads(__tstate);
35444 if (PyErr_Occurred()) SWIG_fail;
35445 }
35446 {
35447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35448 }
35449 return resultobj;
35450fail:
35451 return NULL;
35452}
35453
35454
35455SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35456 PyObject *resultobj = 0;
35457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35458 wxTreeItemId *arg2 = 0 ;
35459 bool arg3 = (bool) true ;
35460 size_t result;
35461 void *argp1 = 0 ;
35462 int res1 = 0 ;
35463 void *argp2 = 0 ;
35464 int res2 = 0 ;
35465 bool val3 ;
35466 int ecode3 = 0 ;
35467 PyObject * obj0 = 0 ;
35468 PyObject * obj1 = 0 ;
35469 PyObject * obj2 = 0 ;
35470 char * kwnames[] = {
35471 (char *) "self",(char *) "item",(char *) "recursively", NULL
35472 };
35473
35474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35476 if (!SWIG_IsOK(res1)) {
35477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35478 }
35479 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35480 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35481 if (!SWIG_IsOK(res2)) {
35482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35483 }
35484 if (!argp2) {
35485 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35486 }
35487 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35488 if (obj2) {
35489 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35490 if (!SWIG_IsOK(ecode3)) {
35491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35492 }
35493 arg3 = static_cast< bool >(val3);
35494 }
35495 {
35496 PyThreadState* __tstate = wxPyBeginAllowThreads();
35497 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35498 wxPyEndAllowThreads(__tstate);
35499 if (PyErr_Occurred()) SWIG_fail;
35500 }
35501 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35502 return resultobj;
35503fail:
35504 return NULL;
d55e5bfc
RD
35505}
35506
35507
1bd55598
RD
35508SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35509 PyObject *resultobj = 0;
35510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35511 wxTreeItemId result;
35512 void *argp1 = 0 ;
35513 int res1 = 0 ;
35514 PyObject *swig_obj[1] ;
35515
35516 if (!args) SWIG_fail;
35517 swig_obj[0] = args;
35518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35519 if (!SWIG_IsOK(res1)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35521 }
35522 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
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;
d55e5bfc
RD
35533}
35534
35535
1bd55598
RD
35536SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35537 PyObject *resultobj = 0;
35538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35539 wxTreeItemId result;
35540 void *argp1 = 0 ;
35541 int res1 = 0 ;
35542 PyObject *swig_obj[1] ;
35543
35544 if (!args) SWIG_fail;
35545 swig_obj[0] = args;
35546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35547 if (!SWIG_IsOK(res1)) {
35548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35549 }
35550 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35551 {
35552 PyThreadState* __tstate = wxPyBeginAllowThreads();
35553 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35554 wxPyEndAllowThreads(__tstate);
35555 if (PyErr_Occurred()) SWIG_fail;
35556 }
35557 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35558 return resultobj;
35559fail:
35560 return NULL;
d55e5bfc
RD
35561}
35562
35563
1bd55598
RD
35564SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35565 PyObject *resultobj = 0;
35566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35567 PyObject *result = 0 ;
35568 void *argp1 = 0 ;
35569 int res1 = 0 ;
35570 PyObject *swig_obj[1] ;
35571
35572 if (!args) SWIG_fail;
35573 swig_obj[0] = args;
35574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35575 if (!SWIG_IsOK(res1)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35577 }
35578 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35579 {
35580 PyThreadState* __tstate = wxPyBeginAllowThreads();
35581 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35582 wxPyEndAllowThreads(__tstate);
35583 if (PyErr_Occurred()) SWIG_fail;
35584 }
35585 resultobj = result;
35586 return resultobj;
35587fail:
35588 return NULL;
35589}
35590
35591
35592SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35593 PyObject *resultobj = 0;
35594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35595 wxTreeItemId *arg2 = 0 ;
35596 wxTreeItemId result;
35597 void *argp1 = 0 ;
35598 int res1 = 0 ;
35599 void *argp2 = 0 ;
35600 int res2 = 0 ;
35601 PyObject * obj0 = 0 ;
35602 PyObject * obj1 = 0 ;
35603 char * kwnames[] = {
35604 (char *) "self",(char *) "item", NULL
35605 };
35606
35607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35609 if (!SWIG_IsOK(res1)) {
35610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35611 }
35612 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35614 if (!SWIG_IsOK(res2)) {
35615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 }
35617 if (!argp2) {
35618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35619 }
35620 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35621 {
35622 PyThreadState* __tstate = wxPyBeginAllowThreads();
35623 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35624 wxPyEndAllowThreads(__tstate);
35625 if (PyErr_Occurred()) SWIG_fail;
35626 }
35627 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35628 return resultobj;
35629fail:
35630 return NULL;
35631}
35632
35633
35634SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35635 PyObject *resultobj = 0;
35636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35637 wxTreeItemId *arg2 = 0 ;
35638 PyObject *result = 0 ;
35639 void *argp1 = 0 ;
35640 int res1 = 0 ;
35641 void *argp2 = 0 ;
35642 int res2 = 0 ;
35643 PyObject * obj0 = 0 ;
35644 PyObject * obj1 = 0 ;
35645 char * kwnames[] = {
35646 (char *) "self",(char *) "item", NULL
35647 };
35648
35649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35651 if (!SWIG_IsOK(res1)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35653 }
35654 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35656 if (!SWIG_IsOK(res2)) {
35657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35658 }
35659 if (!argp2) {
35660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35661 }
35662 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35663 {
35664 PyThreadState* __tstate = wxPyBeginAllowThreads();
35665 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35666 wxPyEndAllowThreads(__tstate);
35667 if (PyErr_Occurred()) SWIG_fail;
35668 }
35669 resultobj = result;
35670 return resultobj;
35671fail:
35672 return NULL;
35673}
35674
35675
35676SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35677 PyObject *resultobj = 0;
35678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35679 wxTreeItemId *arg2 = 0 ;
35680 void *arg3 = (void *) 0 ;
35681 PyObject *result = 0 ;
35682 void *argp1 = 0 ;
35683 int res1 = 0 ;
35684 void *argp2 = 0 ;
35685 int res2 = 0 ;
35686 int res3 ;
35687 PyObject * obj0 = 0 ;
35688 PyObject * obj1 = 0 ;
35689 PyObject * obj2 = 0 ;
35690 char * kwnames[] = {
35691 (char *) "self",(char *) "item",(char *) "cookie", NULL
35692 };
35693
35694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35696 if (!SWIG_IsOK(res1)) {
35697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35698 }
35699 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35700 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35701 if (!SWIG_IsOK(res2)) {
35702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35703 }
35704 if (!argp2) {
35705 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35706 }
35707 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35708 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35709 if (!SWIG_IsOK(res3)) {
35710 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35711 }
35712 {
35713 PyThreadState* __tstate = wxPyBeginAllowThreads();
35714 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35715 wxPyEndAllowThreads(__tstate);
35716 if (PyErr_Occurred()) SWIG_fail;
35717 }
35718 resultobj = result;
35719 return resultobj;
35720fail:
35721 return NULL;
35722}
35723
35724
35725SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35726 PyObject *resultobj = 0;
35727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35728 wxTreeItemId *arg2 = 0 ;
35729 wxTreeItemId result;
35730 void *argp1 = 0 ;
35731 int res1 = 0 ;
35732 void *argp2 = 0 ;
35733 int res2 = 0 ;
35734 PyObject * obj0 = 0 ;
35735 PyObject * obj1 = 0 ;
35736 char * kwnames[] = {
35737 (char *) "self",(char *) "item", NULL
35738 };
35739
35740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35742 if (!SWIG_IsOK(res1)) {
35743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35744 }
35745 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35746 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35747 if (!SWIG_IsOK(res2)) {
35748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35749 }
35750 if (!argp2) {
35751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35752 }
35753 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35754 {
35755 PyThreadState* __tstate = wxPyBeginAllowThreads();
35756 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35757 wxPyEndAllowThreads(__tstate);
35758 if (PyErr_Occurred()) SWIG_fail;
35759 }
35760 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35761 return resultobj;
35762fail:
35763 return NULL;
35764}
35765
35766
35767SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35768 PyObject *resultobj = 0;
35769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35770 wxTreeItemId *arg2 = 0 ;
35771 wxTreeItemId result;
35772 void *argp1 = 0 ;
35773 int res1 = 0 ;
35774 void *argp2 = 0 ;
35775 int res2 = 0 ;
35776 PyObject * obj0 = 0 ;
35777 PyObject * obj1 = 0 ;
35778 char * kwnames[] = {
35779 (char *) "self",(char *) "item", NULL
35780 };
35781
35782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35784 if (!SWIG_IsOK(res1)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35786 }
35787 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35788 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35789 if (!SWIG_IsOK(res2)) {
35790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35791 }
35792 if (!argp2) {
35793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35794 }
35795 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35796 {
35797 PyThreadState* __tstate = wxPyBeginAllowThreads();
35798 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35799 wxPyEndAllowThreads(__tstate);
35800 if (PyErr_Occurred()) SWIG_fail;
35801 }
35802 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35803 return resultobj;
35804fail:
35805 return NULL;
35806}
35807
35808
35809SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35810 PyObject *resultobj = 0;
35811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35812 wxTreeItemId *arg2 = 0 ;
35813 wxTreeItemId result;
35814 void *argp1 = 0 ;
35815 int res1 = 0 ;
35816 void *argp2 = 0 ;
35817 int res2 = 0 ;
35818 PyObject * obj0 = 0 ;
35819 PyObject * obj1 = 0 ;
35820 char * kwnames[] = {
35821 (char *) "self",(char *) "item", NULL
35822 };
35823
35824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35826 if (!SWIG_IsOK(res1)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35828 }
35829 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35830 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35831 if (!SWIG_IsOK(res2)) {
35832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35833 }
35834 if (!argp2) {
35835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 }
35837 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35838 {
35839 PyThreadState* __tstate = wxPyBeginAllowThreads();
35840 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35841 wxPyEndAllowThreads(__tstate);
35842 if (PyErr_Occurred()) SWIG_fail;
35843 }
35844 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35845 return resultobj;
35846fail:
35847 return NULL;
d55e5bfc
RD
35848}
35849
35850
1bd55598
RD
35851SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35852 PyObject *resultobj = 0;
35853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35854 wxTreeItemId result;
35855 void *argp1 = 0 ;
35856 int res1 = 0 ;
35857 PyObject *swig_obj[1] ;
35858
35859 if (!args) SWIG_fail;
35860 swig_obj[0] = args;
35861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35862 if (!SWIG_IsOK(res1)) {
35863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35864 }
35865 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35866 {
35867 PyThreadState* __tstate = wxPyBeginAllowThreads();
35868 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35869 wxPyEndAllowThreads(__tstate);
35870 if (PyErr_Occurred()) SWIG_fail;
35871 }
35872 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35873 return resultobj;
35874fail:
35875 return NULL;
35876}
35877
35878
35879SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35880 PyObject *resultobj = 0;
35881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35882 wxTreeItemId *arg2 = 0 ;
35883 wxTreeItemId result;
35884 void *argp1 = 0 ;
35885 int res1 = 0 ;
35886 void *argp2 = 0 ;
35887 int res2 = 0 ;
35888 PyObject * obj0 = 0 ;
35889 PyObject * obj1 = 0 ;
35890 char * kwnames[] = {
35891 (char *) "self",(char *) "item", NULL
35892 };
35893
35894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35896 if (!SWIG_IsOK(res1)) {
35897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35898 }
35899 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35900 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35901 if (!SWIG_IsOK(res2)) {
35902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35903 }
35904 if (!argp2) {
35905 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35906 }
35907 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35908 {
35909 PyThreadState* __tstate = wxPyBeginAllowThreads();
35910 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35911 wxPyEndAllowThreads(__tstate);
35912 if (PyErr_Occurred()) SWIG_fail;
35913 }
35914 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35915 return resultobj;
35916fail:
35917 return NULL;
35918}
35919
35920
35921SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35922 PyObject *resultobj = 0;
35923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35924 wxTreeItemId *arg2 = 0 ;
35925 wxTreeItemId result;
35926 void *argp1 = 0 ;
35927 int res1 = 0 ;
35928 void *argp2 = 0 ;
35929 int res2 = 0 ;
35930 PyObject * obj0 = 0 ;
35931 PyObject * obj1 = 0 ;
35932 char * kwnames[] = {
35933 (char *) "self",(char *) "item", NULL
35934 };
35935
35936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35938 if (!SWIG_IsOK(res1)) {
35939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35940 }
35941 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35942 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35943 if (!SWIG_IsOK(res2)) {
35944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35945 }
35946 if (!argp2) {
35947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35948 }
35949 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35950 {
35951 PyThreadState* __tstate = wxPyBeginAllowThreads();
35952 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35953 wxPyEndAllowThreads(__tstate);
35954 if (PyErr_Occurred()) SWIG_fail;
35955 }
35956 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35957 return resultobj;
35958fail:
35959 return NULL;
35960}
35961
35962
35963SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35964 PyObject *resultobj = 0;
35965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35966 wxString *arg2 = 0 ;
35967 int arg3 = (int) -1 ;
35968 int arg4 = (int) -1 ;
35969 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35970 wxTreeItemId result;
35971 void *argp1 = 0 ;
35972 int res1 = 0 ;
35973 bool temp2 = false ;
35974 int val3 ;
35975 int ecode3 = 0 ;
35976 int val4 ;
35977 int ecode4 = 0 ;
35978 int res5 = 0 ;
35979 PyObject * obj0 = 0 ;
35980 PyObject * obj1 = 0 ;
35981 PyObject * obj2 = 0 ;
35982 PyObject * obj3 = 0 ;
35983 PyObject * obj4 = 0 ;
35984 char * kwnames[] = {
35985 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35986 };
35987
35988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35990 if (!SWIG_IsOK(res1)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35992 }
35993 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35994 {
35995 arg2 = wxString_in_helper(obj1);
35996 if (arg2 == NULL) SWIG_fail;
35997 temp2 = true;
35998 }
35999 if (obj2) {
36000 ecode3 = SWIG_AsVal_int(obj2, &val3);
36001 if (!SWIG_IsOK(ecode3)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36003 }
36004 arg3 = static_cast< int >(val3);
36005 }
36006 if (obj3) {
36007 ecode4 = SWIG_AsVal_int(obj3, &val4);
36008 if (!SWIG_IsOK(ecode4)) {
36009 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36010 }
36011 arg4 = static_cast< int >(val4);
36012 }
36013 if (obj4) {
36014 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36015 if (!SWIG_IsOK(res5)) {
36016 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36ed4f51 36017 }
1bd55598
RD
36018 }
36019 {
36020 PyThreadState* __tstate = wxPyBeginAllowThreads();
36021 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36022 wxPyEndAllowThreads(__tstate);
36023 if (PyErr_Occurred()) SWIG_fail;
36024 }
36025 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36026 {
36027 if (temp2)
36028 delete arg2;
36029 }
36030 return resultobj;
36031fail:
36032 {
36033 if (temp2)
36034 delete arg2;
36035 }
36036 return NULL;
36037}
36038
36039
36040SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36041 PyObject *resultobj = 0;
36042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36043 wxTreeItemId *arg2 = 0 ;
36044 wxString *arg3 = 0 ;
36045 int arg4 = (int) -1 ;
36046 int arg5 = (int) -1 ;
36047 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36048 wxTreeItemId result;
36049 void *argp1 = 0 ;
36050 int res1 = 0 ;
36051 void *argp2 = 0 ;
36052 int res2 = 0 ;
36053 bool temp3 = false ;
36054 int val4 ;
36055 int ecode4 = 0 ;
36056 int val5 ;
36057 int ecode5 = 0 ;
36058 int res6 = 0 ;
36059 PyObject * obj0 = 0 ;
36060 PyObject * obj1 = 0 ;
36061 PyObject * obj2 = 0 ;
36062 PyObject * obj3 = 0 ;
36063 PyObject * obj4 = 0 ;
36064 PyObject * obj5 = 0 ;
36065 char * kwnames[] = {
36066 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36067 };
36068
36069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36071 if (!SWIG_IsOK(res1)) {
36072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36073 }
36074 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36076 if (!SWIG_IsOK(res2)) {
36077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36078 }
36079 if (!argp2) {
36080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36081 }
36082 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36083 {
36084 arg3 = wxString_in_helper(obj2);
36085 if (arg3 == NULL) SWIG_fail;
36086 temp3 = true;
36087 }
36088 if (obj3) {
36089 ecode4 = SWIG_AsVal_int(obj3, &val4);
36090 if (!SWIG_IsOK(ecode4)) {
36091 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36092 }
36093 arg4 = static_cast< int >(val4);
36094 }
36095 if (obj4) {
36096 ecode5 = SWIG_AsVal_int(obj4, &val5);
36097 if (!SWIG_IsOK(ecode5)) {
36098 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36099 }
36100 arg5 = static_cast< int >(val5);
36101 }
36102 if (obj5) {
36103 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36104 if (!SWIG_IsOK(res6)) {
36105 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36106 }
1bd55598
RD
36107 }
36108 {
36109 PyThreadState* __tstate = wxPyBeginAllowThreads();
36110 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36111 wxPyEndAllowThreads(__tstate);
36112 if (PyErr_Occurred()) SWIG_fail;
36113 }
36114 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36115 {
36116 if (temp3)
36117 delete arg3;
36118 }
36119 return resultobj;
36120fail:
36121 {
36122 if (temp3)
36123 delete arg3;
36124 }
36125 return NULL;
36126}
36127
36128
36129SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36130 PyObject *resultobj = 0;
36131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36132 wxTreeItemId *arg2 = 0 ;
36133 wxTreeItemId *arg3 = 0 ;
36134 wxString *arg4 = 0 ;
36135 int arg5 = (int) -1 ;
36136 int arg6 = (int) -1 ;
36137 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36138 wxTreeItemId result;
36139 void *argp1 = 0 ;
36140 int res1 = 0 ;
36141 void *argp2 = 0 ;
36142 int res2 = 0 ;
36143 void *argp3 = 0 ;
36144 int res3 = 0 ;
36145 bool temp4 = false ;
36146 int val5 ;
36147 int ecode5 = 0 ;
36148 int val6 ;
36149 int ecode6 = 0 ;
36150 int res7 = 0 ;
36151 PyObject * obj0 = 0 ;
36152 PyObject * obj1 = 0 ;
36153 PyObject * obj2 = 0 ;
36154 PyObject * obj3 = 0 ;
36155 PyObject * obj4 = 0 ;
36156 PyObject * obj5 = 0 ;
36157 PyObject * obj6 = 0 ;
36158 char * kwnames[] = {
36159 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36160 };
36161
36162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36164 if (!SWIG_IsOK(res1)) {
36165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36166 }
36167 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36168 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36169 if (!SWIG_IsOK(res2)) {
36170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36171 }
36172 if (!argp2) {
36173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36174 }
36175 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36176 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36177 if (!SWIG_IsOK(res3)) {
36178 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36179 }
36180 if (!argp3) {
36181 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36182 }
36183 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36184 {
36185 arg4 = wxString_in_helper(obj3);
36186 if (arg4 == NULL) SWIG_fail;
36187 temp4 = true;
36188 }
36189 if (obj4) {
36190 ecode5 = SWIG_AsVal_int(obj4, &val5);
36191 if (!SWIG_IsOK(ecode5)) {
36192 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36193 }
36194 arg5 = static_cast< int >(val5);
36195 }
36196 if (obj5) {
36197 ecode6 = SWIG_AsVal_int(obj5, &val6);
36198 if (!SWIG_IsOK(ecode6)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36200 }
36201 arg6 = static_cast< int >(val6);
36202 }
36203 if (obj6) {
36204 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36205 if (!SWIG_IsOK(res7)) {
36206 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36207 }
1bd55598
RD
36208 }
36209 {
36210 PyThreadState* __tstate = wxPyBeginAllowThreads();
36211 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36212 wxPyEndAllowThreads(__tstate);
36213 if (PyErr_Occurred()) SWIG_fail;
36214 }
36215 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36216 {
36217 if (temp4)
36218 delete arg4;
36219 }
36220 return resultobj;
36221fail:
36222 {
36223 if (temp4)
36224 delete arg4;
36225 }
36226 return NULL;
36227}
36228
36229
36230SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36231 PyObject *resultobj = 0;
36232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36233 wxTreeItemId *arg2 = 0 ;
36234 size_t arg3 ;
36235 wxString *arg4 = 0 ;
36236 int arg5 = (int) -1 ;
36237 int arg6 = (int) -1 ;
36238 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36239 wxTreeItemId result;
36240 void *argp1 = 0 ;
36241 int res1 = 0 ;
36242 void *argp2 = 0 ;
36243 int res2 = 0 ;
36244 size_t val3 ;
36245 int ecode3 = 0 ;
36246 bool temp4 = false ;
36247 int val5 ;
36248 int ecode5 = 0 ;
36249 int val6 ;
36250 int ecode6 = 0 ;
36251 int res7 = 0 ;
36252 PyObject * obj0 = 0 ;
36253 PyObject * obj1 = 0 ;
36254 PyObject * obj2 = 0 ;
36255 PyObject * obj3 = 0 ;
36256 PyObject * obj4 = 0 ;
36257 PyObject * obj5 = 0 ;
36258 PyObject * obj6 = 0 ;
36259 char * kwnames[] = {
36260 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36261 };
36262
36263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36265 if (!SWIG_IsOK(res1)) {
36266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36267 }
36268 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36270 if (!SWIG_IsOK(res2)) {
36271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 }
36273 if (!argp2) {
36274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36275 }
36276 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36277 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36278 if (!SWIG_IsOK(ecode3)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36280 }
36281 arg3 = static_cast< size_t >(val3);
36282 {
36283 arg4 = wxString_in_helper(obj3);
36284 if (arg4 == NULL) SWIG_fail;
36285 temp4 = true;
36286 }
36287 if (obj4) {
36288 ecode5 = SWIG_AsVal_int(obj4, &val5);
36289 if (!SWIG_IsOK(ecode5)) {
36290 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36291 }
36292 arg5 = static_cast< int >(val5);
36293 }
36294 if (obj5) {
36295 ecode6 = SWIG_AsVal_int(obj5, &val6);
36296 if (!SWIG_IsOK(ecode6)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36298 }
36299 arg6 = static_cast< int >(val6);
36300 }
36301 if (obj6) {
36302 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36303 if (!SWIG_IsOK(res7)) {
36304 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36305 }
1bd55598
RD
36306 }
36307 {
36308 PyThreadState* __tstate = wxPyBeginAllowThreads();
36309 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36310 wxPyEndAllowThreads(__tstate);
36311 if (PyErr_Occurred()) SWIG_fail;
36312 }
36313 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36314 {
36315 if (temp4)
36316 delete arg4;
36317 }
36318 return resultobj;
36319fail:
36320 {
36321 if (temp4)
36322 delete arg4;
36323 }
36324 return NULL;
36325}
36326
36327
36328SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36329 PyObject *resultobj = 0;
36330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36331 wxTreeItemId *arg2 = 0 ;
36332 wxString *arg3 = 0 ;
36333 int arg4 = (int) -1 ;
36334 int arg5 = (int) -1 ;
36335 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36336 wxTreeItemId result;
36337 void *argp1 = 0 ;
36338 int res1 = 0 ;
36339 void *argp2 = 0 ;
36340 int res2 = 0 ;
36341 bool temp3 = false ;
36342 int val4 ;
36343 int ecode4 = 0 ;
36344 int val5 ;
36345 int ecode5 = 0 ;
36346 int res6 = 0 ;
36347 PyObject * obj0 = 0 ;
36348 PyObject * obj1 = 0 ;
36349 PyObject * obj2 = 0 ;
36350 PyObject * obj3 = 0 ;
36351 PyObject * obj4 = 0 ;
36352 PyObject * obj5 = 0 ;
36353 char * kwnames[] = {
36354 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36355 };
36356
36357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36359 if (!SWIG_IsOK(res1)) {
36360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36361 }
36362 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36363 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36364 if (!SWIG_IsOK(res2)) {
36365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36366 }
36367 if (!argp2) {
36368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36369 }
36370 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36371 {
36372 arg3 = wxString_in_helper(obj2);
36373 if (arg3 == NULL) SWIG_fail;
36374 temp3 = true;
36375 }
36376 if (obj3) {
36377 ecode4 = SWIG_AsVal_int(obj3, &val4);
36378 if (!SWIG_IsOK(ecode4)) {
36379 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36380 }
36381 arg4 = static_cast< int >(val4);
36382 }
36383 if (obj4) {
36384 ecode5 = SWIG_AsVal_int(obj4, &val5);
36385 if (!SWIG_IsOK(ecode5)) {
36386 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36387 }
36388 arg5 = static_cast< int >(val5);
36389 }
36390 if (obj5) {
36391 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36392 if (!SWIG_IsOK(res6)) {
36393 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36394 }
1bd55598
RD
36395 }
36396 {
36397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36398 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36399 wxPyEndAllowThreads(__tstate);
36400 if (PyErr_Occurred()) SWIG_fail;
36401 }
36402 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36403 {
36404 if (temp3)
36405 delete arg3;
36406 }
36407 return resultobj;
36408fail:
36409 {
36410 if (temp3)
36411 delete arg3;
36412 }
36413 return NULL;
36414}
36415
36416
36417SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36418 PyObject *resultobj = 0;
36419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36420 wxTreeItemId *arg2 = 0 ;
36421 void *argp1 = 0 ;
36422 int res1 = 0 ;
36423 void *argp2 = 0 ;
36424 int res2 = 0 ;
36425 PyObject * obj0 = 0 ;
36426 PyObject * obj1 = 0 ;
36427 char * kwnames[] = {
36428 (char *) "self",(char *) "item", NULL
36429 };
36430
36431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36433 if (!SWIG_IsOK(res1)) {
36434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36435 }
36436 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36438 if (!SWIG_IsOK(res2)) {
36439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36440 }
36441 if (!argp2) {
36442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36443 }
36444 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36445 {
36446 PyThreadState* __tstate = wxPyBeginAllowThreads();
36447 (arg1)->Delete((wxTreeItemId const &)*arg2);
36448 wxPyEndAllowThreads(__tstate);
36449 if (PyErr_Occurred()) SWIG_fail;
36450 }
36451 resultobj = SWIG_Py_Void();
36452 return resultobj;
36453fail:
36454 return NULL;
36455}
36456
36457
36458SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36459 PyObject *resultobj = 0;
36460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36461 wxTreeItemId *arg2 = 0 ;
36462 void *argp1 = 0 ;
36463 int res1 = 0 ;
36464 void *argp2 = 0 ;
36465 int res2 = 0 ;
36466 PyObject * obj0 = 0 ;
36467 PyObject * obj1 = 0 ;
36468 char * kwnames[] = {
36469 (char *) "self",(char *) "item", NULL
36470 };
36471
36472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36474 if (!SWIG_IsOK(res1)) {
36475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36476 }
36477 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36478 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36479 if (!SWIG_IsOK(res2)) {
36480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36481 }
36482 if (!argp2) {
36483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36484 }
36485 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36486 {
36487 PyThreadState* __tstate = wxPyBeginAllowThreads();
36488 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36489 wxPyEndAllowThreads(__tstate);
36490 if (PyErr_Occurred()) SWIG_fail;
36491 }
36492 resultobj = SWIG_Py_Void();
36493 return resultobj;
36494fail:
36495 return NULL;
d55e5bfc
RD
36496}
36497
36498
1bd55598
RD
36499SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36500 PyObject *resultobj = 0;
36501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36502 void *argp1 = 0 ;
36503 int res1 = 0 ;
36504 PyObject *swig_obj[1] ;
36505
36506 if (!args) SWIG_fail;
36507 swig_obj[0] = args;
36508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36509 if (!SWIG_IsOK(res1)) {
36510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36511 }
36512 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36513 {
36514 PyThreadState* __tstate = wxPyBeginAllowThreads();
36515 (arg1)->DeleteAllItems();
36516 wxPyEndAllowThreads(__tstate);
36517 if (PyErr_Occurred()) SWIG_fail;
36518 }
36519 resultobj = SWIG_Py_Void();
36520 return resultobj;
36521fail:
36522 return NULL;
36523}
36524
36525
36526SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36527 PyObject *resultobj = 0;
36528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36529 wxTreeItemId *arg2 = 0 ;
36530 void *argp1 = 0 ;
36531 int res1 = 0 ;
36532 void *argp2 = 0 ;
36533 int res2 = 0 ;
36534 PyObject * obj0 = 0 ;
36535 PyObject * obj1 = 0 ;
36536 char * kwnames[] = {
36537 (char *) "self",(char *) "item", NULL
36538 };
36539
36540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36542 if (!SWIG_IsOK(res1)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36544 }
36545 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36547 if (!SWIG_IsOK(res2)) {
36548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36549 }
36550 if (!argp2) {
36551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36552 }
36553 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36554 {
36555 PyThreadState* __tstate = wxPyBeginAllowThreads();
36556 (arg1)->Expand((wxTreeItemId const &)*arg2);
36557 wxPyEndAllowThreads(__tstate);
36558 if (PyErr_Occurred()) SWIG_fail;
36559 }
36560 resultobj = SWIG_Py_Void();
36561 return resultobj;
36562fail:
36563 return NULL;
36564}
36565
36566
3d6c9062
RD
36567SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36568 PyObject *resultobj = 0;
36569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36570 wxTreeItemId *arg2 = 0 ;
36571 void *argp1 = 0 ;
36572 int res1 = 0 ;
36573 void *argp2 = 0 ;
36574 int res2 = 0 ;
36575 PyObject * obj0 = 0 ;
36576 PyObject * obj1 = 0 ;
36577 char * kwnames[] = {
36578 (char *) "self",(char *) "item", NULL
36579 };
36580
36581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36583 if (!SWIG_IsOK(res1)) {
36584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36585 }
36586 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36588 if (!SWIG_IsOK(res2)) {
36589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36590 }
36591 if (!argp2) {
36592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36593 }
36594 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36595 {
36596 PyThreadState* __tstate = wxPyBeginAllowThreads();
36597 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36598 wxPyEndAllowThreads(__tstate);
36599 if (PyErr_Occurred()) SWIG_fail;
36600 }
36601 resultobj = SWIG_Py_Void();
36602 return resultobj;
36603fail:
36604 return NULL;
36605}
36606
36607
36608SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36609 PyObject *resultobj = 0;
36610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36611 void *argp1 = 0 ;
36612 int res1 = 0 ;
36613 PyObject *swig_obj[1] ;
36614
36615 if (!args) SWIG_fail;
36616 swig_obj[0] = args;
36617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36618 if (!SWIG_IsOK(res1)) {
36619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36620 }
36621 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36622 {
36623 PyThreadState* __tstate = wxPyBeginAllowThreads();
36624 (arg1)->ExpandAll();
36625 wxPyEndAllowThreads(__tstate);
36626 if (PyErr_Occurred()) SWIG_fail;
36627 }
36628 resultobj = SWIG_Py_Void();
36629 return resultobj;
36630fail:
36631 return NULL;
36632}
36633
36634
1bd55598
RD
36635SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36636 PyObject *resultobj = 0;
36637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36638 wxTreeItemId *arg2 = 0 ;
36639 void *argp1 = 0 ;
36640 int res1 = 0 ;
36641 void *argp2 = 0 ;
36642 int res2 = 0 ;
36643 PyObject * obj0 = 0 ;
36644 PyObject * obj1 = 0 ;
36645 char * kwnames[] = {
36646 (char *) "self",(char *) "item", NULL
36647 };
36648
36649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36651 if (!SWIG_IsOK(res1)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36653 }
36654 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36656 if (!SWIG_IsOK(res2)) {
36657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36658 }
36659 if (!argp2) {
36660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36661 }
36662 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36663 {
36664 PyThreadState* __tstate = wxPyBeginAllowThreads();
36665 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36666 wxPyEndAllowThreads(__tstate);
36667 if (PyErr_Occurred()) SWIG_fail;
36668 }
36669 resultobj = SWIG_Py_Void();
36670 return resultobj;
36671fail:
36672 return NULL;
36673}
36674
36675
36676SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36677 PyObject *resultobj = 0;
36678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36679 wxTreeItemId *arg2 = 0 ;
36680 void *argp1 = 0 ;
36681 int res1 = 0 ;
36682 void *argp2 = 0 ;
36683 int res2 = 0 ;
36684 PyObject * obj0 = 0 ;
36685 PyObject * obj1 = 0 ;
36686 char * kwnames[] = {
36687 (char *) "self",(char *) "item", NULL
36688 };
36689
36690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36692 if (!SWIG_IsOK(res1)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36694 }
36695 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36697 if (!SWIG_IsOK(res2)) {
36698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36699 }
36700 if (!argp2) {
36701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36702 }
36703 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36704 {
36705 PyThreadState* __tstate = wxPyBeginAllowThreads();
36706 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36707 wxPyEndAllowThreads(__tstate);
36708 if (PyErr_Occurred()) SWIG_fail;
36709 }
36710 resultobj = SWIG_Py_Void();
36711 return resultobj;
36712fail:
36713 return NULL;
36714}
36715
36716
36717SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36718 PyObject *resultobj = 0;
36719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36720 wxTreeItemId *arg2 = 0 ;
36721 void *argp1 = 0 ;
36722 int res1 = 0 ;
36723 void *argp2 = 0 ;
36724 int res2 = 0 ;
36725 PyObject * obj0 = 0 ;
36726 PyObject * obj1 = 0 ;
36727 char * kwnames[] = {
36728 (char *) "self",(char *) "item", NULL
36729 };
36730
36731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36733 if (!SWIG_IsOK(res1)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36735 }
36736 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36737 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36738 if (!SWIG_IsOK(res2)) {
36739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36740 }
36741 if (!argp2) {
36742 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36743 }
36744 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36745 {
36746 PyThreadState* __tstate = wxPyBeginAllowThreads();
36747 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36748 wxPyEndAllowThreads(__tstate);
36749 if (PyErr_Occurred()) SWIG_fail;
36750 }
36751 resultobj = SWIG_Py_Void();
36752 return resultobj;
36753fail:
36754 return NULL;
d55e5bfc
RD
36755}
36756
36757
1bd55598
RD
36758SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36759 PyObject *resultobj = 0;
36760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36761 void *argp1 = 0 ;
36762 int res1 = 0 ;
36763 PyObject *swig_obj[1] ;
36764
36765 if (!args) SWIG_fail;
36766 swig_obj[0] = args;
36767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36768 if (!SWIG_IsOK(res1)) {
36769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36770 }
36771 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36772 {
36773 PyThreadState* __tstate = wxPyBeginAllowThreads();
36774 (arg1)->Unselect();
36775 wxPyEndAllowThreads(__tstate);
36776 if (PyErr_Occurred()) SWIG_fail;
36777 }
36778 resultobj = SWIG_Py_Void();
36779 return resultobj;
36780fail:
36781 return NULL;
36782}
36783
36784
36785SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36786 PyObject *resultobj = 0;
36787 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36788 wxTreeItemId *arg2 = 0 ;
36789 void *argp1 = 0 ;
36790 int res1 = 0 ;
36791 void *argp2 = 0 ;
36792 int res2 = 0 ;
36793 PyObject * obj0 = 0 ;
36794 PyObject * obj1 = 0 ;
36795 char * kwnames[] = {
36796 (char *) "self",(char *) "item", NULL
36797 };
36798
36799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36801 if (!SWIG_IsOK(res1)) {
36802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36803 }
36804 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36806 if (!SWIG_IsOK(res2)) {
36807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36808 }
36809 if (!argp2) {
36810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36811 }
36812 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36813 {
36814 PyThreadState* __tstate = wxPyBeginAllowThreads();
36815 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36816 wxPyEndAllowThreads(__tstate);
36817 if (PyErr_Occurred()) SWIG_fail;
36818 }
36819 resultobj = SWIG_Py_Void();
36820 return resultobj;
36821fail:
36822 return NULL;
d55e5bfc
RD
36823}
36824
36825
1bd55598
RD
36826SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36827 PyObject *resultobj = 0;
36828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36829 void *argp1 = 0 ;
36830 int res1 = 0 ;
36831 PyObject *swig_obj[1] ;
36832
36833 if (!args) SWIG_fail;
36834 swig_obj[0] = args;
36835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36836 if (!SWIG_IsOK(res1)) {
36837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36838 }
36839 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36840 {
36841 PyThreadState* __tstate = wxPyBeginAllowThreads();
36842 (arg1)->UnselectAll();
36843 wxPyEndAllowThreads(__tstate);
36844 if (PyErr_Occurred()) SWIG_fail;
36845 }
36846 resultobj = SWIG_Py_Void();
36847 return resultobj;
36848fail:
36849 return NULL;
36850}
36851
36852
36853SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36854 PyObject *resultobj = 0;
36855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36856 wxTreeItemId *arg2 = 0 ;
36857 bool arg3 = (bool) true ;
36858 void *argp1 = 0 ;
36859 int res1 = 0 ;
36860 void *argp2 = 0 ;
36861 int res2 = 0 ;
36862 bool val3 ;
36863 int ecode3 = 0 ;
36864 PyObject * obj0 = 0 ;
36865 PyObject * obj1 = 0 ;
36866 PyObject * obj2 = 0 ;
36867 char * kwnames[] = {
36868 (char *) "self",(char *) "item",(char *) "select", NULL
36869 };
36870
36871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36873 if (!SWIG_IsOK(res1)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36875 }
36876 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36877 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36878 if (!SWIG_IsOK(res2)) {
36879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36880 }
36881 if (!argp2) {
36882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36883 }
36884 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36885 if (obj2) {
36886 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36887 if (!SWIG_IsOK(ecode3)) {
36888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36889 }
36890 arg3 = static_cast< bool >(val3);
36891 }
36892 {
36893 PyThreadState* __tstate = wxPyBeginAllowThreads();
36894 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36895 wxPyEndAllowThreads(__tstate);
36896 if (PyErr_Occurred()) SWIG_fail;
36897 }
36898 resultobj = SWIG_Py_Void();
36899 return resultobj;
36900fail:
36901 return NULL;
36902}
36903
36904
36905SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36906 PyObject *resultobj = 0;
36907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36908 wxTreeItemId *arg2 = 0 ;
36909 void *argp1 = 0 ;
36910 int res1 = 0 ;
36911 void *argp2 = 0 ;
36912 int res2 = 0 ;
36913 PyObject * obj0 = 0 ;
36914 PyObject * obj1 = 0 ;
36915 char * kwnames[] = {
36916 (char *) "self",(char *) "item", NULL
36917 };
36918
36919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36921 if (!SWIG_IsOK(res1)) {
36922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36923 }
36924 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36926 if (!SWIG_IsOK(res2)) {
36927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36928 }
36929 if (!argp2) {
36930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36931 }
36932 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36933 {
36934 PyThreadState* __tstate = wxPyBeginAllowThreads();
36935 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36936 wxPyEndAllowThreads(__tstate);
36937 if (PyErr_Occurred()) SWIG_fail;
36938 }
36939 resultobj = SWIG_Py_Void();
36940 return resultobj;
36941fail:
36942 return NULL;
36943}
36944
36945
36946SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36947 PyObject *resultobj = 0;
36948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36949 wxTreeItemId *arg2 = 0 ;
36950 void *argp1 = 0 ;
36951 int res1 = 0 ;
36952 void *argp2 = 0 ;
36953 int res2 = 0 ;
36954 PyObject * obj0 = 0 ;
36955 PyObject * obj1 = 0 ;
36956 char * kwnames[] = {
36957 (char *) "self",(char *) "item", NULL
36958 };
36959
36960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36962 if (!SWIG_IsOK(res1)) {
36963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36964 }
36965 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36966 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36967 if (!SWIG_IsOK(res2)) {
36968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36969 }
36970 if (!argp2) {
36971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36972 }
36973 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36974 {
36975 PyThreadState* __tstate = wxPyBeginAllowThreads();
36976 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36977 wxPyEndAllowThreads(__tstate);
36978 if (PyErr_Occurred()) SWIG_fail;
36979 }
36980 resultobj = SWIG_Py_Void();
36981 return resultobj;
36982fail:
36983 return NULL;
36984}
36985
36986
36987SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36988 PyObject *resultobj = 0;
36989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36990 wxTreeItemId *arg2 = 0 ;
36991 void *argp1 = 0 ;
36992 int res1 = 0 ;
36993 void *argp2 = 0 ;
36994 int res2 = 0 ;
36995 PyObject * obj0 = 0 ;
36996 PyObject * obj1 = 0 ;
36997 char * kwnames[] = {
36998 (char *) "self",(char *) "item", NULL
36999 };
37000
37001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37003 if (!SWIG_IsOK(res1)) {
37004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37005 }
37006 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37007 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37008 if (!SWIG_IsOK(res2)) {
37009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37010 }
37011 if (!argp2) {
37012 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37013 }
37014 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37015 {
37016 PyThreadState* __tstate = wxPyBeginAllowThreads();
37017 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37018 wxPyEndAllowThreads(__tstate);
37019 if (PyErr_Occurred()) SWIG_fail;
37020 }
37021 resultobj = SWIG_Py_Void();
37022 return resultobj;
37023fail:
37024 return NULL;
37025}
37026
37027
37028SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37029 PyObject *resultobj = 0;
37030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37031 wxTreeItemId *arg2 = 0 ;
37032 void *argp1 = 0 ;
37033 int res1 = 0 ;
37034 void *argp2 = 0 ;
37035 int res2 = 0 ;
37036 PyObject * obj0 = 0 ;
37037 PyObject * obj1 = 0 ;
37038 char * kwnames[] = {
37039 (char *) "self",(char *) "item", NULL
37040 };
37041
37042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37044 if (!SWIG_IsOK(res1)) {
37045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37046 }
37047 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37048 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37049 if (!SWIG_IsOK(res2)) {
37050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37051 }
37052 if (!argp2) {
37053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37054 }
37055 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37056 {
37057 PyThreadState* __tstate = wxPyBeginAllowThreads();
37058 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37059 wxPyEndAllowThreads(__tstate);
37060 if (PyErr_Occurred()) SWIG_fail;
37061 }
37062 resultobj = SWIG_Py_Void();
37063 return resultobj;
37064fail:
37065 return NULL;
d55e5bfc
RD
37066}
37067
37068
1bd55598
RD
37069SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37070 PyObject *resultobj = 0;
37071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37072 wxTextCtrl *result = 0 ;
37073 void *argp1 = 0 ;
37074 int res1 = 0 ;
37075 PyObject *swig_obj[1] ;
37076
37077 if (!args) SWIG_fail;
37078 swig_obj[0] = args;
37079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37080 if (!SWIG_IsOK(res1)) {
37081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37082 }
37083 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37084 {
37085 PyThreadState* __tstate = wxPyBeginAllowThreads();
37086 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37087 wxPyEndAllowThreads(__tstate);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 {
37091 resultobj = wxPyMake_wxObject(result, 0);
37092 }
37093 return resultobj;
37094fail:
37095 return NULL;
37096}
37097
37098
37099SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37100 PyObject *resultobj = 0;
37101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37102 wxTreeItemId *arg2 = 0 ;
37103 void *argp1 = 0 ;
37104 int res1 = 0 ;
37105 void *argp2 = 0 ;
37106 int res2 = 0 ;
37107 PyObject * obj0 = 0 ;
37108 PyObject * obj1 = 0 ;
37109 char * kwnames[] = {
37110 (char *) "self",(char *) "item", NULL
37111 };
37112
37113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37115 if (!SWIG_IsOK(res1)) {
37116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37117 }
37118 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37119 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37120 if (!SWIG_IsOK(res2)) {
37121 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37122 }
37123 if (!argp2) {
37124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37125 }
37126 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37127 {
37128 PyThreadState* __tstate = wxPyBeginAllowThreads();
37129 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37130 wxPyEndAllowThreads(__tstate);
37131 if (PyErr_Occurred()) SWIG_fail;
37132 }
37133 resultobj = SWIG_Py_Void();
37134 return resultobj;
37135fail:
37136 return NULL;
37137}
37138
37139
37140SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37141 PyObject *resultobj = 0;
37142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37143 wxPoint *arg2 = 0 ;
37144 int *arg3 = 0 ;
37145 wxTreeItemId result;
37146 void *argp1 = 0 ;
37147 int res1 = 0 ;
37148 wxPoint temp2 ;
37149 int temp3 ;
37150 int res3 = SWIG_TMPOBJ ;
37151 PyObject * obj0 = 0 ;
37152 PyObject * obj1 = 0 ;
37153 char * kwnames[] = {
37154 (char *) "self",(char *) "point", NULL
37155 };
37156
37157 arg3 = &temp3;
37158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37160 if (!SWIG_IsOK(res1)) {
37161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37162 }
37163 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37164 {
37165 arg2 = &temp2;
37166 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37167 }
37168 {
37169 PyThreadState* __tstate = wxPyBeginAllowThreads();
37170 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37171 wxPyEndAllowThreads(__tstate);
37172 if (PyErr_Occurred()) SWIG_fail;
37173 }
37174 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37175 if (SWIG_IsTmpObj(res3)) {
37176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37177 } else {
37178 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37179 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37180 }
37181 return resultobj;
37182fail:
37183 return NULL;
37184}
37185
37186
37187SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37188 PyObject *resultobj = 0;
37189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37190 wxTreeItemId *arg2 = 0 ;
37191 bool arg3 = (bool) false ;
37192 PyObject *result = 0 ;
37193 void *argp1 = 0 ;
37194 int res1 = 0 ;
37195 void *argp2 = 0 ;
37196 int res2 = 0 ;
37197 bool val3 ;
37198 int ecode3 = 0 ;
37199 PyObject * obj0 = 0 ;
37200 PyObject * obj1 = 0 ;
37201 PyObject * obj2 = 0 ;
37202 char * kwnames[] = {
37203 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37204 };
37205
37206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37208 if (!SWIG_IsOK(res1)) {
37209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37210 }
37211 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37212 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37213 if (!SWIG_IsOK(res2)) {
37214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37215 }
37216 if (!argp2) {
37217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37218 }
37219 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37220 if (obj2) {
37221 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37222 if (!SWIG_IsOK(ecode3)) {
37223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37224 }
37225 arg3 = static_cast< bool >(val3);
37226 }
37227 {
37228 PyThreadState* __tstate = wxPyBeginAllowThreads();
37229 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37230 wxPyEndAllowThreads(__tstate);
37231 if (PyErr_Occurred()) SWIG_fail;
37232 }
37233 resultobj = result;
37234 return resultobj;
37235fail:
37236 return NULL;
37237}
37238
37239
37240SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37241 PyObject *resultobj = 0;
37242 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37243 SwigValueWrapper<wxVisualAttributes > result;
37244 int val1 ;
37245 int ecode1 = 0 ;
37246 PyObject * obj0 = 0 ;
37247 char * kwnames[] = {
37248 (char *) "variant", NULL
37249 };
37250
37251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37252 if (obj0) {
37253 ecode1 = SWIG_AsVal_int(obj0, &val1);
37254 if (!SWIG_IsOK(ecode1)) {
37255 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37256 }
37257 arg1 = static_cast< wxWindowVariant >(val1);
37258 }
37259 {
37260 if (!wxPyCheckForApp()) SWIG_fail;
37261 PyThreadState* __tstate = wxPyBeginAllowThreads();
37262 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37263 wxPyEndAllowThreads(__tstate);
37264 if (PyErr_Occurred()) SWIG_fail;
37265 }
37266 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37267 return resultobj;
37268fail:
37269 return NULL;
d55e5bfc
RD
37270}
37271
37272
2131d850
RD
37273SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37274 PyObject *resultobj = 0;
37275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37276 bool arg2 ;
37277 void *argp1 = 0 ;
37278 int res1 = 0 ;
37279 bool val2 ;
37280 int ecode2 = 0 ;
37281 PyObject * obj0 = 0 ;
37282 PyObject * obj1 = 0 ;
37283 char * kwnames[] = {
37284 (char *) "self",(char *) "q", NULL
37285 };
37286
37287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37289 if (!SWIG_IsOK(res1)) {
37290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37291 }
37292 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37293 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37294 if (!SWIG_IsOK(ecode2)) {
37295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37296 }
37297 arg2 = static_cast< bool >(val2);
37298 {
37299 PyThreadState* __tstate = wxPyBeginAllowThreads();
37300 (arg1)->SetQuickBestSize(arg2);
37301 wxPyEndAllowThreads(__tstate);
37302 if (PyErr_Occurred()) SWIG_fail;
37303 }
37304 resultobj = SWIG_Py_Void();
37305 return resultobj;
37306fail:
37307 return NULL;
37308}
37309
37310
37311SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37312 PyObject *resultobj = 0;
37313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37314 bool result;
37315 void *argp1 = 0 ;
37316 int res1 = 0 ;
37317 PyObject *swig_obj[1] ;
37318
37319 if (!args) SWIG_fail;
37320 swig_obj[0] = args;
37321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37322 if (!SWIG_IsOK(res1)) {
37323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37324 }
37325 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37326 {
37327 PyThreadState* __tstate = wxPyBeginAllowThreads();
37328 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37329 wxPyEndAllowThreads(__tstate);
37330 if (PyErr_Occurred()) SWIG_fail;
37331 }
37332 {
37333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37334 }
37335 return resultobj;
37336fail:
37337 return NULL;
37338}
37339
37340
1bd55598
RD
37341SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37342 PyObject *obj;
37343 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37344 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37345 return SWIG_Py_Void();
d55e5bfc
RD
37346}
37347
1bd55598
RD
37348SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37349 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
37350}
37351
1bd55598
RD
37352SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37353 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37354 return 1;
d55e5bfc
RD
37355}
37356
37357
1bd55598
RD
37358SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37359 PyObject *pyobj = 0;
37360
37361 {
37362#if wxUSE_UNICODE
37363 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37364#else
37365 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37366#endif
37367 }
37368 return pyobj;
37369}
37370
37371
37372SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37373 PyObject *resultobj = 0;
37374 wxWindow *arg1 = (wxWindow *) 0 ;
37375 int arg2 = (int) (int)-1 ;
37376 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37377 wxString *arg3 = (wxString *) &arg3_defvalue ;
37378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37380 wxSize const &arg5_defvalue = wxDefaultSize ;
37381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37382 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37383 wxString const &arg7_defvalue = wxPyEmptyString ;
37384 wxString *arg7 = (wxString *) &arg7_defvalue ;
37385 int arg8 = (int) 0 ;
37386 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37387 wxString *arg9 = (wxString *) &arg9_defvalue ;
37388 wxGenericDirCtrl *result = 0 ;
37389 void *argp1 = 0 ;
37390 int res1 = 0 ;
37391 int val2 ;
37392 int ecode2 = 0 ;
37393 bool temp3 = false ;
37394 wxPoint temp4 ;
37395 wxSize temp5 ;
37396 long val6 ;
37397 int ecode6 = 0 ;
37398 bool temp7 = false ;
37399 int val8 ;
37400 int ecode8 = 0 ;
37401 bool temp9 = false ;
37402 PyObject * obj0 = 0 ;
37403 PyObject * obj1 = 0 ;
37404 PyObject * obj2 = 0 ;
37405 PyObject * obj3 = 0 ;
37406 PyObject * obj4 = 0 ;
37407 PyObject * obj5 = 0 ;
37408 PyObject * obj6 = 0 ;
37409 PyObject * obj7 = 0 ;
37410 PyObject * obj8 = 0 ;
37411 char * kwnames[] = {
37412 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37413 };
37414
37415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37417 if (!SWIG_IsOK(res1)) {
37418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37419 }
37420 arg1 = reinterpret_cast< wxWindow * >(argp1);
37421 if (obj1) {
37422 ecode2 = SWIG_AsVal_int(obj1, &val2);
37423 if (!SWIG_IsOK(ecode2)) {
37424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37425 }
37426 arg2 = static_cast< int >(val2);
37427 }
37428 if (obj2) {
36ed4f51 37429 {
1bd55598
RD
37430 arg3 = wxString_in_helper(obj2);
37431 if (arg3 == NULL) SWIG_fail;
37432 temp3 = true;
36ed4f51 37433 }
1bd55598
RD
37434 }
37435 if (obj3) {
d55e5bfc 37436 {
1bd55598
RD
37437 arg4 = &temp4;
37438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 37439 }
1bd55598
RD
37440 }
37441 if (obj4) {
36ed4f51 37442 {
1bd55598
RD
37443 arg5 = &temp5;
37444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 37445 }
1bd55598
RD
37446 }
37447 if (obj5) {
37448 ecode6 = SWIG_AsVal_long(obj5, &val6);
37449 if (!SWIG_IsOK(ecode6)) {
37450 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37451 }
37452 arg6 = static_cast< long >(val6);
37453 }
37454 if (obj6) {
36ed4f51 37455 {
1bd55598
RD
37456 arg7 = wxString_in_helper(obj6);
37457 if (arg7 == NULL) SWIG_fail;
37458 temp7 = true;
36ed4f51 37459 }
1bd55598
RD
37460 }
37461 if (obj7) {
37462 ecode8 = SWIG_AsVal_int(obj7, &val8);
37463 if (!SWIG_IsOK(ecode8)) {
37464 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37465 }
37466 arg8 = static_cast< int >(val8);
37467 }
37468 if (obj8) {
d55e5bfc 37469 {
1bd55598
RD
37470 arg9 = wxString_in_helper(obj8);
37471 if (arg9 == NULL) SWIG_fail;
37472 temp9 = true;
d55e5bfc 37473 }
1bd55598
RD
37474 }
37475 {
37476 if (!wxPyCheckForApp()) SWIG_fail;
37477 PyThreadState* __tstate = wxPyBeginAllowThreads();
37478 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37479 wxPyEndAllowThreads(__tstate);
37480 if (PyErr_Occurred()) SWIG_fail;
37481 }
37482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37483 {
37484 if (temp3)
37485 delete arg3;
37486 }
37487 {
37488 if (temp7)
37489 delete arg7;
37490 }
37491 {
37492 if (temp9)
37493 delete arg9;
37494 }
37495 return resultobj;
37496fail:
37497 {
37498 if (temp3)
37499 delete arg3;
37500 }
37501 {
37502 if (temp7)
37503 delete arg7;
37504 }
37505 {
37506 if (temp9)
37507 delete arg9;
37508 }
37509 return NULL;
d55e5bfc
RD
37510}
37511
37512
1bd55598
RD
37513SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37514 PyObject *resultobj = 0;
37515 wxGenericDirCtrl *result = 0 ;
37516
37517 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37518 {
37519 if (!wxPyCheckForApp()) SWIG_fail;
37520 PyThreadState* __tstate = wxPyBeginAllowThreads();
37521 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37522 wxPyEndAllowThreads(__tstate);
37523 if (PyErr_Occurred()) SWIG_fail;
37524 }
37525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37526 return resultobj;
37527fail:
37528 return NULL;
37529}
37530
37531
37532SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37533 PyObject *resultobj = 0;
37534 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37535 wxWindow *arg2 = (wxWindow *) 0 ;
37536 int arg3 = (int) (int)-1 ;
37537 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37538 wxString *arg4 = (wxString *) &arg4_defvalue ;
37539 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37540 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37541 wxSize const &arg6_defvalue = wxDefaultSize ;
37542 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37543 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37544 wxString const &arg8_defvalue = wxPyEmptyString ;
37545 wxString *arg8 = (wxString *) &arg8_defvalue ;
37546 int arg9 = (int) 0 ;
37547 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37548 wxString *arg10 = (wxString *) &arg10_defvalue ;
37549 bool result;
37550 void *argp1 = 0 ;
37551 int res1 = 0 ;
37552 void *argp2 = 0 ;
37553 int res2 = 0 ;
37554 int val3 ;
37555 int ecode3 = 0 ;
37556 bool temp4 = false ;
37557 wxPoint temp5 ;
37558 wxSize temp6 ;
37559 long val7 ;
37560 int ecode7 = 0 ;
37561 bool temp8 = false ;
37562 int val9 ;
37563 int ecode9 = 0 ;
37564 bool temp10 = false ;
37565 PyObject * obj0 = 0 ;
37566 PyObject * obj1 = 0 ;
37567 PyObject * obj2 = 0 ;
37568 PyObject * obj3 = 0 ;
37569 PyObject * obj4 = 0 ;
37570 PyObject * obj5 = 0 ;
37571 PyObject * obj6 = 0 ;
37572 PyObject * obj7 = 0 ;
37573 PyObject * obj8 = 0 ;
37574 PyObject * obj9 = 0 ;
37575 char * kwnames[] = {
37576 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37577 };
37578
37579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37581 if (!SWIG_IsOK(res1)) {
37582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37583 }
37584 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37586 if (!SWIG_IsOK(res2)) {
37587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37588 }
37589 arg2 = reinterpret_cast< wxWindow * >(argp2);
37590 if (obj2) {
37591 ecode3 = SWIG_AsVal_int(obj2, &val3);
37592 if (!SWIG_IsOK(ecode3)) {
37593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37594 }
37595 arg3 = static_cast< int >(val3);
37596 }
37597 if (obj3) {
36ed4f51 37598 {
1bd55598
RD
37599 arg4 = wxString_in_helper(obj3);
37600 if (arg4 == NULL) SWIG_fail;
37601 temp4 = true;
36ed4f51 37602 }
1bd55598
RD
37603 }
37604 if (obj4) {
36ed4f51 37605 {
1bd55598
RD
37606 arg5 = &temp5;
37607 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 37608 }
1bd55598
RD
37609 }
37610 if (obj5) {
d55e5bfc 37611 {
1bd55598
RD
37612 arg6 = &temp6;
37613 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37614 }
1bd55598
RD
37615 }
37616 if (obj6) {
37617 ecode7 = SWIG_AsVal_long(obj6, &val7);
37618 if (!SWIG_IsOK(ecode7)) {
37619 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37620 }
37621 arg7 = static_cast< long >(val7);
37622 }
37623 if (obj7) {
d55e5bfc 37624 {
1bd55598
RD
37625 arg8 = wxString_in_helper(obj7);
37626 if (arg8 == NULL) SWIG_fail;
37627 temp8 = true;
d55e5bfc 37628 }
1bd55598
RD
37629 }
37630 if (obj8) {
37631 ecode9 = SWIG_AsVal_int(obj8, &val9);
37632 if (!SWIG_IsOK(ecode9)) {
37633 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37634 }
37635 arg9 = static_cast< int >(val9);
37636 }
37637 if (obj9) {
36ed4f51 37638 {
1bd55598
RD
37639 arg10 = wxString_in_helper(obj9);
37640 if (arg10 == NULL) SWIG_fail;
37641 temp10 = true;
36ed4f51 37642 }
1bd55598
RD
37643 }
37644 {
37645 PyThreadState* __tstate = wxPyBeginAllowThreads();
37646 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37647 wxPyEndAllowThreads(__tstate);
37648 if (PyErr_Occurred()) SWIG_fail;
37649 }
37650 {
37651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37652 }
37653 {
37654 if (temp4)
37655 delete arg4;
37656 }
37657 {
37658 if (temp8)
37659 delete arg8;
37660 }
37661 {
37662 if (temp10)
37663 delete arg10;
37664 }
37665 return resultobj;
37666fail:
37667 {
37668 if (temp4)
37669 delete arg4;
37670 }
37671 {
37672 if (temp8)
37673 delete arg8;
37674 }
37675 {
37676 if (temp10)
37677 delete arg10;
37678 }
37679 return NULL;
37680}
37681
37682
37683SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37684 PyObject *resultobj = 0;
37685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37686 wxString *arg2 = 0 ;
37687 bool result;
37688 void *argp1 = 0 ;
37689 int res1 = 0 ;
37690 bool temp2 = false ;
37691 PyObject * obj0 = 0 ;
37692 PyObject * obj1 = 0 ;
37693 char * kwnames[] = {
37694 (char *) "self",(char *) "path", NULL
37695 };
37696
37697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37699 if (!SWIG_IsOK(res1)) {
37700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37701 }
37702 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37703 {
37704 arg2 = wxString_in_helper(obj1);
37705 if (arg2 == NULL) SWIG_fail;
37706 temp2 = true;
37707 }
37708 {
37709 PyThreadState* __tstate = wxPyBeginAllowThreads();
37710 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37711 wxPyEndAllowThreads(__tstate);
37712 if (PyErr_Occurred()) SWIG_fail;
37713 }
37714 {
37715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37716 }
37717 {
37718 if (temp2)
37719 delete arg2;
37720 }
37721 return resultobj;
37722fail:
37723 {
37724 if (temp2)
37725 delete arg2;
37726 }
37727 return NULL;
d55e5bfc
RD
37728}
37729
37730
704eda0c
RD
37731SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37732 PyObject *resultobj = 0;
37733 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37734 wxString *arg2 = 0 ;
37735 bool result;
37736 void *argp1 = 0 ;
37737 int res1 = 0 ;
37738 bool temp2 = false ;
37739 PyObject * obj0 = 0 ;
37740 PyObject * obj1 = 0 ;
37741 char * kwnames[] = {
37742 (char *) "self",(char *) "path", NULL
37743 };
37744
37745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37747 if (!SWIG_IsOK(res1)) {
37748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37749 }
37750 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37751 {
37752 arg2 = wxString_in_helper(obj1);
37753 if (arg2 == NULL) SWIG_fail;
37754 temp2 = true;
37755 }
37756 {
37757 PyThreadState* __tstate = wxPyBeginAllowThreads();
37758 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37759 wxPyEndAllowThreads(__tstate);
37760 if (PyErr_Occurred()) SWIG_fail;
37761 }
37762 {
37763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37764 }
37765 {
37766 if (temp2)
37767 delete arg2;
37768 }
37769 return resultobj;
37770fail:
37771 {
37772 if (temp2)
37773 delete arg2;
37774 }
37775 return NULL;
37776}
37777
37778
1bd55598
RD
37779SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37780 PyObject *resultobj = 0;
37781 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37782 wxString result;
37783 void *argp1 = 0 ;
37784 int res1 = 0 ;
37785 PyObject *swig_obj[1] ;
37786
37787 if (!args) SWIG_fail;
37788 swig_obj[0] = args;
37789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37790 if (!SWIG_IsOK(res1)) {
37791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37792 }
37793 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37794 {
37795 PyThreadState* __tstate = wxPyBeginAllowThreads();
37796 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37797 wxPyEndAllowThreads(__tstate);
37798 if (PyErr_Occurred()) SWIG_fail;
37799 }
37800 {
37801#if wxUSE_UNICODE
37802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37803#else
37804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37805#endif
37806 }
37807 return resultobj;
37808fail:
37809 return NULL;
37810}
37811
37812
37813SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37814 PyObject *resultobj = 0;
37815 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37816 wxString *arg2 = 0 ;
37817 void *argp1 = 0 ;
37818 int res1 = 0 ;
37819 bool temp2 = false ;
37820 PyObject * obj0 = 0 ;
37821 PyObject * obj1 = 0 ;
37822 char * kwnames[] = {
37823 (char *) "self",(char *) "path", NULL
37824 };
37825
37826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37828 if (!SWIG_IsOK(res1)) {
37829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37830 }
37831 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37832 {
37833 arg2 = wxString_in_helper(obj1);
37834 if (arg2 == NULL) SWIG_fail;
37835 temp2 = true;
37836 }
37837 {
37838 PyThreadState* __tstate = wxPyBeginAllowThreads();
37839 (arg1)->SetDefaultPath((wxString const &)*arg2);
37840 wxPyEndAllowThreads(__tstate);
37841 if (PyErr_Occurred()) SWIG_fail;
37842 }
37843 resultobj = SWIG_Py_Void();
37844 {
37845 if (temp2)
37846 delete arg2;
37847 }
37848 return resultobj;
37849fail:
37850 {
37851 if (temp2)
37852 delete arg2;
37853 }
37854 return NULL;
d55e5bfc
RD
37855}
37856
37857
1bd55598
RD
37858SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37859 PyObject *resultobj = 0;
37860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37861 wxString result;
37862 void *argp1 = 0 ;
37863 int res1 = 0 ;
37864 PyObject *swig_obj[1] ;
37865
37866 if (!args) SWIG_fail;
37867 swig_obj[0] = args;
37868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37869 if (!SWIG_IsOK(res1)) {
37870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37871 }
37872 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37873 {
37874 PyThreadState* __tstate = wxPyBeginAllowThreads();
37875 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37876 wxPyEndAllowThreads(__tstate);
37877 if (PyErr_Occurred()) SWIG_fail;
37878 }
37879 {
37880#if wxUSE_UNICODE
37881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37882#else
37883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37884#endif
37885 }
37886 return resultobj;
37887fail:
37888 return NULL;
d55e5bfc
RD
37889}
37890
37891
1bd55598
RD
37892SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37893 PyObject *resultobj = 0;
37894 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37895 wxString result;
37896 void *argp1 = 0 ;
37897 int res1 = 0 ;
37898 PyObject *swig_obj[1] ;
37899
37900 if (!args) SWIG_fail;
37901 swig_obj[0] = args;
37902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37903 if (!SWIG_IsOK(res1)) {
37904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37905 }
37906 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37907 {
37908 PyThreadState* __tstate = wxPyBeginAllowThreads();
37909 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37910 wxPyEndAllowThreads(__tstate);
37911 if (PyErr_Occurred()) SWIG_fail;
37912 }
37913 {
37914#if wxUSE_UNICODE
37915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37916#else
37917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37918#endif
37919 }
37920 return resultobj;
37921fail:
37922 return NULL;
37923}
37924
37925
37926SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37927 PyObject *resultobj = 0;
37928 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37929 wxString *arg2 = 0 ;
37930 void *argp1 = 0 ;
37931 int res1 = 0 ;
37932 bool temp2 = false ;
37933 PyObject * obj0 = 0 ;
37934 PyObject * obj1 = 0 ;
37935 char * kwnames[] = {
37936 (char *) "self",(char *) "path", NULL
37937 };
37938
37939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37941 if (!SWIG_IsOK(res1)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37943 }
37944 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37945 {
37946 arg2 = wxString_in_helper(obj1);
37947 if (arg2 == NULL) SWIG_fail;
37948 temp2 = true;
37949 }
37950 {
37951 PyThreadState* __tstate = wxPyBeginAllowThreads();
37952 (arg1)->SetPath((wxString const &)*arg2);
37953 wxPyEndAllowThreads(__tstate);
37954 if (PyErr_Occurred()) SWIG_fail;
37955 }
37956 resultobj = SWIG_Py_Void();
37957 {
37958 if (temp2)
37959 delete arg2;
37960 }
37961 return resultobj;
37962fail:
37963 {
37964 if (temp2)
37965 delete arg2;
37966 }
37967 return NULL;
37968}
37969
37970
37971SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37972 PyObject *resultobj = 0;
37973 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37974 bool arg2 ;
37975 void *argp1 = 0 ;
37976 int res1 = 0 ;
37977 bool val2 ;
37978 int ecode2 = 0 ;
37979 PyObject * obj0 = 0 ;
37980 PyObject * obj1 = 0 ;
37981 char * kwnames[] = {
37982 (char *) "self",(char *) "show", NULL
37983 };
37984
37985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
37986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37987 if (!SWIG_IsOK(res1)) {
37988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37989 }
37990 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37991 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37992 if (!SWIG_IsOK(ecode2)) {
37993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37994 }
37995 arg2 = static_cast< bool >(val2);
37996 {
37997 PyThreadState* __tstate = wxPyBeginAllowThreads();
37998 (arg1)->ShowHidden(arg2);
37999 wxPyEndAllowThreads(__tstate);
38000 if (PyErr_Occurred()) SWIG_fail;
38001 }
38002 resultobj = SWIG_Py_Void();
38003 return resultobj;
38004fail:
38005 return NULL;
d55e5bfc
RD
38006}
38007
38008
1bd55598
RD
38009SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38010 PyObject *resultobj = 0;
38011 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38012 bool result;
38013 void *argp1 = 0 ;
38014 int res1 = 0 ;
38015 PyObject *swig_obj[1] ;
38016
38017 if (!args) SWIG_fail;
38018 swig_obj[0] = args;
38019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38020 if (!SWIG_IsOK(res1)) {
38021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38022 }
38023 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38024 {
38025 PyThreadState* __tstate = wxPyBeginAllowThreads();
38026 result = (bool)(arg1)->GetShowHidden();
38027 wxPyEndAllowThreads(__tstate);
38028 if (PyErr_Occurred()) SWIG_fail;
38029 }
38030 {
38031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38032 }
38033 return resultobj;
38034fail:
38035 return NULL;
d55e5bfc
RD
38036}
38037
38038
1bd55598
RD
38039SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38040 PyObject *resultobj = 0;
38041 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38042 wxString result;
38043 void *argp1 = 0 ;
38044 int res1 = 0 ;
38045 PyObject *swig_obj[1] ;
38046
38047 if (!args) SWIG_fail;
38048 swig_obj[0] = args;
38049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38050 if (!SWIG_IsOK(res1)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38052 }
38053 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38054 {
38055 PyThreadState* __tstate = wxPyBeginAllowThreads();
38056 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38057 wxPyEndAllowThreads(__tstate);
38058 if (PyErr_Occurred()) SWIG_fail;
38059 }
38060 {
38061#if wxUSE_UNICODE
38062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38063#else
38064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38065#endif
38066 }
38067 return resultobj;
38068fail:
38069 return NULL;
38070}
38071
38072
38073SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38074 PyObject *resultobj = 0;
38075 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38076 wxString *arg2 = 0 ;
38077 void *argp1 = 0 ;
38078 int res1 = 0 ;
38079 bool temp2 = false ;
38080 PyObject * obj0 = 0 ;
38081 PyObject * obj1 = 0 ;
38082 char * kwnames[] = {
38083 (char *) "self",(char *) "filter", NULL
38084 };
38085
38086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38088 if (!SWIG_IsOK(res1)) {
38089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38090 }
38091 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38092 {
38093 arg2 = wxString_in_helper(obj1);
38094 if (arg2 == NULL) SWIG_fail;
38095 temp2 = true;
38096 }
38097 {
38098 PyThreadState* __tstate = wxPyBeginAllowThreads();
38099 (arg1)->SetFilter((wxString const &)*arg2);
38100 wxPyEndAllowThreads(__tstate);
38101 if (PyErr_Occurred()) SWIG_fail;
38102 }
38103 resultobj = SWIG_Py_Void();
38104 {
38105 if (temp2)
38106 delete arg2;
38107 }
38108 return resultobj;
38109fail:
38110 {
38111 if (temp2)
38112 delete arg2;
38113 }
38114 return NULL;
d55e5bfc
RD
38115}
38116
38117
1bd55598
RD
38118SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38119 PyObject *resultobj = 0;
38120 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38121 int result;
38122 void *argp1 = 0 ;
38123 int res1 = 0 ;
38124 PyObject *swig_obj[1] ;
38125
38126 if (!args) SWIG_fail;
38127 swig_obj[0] = args;
38128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38129 if (!SWIG_IsOK(res1)) {
38130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38131 }
38132 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38133 {
38134 PyThreadState* __tstate = wxPyBeginAllowThreads();
38135 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38136 wxPyEndAllowThreads(__tstate);
38137 if (PyErr_Occurred()) SWIG_fail;
38138 }
38139 resultobj = SWIG_From_int(static_cast< int >(result));
38140 return resultobj;
38141fail:
38142 return NULL;
38143}
38144
38145
38146SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38147 PyObject *resultobj = 0;
38148 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38149 int arg2 ;
38150 void *argp1 = 0 ;
38151 int res1 = 0 ;
38152 int val2 ;
38153 int ecode2 = 0 ;
38154 PyObject * obj0 = 0 ;
38155 PyObject * obj1 = 0 ;
38156 char * kwnames[] = {
38157 (char *) "self",(char *) "n", NULL
38158 };
38159
38160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38162 if (!SWIG_IsOK(res1)) {
38163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38164 }
38165 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38166 ecode2 = SWIG_AsVal_int(obj1, &val2);
38167 if (!SWIG_IsOK(ecode2)) {
38168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38169 }
38170 arg2 = static_cast< int >(val2);
38171 {
38172 PyThreadState* __tstate = wxPyBeginAllowThreads();
38173 (arg1)->SetFilterIndex(arg2);
38174 wxPyEndAllowThreads(__tstate);
38175 if (PyErr_Occurred()) SWIG_fail;
38176 }
38177 resultobj = SWIG_Py_Void();
38178 return resultobj;
38179fail:
38180 return NULL;
d55e5bfc
RD
38181}
38182
38183
1bd55598
RD
38184SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38185 PyObject *resultobj = 0;
38186 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38187 wxTreeItemId result;
38188 void *argp1 = 0 ;
38189 int res1 = 0 ;
38190 PyObject *swig_obj[1] ;
38191
38192 if (!args) SWIG_fail;
38193 swig_obj[0] = args;
38194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38195 if (!SWIG_IsOK(res1)) {
38196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38197 }
38198 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38199 {
38200 PyThreadState* __tstate = wxPyBeginAllowThreads();
38201 result = (arg1)->GetRootId();
38202 wxPyEndAllowThreads(__tstate);
38203 if (PyErr_Occurred()) SWIG_fail;
38204 }
38205 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38206 return resultobj;
38207fail:
38208 return NULL;
d55e5bfc
RD
38209}
38210
38211
1bd55598
RD
38212SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38213 PyObject *resultobj = 0;
38214 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38215 wxPyTreeCtrl *result = 0 ;
38216 void *argp1 = 0 ;
38217 int res1 = 0 ;
38218 PyObject *swig_obj[1] ;
38219
38220 if (!args) SWIG_fail;
38221 swig_obj[0] = args;
38222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38223 if (!SWIG_IsOK(res1)) {
38224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38225 }
38226 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38227 {
38228 PyThreadState* __tstate = wxPyBeginAllowThreads();
38229 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38230 wxPyEndAllowThreads(__tstate);
38231 if (PyErr_Occurred()) SWIG_fail;
38232 }
38233 {
38234 resultobj = wxPyMake_wxObject(result, 0);
38235 }
38236 return resultobj;
38237fail:
38238 return NULL;
d55e5bfc
RD
38239}
38240
38241
1bd55598
RD
38242SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38243 PyObject *resultobj = 0;
38244 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38245 wxDirFilterListCtrl *result = 0 ;
38246 void *argp1 = 0 ;
38247 int res1 = 0 ;
38248 PyObject *swig_obj[1] ;
38249
38250 if (!args) SWIG_fail;
38251 swig_obj[0] = args;
38252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38253 if (!SWIG_IsOK(res1)) {
38254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38255 }
38256 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38257 {
38258 PyThreadState* __tstate = wxPyBeginAllowThreads();
38259 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38260 wxPyEndAllowThreads(__tstate);
38261 if (PyErr_Occurred()) SWIG_fail;
38262 }
38263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38264 return resultobj;
38265fail:
38266 return NULL;
38267}
38268
38269
38270SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38271 PyObject *resultobj = 0;
38272 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38273 wxTreeItemId arg2 ;
38274 wxString *arg3 = 0 ;
38275 bool *arg4 = 0 ;
38276 wxTreeItemId result;
38277 void *argp1 = 0 ;
38278 int res1 = 0 ;
38279 void *argp2 ;
38280 int res2 = 0 ;
38281 bool temp3 = false ;
38282 bool temp4 ;
38283 int res4 = SWIG_TMPOBJ ;
38284 PyObject * obj0 = 0 ;
38285 PyObject * obj1 = 0 ;
38286 PyObject * obj2 = 0 ;
38287 char * kwnames[] = {
38288 (char *) "self",(char *) "parentId",(char *) "path", NULL
38289 };
38290
38291 arg4 = &temp4;
38292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38294 if (!SWIG_IsOK(res1)) {
38295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38296 }
38297 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38298 {
38299 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38300 if (!SWIG_IsOK(res2)) {
38301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38302 }
38303 if (!argp2) {
38304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38305 } else {
38306 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38307 arg2 = *temp;
38308 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 38309 }
1bd55598
RD
38310 }
38311 {
38312 arg3 = wxString_in_helper(obj2);
38313 if (arg3 == NULL) SWIG_fail;
38314 temp3 = true;
38315 }
38316 {
38317 PyThreadState* __tstate = wxPyBeginAllowThreads();
38318 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38319 wxPyEndAllowThreads(__tstate);
38320 if (PyErr_Occurred()) SWIG_fail;
38321 }
38322 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38323 if (SWIG_IsTmpObj(res4)) {
38324 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38325 } else {
38326 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38327 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38328 }
38329 {
38330 if (temp3)
38331 delete arg3;
38332 }
38333 return resultobj;
38334fail:
38335 {
38336 if (temp3)
38337 delete arg3;
38338 }
38339 return NULL;
d55e5bfc
RD
38340}
38341
38342
1bd55598
RD
38343SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38344 PyObject *resultobj = 0;
38345 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38346 void *argp1 = 0 ;
38347 int res1 = 0 ;
38348 PyObject *swig_obj[1] ;
38349
38350 if (!args) SWIG_fail;
38351 swig_obj[0] = args;
38352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38353 if (!SWIG_IsOK(res1)) {
38354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38355 }
38356 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38357 {
38358 PyThreadState* __tstate = wxPyBeginAllowThreads();
38359 (arg1)->DoResize();
38360 wxPyEndAllowThreads(__tstate);
38361 if (PyErr_Occurred()) SWIG_fail;
38362 }
38363 resultobj = SWIG_Py_Void();
38364 return resultobj;
38365fail:
38366 return NULL;
38367}
38368
38369
38370SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38371 PyObject *resultobj = 0;
38372 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38373 void *argp1 = 0 ;
38374 int res1 = 0 ;
38375 PyObject *swig_obj[1] ;
38376
38377 if (!args) SWIG_fail;
38378 swig_obj[0] = args;
38379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38380 if (!SWIG_IsOK(res1)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38382 }
38383 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38384 {
38385 PyThreadState* __tstate = wxPyBeginAllowThreads();
38386 (arg1)->ReCreateTree();
38387 wxPyEndAllowThreads(__tstate);
38388 if (PyErr_Occurred()) SWIG_fail;
38389 }
38390 resultobj = SWIG_Py_Void();
38391 return resultobj;
38392fail:
38393 return NULL;
38394}
38395
38396
38397SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38398 PyObject *obj;
38399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38400 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38401 return SWIG_Py_Void();
38402}
38403
38404SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38405 return SWIG_Python_InitShadowInstance(args);
38406}
38407
38408SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38409 PyObject *resultobj = 0;
38410 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38411 int arg2 = (int) (int)-1 ;
38412 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38413 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38414 wxSize const &arg4_defvalue = wxDefaultSize ;
38415 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38416 long arg5 = (long) 0 ;
38417 wxDirFilterListCtrl *result = 0 ;
38418 void *argp1 = 0 ;
38419 int res1 = 0 ;
38420 int val2 ;
38421 int ecode2 = 0 ;
38422 wxPoint temp3 ;
38423 wxSize temp4 ;
38424 long val5 ;
38425 int ecode5 = 0 ;
38426 PyObject * obj0 = 0 ;
38427 PyObject * obj1 = 0 ;
38428 PyObject * obj2 = 0 ;
38429 PyObject * obj3 = 0 ;
38430 PyObject * obj4 = 0 ;
38431 char * kwnames[] = {
38432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38433 };
38434
38435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38437 if (!SWIG_IsOK(res1)) {
38438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38439 }
38440 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38441 if (obj1) {
38442 ecode2 = SWIG_AsVal_int(obj1, &val2);
38443 if (!SWIG_IsOK(ecode2)) {
38444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38445 }
38446 arg2 = static_cast< int >(val2);
38447 }
38448 if (obj2) {
d55e5bfc 38449 {
1bd55598
RD
38450 arg3 = &temp3;
38451 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38452 }
1bd55598
RD
38453 }
38454 if (obj3) {
d55e5bfc 38455 {
1bd55598
RD
38456 arg4 = &temp4;
38457 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38458 }
1bd55598
RD
38459 }
38460 if (obj4) {
38461 ecode5 = SWIG_AsVal_long(obj4, &val5);
38462 if (!SWIG_IsOK(ecode5)) {
38463 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38464 }
38465 arg5 = static_cast< long >(val5);
38466 }
38467 {
38468 if (!wxPyCheckForApp()) SWIG_fail;
38469 PyThreadState* __tstate = wxPyBeginAllowThreads();
38470 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38471 wxPyEndAllowThreads(__tstate);
38472 if (PyErr_Occurred()) SWIG_fail;
38473 }
38474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38475 return resultobj;
38476fail:
38477 return NULL;
d55e5bfc
RD
38478}
38479
38480
1bd55598
RD
38481SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38482 PyObject *resultobj = 0;
38483 wxDirFilterListCtrl *result = 0 ;
38484
38485 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38486 {
38487 if (!wxPyCheckForApp()) SWIG_fail;
38488 PyThreadState* __tstate = wxPyBeginAllowThreads();
38489 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38490 wxPyEndAllowThreads(__tstate);
38491 if (PyErr_Occurred()) SWIG_fail;
38492 }
38493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38494 return resultobj;
38495fail:
38496 return NULL;
38497}
38498
38499
38500SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38501 PyObject *resultobj = 0;
38502 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38503 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38504 int arg3 = (int) (int)-1 ;
38505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38507 wxSize const &arg5_defvalue = wxDefaultSize ;
38508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38509 long arg6 = (long) 0 ;
38510 bool result;
38511 void *argp1 = 0 ;
38512 int res1 = 0 ;
38513 void *argp2 = 0 ;
38514 int res2 = 0 ;
38515 int val3 ;
38516 int ecode3 = 0 ;
38517 wxPoint temp4 ;
38518 wxSize temp5 ;
38519 long val6 ;
38520 int ecode6 = 0 ;
38521 PyObject * obj0 = 0 ;
38522 PyObject * obj1 = 0 ;
38523 PyObject * obj2 = 0 ;
38524 PyObject * obj3 = 0 ;
38525 PyObject * obj4 = 0 ;
38526 PyObject * obj5 = 0 ;
38527 char * kwnames[] = {
38528 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38529 };
38530
38531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38533 if (!SWIG_IsOK(res1)) {
38534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38535 }
38536 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38538 if (!SWIG_IsOK(res2)) {
38539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38540 }
38541 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38542 if (obj2) {
38543 ecode3 = SWIG_AsVal_int(obj2, &val3);
38544 if (!SWIG_IsOK(ecode3)) {
38545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38546 }
38547 arg3 = static_cast< int >(val3);
38548 }
38549 if (obj3) {
36ed4f51 38550 {
1bd55598
RD
38551 arg4 = &temp4;
38552 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 38553 }
1bd55598
RD
38554 }
38555 if (obj4) {
36ed4f51 38556 {
1bd55598
RD
38557 arg5 = &temp5;
38558 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 38559 }
1bd55598
RD
38560 }
38561 if (obj5) {
38562 ecode6 = SWIG_AsVal_long(obj5, &val6);
38563 if (!SWIG_IsOK(ecode6)) {
38564 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38565 }
38566 arg6 = static_cast< long >(val6);
38567 }
38568 {
38569 PyThreadState* __tstate = wxPyBeginAllowThreads();
38570 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38571 wxPyEndAllowThreads(__tstate);
38572 if (PyErr_Occurred()) SWIG_fail;
38573 }
38574 {
38575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38576 }
38577 return resultobj;
38578fail:
38579 return NULL;
38580}
38581
38582
38583SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38584 PyObject *resultobj = 0;
38585 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38586 wxString *arg2 = 0 ;
38587 int arg3 ;
38588 void *argp1 = 0 ;
38589 int res1 = 0 ;
38590 bool temp2 = false ;
38591 int val3 ;
38592 int ecode3 = 0 ;
38593 PyObject * obj0 = 0 ;
38594 PyObject * obj1 = 0 ;
38595 PyObject * obj2 = 0 ;
38596 char * kwnames[] = {
38597 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38598 };
38599
38600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38602 if (!SWIG_IsOK(res1)) {
38603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38604 }
38605 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38606 {
38607 arg2 = wxString_in_helper(obj1);
38608 if (arg2 == NULL) SWIG_fail;
38609 temp2 = true;
38610 }
38611 ecode3 = SWIG_AsVal_int(obj2, &val3);
38612 if (!SWIG_IsOK(ecode3)) {
38613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38614 }
38615 arg3 = static_cast< int >(val3);
38616 {
38617 PyThreadState* __tstate = wxPyBeginAllowThreads();
38618 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38619 wxPyEndAllowThreads(__tstate);
38620 if (PyErr_Occurred()) SWIG_fail;
38621 }
38622 resultobj = SWIG_Py_Void();
38623 {
38624 if (temp2)
38625 delete arg2;
38626 }
38627 return resultobj;
38628fail:
38629 {
38630 if (temp2)
38631 delete arg2;
38632 }
38633 return NULL;
38634}
38635
38636
38637SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38638 PyObject *obj;
38639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38640 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38641 return SWIG_Py_Void();
38642}
38643
38644SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38645 return SWIG_Python_InitShadowInstance(args);
38646}
38647
38648SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38649 PyObject *resultobj = 0;
38650 wxWindow *arg1 = (wxWindow *) 0 ;
38651 int arg2 = (int) (int)-1 ;
38652 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38653 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38654 wxSize const &arg4_defvalue = wxDefaultSize ;
38655 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38656 long arg5 = (long) 0 ;
38657 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38658 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38659 wxString const &arg7_defvalue = wxPyControlNameStr ;
38660 wxString *arg7 = (wxString *) &arg7_defvalue ;
38661 wxPyControl *result = 0 ;
38662 void *argp1 = 0 ;
38663 int res1 = 0 ;
38664 int val2 ;
38665 int ecode2 = 0 ;
38666 wxPoint temp3 ;
38667 wxSize temp4 ;
38668 long val5 ;
38669 int ecode5 = 0 ;
38670 void *argp6 = 0 ;
38671 int res6 = 0 ;
38672 bool temp7 = false ;
38673 PyObject * obj0 = 0 ;
38674 PyObject * obj1 = 0 ;
38675 PyObject * obj2 = 0 ;
38676 PyObject * obj3 = 0 ;
38677 PyObject * obj4 = 0 ;
38678 PyObject * obj5 = 0 ;
38679 PyObject * obj6 = 0 ;
38680 char * kwnames[] = {
38681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38682 };
38683
38684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38686 if (!SWIG_IsOK(res1)) {
38687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38688 }
38689 arg1 = reinterpret_cast< wxWindow * >(argp1);
38690 if (obj1) {
38691 ecode2 = SWIG_AsVal_int(obj1, &val2);
38692 if (!SWIG_IsOK(ecode2)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38694 }
38695 arg2 = static_cast< int >(val2);
38696 }
38697 if (obj2) {
d55e5bfc 38698 {
1bd55598
RD
38699 arg3 = &temp3;
38700 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38701 }
1bd55598
RD
38702 }
38703 if (obj3) {
d55e5bfc 38704 {
1bd55598
RD
38705 arg4 = &temp4;
38706 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38707 }
1bd55598
RD
38708 }
38709 if (obj4) {
38710 ecode5 = SWIG_AsVal_long(obj4, &val5);
38711 if (!SWIG_IsOK(ecode5)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38713 }
38714 arg5 = static_cast< long >(val5);
38715 }
38716 if (obj5) {
38717 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38718 if (!SWIG_IsOK(res6)) {
38719 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38720 }
1bd55598
RD
38721 if (!argp6) {
38722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38723 }
1bd55598
RD
38724 arg6 = reinterpret_cast< wxValidator * >(argp6);
38725 }
38726 if (obj6) {
f20a2e1f 38727 {
1bd55598
RD
38728 arg7 = wxString_in_helper(obj6);
38729 if (arg7 == NULL) SWIG_fail;
38730 temp7 = true;
f20a2e1f 38731 }
1bd55598
RD
38732 }
38733 {
38734 if (!wxPyCheckForApp()) SWIG_fail;
38735 PyThreadState* __tstate = wxPyBeginAllowThreads();
38736 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38737 wxPyEndAllowThreads(__tstate);
38738 if (PyErr_Occurred()) SWIG_fail;
38739 }
38740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38741 {
38742 if (temp7)
38743 delete arg7;
38744 }
38745 return resultobj;
38746fail:
38747 {
38748 if (temp7)
38749 delete arg7;
38750 }
38751 return NULL;
d55e5bfc
RD
38752}
38753
38754
1bd55598
RD
38755SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38756 PyObject *resultobj = 0;
38757 wxPyControl *result = 0 ;
38758
38759 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38760 {
38761 if (!wxPyCheckForApp()) SWIG_fail;
38762 PyThreadState* __tstate = wxPyBeginAllowThreads();
38763 result = (wxPyControl *)new wxPyControl();
38764 wxPyEndAllowThreads(__tstate);
38765 if (PyErr_Occurred()) SWIG_fail;
38766 }
38767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38768 return resultobj;
38769fail:
38770 return NULL;
38771}
38772
38773
38774SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38775 PyObject *resultobj = 0;
38776 wxPyControl *arg1 = (wxPyControl *) 0 ;
38777 PyObject *arg2 = (PyObject *) 0 ;
38778 PyObject *arg3 = (PyObject *) 0 ;
38779 void *argp1 = 0 ;
38780 int res1 = 0 ;
38781 PyObject * obj0 = 0 ;
38782 PyObject * obj1 = 0 ;
38783 PyObject * obj2 = 0 ;
38784 char * kwnames[] = {
38785 (char *) "self",(char *) "self",(char *) "_class", NULL
38786 };
38787
38788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38790 if (!SWIG_IsOK(res1)) {
38791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38792 }
38793 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38794 arg2 = obj1;
38795 arg3 = obj2;
38796 {
38797 PyThreadState* __tstate = wxPyBeginAllowThreads();
38798 (arg1)->_setCallbackInfo(arg2,arg3);
38799 wxPyEndAllowThreads(__tstate);
38800 if (PyErr_Occurred()) SWIG_fail;
38801 }
38802 resultobj = SWIG_Py_Void();
38803 return resultobj;
38804fail:
38805 return NULL;
38806}
38807
38808
1bd55598
RD
38809SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38810 PyObject *resultobj = 0;
38811 wxPyControl *arg1 = (wxPyControl *) 0 ;
38812 wxDC *arg2 = (wxDC *) 0 ;
38813 bool result;
38814 void *argp1 = 0 ;
38815 int res1 = 0 ;
38816 void *argp2 = 0 ;
38817 int res2 = 0 ;
38818 PyObject * obj0 = 0 ;
38819 PyObject * obj1 = 0 ;
38820 char * kwnames[] = {
38821 (char *) "self",(char *) "dc", NULL
38822 };
38823
38824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38826 if (!SWIG_IsOK(res1)) {
38827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38828 }
38829 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38830 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38831 if (!SWIG_IsOK(res2)) {
38832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38833 }
38834 arg2 = reinterpret_cast< wxDC * >(argp2);
38835 {
38836 PyThreadState* __tstate = wxPyBeginAllowThreads();
38837 result = (bool)(arg1)->DoEraseBackground(arg2);
38838 wxPyEndAllowThreads(__tstate);
38839 if (PyErr_Occurred()) SWIG_fail;
38840 }
38841 {
38842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38843 }
38844 return resultobj;
38845fail:
38846 return NULL;
38847}
38848
38849
38850SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38851 PyObject *resultobj = 0;
38852 wxPyControl *arg1 = (wxPyControl *) 0 ;
38853 int arg2 ;
38854 int arg3 ;
38855 int arg4 ;
38856 int arg5 ;
38857 void *argp1 = 0 ;
38858 int res1 = 0 ;
38859 int val2 ;
38860 int ecode2 = 0 ;
38861 int val3 ;
38862 int ecode3 = 0 ;
38863 int val4 ;
38864 int ecode4 = 0 ;
38865 int val5 ;
38866 int ecode5 = 0 ;
38867 PyObject * obj0 = 0 ;
38868 PyObject * obj1 = 0 ;
38869 PyObject * obj2 = 0 ;
38870 PyObject * obj3 = 0 ;
38871 PyObject * obj4 = 0 ;
38872 char * kwnames[] = {
38873 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38874 };
38875
38876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38878 if (!SWIG_IsOK(res1)) {
38879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38880 }
38881 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38882 ecode2 = SWIG_AsVal_int(obj1, &val2);
38883 if (!SWIG_IsOK(ecode2)) {
38884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38885 }
38886 arg2 = static_cast< int >(val2);
38887 ecode3 = SWIG_AsVal_int(obj2, &val3);
38888 if (!SWIG_IsOK(ecode3)) {
38889 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38890 }
38891 arg3 = static_cast< int >(val3);
38892 ecode4 = SWIG_AsVal_int(obj3, &val4);
38893 if (!SWIG_IsOK(ecode4)) {
38894 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38895 }
38896 arg4 = static_cast< int >(val4);
38897 ecode5 = SWIG_AsVal_int(obj4, &val5);
38898 if (!SWIG_IsOK(ecode5)) {
38899 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38900 }
38901 arg5 = static_cast< int >(val5);
38902 {
38903 PyThreadState* __tstate = wxPyBeginAllowThreads();
38904 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38905 wxPyEndAllowThreads(__tstate);
38906 if (PyErr_Occurred()) SWIG_fail;
38907 }
38908 resultobj = SWIG_Py_Void();
38909 return resultobj;
38910fail:
38911 return NULL;
38912}
38913
38914
38915SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38916 PyObject *resultobj = 0;
38917 wxPyControl *arg1 = (wxPyControl *) 0 ;
38918 int arg2 ;
38919 int arg3 ;
38920 int arg4 ;
38921 int arg5 ;
38922 int arg6 = (int) wxSIZE_AUTO ;
38923 void *argp1 = 0 ;
38924 int res1 = 0 ;
38925 int val2 ;
38926 int ecode2 = 0 ;
38927 int val3 ;
38928 int ecode3 = 0 ;
38929 int val4 ;
38930 int ecode4 = 0 ;
38931 int val5 ;
38932 int ecode5 = 0 ;
38933 int val6 ;
38934 int ecode6 = 0 ;
38935 PyObject * obj0 = 0 ;
38936 PyObject * obj1 = 0 ;
38937 PyObject * obj2 = 0 ;
38938 PyObject * obj3 = 0 ;
38939 PyObject * obj4 = 0 ;
38940 PyObject * obj5 = 0 ;
38941 char * kwnames[] = {
38942 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38943 };
38944
38945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38947 if (!SWIG_IsOK(res1)) {
38948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38949 }
38950 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38951 ecode2 = SWIG_AsVal_int(obj1, &val2);
38952 if (!SWIG_IsOK(ecode2)) {
38953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38954 }
38955 arg2 = static_cast< int >(val2);
38956 ecode3 = SWIG_AsVal_int(obj2, &val3);
38957 if (!SWIG_IsOK(ecode3)) {
38958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38959 }
38960 arg3 = static_cast< int >(val3);
38961 ecode4 = SWIG_AsVal_int(obj3, &val4);
38962 if (!SWIG_IsOK(ecode4)) {
38963 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38964 }
38965 arg4 = static_cast< int >(val4);
38966 ecode5 = SWIG_AsVal_int(obj4, &val5);
38967 if (!SWIG_IsOK(ecode5)) {
38968 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38969 }
38970 arg5 = static_cast< int >(val5);
38971 if (obj5) {
38972 ecode6 = SWIG_AsVal_int(obj5, &val6);
38973 if (!SWIG_IsOK(ecode6)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38975 }
38976 arg6 = static_cast< int >(val6);
38977 }
38978 {
38979 PyThreadState* __tstate = wxPyBeginAllowThreads();
38980 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
38981 wxPyEndAllowThreads(__tstate);
38982 if (PyErr_Occurred()) SWIG_fail;
38983 }
38984 resultobj = SWIG_Py_Void();
38985 return resultobj;
38986fail:
38987 return NULL;
38988}
38989
38990
38991SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38992 PyObject *resultobj = 0;
38993 wxPyControl *arg1 = (wxPyControl *) 0 ;
38994 int arg2 ;
38995 int arg3 ;
38996 void *argp1 = 0 ;
38997 int res1 = 0 ;
38998 int val2 ;
38999 int ecode2 = 0 ;
39000 int val3 ;
39001 int ecode3 = 0 ;
39002 PyObject * obj0 = 0 ;
39003 PyObject * obj1 = 0 ;
39004 PyObject * obj2 = 0 ;
39005 char * kwnames[] = {
39006 (char *) "self",(char *) "width",(char *) "height", NULL
39007 };
39008
39009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39011 if (!SWIG_IsOK(res1)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39013 }
39014 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39015 ecode2 = SWIG_AsVal_int(obj1, &val2);
39016 if (!SWIG_IsOK(ecode2)) {
39017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39018 }
39019 arg2 = static_cast< int >(val2);
39020 ecode3 = SWIG_AsVal_int(obj2, &val3);
39021 if (!SWIG_IsOK(ecode3)) {
39022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39023 }
39024 arg3 = static_cast< int >(val3);
39025 {
39026 PyThreadState* __tstate = wxPyBeginAllowThreads();
39027 (arg1)->DoSetClientSize(arg2,arg3);
39028 wxPyEndAllowThreads(__tstate);
39029 if (PyErr_Occurred()) SWIG_fail;
39030 }
39031 resultobj = SWIG_Py_Void();
39032 return resultobj;
39033fail:
39034 return NULL;
39035}
39036
39037
39038SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39039 PyObject *resultobj = 0;
39040 wxPyControl *arg1 = (wxPyControl *) 0 ;
39041 int arg2 ;
39042 int arg3 ;
39043 void *argp1 = 0 ;
39044 int res1 = 0 ;
39045 int val2 ;
39046 int ecode2 = 0 ;
39047 int val3 ;
39048 int ecode3 = 0 ;
39049 PyObject * obj0 = 0 ;
39050 PyObject * obj1 = 0 ;
39051 PyObject * obj2 = 0 ;
39052 char * kwnames[] = {
39053 (char *) "self",(char *) "x",(char *) "y", NULL
39054 };
39055
39056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39058 if (!SWIG_IsOK(res1)) {
39059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39060 }
39061 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39062 ecode2 = SWIG_AsVal_int(obj1, &val2);
39063 if (!SWIG_IsOK(ecode2)) {
39064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39065 }
39066 arg2 = static_cast< int >(val2);
39067 ecode3 = SWIG_AsVal_int(obj2, &val3);
39068 if (!SWIG_IsOK(ecode3)) {
39069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39070 }
39071 arg3 = static_cast< int >(val3);
39072 {
39073 PyThreadState* __tstate = wxPyBeginAllowThreads();
39074 (arg1)->DoSetVirtualSize(arg2,arg3);
39075 wxPyEndAllowThreads(__tstate);
39076 if (PyErr_Occurred()) SWIG_fail;
39077 }
39078 resultobj = SWIG_Py_Void();
39079 return resultobj;
39080fail:
39081 return NULL;
39082}
39083
39084
39085SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39086 PyObject *resultobj = 0;
39087 wxPyControl *arg1 = (wxPyControl *) 0 ;
39088 int *arg2 = (int *) 0 ;
39089 int *arg3 = (int *) 0 ;
39090 void *argp1 = 0 ;
39091 int res1 = 0 ;
39092 int temp2 ;
39093 int res2 = SWIG_TMPOBJ ;
39094 int temp3 ;
39095 int res3 = SWIG_TMPOBJ ;
39096 PyObject *swig_obj[1] ;
39097
39098 arg2 = &temp2;
39099 arg3 = &temp3;
39100 if (!args) SWIG_fail;
39101 swig_obj[0] = args;
39102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39103 if (!SWIG_IsOK(res1)) {
39104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39105 }
39106 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39107 {
39108 PyThreadState* __tstate = wxPyBeginAllowThreads();
39109 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39110 wxPyEndAllowThreads(__tstate);
39111 if (PyErr_Occurred()) SWIG_fail;
39112 }
39113 resultobj = SWIG_Py_Void();
39114 if (SWIG_IsTmpObj(res2)) {
39115 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39116 } else {
39117 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39118 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39119 }
39120 if (SWIG_IsTmpObj(res3)) {
39121 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39122 } else {
39123 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39125 }
39126 return resultobj;
39127fail:
39128 return NULL;
39129}
39130
39131
39132SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39133 PyObject *resultobj = 0;
39134 wxPyControl *arg1 = (wxPyControl *) 0 ;
39135 int *arg2 = (int *) 0 ;
39136 int *arg3 = (int *) 0 ;
39137 void *argp1 = 0 ;
39138 int res1 = 0 ;
39139 int temp2 ;
39140 int res2 = SWIG_TMPOBJ ;
39141 int temp3 ;
39142 int res3 = SWIG_TMPOBJ ;
39143 PyObject *swig_obj[1] ;
39144
39145 arg2 = &temp2;
39146 arg3 = &temp3;
39147 if (!args) SWIG_fail;
39148 swig_obj[0] = args;
39149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39150 if (!SWIG_IsOK(res1)) {
39151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39152 }
39153 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39154 {
39155 PyThreadState* __tstate = wxPyBeginAllowThreads();
39156 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39157 wxPyEndAllowThreads(__tstate);
39158 if (PyErr_Occurred()) SWIG_fail;
39159 }
39160 resultobj = SWIG_Py_Void();
39161 if (SWIG_IsTmpObj(res2)) {
39162 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39163 } else {
39164 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39165 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39166 }
39167 if (SWIG_IsTmpObj(res3)) {
39168 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39169 } else {
39170 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39171 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39172 }
39173 return resultobj;
39174fail:
39175 return NULL;
39176}
39177
39178
39179SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39180 PyObject *resultobj = 0;
39181 wxPyControl *arg1 = (wxPyControl *) 0 ;
39182 int *arg2 = (int *) 0 ;
39183 int *arg3 = (int *) 0 ;
39184 void *argp1 = 0 ;
39185 int res1 = 0 ;
39186 int temp2 ;
39187 int res2 = SWIG_TMPOBJ ;
39188 int temp3 ;
39189 int res3 = SWIG_TMPOBJ ;
39190 PyObject *swig_obj[1] ;
39191
39192 arg2 = &temp2;
39193 arg3 = &temp3;
39194 if (!args) SWIG_fail;
39195 swig_obj[0] = args;
39196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39197 if (!SWIG_IsOK(res1)) {
39198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39199 }
39200 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39201 {
39202 PyThreadState* __tstate = wxPyBeginAllowThreads();
39203 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39204 wxPyEndAllowThreads(__tstate);
39205 if (PyErr_Occurred()) SWIG_fail;
39206 }
39207 resultobj = SWIG_Py_Void();
39208 if (SWIG_IsTmpObj(res2)) {
39209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39210 } else {
39211 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39212 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39213 }
39214 if (SWIG_IsTmpObj(res3)) {
39215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39216 } else {
39217 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39219 }
39220 return resultobj;
39221fail:
39222 return NULL;
d55e5bfc
RD
39223}
39224
39225
1bd55598
RD
39226SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39227 PyObject *resultobj = 0;
39228 wxPyControl *arg1 = (wxPyControl *) 0 ;
39229 wxSize result;
39230 void *argp1 = 0 ;
39231 int res1 = 0 ;
39232 PyObject *swig_obj[1] ;
39233
39234 if (!args) SWIG_fail;
39235 swig_obj[0] = args;
39236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39237 if (!SWIG_IsOK(res1)) {
39238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39239 }
39240 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39241 {
39242 PyThreadState* __tstate = wxPyBeginAllowThreads();
39243 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39244 wxPyEndAllowThreads(__tstate);
39245 if (PyErr_Occurred()) SWIG_fail;
39246 }
39247 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39248 return resultobj;
39249fail:
39250 return NULL;
7e08d4ef
RD
39251}
39252
39253
1bd55598
RD
39254SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39255 PyObject *resultobj = 0;
39256 wxPyControl *arg1 = (wxPyControl *) 0 ;
39257 wxSize result;
39258 void *argp1 = 0 ;
39259 int res1 = 0 ;
39260 PyObject *swig_obj[1] ;
39261
39262 if (!args) SWIG_fail;
39263 swig_obj[0] = args;
39264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39265 if (!SWIG_IsOK(res1)) {
39266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39267 }
39268 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39269 {
39270 PyThreadState* __tstate = wxPyBeginAllowThreads();
39271 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39272 wxPyEndAllowThreads(__tstate);
39273 if (PyErr_Occurred()) SWIG_fail;
39274 }
39275 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39276 return resultobj;
39277fail:
39278 return NULL;
d55e5bfc
RD
39279}
39280
39281
1bd55598
RD
39282SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39283 PyObject *resultobj = 0;
39284 wxPyControl *arg1 = (wxPyControl *) 0 ;
39285 SwigValueWrapper<wxVisualAttributes > result;
39286 void *argp1 = 0 ;
39287 int res1 = 0 ;
39288 PyObject *swig_obj[1] ;
39289
39290 if (!args) SWIG_fail;
39291 swig_obj[0] = args;
39292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39293 if (!SWIG_IsOK(res1)) {
39294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39295 }
39296 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39297 {
39298 PyThreadState* __tstate = wxPyBeginAllowThreads();
39299 result = (arg1)->GetDefaultAttributes();
39300 wxPyEndAllowThreads(__tstate);
39301 if (PyErr_Occurred()) SWIG_fail;
39302 }
39303 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39304 return resultobj;
39305fail:
39306 return NULL;
d55e5bfc
RD
39307}
39308
39309
1bd55598
RD
39310SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39311 PyObject *resultobj = 0;
39312 wxPyControl *arg1 = (wxPyControl *) 0 ;
39313 void *argp1 = 0 ;
39314 int res1 = 0 ;
39315 PyObject *swig_obj[1] ;
39316
39317 if (!args) SWIG_fail;
39318 swig_obj[0] = args;
39319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39320 if (!SWIG_IsOK(res1)) {
39321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39322 }
39323 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39324 {
39325 PyThreadState* __tstate = wxPyBeginAllowThreads();
39326 (arg1)->OnInternalIdle();
39327 wxPyEndAllowThreads(__tstate);
39328 if (PyErr_Occurred()) SWIG_fail;
39329 }
39330 resultobj = SWIG_Py_Void();
39331 return resultobj;
39332fail:
39333 return NULL;
39334}
39335
39336
39337SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39338 PyObject *obj;
39339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39341 return SWIG_Py_Void();
39342}
39343
39344SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39345 return SWIG_Python_InitShadowInstance(args);
39346}
39347
39348SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39349 PyObject *resultobj = 0;
39350 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39351 int arg2 = (int) 0 ;
39352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39354 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
1bd55598
RD
39355 wxHelpEvent *result = 0 ;
39356 int val1 ;
39357 int ecode1 = 0 ;
39358 int val2 ;
39359 int ecode2 = 0 ;
39360 wxPoint temp3 ;
704eda0c
RD
39361 int val4 ;
39362 int ecode4 = 0 ;
1bd55598
RD
39363 PyObject * obj0 = 0 ;
39364 PyObject * obj1 = 0 ;
39365 PyObject * obj2 = 0 ;
704eda0c 39366 PyObject * obj3 = 0 ;
1bd55598 39367 char * kwnames[] = {
704eda0c 39368 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
1bd55598
RD
39369 };
39370
704eda0c 39371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
39372 if (obj0) {
39373 ecode1 = SWIG_AsVal_int(obj0, &val1);
39374 if (!SWIG_IsOK(ecode1)) {
39375 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39376 }
39377 arg1 = static_cast< wxEventType >(val1);
39378 }
39379 if (obj1) {
39380 ecode2 = SWIG_AsVal_int(obj1, &val2);
39381 if (!SWIG_IsOK(ecode2)) {
39382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39383 }
39384 arg2 = static_cast< int >(val2);
39385 }
39386 if (obj2) {
d55e5bfc 39387 {
1bd55598
RD
39388 arg3 = &temp3;
39389 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39390 }
1bd55598 39391 }
704eda0c
RD
39392 if (obj3) {
39393 ecode4 = SWIG_AsVal_int(obj3, &val4);
39394 if (!SWIG_IsOK(ecode4)) {
39395 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39396 }
39397 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39398 }
1bd55598
RD
39399 {
39400 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39401 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
1bd55598
RD
39402 wxPyEndAllowThreads(__tstate);
39403 if (PyErr_Occurred()) SWIG_fail;
39404 }
39405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39406 return resultobj;
39407fail:
39408 return NULL;
d55e5bfc
RD
39409}
39410
39411
1bd55598
RD
39412SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39413 PyObject *resultobj = 0;
39414 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39415 wxPoint result;
39416 void *argp1 = 0 ;
39417 int res1 = 0 ;
39418 PyObject *swig_obj[1] ;
39419
39420 if (!args) SWIG_fail;
39421 swig_obj[0] = args;
39422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39423 if (!SWIG_IsOK(res1)) {
39424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39425 }
39426 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39427 {
39428 PyThreadState* __tstate = wxPyBeginAllowThreads();
39429 result = ((wxHelpEvent const *)arg1)->GetPosition();
39430 wxPyEndAllowThreads(__tstate);
39431 if (PyErr_Occurred()) SWIG_fail;
39432 }
39433 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39434 return resultobj;
39435fail:
39436 return NULL;
39437}
39438
39439
39440SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39441 PyObject *resultobj = 0;
39442 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39443 wxPoint *arg2 = 0 ;
39444 void *argp1 = 0 ;
39445 int res1 = 0 ;
39446 wxPoint temp2 ;
39447 PyObject * obj0 = 0 ;
39448 PyObject * obj1 = 0 ;
39449 char * kwnames[] = {
39450 (char *) "self",(char *) "pos", NULL
39451 };
39452
39453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39455 if (!SWIG_IsOK(res1)) {
39456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39457 }
39458 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39459 {
39460 arg2 = &temp2;
39461 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39462 }
39463 {
39464 PyThreadState* __tstate = wxPyBeginAllowThreads();
39465 (arg1)->SetPosition((wxPoint const &)*arg2);
39466 wxPyEndAllowThreads(__tstate);
39467 if (PyErr_Occurred()) SWIG_fail;
39468 }
39469 resultobj = SWIG_Py_Void();
39470 return resultobj;
39471fail:
39472 return NULL;
d55e5bfc
RD
39473}
39474
39475
1bd55598
RD
39476SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39477 PyObject *resultobj = 0;
39478 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39479 wxString *result = 0 ;
39480 void *argp1 = 0 ;
39481 int res1 = 0 ;
39482 PyObject *swig_obj[1] ;
39483
39484 if (!args) SWIG_fail;
39485 swig_obj[0] = args;
39486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39487 if (!SWIG_IsOK(res1)) {
39488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39489 }
39490 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39491 {
39492 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39493 {
1bd55598
RD
39494 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39495 result = (wxString *) &_result_ref;
d55e5bfc 39496 }
1bd55598
RD
39497 wxPyEndAllowThreads(__tstate);
39498 if (PyErr_Occurred()) SWIG_fail;
39499 }
39500 {
39501#if wxUSE_UNICODE
39502 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39503#else
39504 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39505#endif
39506 }
39507 return resultobj;
39508fail:
39509 return NULL;
39510}
39511
39512
39513SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39514 PyObject *resultobj = 0;
39515 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39516 wxString *arg2 = 0 ;
39517 void *argp1 = 0 ;
39518 int res1 = 0 ;
39519 bool temp2 = false ;
39520 PyObject * obj0 = 0 ;
39521 PyObject * obj1 = 0 ;
39522 char * kwnames[] = {
39523 (char *) "self",(char *) "link", NULL
39524 };
39525
39526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39528 if (!SWIG_IsOK(res1)) {
39529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39530 }
39531 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39532 {
39533 arg2 = wxString_in_helper(obj1);
39534 if (arg2 == NULL) SWIG_fail;
39535 temp2 = true;
39536 }
39537 {
39538 PyThreadState* __tstate = wxPyBeginAllowThreads();
39539 (arg1)->SetLink((wxString const &)*arg2);
39540 wxPyEndAllowThreads(__tstate);
39541 if (PyErr_Occurred()) SWIG_fail;
39542 }
39543 resultobj = SWIG_Py_Void();
39544 {
39545 if (temp2)
39546 delete arg2;
39547 }
39548 return resultobj;
39549fail:
39550 {
39551 if (temp2)
39552 delete arg2;
39553 }
39554 return NULL;
d55e5bfc
RD
39555}
39556
39557
1bd55598
RD
39558SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39559 PyObject *resultobj = 0;
39560 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39561 wxString *result = 0 ;
39562 void *argp1 = 0 ;
39563 int res1 = 0 ;
39564 PyObject *swig_obj[1] ;
39565
39566 if (!args) SWIG_fail;
39567 swig_obj[0] = args;
39568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39569 if (!SWIG_IsOK(res1)) {
39570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39571 }
39572 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39573 {
39574 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39575 {
1bd55598
RD
39576 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39577 result = (wxString *) &_result_ref;
d55e5bfc 39578 }
1bd55598
RD
39579 wxPyEndAllowThreads(__tstate);
39580 if (PyErr_Occurred()) SWIG_fail;
39581 }
39582 {
39583#if wxUSE_UNICODE
39584 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39585#else
39586 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39587#endif
39588 }
39589 return resultobj;
39590fail:
39591 return NULL;
39592}
39593
39594
39595SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39596 PyObject *resultobj = 0;
39597 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39598 wxString *arg2 = 0 ;
39599 void *argp1 = 0 ;
39600 int res1 = 0 ;
39601 bool temp2 = false ;
39602 PyObject * obj0 = 0 ;
39603 PyObject * obj1 = 0 ;
39604 char * kwnames[] = {
39605 (char *) "self",(char *) "target", NULL
39606 };
39607
39608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39610 if (!SWIG_IsOK(res1)) {
39611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39612 }
39613 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39614 {
39615 arg2 = wxString_in_helper(obj1);
39616 if (arg2 == NULL) SWIG_fail;
39617 temp2 = true;
39618 }
39619 {
39620 PyThreadState* __tstate = wxPyBeginAllowThreads();
39621 (arg1)->SetTarget((wxString const &)*arg2);
39622 wxPyEndAllowThreads(__tstate);
39623 if (PyErr_Occurred()) SWIG_fail;
39624 }
39625 resultobj = SWIG_Py_Void();
39626 {
39627 if (temp2)
39628 delete arg2;
39629 }
39630 return resultobj;
39631fail:
39632 {
39633 if (temp2)
39634 delete arg2;
39635 }
39636 return NULL;
d55e5bfc
RD
39637}
39638
39639
704eda0c
RD
39640SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39641 PyObject *resultobj = 0;
39642 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39643 wxHelpEvent::Origin result;
39644 void *argp1 = 0 ;
39645 int res1 = 0 ;
39646 PyObject *swig_obj[1] ;
39647
39648 if (!args) SWIG_fail;
39649 swig_obj[0] = args;
39650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39651 if (!SWIG_IsOK(res1)) {
39652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39653 }
39654 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39655 {
39656 PyThreadState* __tstate = wxPyBeginAllowThreads();
39657 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39658 wxPyEndAllowThreads(__tstate);
39659 if (PyErr_Occurred()) SWIG_fail;
39660 }
39661 resultobj = SWIG_From_int(static_cast< int >(result));
39662 return resultobj;
39663fail:
39664 return NULL;
39665}
39666
39667
39668SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39669 PyObject *resultobj = 0;
39670 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39671 wxHelpEvent::Origin arg2 ;
39672 void *argp1 = 0 ;
39673 int res1 = 0 ;
39674 int val2 ;
39675 int ecode2 = 0 ;
39676 PyObject * obj0 = 0 ;
39677 PyObject * obj1 = 0 ;
39678 char * kwnames[] = {
39679 (char *) "self",(char *) "origin", NULL
39680 };
39681
39682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39684 if (!SWIG_IsOK(res1)) {
39685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39686 }
39687 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39688 ecode2 = SWIG_AsVal_int(obj1, &val2);
39689 if (!SWIG_IsOK(ecode2)) {
39690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39691 }
39692 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39693 {
39694 PyThreadState* __tstate = wxPyBeginAllowThreads();
39695 (arg1)->SetOrigin(arg2);
39696 wxPyEndAllowThreads(__tstate);
39697 if (PyErr_Occurred()) SWIG_fail;
39698 }
39699 resultobj = SWIG_Py_Void();
39700 return resultobj;
39701fail:
39702 return NULL;
39703}
39704
39705
1bd55598
RD
39706SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39707 PyObject *obj;
39708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39709 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39710 return SWIG_Py_Void();
39711}
39712
39713SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39714 return SWIG_Python_InitShadowInstance(args);
39715}
39716
39717SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39718 PyObject *resultobj = 0;
39719 wxWindow *arg1 = (wxWindow *) NULL ;
39720 bool arg2 = (bool) true ;
39721 wxContextHelp *result = 0 ;
39722 void *argp1 = 0 ;
39723 int res1 = 0 ;
39724 bool val2 ;
39725 int ecode2 = 0 ;
39726 PyObject * obj0 = 0 ;
39727 PyObject * obj1 = 0 ;
39728 char * kwnames[] = {
39729 (char *) "window",(char *) "doNow", NULL
39730 };
39731
39732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39733 if (obj0) {
39734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39735 if (!SWIG_IsOK(res1)) {
39736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 39737 }
1bd55598
RD
39738 arg1 = reinterpret_cast< wxWindow * >(argp1);
39739 }
39740 if (obj1) {
39741 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39742 if (!SWIG_IsOK(ecode2)) {
39743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39744 }
39745 arg2 = static_cast< bool >(val2);
39746 }
39747 {
39748 if (!wxPyCheckForApp()) SWIG_fail;
39749 PyThreadState* __tstate = wxPyBeginAllowThreads();
39750 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39751 wxPyEndAllowThreads(__tstate);
39752 if (PyErr_Occurred()) SWIG_fail;
39753 }
39754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39755 return resultobj;
39756fail:
39757 return NULL;
d55e5bfc
RD
39758}
39759
39760
1bd55598
RD
39761SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39762 PyObject *resultobj = 0;
39763 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39764 void *argp1 = 0 ;
39765 int res1 = 0 ;
39766 PyObject *swig_obj[1] ;
39767
39768 if (!args) SWIG_fail;
39769 swig_obj[0] = args;
39770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39771 if (!SWIG_IsOK(res1)) {
39772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39773 }
39774 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39775 {
39776 PyThreadState* __tstate = wxPyBeginAllowThreads();
39777 delete arg1;
d55e5bfc 39778
1bd55598
RD
39779 wxPyEndAllowThreads(__tstate);
39780 if (PyErr_Occurred()) SWIG_fail;
39781 }
39782 resultobj = SWIG_Py_Void();
39783 return resultobj;
39784fail:
39785 return NULL;
39786}
39787
39788
39789SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39790 PyObject *resultobj = 0;
39791 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39792 wxWindow *arg2 = (wxWindow *) NULL ;
39793 bool result;
39794 void *argp1 = 0 ;
39795 int res1 = 0 ;
39796 void *argp2 = 0 ;
39797 int res2 = 0 ;
39798 PyObject * obj0 = 0 ;
39799 PyObject * obj1 = 0 ;
39800 char * kwnames[] = {
39801 (char *) "self",(char *) "window", NULL
39802 };
39803
39804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39806 if (!SWIG_IsOK(res1)) {
39807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39808 }
39809 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39810 if (obj1) {
39811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39812 if (!SWIG_IsOK(res2)) {
39813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 39814 }
1bd55598
RD
39815 arg2 = reinterpret_cast< wxWindow * >(argp2);
39816 }
39817 {
39818 PyThreadState* __tstate = wxPyBeginAllowThreads();
39819 result = (bool)(arg1)->BeginContextHelp(arg2);
39820 wxPyEndAllowThreads(__tstate);
39821 if (PyErr_Occurred()) SWIG_fail;
39822 }
39823 {
39824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39825 }
39826 return resultobj;
39827fail:
39828 return NULL;
d55e5bfc
RD
39829}
39830
39831
1bd55598
RD
39832SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39833 PyObject *resultobj = 0;
39834 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39835 bool result;
39836 void *argp1 = 0 ;
39837 int res1 = 0 ;
39838 PyObject *swig_obj[1] ;
39839
39840 if (!args) SWIG_fail;
39841 swig_obj[0] = args;
39842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39843 if (!SWIG_IsOK(res1)) {
39844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39845 }
39846 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39847 {
39848 PyThreadState* __tstate = wxPyBeginAllowThreads();
39849 result = (bool)(arg1)->EndContextHelp();
39850 wxPyEndAllowThreads(__tstate);
39851 if (PyErr_Occurred()) SWIG_fail;
39852 }
39853 {
39854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39855 }
39856 return resultobj;
39857fail:
39858 return NULL;
39859}
39860
39861
39862SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39863 PyObject *obj;
39864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39865 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39866 return SWIG_Py_Void();
39867}
39868
39869SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39870 return SWIG_Python_InitShadowInstance(args);
39871}
39872
39873SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39874 PyObject *resultobj = 0;
39875 wxWindow *arg1 = (wxWindow *) 0 ;
39876 int arg2 = (int) wxID_CONTEXT_HELP ;
39877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39879 wxSize const &arg4_defvalue = wxDefaultSize ;
39880 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39881 long arg5 = (long) wxBU_AUTODRAW ;
39882 wxContextHelpButton *result = 0 ;
39883 void *argp1 = 0 ;
39884 int res1 = 0 ;
39885 int val2 ;
39886 int ecode2 = 0 ;
39887 wxPoint temp3 ;
39888 wxSize temp4 ;
39889 long val5 ;
39890 int ecode5 = 0 ;
39891 PyObject * obj0 = 0 ;
39892 PyObject * obj1 = 0 ;
39893 PyObject * obj2 = 0 ;
39894 PyObject * obj3 = 0 ;
39895 PyObject * obj4 = 0 ;
39896 char * kwnames[] = {
39897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39898 };
39899
39900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39902 if (!SWIG_IsOK(res1)) {
39903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39904 }
39905 arg1 = reinterpret_cast< wxWindow * >(argp1);
39906 if (obj1) {
39907 ecode2 = SWIG_AsVal_int(obj1, &val2);
39908 if (!SWIG_IsOK(ecode2)) {
39909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39910 }
39911 arg2 = static_cast< int >(val2);
39912 }
39913 if (obj2) {
d55e5bfc 39914 {
1bd55598
RD
39915 arg3 = &temp3;
39916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39917 }
1bd55598
RD
39918 }
39919 if (obj3) {
d55e5bfc 39920 {
1bd55598
RD
39921 arg4 = &temp4;
39922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 39923 }
1bd55598
RD
39924 }
39925 if (obj4) {
39926 ecode5 = SWIG_AsVal_long(obj4, &val5);
39927 if (!SWIG_IsOK(ecode5)) {
39928 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39929 }
39930 arg5 = static_cast< long >(val5);
39931 }
39932 {
39933 if (!wxPyCheckForApp()) SWIG_fail;
39934 PyThreadState* __tstate = wxPyBeginAllowThreads();
39935 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39936 wxPyEndAllowThreads(__tstate);
39937 if (PyErr_Occurred()) SWIG_fail;
39938 }
39939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
39940 return resultobj;
39941fail:
39942 return NULL;
d55e5bfc
RD
39943}
39944
39945
1bd55598
RD
39946SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39947 PyObject *obj;
39948 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39949 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
39950 return SWIG_Py_Void();
d55e5bfc
RD
39951}
39952
1bd55598
RD
39953SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39954 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
39955}
39956
f52cbe90
RD
39957SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39958 PyObject *resultobj = 0;
39959 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39960 void *argp1 = 0 ;
39961 int res1 = 0 ;
39962 PyObject *swig_obj[1] ;
39963
39964 if (!args) SWIG_fail;
39965 swig_obj[0] = args;
39966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39967 if (!SWIG_IsOK(res1)) {
39968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39969 }
39970 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39971 {
39972 PyThreadState* __tstate = wxPyBeginAllowThreads();
39973 delete arg1;
39974
39975 wxPyEndAllowThreads(__tstate);
39976 if (PyErr_Occurred()) SWIG_fail;
39977 }
39978 resultobj = SWIG_Py_Void();
39979 return resultobj;
39980fail:
39981 return NULL;
39982}
39983
39984
1bd55598
RD
39985SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39986 PyObject *resultobj = 0;
39987 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39988 wxHelpProvider *result = 0 ;
39989 int res1 = 0 ;
39990 PyObject * obj0 = 0 ;
39991 char * kwnames[] = {
39992 (char *) "helpProvider", NULL
39993 };
39994
39995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
39996 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39997 if (!SWIG_IsOK(res1)) {
39998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39999 }
40000 {
40001 PyThreadState* __tstate = wxPyBeginAllowThreads();
40002 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40003 wxPyEndAllowThreads(__tstate);
40004 if (PyErr_Occurred()) SWIG_fail;
40005 }
40006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40007 return resultobj;
40008fail:
40009 return NULL;
d55e5bfc
RD
40010}
40011
40012
1bd55598
RD
40013SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40014 PyObject *resultobj = 0;
40015 wxHelpProvider *result = 0 ;
40016
40017 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40018 {
40019 PyThreadState* __tstate = wxPyBeginAllowThreads();
40020 result = (wxHelpProvider *)wxHelpProvider::Get();
40021 wxPyEndAllowThreads(__tstate);
40022 if (PyErr_Occurred()) SWIG_fail;
40023 }
40024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40025 return resultobj;
40026fail:
40027 return NULL;
40028}
40029
40030
40031SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40032 PyObject *resultobj = 0;
40033 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40034 wxWindow *arg2 = (wxWindow *) 0 ;
40035 wxString result;
40036 void *argp1 = 0 ;
40037 int res1 = 0 ;
40038 void *argp2 = 0 ;
40039 int res2 = 0 ;
40040 PyObject * obj0 = 0 ;
40041 PyObject * obj1 = 0 ;
40042 char * kwnames[] = {
40043 (char *) "self",(char *) "window", NULL
40044 };
40045
40046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40048 if (!SWIG_IsOK(res1)) {
40049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40050 }
40051 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40052 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40053 if (!SWIG_IsOK(res2)) {
40054 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40055 }
40056 arg2 = reinterpret_cast< wxWindow * >(argp2);
40057 {
40058 PyThreadState* __tstate = wxPyBeginAllowThreads();
40059 result = (arg1)->GetHelp((wxWindow const *)arg2);
40060 wxPyEndAllowThreads(__tstate);
40061 if (PyErr_Occurred()) SWIG_fail;
40062 }
40063 {
40064#if wxUSE_UNICODE
40065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40066#else
40067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40068#endif
40069 }
40070 return resultobj;
40071fail:
40072 return NULL;
40073}
40074
40075
40076SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40077 PyObject *resultobj = 0;
40078 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40079 wxWindow *arg2 = (wxWindow *) 0 ;
40080 bool result;
40081 void *argp1 = 0 ;
40082 int res1 = 0 ;
40083 void *argp2 = 0 ;
40084 int res2 = 0 ;
40085 PyObject * obj0 = 0 ;
40086 PyObject * obj1 = 0 ;
40087 char * kwnames[] = {
40088 (char *) "self",(char *) "window", NULL
40089 };
40090
40091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40093 if (!SWIG_IsOK(res1)) {
40094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40095 }
40096 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40098 if (!SWIG_IsOK(res2)) {
40099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40100 }
40101 arg2 = reinterpret_cast< wxWindow * >(argp2);
40102 {
40103 PyThreadState* __tstate = wxPyBeginAllowThreads();
40104 result = (bool)(arg1)->ShowHelp(arg2);
40105 wxPyEndAllowThreads(__tstate);
40106 if (PyErr_Occurred()) SWIG_fail;
40107 }
40108 {
40109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40110 }
40111 return resultobj;
40112fail:
40113 return NULL;
40114}
40115
40116
b850e7f3
RD
40117SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40118 PyObject *resultobj = 0;
40119 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40120 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40121 wxPoint *arg3 = 0 ;
40122 wxHelpEvent::Origin arg4 ;
40123 bool result;
40124 void *argp1 = 0 ;
40125 int res1 = 0 ;
40126 void *argp2 = 0 ;
40127 int res2 = 0 ;
40128 wxPoint temp3 ;
40129 int val4 ;
40130 int ecode4 = 0 ;
40131 PyObject * obj0 = 0 ;
40132 PyObject * obj1 = 0 ;
40133 PyObject * obj2 = 0 ;
40134 PyObject * obj3 = 0 ;
40135 char * kwnames[] = {
40136 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40137 };
40138
40139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40141 if (!SWIG_IsOK(res1)) {
40142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40143 }
40144 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40146 if (!SWIG_IsOK(res2)) {
40147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40148 }
40149 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40150 {
40151 arg3 = &temp3;
40152 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40153 }
40154 ecode4 = SWIG_AsVal_int(obj3, &val4);
40155 if (!SWIG_IsOK(ecode4)) {
40156 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40157 }
40158 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40159 {
40160 PyThreadState* __tstate = wxPyBeginAllowThreads();
40161 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40162 wxPyEndAllowThreads(__tstate);
40163 if (PyErr_Occurred()) SWIG_fail;
40164 }
40165 {
40166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40167 }
40168 return resultobj;
40169fail:
40170 return NULL;
40171}
40172
40173
1bd55598
RD
40174SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40175 PyObject *resultobj = 0;
40176 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40177 wxWindow *arg2 = (wxWindow *) 0 ;
40178 wxString *arg3 = 0 ;
40179 void *argp1 = 0 ;
40180 int res1 = 0 ;
40181 void *argp2 = 0 ;
40182 int res2 = 0 ;
40183 bool temp3 = false ;
40184 PyObject * obj0 = 0 ;
40185 PyObject * obj1 = 0 ;
40186 PyObject * obj2 = 0 ;
40187 char * kwnames[] = {
40188 (char *) "self",(char *) "window",(char *) "text", NULL
40189 };
40190
40191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40193 if (!SWIG_IsOK(res1)) {
40194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40195 }
40196 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40197 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40198 if (!SWIG_IsOK(res2)) {
40199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40200 }
40201 arg2 = reinterpret_cast< wxWindow * >(argp2);
40202 {
40203 arg3 = wxString_in_helper(obj2);
40204 if (arg3 == NULL) SWIG_fail;
40205 temp3 = true;
40206 }
40207 {
40208 PyThreadState* __tstate = wxPyBeginAllowThreads();
40209 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40210 wxPyEndAllowThreads(__tstate);
40211 if (PyErr_Occurred()) SWIG_fail;
40212 }
40213 resultobj = SWIG_Py_Void();
40214 {
40215 if (temp3)
40216 delete arg3;
40217 }
40218 return resultobj;
40219fail:
40220 {
40221 if (temp3)
40222 delete arg3;
40223 }
40224 return NULL;
40225}
40226
40227
40228SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40229 PyObject *resultobj = 0;
40230 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40231 int arg2 ;
40232 wxString *arg3 = 0 ;
40233 void *argp1 = 0 ;
40234 int res1 = 0 ;
40235 int val2 ;
40236 int ecode2 = 0 ;
40237 bool temp3 = false ;
40238 PyObject * obj0 = 0 ;
40239 PyObject * obj1 = 0 ;
40240 PyObject * obj2 = 0 ;
40241 char * kwnames[] = {
40242 (char *) "self",(char *) "id",(char *) "text", NULL
40243 };
40244
40245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40247 if (!SWIG_IsOK(res1)) {
40248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40249 }
40250 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40251 ecode2 = SWIG_AsVal_int(obj1, &val2);
40252 if (!SWIG_IsOK(ecode2)) {
40253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40254 }
40255 arg2 = static_cast< int >(val2);
40256 {
40257 arg3 = wxString_in_helper(obj2);
40258 if (arg3 == NULL) SWIG_fail;
40259 temp3 = true;
40260 }
40261 {
40262 PyThreadState* __tstate = wxPyBeginAllowThreads();
40263 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40264 wxPyEndAllowThreads(__tstate);
40265 if (PyErr_Occurred()) SWIG_fail;
40266 }
40267 resultobj = SWIG_Py_Void();
40268 {
40269 if (temp3)
40270 delete arg3;
40271 }
40272 return resultobj;
40273fail:
40274 {
40275 if (temp3)
40276 delete arg3;
40277 }
40278 return NULL;
40279}
40280
40281
40282SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40283 PyObject *resultobj = 0;
40284 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40285 wxWindow *arg2 = (wxWindow *) 0 ;
40286 void *argp1 = 0 ;
40287 int res1 = 0 ;
40288 void *argp2 = 0 ;
40289 int res2 = 0 ;
40290 PyObject * obj0 = 0 ;
40291 PyObject * obj1 = 0 ;
40292 char * kwnames[] = {
40293 (char *) "self",(char *) "window", NULL
40294 };
40295
40296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40298 if (!SWIG_IsOK(res1)) {
40299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40300 }
40301 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40302 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40303 if (!SWIG_IsOK(res2)) {
40304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40305 }
40306 arg2 = reinterpret_cast< wxWindow * >(argp2);
40307 {
40308 PyThreadState* __tstate = wxPyBeginAllowThreads();
40309 (arg1)->RemoveHelp(arg2);
40310 wxPyEndAllowThreads(__tstate);
40311 if (PyErr_Occurred()) SWIG_fail;
40312 }
40313 resultobj = SWIG_Py_Void();
40314 return resultobj;
40315fail:
40316 return NULL;
d55e5bfc
RD
40317}
40318
40319
1bd55598
RD
40320SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40321 PyObject *resultobj = 0;
40322 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40323 void *argp1 = 0 ;
40324 int res1 = 0 ;
40325 PyObject *swig_obj[1] ;
40326
40327 if (!args) SWIG_fail;
40328 swig_obj[0] = args;
40329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40330 if (!SWIG_IsOK(res1)) {
40331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40332 }
40333 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40334 {
40335 PyThreadState* __tstate = wxPyBeginAllowThreads();
40336 wxHelpProvider_Destroy(arg1);
40337 wxPyEndAllowThreads(__tstate);
40338 if (PyErr_Occurred()) SWIG_fail;
40339 }
40340 resultobj = SWIG_Py_Void();
40341 return resultobj;
40342fail:
40343 return NULL;
d55e5bfc
RD
40344}
40345
40346
1bd55598
RD
40347SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40348 PyObject *obj;
40349 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40350 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40351 return SWIG_Py_Void();
d55e5bfc
RD
40352}
40353
1bd55598
RD
40354SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40355 PyObject *resultobj = 0;
40356 wxSimpleHelpProvider *result = 0 ;
40357
40358 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40359 {
40360 PyThreadState* __tstate = wxPyBeginAllowThreads();
40361 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40362 wxPyEndAllowThreads(__tstate);
40363 if (PyErr_Occurred()) SWIG_fail;
40364 }
40365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40366 return resultobj;
40367fail:
40368 return NULL;
40369}
40370
40371
40372SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40373 PyObject *obj;
40374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40375 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40376 return SWIG_Py_Void();
40377}
40378
40379SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40380 return SWIG_Python_InitShadowInstance(args);
40381}
40382
40383SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40384 PyObject *resultobj = 0;
40385 wxBitmap *arg1 = 0 ;
40386 wxCursor const &arg2_defvalue = wxNullCursor ;
40387 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40388 wxGenericDragImage *result = 0 ;
40389 void *argp1 = 0 ;
40390 int res1 = 0 ;
40391 void *argp2 = 0 ;
40392 int res2 = 0 ;
40393 PyObject * obj0 = 0 ;
40394 PyObject * obj1 = 0 ;
40395 char * kwnames[] = {
40396 (char *) "image",(char *) "cursor", NULL
40397 };
40398
40399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40400 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40401 if (!SWIG_IsOK(res1)) {
40402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40403 }
40404 if (!argp1) {
40405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40406 }
40407 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40408 if (obj1) {
40409 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40410 if (!SWIG_IsOK(res2)) {
40411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40412 }
1bd55598
RD
40413 if (!argp2) {
40414 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40415 }
1bd55598
RD
40416 arg2 = reinterpret_cast< wxCursor * >(argp2);
40417 }
40418 {
40419 if (!wxPyCheckForApp()) SWIG_fail;
40420 PyThreadState* __tstate = wxPyBeginAllowThreads();
40421 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40422 wxPyEndAllowThreads(__tstate);
40423 if (PyErr_Occurred()) SWIG_fail;
40424 }
40425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40426 return resultobj;
40427fail:
40428 return NULL;
40429}
40430
40431
40432SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40433 PyObject *resultobj = 0;
40434 wxIcon *arg1 = 0 ;
40435 wxCursor const &arg2_defvalue = wxNullCursor ;
40436 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40437 wxGenericDragImage *result = 0 ;
40438 void *argp1 = 0 ;
40439 int res1 = 0 ;
40440 void *argp2 = 0 ;
40441 int res2 = 0 ;
40442 PyObject * obj0 = 0 ;
40443 PyObject * obj1 = 0 ;
40444 char * kwnames[] = {
40445 (char *) "image",(char *) "cursor", NULL
40446 };
40447
40448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40449 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40450 if (!SWIG_IsOK(res1)) {
40451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40452 }
40453 if (!argp1) {
40454 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40455 }
40456 arg1 = reinterpret_cast< wxIcon * >(argp1);
40457 if (obj1) {
40458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40459 if (!SWIG_IsOK(res2)) {
40460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40461 }
1bd55598
RD
40462 if (!argp2) {
40463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40464 }
1bd55598
RD
40465 arg2 = reinterpret_cast< wxCursor * >(argp2);
40466 }
40467 {
40468 if (!wxPyCheckForApp()) SWIG_fail;
40469 PyThreadState* __tstate = wxPyBeginAllowThreads();
40470 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40471 wxPyEndAllowThreads(__tstate);
40472 if (PyErr_Occurred()) SWIG_fail;
40473 }
40474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40475 return resultobj;
40476fail:
40477 return NULL;
40478}
40479
40480
40481SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40482 PyObject *resultobj = 0;
40483 wxString *arg1 = 0 ;
40484 wxCursor const &arg2_defvalue = wxNullCursor ;
40485 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40486 wxGenericDragImage *result = 0 ;
40487 bool temp1 = false ;
40488 void *argp2 = 0 ;
40489 int res2 = 0 ;
40490 PyObject * obj0 = 0 ;
40491 PyObject * obj1 = 0 ;
40492 char * kwnames[] = {
40493 (char *) "str",(char *) "cursor", NULL
40494 };
40495
40496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40497 {
40498 arg1 = wxString_in_helper(obj0);
40499 if (arg1 == NULL) SWIG_fail;
40500 temp1 = true;
40501 }
40502 if (obj1) {
40503 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40504 if (!SWIG_IsOK(res2)) {
40505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40506 }
1bd55598
RD
40507 if (!argp2) {
40508 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40509 }
1bd55598
RD
40510 arg2 = reinterpret_cast< wxCursor * >(argp2);
40511 }
40512 {
40513 if (!wxPyCheckForApp()) SWIG_fail;
40514 PyThreadState* __tstate = wxPyBeginAllowThreads();
40515 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40516 wxPyEndAllowThreads(__tstate);
40517 if (PyErr_Occurred()) SWIG_fail;
40518 }
40519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40520 {
40521 if (temp1)
40522 delete arg1;
40523 }
40524 return resultobj;
40525fail:
40526 {
40527 if (temp1)
40528 delete arg1;
40529 }
40530 return NULL;
40531}
40532
40533
40534SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40535 PyObject *resultobj = 0;
40536 wxPyTreeCtrl *arg1 = 0 ;
40537 wxTreeItemId *arg2 = 0 ;
40538 wxGenericDragImage *result = 0 ;
40539 void *argp1 = 0 ;
40540 int res1 = 0 ;
40541 void *argp2 = 0 ;
40542 int res2 = 0 ;
40543 PyObject * obj0 = 0 ;
40544 PyObject * obj1 = 0 ;
40545 char * kwnames[] = {
40546 (char *) "treeCtrl",(char *) "id", NULL
40547 };
40548
40549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40550 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40551 if (!SWIG_IsOK(res1)) {
40552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40553 }
40554 if (!argp1) {
40555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40556 }
40557 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40558 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40559 if (!SWIG_IsOK(res2)) {
40560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40561 }
40562 if (!argp2) {
40563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40564 }
40565 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40566 {
40567 if (!wxPyCheckForApp()) SWIG_fail;
40568 PyThreadState* __tstate = wxPyBeginAllowThreads();
40569 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40570 wxPyEndAllowThreads(__tstate);
40571 if (PyErr_Occurred()) SWIG_fail;
40572 }
40573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40574 return resultobj;
40575fail:
40576 return NULL;
40577}
40578
40579
40580SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40581 PyObject *resultobj = 0;
40582 wxPyListCtrl *arg1 = 0 ;
40583 long arg2 ;
40584 wxGenericDragImage *result = 0 ;
40585 void *argp1 = 0 ;
40586 int res1 = 0 ;
40587 long val2 ;
40588 int ecode2 = 0 ;
40589 PyObject * obj0 = 0 ;
40590 PyObject * obj1 = 0 ;
40591 char * kwnames[] = {
40592 (char *) "listCtrl",(char *) "id", NULL
40593 };
40594
40595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40596 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40597 if (!SWIG_IsOK(res1)) {
40598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40599 }
40600 if (!argp1) {
40601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40602 }
40603 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40604 ecode2 = SWIG_AsVal_long(obj1, &val2);
40605 if (!SWIG_IsOK(ecode2)) {
40606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40607 }
40608 arg2 = static_cast< long >(val2);
40609 {
40610 if (!wxPyCheckForApp()) SWIG_fail;
40611 PyThreadState* __tstate = wxPyBeginAllowThreads();
40612 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40613 wxPyEndAllowThreads(__tstate);
40614 if (PyErr_Occurred()) SWIG_fail;
40615 }
40616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40617 return resultobj;
40618fail:
40619 return NULL;
d55e5bfc
RD
40620}
40621
40622
1bd55598
RD
40623SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40624 PyObject *resultobj = 0;
40625 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40626 void *argp1 = 0 ;
40627 int res1 = 0 ;
40628 PyObject *swig_obj[1] ;
40629
40630 if (!args) SWIG_fail;
40631 swig_obj[0] = args;
40632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40633 if (!SWIG_IsOK(res1)) {
40634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40635 }
40636 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40637 {
40638 PyThreadState* __tstate = wxPyBeginAllowThreads();
40639 delete arg1;
d55e5bfc 40640
1bd55598
RD
40641 wxPyEndAllowThreads(__tstate);
40642 if (PyErr_Occurred()) SWIG_fail;
40643 }
40644 resultobj = SWIG_Py_Void();
40645 return resultobj;
40646fail:
40647 return NULL;
40648}
40649
40650
40651SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40652 PyObject *resultobj = 0;
40653 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40654 wxBitmap *arg2 = (wxBitmap *) 0 ;
40655 void *argp1 = 0 ;
40656 int res1 = 0 ;
40657 void *argp2 = 0 ;
40658 int res2 = 0 ;
40659 PyObject * obj0 = 0 ;
40660 PyObject * obj1 = 0 ;
40661 char * kwnames[] = {
40662 (char *) "self",(char *) "bitmap", NULL
40663 };
40664
40665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40667 if (!SWIG_IsOK(res1)) {
40668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40669 }
40670 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40672 if (!SWIG_IsOK(res2)) {
40673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40674 }
40675 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40676 {
40677 PyThreadState* __tstate = wxPyBeginAllowThreads();
40678 (arg1)->SetBackingBitmap(arg2);
40679 wxPyEndAllowThreads(__tstate);
40680 if (PyErr_Occurred()) SWIG_fail;
40681 }
40682 resultobj = SWIG_Py_Void();
40683 return resultobj;
40684fail:
40685 return NULL;
40686}
40687
40688
40689SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40690 PyObject *resultobj = 0;
40691 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40692 wxPoint *arg2 = 0 ;
40693 wxWindow *arg3 = (wxWindow *) 0 ;
40694 bool arg4 = (bool) false ;
40695 wxRect *arg5 = (wxRect *) NULL ;
40696 bool result;
40697 void *argp1 = 0 ;
40698 int res1 = 0 ;
40699 wxPoint temp2 ;
40700 void *argp3 = 0 ;
40701 int res3 = 0 ;
40702 bool val4 ;
40703 int ecode4 = 0 ;
40704 void *argp5 = 0 ;
40705 int res5 = 0 ;
40706 PyObject * obj0 = 0 ;
40707 PyObject * obj1 = 0 ;
40708 PyObject * obj2 = 0 ;
40709 PyObject * obj3 = 0 ;
40710 PyObject * obj4 = 0 ;
40711 char * kwnames[] = {
40712 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40713 };
40714
40715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40717 if (!SWIG_IsOK(res1)) {
40718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40719 }
40720 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40721 {
40722 arg2 = &temp2;
40723 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40724 }
40725 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40726 if (!SWIG_IsOK(res3)) {
40727 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40728 }
40729 arg3 = reinterpret_cast< wxWindow * >(argp3);
40730 if (obj3) {
40731 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40732 if (!SWIG_IsOK(ecode4)) {
40733 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40734 }
40735 arg4 = static_cast< bool >(val4);
40736 }
40737 if (obj4) {
40738 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40739 if (!SWIG_IsOK(res5)) {
40740 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 40741 }
1bd55598
RD
40742 arg5 = reinterpret_cast< wxRect * >(argp5);
40743 }
40744 {
40745 PyThreadState* __tstate = wxPyBeginAllowThreads();
40746 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40747 wxPyEndAllowThreads(__tstate);
40748 if (PyErr_Occurred()) SWIG_fail;
40749 }
40750 {
40751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40752 }
40753 return resultobj;
40754fail:
40755 return NULL;
40756}
40757
40758
40759SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40760 PyObject *resultobj = 0;
40761 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40762 wxPoint *arg2 = 0 ;
40763 wxWindow *arg3 = (wxWindow *) 0 ;
40764 wxWindow *arg4 = (wxWindow *) 0 ;
40765 bool result;
40766 void *argp1 = 0 ;
40767 int res1 = 0 ;
40768 wxPoint temp2 ;
40769 void *argp3 = 0 ;
40770 int res3 = 0 ;
40771 void *argp4 = 0 ;
40772 int res4 = 0 ;
40773 PyObject * obj0 = 0 ;
40774 PyObject * obj1 = 0 ;
40775 PyObject * obj2 = 0 ;
40776 PyObject * obj3 = 0 ;
40777 char * kwnames[] = {
40778 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40779 };
40780
40781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40783 if (!SWIG_IsOK(res1)) {
40784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40785 }
40786 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40787 {
40788 arg2 = &temp2;
40789 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40790 }
40791 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40792 if (!SWIG_IsOK(res3)) {
40793 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40794 }
40795 arg3 = reinterpret_cast< wxWindow * >(argp3);
40796 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40797 if (!SWIG_IsOK(res4)) {
40798 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40799 }
40800 arg4 = reinterpret_cast< wxWindow * >(argp4);
40801 {
40802 PyThreadState* __tstate = wxPyBeginAllowThreads();
40803 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40804 wxPyEndAllowThreads(__tstate);
40805 if (PyErr_Occurred()) SWIG_fail;
40806 }
40807 {
40808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40809 }
40810 return resultobj;
40811fail:
40812 return NULL;
d55e5bfc
RD
40813}
40814
40815
1bd55598
RD
40816SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40817 PyObject *resultobj = 0;
40818 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40819 bool result;
40820 void *argp1 = 0 ;
40821 int res1 = 0 ;
40822 PyObject *swig_obj[1] ;
40823
40824 if (!args) SWIG_fail;
40825 swig_obj[0] = args;
40826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40827 if (!SWIG_IsOK(res1)) {
40828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40829 }
40830 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40831 {
40832 PyThreadState* __tstate = wxPyBeginAllowThreads();
40833 result = (bool)(arg1)->EndDrag();
40834 wxPyEndAllowThreads(__tstate);
40835 if (PyErr_Occurred()) SWIG_fail;
40836 }
40837 {
40838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40839 }
40840 return resultobj;
40841fail:
40842 return NULL;
40843}
40844
40845
40846SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40847 PyObject *resultobj = 0;
40848 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40849 wxPoint *arg2 = 0 ;
40850 bool result;
40851 void *argp1 = 0 ;
40852 int res1 = 0 ;
40853 wxPoint temp2 ;
40854 PyObject * obj0 = 0 ;
40855 PyObject * obj1 = 0 ;
40856 char * kwnames[] = {
40857 (char *) "self",(char *) "pt", NULL
40858 };
40859
40860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40862 if (!SWIG_IsOK(res1)) {
40863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40864 }
40865 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40866 {
40867 arg2 = &temp2;
40868 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40869 }
40870 {
40871 PyThreadState* __tstate = wxPyBeginAllowThreads();
40872 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40873 wxPyEndAllowThreads(__tstate);
40874 if (PyErr_Occurred()) SWIG_fail;
40875 }
40876 {
40877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40878 }
40879 return resultobj;
40880fail:
40881 return NULL;
d55e5bfc
RD
40882}
40883
40884
1bd55598
RD
40885SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40886 PyObject *resultobj = 0;
40887 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40888 bool result;
40889 void *argp1 = 0 ;
40890 int res1 = 0 ;
40891 PyObject *swig_obj[1] ;
40892
40893 if (!args) SWIG_fail;
40894 swig_obj[0] = args;
40895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40896 if (!SWIG_IsOK(res1)) {
40897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40898 }
40899 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40900 {
40901 PyThreadState* __tstate = wxPyBeginAllowThreads();
40902 result = (bool)(arg1)->Show();
40903 wxPyEndAllowThreads(__tstate);
40904 if (PyErr_Occurred()) SWIG_fail;
40905 }
40906 {
40907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40908 }
40909 return resultobj;
40910fail:
40911 return NULL;
d55e5bfc
RD
40912}
40913
40914
1bd55598
RD
40915SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40916 PyObject *resultobj = 0;
40917 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40918 bool result;
40919 void *argp1 = 0 ;
40920 int res1 = 0 ;
40921 PyObject *swig_obj[1] ;
40922
40923 if (!args) SWIG_fail;
40924 swig_obj[0] = args;
40925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40926 if (!SWIG_IsOK(res1)) {
40927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40928 }
40929 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40930 {
40931 PyThreadState* __tstate = wxPyBeginAllowThreads();
40932 result = (bool)(arg1)->Hide();
40933 wxPyEndAllowThreads(__tstate);
40934 if (PyErr_Occurred()) SWIG_fail;
40935 }
40936 {
40937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40938 }
40939 return resultobj;
40940fail:
40941 return NULL;
40942}
40943
40944
40945SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40946 PyObject *resultobj = 0;
40947 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40948 wxPoint *arg2 = 0 ;
40949 wxRect result;
40950 void *argp1 = 0 ;
40951 int res1 = 0 ;
40952 wxPoint temp2 ;
40953 PyObject * obj0 = 0 ;
40954 PyObject * obj1 = 0 ;
40955 char * kwnames[] = {
40956 (char *) "self",(char *) "pos", NULL
40957 };
40958
40959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
40960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40961 if (!SWIG_IsOK(res1)) {
40962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40963 }
40964 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40965 {
40966 arg2 = &temp2;
40967 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40968 }
40969 {
40970 PyThreadState* __tstate = wxPyBeginAllowThreads();
40971 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
40972 wxPyEndAllowThreads(__tstate);
40973 if (PyErr_Occurred()) SWIG_fail;
40974 }
40975 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
40976 return resultobj;
40977fail:
40978 return NULL;
40979}
40980
40981
40982SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40983 PyObject *resultobj = 0;
40984 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40985 wxDC *arg2 = 0 ;
40986 wxPoint *arg3 = 0 ;
40987 bool result;
40988 void *argp1 = 0 ;
40989 int res1 = 0 ;
40990 void *argp2 = 0 ;
40991 int res2 = 0 ;
40992 wxPoint temp3 ;
40993 PyObject * obj0 = 0 ;
40994 PyObject * obj1 = 0 ;
40995 PyObject * obj2 = 0 ;
40996 char * kwnames[] = {
40997 (char *) "self",(char *) "dc",(char *) "pos", NULL
40998 };
40999
41000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41002 if (!SWIG_IsOK(res1)) {
41003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41004 }
41005 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41006 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41007 if (!SWIG_IsOK(res2)) {
41008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41009 }
41010 if (!argp2) {
41011 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41012 }
41013 arg2 = reinterpret_cast< wxDC * >(argp2);
41014 {
41015 arg3 = &temp3;
41016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41017 }
41018 {
41019 PyThreadState* __tstate = wxPyBeginAllowThreads();
41020 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41021 wxPyEndAllowThreads(__tstate);
41022 if (PyErr_Occurred()) SWIG_fail;
41023 }
41024 {
41025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41026 }
41027 return resultobj;
41028fail:
41029 return NULL;
41030}
41031
41032
41033SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41034 PyObject *resultobj = 0;
41035 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41036 wxDC *arg2 = 0 ;
41037 wxMemoryDC *arg3 = 0 ;
41038 wxRect *arg4 = 0 ;
41039 wxRect *arg5 = 0 ;
41040 bool result;
41041 void *argp1 = 0 ;
41042 int res1 = 0 ;
41043 void *argp2 = 0 ;
41044 int res2 = 0 ;
41045 void *argp3 = 0 ;
41046 int res3 = 0 ;
41047 wxRect temp4 ;
41048 wxRect temp5 ;
41049 PyObject * obj0 = 0 ;
41050 PyObject * obj1 = 0 ;
41051 PyObject * obj2 = 0 ;
41052 PyObject * obj3 = 0 ;
41053 PyObject * obj4 = 0 ;
41054 char * kwnames[] = {
41055 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41056 };
41057
41058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41060 if (!SWIG_IsOK(res1)) {
41061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41062 }
41063 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41064 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41065 if (!SWIG_IsOK(res2)) {
41066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41067 }
41068 if (!argp2) {
41069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41070 }
41071 arg2 = reinterpret_cast< wxDC * >(argp2);
41072 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41073 if (!SWIG_IsOK(res3)) {
41074 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41075 }
41076 if (!argp3) {
41077 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41078 }
41079 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41080 {
41081 arg4 = &temp4;
41082 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41083 }
41084 {
41085 arg5 = &temp5;
41086 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41087 }
41088 {
41089 PyThreadState* __tstate = wxPyBeginAllowThreads();
41090 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41091 wxPyEndAllowThreads(__tstate);
41092 if (PyErr_Occurred()) SWIG_fail;
41093 }
41094 {
41095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41096 }
41097 return resultobj;
41098fail:
41099 return NULL;
41100}
41101
41102
41103SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41104 PyObject *resultobj = 0;
41105 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41106 wxPoint *arg2 = 0 ;
41107 wxPoint *arg3 = 0 ;
41108 bool arg4 ;
41109 bool arg5 ;
41110 bool result;
41111 void *argp1 = 0 ;
41112 int res1 = 0 ;
41113 wxPoint temp2 ;
41114 wxPoint temp3 ;
41115 bool val4 ;
41116 int ecode4 = 0 ;
41117 bool val5 ;
41118 int ecode5 = 0 ;
41119 PyObject * obj0 = 0 ;
41120 PyObject * obj1 = 0 ;
41121 PyObject * obj2 = 0 ;
41122 PyObject * obj3 = 0 ;
41123 PyObject * obj4 = 0 ;
41124 char * kwnames[] = {
41125 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41126 };
41127
41128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41130 if (!SWIG_IsOK(res1)) {
41131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41132 }
41133 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41134 {
41135 arg2 = &temp2;
41136 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41137 }
41138 {
41139 arg3 = &temp3;
41140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41141 }
41142 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41143 if (!SWIG_IsOK(ecode4)) {
41144 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41145 }
41146 arg4 = static_cast< bool >(val4);
41147 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41148 if (!SWIG_IsOK(ecode5)) {
41149 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41150 }
41151 arg5 = static_cast< bool >(val5);
41152 {
41153 PyThreadState* __tstate = wxPyBeginAllowThreads();
41154 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41155 wxPyEndAllowThreads(__tstate);
41156 if (PyErr_Occurred()) SWIG_fail;
41157 }
41158 {
41159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41160 }
41161 return resultobj;
41162fail:
41163 return NULL;
d55e5bfc
RD
41164}
41165
41166
1bd55598
RD
41167SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41168 PyObject *obj;
41169 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41170 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41171 return SWIG_Py_Void();
d55e5bfc
RD
41172}
41173
1bd55598
RD
41174SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41175 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
41176}
41177
1bd55598
RD
41178SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41179 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41180 return 1;
d55e5bfc
RD
41181}
41182
41183
1bd55598
RD
41184SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41185 PyObject *pyobj = 0;
41186
41187 {
41188#if wxUSE_UNICODE
41189 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41190#else
41191 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41192#endif
41193 }
41194 return pyobj;
41195}
41196
41197
41198SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41199 PyObject *resultobj = 0;
41200 wxWindow *arg1 = (wxWindow *) 0 ;
41201 int arg2 = (int) -1 ;
41202 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41203 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41206 wxSize const &arg5_defvalue = wxDefaultSize ;
41207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41208 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41209 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41210 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41211 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41212 wxString *arg8 = (wxString *) &arg8_defvalue ;
41213 wxDatePickerCtrl *result = 0 ;
41214 void *argp1 = 0 ;
41215 int res1 = 0 ;
41216 int val2 ;
41217 int ecode2 = 0 ;
41218 void *argp3 = 0 ;
41219 int res3 = 0 ;
41220 wxPoint temp4 ;
41221 wxSize temp5 ;
41222 long val6 ;
41223 int ecode6 = 0 ;
41224 void *argp7 = 0 ;
41225 int res7 = 0 ;
41226 bool temp8 = false ;
41227 PyObject * obj0 = 0 ;
41228 PyObject * obj1 = 0 ;
41229 PyObject * obj2 = 0 ;
41230 PyObject * obj3 = 0 ;
41231 PyObject * obj4 = 0 ;
41232 PyObject * obj5 = 0 ;
41233 PyObject * obj6 = 0 ;
41234 PyObject * obj7 = 0 ;
41235 char * kwnames[] = {
41236 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41237 };
41238
41239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41241 if (!SWIG_IsOK(res1)) {
41242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41243 }
41244 arg1 = reinterpret_cast< wxWindow * >(argp1);
41245 if (obj1) {
41246 ecode2 = SWIG_AsVal_int(obj1, &val2);
41247 if (!SWIG_IsOK(ecode2)) {
41248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41249 }
41250 arg2 = static_cast< int >(val2);
41251 }
41252 if (obj2) {
41253 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41254 if (!SWIG_IsOK(res3)) {
41255 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41256 }
1bd55598
RD
41257 if (!argp3) {
41258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41259 }
1bd55598
RD
41260 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41261 }
41262 if (obj3) {
36ed4f51 41263 {
1bd55598
RD
41264 arg4 = &temp4;
41265 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 41266 }
1bd55598
RD
41267 }
41268 if (obj4) {
d55e5bfc 41269 {
1bd55598
RD
41270 arg5 = &temp5;
41271 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 41272 }
1bd55598
RD
41273 }
41274 if (obj5) {
41275 ecode6 = SWIG_AsVal_long(obj5, &val6);
41276 if (!SWIG_IsOK(ecode6)) {
41277 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41278 }
41279 arg6 = static_cast< long >(val6);
41280 }
41281 if (obj6) {
41282 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41283 if (!SWIG_IsOK(res7)) {
41284 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 41285 }
1bd55598
RD
41286 if (!argp7) {
41287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 41288 }
1bd55598
RD
41289 arg7 = reinterpret_cast< wxValidator * >(argp7);
41290 }
41291 if (obj7) {
36ed4f51 41292 {
1bd55598
RD
41293 arg8 = wxString_in_helper(obj7);
41294 if (arg8 == NULL) SWIG_fail;
41295 temp8 = true;
36ed4f51 41296 }
1bd55598
RD
41297 }
41298 {
41299 if (!wxPyCheckForApp()) SWIG_fail;
41300 PyThreadState* __tstate = wxPyBeginAllowThreads();
41301 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41302 wxPyEndAllowThreads(__tstate);
41303 if (PyErr_Occurred()) SWIG_fail;
41304 }
41305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41306 {
41307 if (temp8)
41308 delete arg8;
41309 }
41310 return resultobj;
41311fail:
41312 {
41313 if (temp8)
41314 delete arg8;
41315 }
41316 return NULL;
d55e5bfc
RD
41317}
41318
41319
1bd55598
RD
41320SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41321 PyObject *resultobj = 0;
41322 wxDatePickerCtrl *result = 0 ;
41323
41324 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41325 {
41326 if (!wxPyCheckForApp()) SWIG_fail;
41327 PyThreadState* __tstate = wxPyBeginAllowThreads();
41328 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41329 wxPyEndAllowThreads(__tstate);
41330 if (PyErr_Occurred()) SWIG_fail;
41331 }
41332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41333 return resultobj;
41334fail:
41335 return NULL;
41336}
41337
41338
41339SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41340 PyObject *resultobj = 0;
41341 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41342 wxWindow *arg2 = (wxWindow *) 0 ;
41343 int arg3 = (int) -1 ;
41344 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41345 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41346 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41347 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41348 wxSize const &arg6_defvalue = wxDefaultSize ;
41349 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41350 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41351 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41352 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41353 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41354 wxString *arg9 = (wxString *) &arg9_defvalue ;
41355 bool result;
41356 void *argp1 = 0 ;
41357 int res1 = 0 ;
41358 void *argp2 = 0 ;
41359 int res2 = 0 ;
41360 int val3 ;
41361 int ecode3 = 0 ;
41362 void *argp4 = 0 ;
41363 int res4 = 0 ;
41364 wxPoint temp5 ;
41365 wxSize temp6 ;
41366 long val7 ;
41367 int ecode7 = 0 ;
41368 void *argp8 = 0 ;
41369 int res8 = 0 ;
41370 bool temp9 = false ;
41371 PyObject * obj0 = 0 ;
41372 PyObject * obj1 = 0 ;
41373 PyObject * obj2 = 0 ;
41374 PyObject * obj3 = 0 ;
41375 PyObject * obj4 = 0 ;
41376 PyObject * obj5 = 0 ;
41377 PyObject * obj6 = 0 ;
41378 PyObject * obj7 = 0 ;
41379 PyObject * obj8 = 0 ;
41380 char * kwnames[] = {
41381 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41382 };
41383
41384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41386 if (!SWIG_IsOK(res1)) {
41387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41388 }
41389 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41391 if (!SWIG_IsOK(res2)) {
41392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41393 }
41394 arg2 = reinterpret_cast< wxWindow * >(argp2);
41395 if (obj2) {
41396 ecode3 = SWIG_AsVal_int(obj2, &val3);
41397 if (!SWIG_IsOK(ecode3)) {
41398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41399 }
41400 arg3 = static_cast< int >(val3);
41401 }
41402 if (obj3) {
41403 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41404 if (!SWIG_IsOK(res4)) {
41405 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
36ed4f51 41406 }
1bd55598
RD
41407 if (!argp4) {
41408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41409 }
1bd55598
RD
41410 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41411 }
41412 if (obj4) {
d55e5bfc 41413 {
1bd55598
RD
41414 arg5 = &temp5;
41415 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 41416 }
1bd55598
RD
41417 }
41418 if (obj5) {
d55e5bfc 41419 {
1bd55598
RD
41420 arg6 = &temp6;
41421 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41422 }
1bd55598
RD
41423 }
41424 if (obj6) {
41425 ecode7 = SWIG_AsVal_long(obj6, &val7);
41426 if (!SWIG_IsOK(ecode7)) {
41427 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41428 }
41429 arg7 = static_cast< long >(val7);
41430 }
41431 if (obj7) {
41432 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41433 if (!SWIG_IsOK(res8)) {
41434 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 41435 }
1bd55598
RD
41436 if (!argp8) {
41437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41438 }
1bd55598
RD
41439 arg8 = reinterpret_cast< wxValidator * >(argp8);
41440 }
41441 if (obj8) {
36ed4f51 41442 {
1bd55598
RD
41443 arg9 = wxString_in_helper(obj8);
41444 if (arg9 == NULL) SWIG_fail;
41445 temp9 = true;
36ed4f51 41446 }
1bd55598
RD
41447 }
41448 {
41449 PyThreadState* __tstate = wxPyBeginAllowThreads();
41450 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41451 wxPyEndAllowThreads(__tstate);
41452 if (PyErr_Occurred()) SWIG_fail;
41453 }
41454 {
41455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41456 }
41457 {
41458 if (temp9)
41459 delete arg9;
41460 }
41461 return resultobj;
41462fail:
41463 {
41464 if (temp9)
41465 delete arg9;
41466 }
41467 return NULL;
41468}
41469
41470
41471SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41472 PyObject *resultobj = 0;
41473 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41474 wxDateTime *arg2 = 0 ;
41475 void *argp1 = 0 ;
41476 int res1 = 0 ;
41477 void *argp2 = 0 ;
41478 int res2 = 0 ;
41479 PyObject * obj0 = 0 ;
41480 PyObject * obj1 = 0 ;
41481 char * kwnames[] = {
41482 (char *) "self",(char *) "dt", NULL
41483 };
41484
41485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41487 if (!SWIG_IsOK(res1)) {
41488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41489 }
41490 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41491 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41492 if (!SWIG_IsOK(res2)) {
41493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41494 }
41495 if (!argp2) {
41496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41497 }
41498 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41499 {
41500 PyThreadState* __tstate = wxPyBeginAllowThreads();
41501 (arg1)->SetValue((wxDateTime const &)*arg2);
41502 wxPyEndAllowThreads(__tstate);
41503 if (PyErr_Occurred()) SWIG_fail;
41504 }
41505 resultobj = SWIG_Py_Void();
41506 return resultobj;
41507fail:
41508 return NULL;
d55e5bfc
RD
41509}
41510
41511
1bd55598
RD
41512SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41513 PyObject *resultobj = 0;
41514 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41515 wxDateTime result;
41516 void *argp1 = 0 ;
41517 int res1 = 0 ;
41518 PyObject *swig_obj[1] ;
41519
41520 if (!args) SWIG_fail;
41521 swig_obj[0] = args;
41522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41523 if (!SWIG_IsOK(res1)) {
41524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41525 }
41526 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41527 {
41528 PyThreadState* __tstate = wxPyBeginAllowThreads();
41529 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41530 wxPyEndAllowThreads(__tstate);
41531 if (PyErr_Occurred()) SWIG_fail;
41532 }
41533 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41534 return resultobj;
41535fail:
41536 return NULL;
41537}
41538
41539
41540SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41541 PyObject *resultobj = 0;
41542 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41543 wxDateTime *arg2 = 0 ;
41544 wxDateTime *arg3 = 0 ;
41545 void *argp1 = 0 ;
41546 int res1 = 0 ;
41547 void *argp2 = 0 ;
41548 int res2 = 0 ;
41549 void *argp3 = 0 ;
41550 int res3 = 0 ;
41551 PyObject * obj0 = 0 ;
41552 PyObject * obj1 = 0 ;
41553 PyObject * obj2 = 0 ;
41554 char * kwnames[] = {
41555 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41556 };
41557
41558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41560 if (!SWIG_IsOK(res1)) {
41561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41562 }
41563 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41565 if (!SWIG_IsOK(res2)) {
41566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41567 }
41568 if (!argp2) {
41569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41570 }
41571 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41572 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41573 if (!SWIG_IsOK(res3)) {
41574 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41575 }
41576 if (!argp3) {
41577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41578 }
41579 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41580 {
41581 PyThreadState* __tstate = wxPyBeginAllowThreads();
41582 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41583 wxPyEndAllowThreads(__tstate);
41584 if (PyErr_Occurred()) SWIG_fail;
41585 }
41586 resultobj = SWIG_Py_Void();
41587 return resultobj;
41588fail:
41589 return NULL;
d55e5bfc
RD
41590}
41591
41592
1bd55598
RD
41593SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41594 PyObject *resultobj = 0;
41595 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41596 wxDateTime result;
41597 void *argp1 = 0 ;
41598 int res1 = 0 ;
41599 PyObject *swig_obj[1] ;
41600
41601 if (!args) SWIG_fail;
41602 swig_obj[0] = args;
41603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41604 if (!SWIG_IsOK(res1)) {
41605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41606 }
41607 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41608 {
41609 PyThreadState* __tstate = wxPyBeginAllowThreads();
41610 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41611 wxPyEndAllowThreads(__tstate);
41612 if (PyErr_Occurred()) SWIG_fail;
41613 }
41614 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41615 return resultobj;
41616fail:
41617 return NULL;
d55e5bfc
RD
41618}
41619
41620
1bd55598
RD
41621SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41622 PyObject *resultobj = 0;
41623 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41624 wxDateTime result;
41625 void *argp1 = 0 ;
41626 int res1 = 0 ;
41627 PyObject *swig_obj[1] ;
41628
41629 if (!args) SWIG_fail;
41630 swig_obj[0] = args;
41631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41632 if (!SWIG_IsOK(res1)) {
41633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41634 }
41635 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41636 {
41637 PyThreadState* __tstate = wxPyBeginAllowThreads();
41638 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41639 wxPyEndAllowThreads(__tstate);
41640 if (PyErr_Occurred()) SWIG_fail;
41641 }
41642 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41643 return resultobj;
41644fail:
41645 return NULL;
d55e5bfc
RD
41646}
41647
41648
1bd55598
RD
41649SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41650 PyObject *obj;
41651 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41652 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41653 return SWIG_Py_Void();
d55e5bfc
RD
41654}
41655
1bd55598
RD
41656SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41657 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
41658}
41659
704eda0c
RD
41660SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41661 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41662 return 1;
41663}
41664
41665
41666SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41667 PyObject *pyobj = 0;
41668
41669 {
41670#if wxUSE_UNICODE
41671 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41672#else
41673 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41674#endif
41675 }
41676 return pyobj;
41677}
41678
41679
41680SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41681 PyObject *resultobj = 0;
41682 wxWindow *arg1 = (wxWindow *) 0 ;
41683 int arg2 ;
41684 wxString *arg3 = 0 ;
41685 wxString *arg4 = 0 ;
41686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41688 wxSize const &arg6_defvalue = wxDefaultSize ;
41689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41690 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41691 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41692 wxString *arg8 = (wxString *) &arg8_defvalue ;
41693 wxHyperlinkCtrl *result = 0 ;
41694 void *argp1 = 0 ;
41695 int res1 = 0 ;
41696 int val2 ;
41697 int ecode2 = 0 ;
41698 bool temp3 = false ;
41699 bool temp4 = false ;
41700 wxPoint temp5 ;
41701 wxSize temp6 ;
41702 long val7 ;
41703 int ecode7 = 0 ;
41704 bool temp8 = false ;
41705 PyObject * obj0 = 0 ;
41706 PyObject * obj1 = 0 ;
41707 PyObject * obj2 = 0 ;
41708 PyObject * obj3 = 0 ;
41709 PyObject * obj4 = 0 ;
41710 PyObject * obj5 = 0 ;
41711 PyObject * obj6 = 0 ;
41712 PyObject * obj7 = 0 ;
41713 char * kwnames[] = {
41714 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41715 };
41716
41717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41719 if (!SWIG_IsOK(res1)) {
41720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41721 }
41722 arg1 = reinterpret_cast< wxWindow * >(argp1);
41723 ecode2 = SWIG_AsVal_int(obj1, &val2);
41724 if (!SWIG_IsOK(ecode2)) {
41725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41726 }
41727 arg2 = static_cast< int >(val2);
41728 {
41729 arg3 = wxString_in_helper(obj2);
41730 if (arg3 == NULL) SWIG_fail;
41731 temp3 = true;
41732 }
41733 {
41734 arg4 = wxString_in_helper(obj3);
41735 if (arg4 == NULL) SWIG_fail;
41736 temp4 = true;
41737 }
41738 if (obj4) {
41739 {
41740 arg5 = &temp5;
41741 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41742 }
41743 }
41744 if (obj5) {
41745 {
41746 arg6 = &temp6;
41747 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41748 }
41749 }
41750 if (obj6) {
41751 ecode7 = SWIG_AsVal_long(obj6, &val7);
41752 if (!SWIG_IsOK(ecode7)) {
41753 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41754 }
41755 arg7 = static_cast< long >(val7);
41756 }
41757 if (obj7) {
41758 {
41759 arg8 = wxString_in_helper(obj7);
41760 if (arg8 == NULL) SWIG_fail;
41761 temp8 = true;
41762 }
41763 }
41764 {
41765 if (!wxPyCheckForApp()) SWIG_fail;
41766 PyThreadState* __tstate = wxPyBeginAllowThreads();
41767 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41768 wxPyEndAllowThreads(__tstate);
41769 if (PyErr_Occurred()) SWIG_fail;
41770 }
41771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41772 {
41773 if (temp3)
41774 delete arg3;
41775 }
41776 {
41777 if (temp4)
41778 delete arg4;
41779 }
41780 {
41781 if (temp8)
41782 delete arg8;
41783 }
41784 return resultobj;
41785fail:
41786 {
41787 if (temp3)
41788 delete arg3;
41789 }
41790 {
41791 if (temp4)
41792 delete arg4;
41793 }
41794 {
41795 if (temp8)
41796 delete arg8;
41797 }
41798 return NULL;
41799}
41800
41801
41802SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41803 PyObject *resultobj = 0;
41804 wxHyperlinkCtrl *result = 0 ;
41805
41806 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41807 {
41808 if (!wxPyCheckForApp()) SWIG_fail;
41809 PyThreadState* __tstate = wxPyBeginAllowThreads();
41810 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41811 wxPyEndAllowThreads(__tstate);
41812 if (PyErr_Occurred()) SWIG_fail;
41813 }
41814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41815 return resultobj;
41816fail:
41817 return NULL;
41818}
41819
41820
41821SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41822 PyObject *resultobj = 0;
41823 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41824 wxWindow *arg2 = (wxWindow *) 0 ;
41825 int arg3 ;
41826 wxString *arg4 = 0 ;
41827 wxString *arg5 = 0 ;
41828 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41829 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41830 wxSize const &arg7_defvalue = wxDefaultSize ;
41831 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41832 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41833 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41834 wxString *arg9 = (wxString *) &arg9_defvalue ;
41835 bool result;
41836 void *argp1 = 0 ;
41837 int res1 = 0 ;
41838 void *argp2 = 0 ;
41839 int res2 = 0 ;
41840 int val3 ;
41841 int ecode3 = 0 ;
41842 bool temp4 = false ;
41843 bool temp5 = false ;
41844 wxPoint temp6 ;
41845 wxSize temp7 ;
41846 long val8 ;
41847 int ecode8 = 0 ;
41848 bool temp9 = false ;
41849 PyObject * obj0 = 0 ;
41850 PyObject * obj1 = 0 ;
41851 PyObject * obj2 = 0 ;
41852 PyObject * obj3 = 0 ;
41853 PyObject * obj4 = 0 ;
41854 PyObject * obj5 = 0 ;
41855 PyObject * obj6 = 0 ;
41856 PyObject * obj7 = 0 ;
41857 PyObject * obj8 = 0 ;
41858 char * kwnames[] = {
41859 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41860 };
41861
41862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41864 if (!SWIG_IsOK(res1)) {
41865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41866 }
41867 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41868 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41869 if (!SWIG_IsOK(res2)) {
41870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41871 }
41872 arg2 = reinterpret_cast< wxWindow * >(argp2);
41873 ecode3 = SWIG_AsVal_int(obj2, &val3);
41874 if (!SWIG_IsOK(ecode3)) {
41875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41876 }
41877 arg3 = static_cast< int >(val3);
41878 {
41879 arg4 = wxString_in_helper(obj3);
41880 if (arg4 == NULL) SWIG_fail;
41881 temp4 = true;
41882 }
41883 {
41884 arg5 = wxString_in_helper(obj4);
41885 if (arg5 == NULL) SWIG_fail;
41886 temp5 = true;
41887 }
41888 if (obj5) {
41889 {
41890 arg6 = &temp6;
41891 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41892 }
41893 }
41894 if (obj6) {
41895 {
41896 arg7 = &temp7;
41897 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41898 }
41899 }
41900 if (obj7) {
41901 ecode8 = SWIG_AsVal_long(obj7, &val8);
41902 if (!SWIG_IsOK(ecode8)) {
41903 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41904 }
41905 arg8 = static_cast< long >(val8);
41906 }
41907 if (obj8) {
41908 {
41909 arg9 = wxString_in_helper(obj8);
41910 if (arg9 == NULL) SWIG_fail;
41911 temp9 = true;
41912 }
41913 }
41914 {
41915 PyThreadState* __tstate = wxPyBeginAllowThreads();
41916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41917 wxPyEndAllowThreads(__tstate);
41918 if (PyErr_Occurred()) SWIG_fail;
41919 }
41920 {
41921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41922 }
41923 {
41924 if (temp4)
41925 delete arg4;
41926 }
41927 {
41928 if (temp5)
41929 delete arg5;
41930 }
41931 {
41932 if (temp9)
41933 delete arg9;
41934 }
41935 return resultobj;
41936fail:
41937 {
41938 if (temp4)
41939 delete arg4;
41940 }
41941 {
41942 if (temp5)
41943 delete arg5;
41944 }
41945 {
41946 if (temp9)
41947 delete arg9;
41948 }
41949 return NULL;
41950}
41951
41952
41953SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41954 PyObject *resultobj = 0;
41955 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41956 wxColour result;
41957 void *argp1 = 0 ;
41958 int res1 = 0 ;
41959 PyObject *swig_obj[1] ;
41960
41961 if (!args) SWIG_fail;
41962 swig_obj[0] = args;
41963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41964 if (!SWIG_IsOK(res1)) {
41965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41966 }
41967 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41968 {
41969 PyThreadState* __tstate = wxPyBeginAllowThreads();
41970 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
41971 wxPyEndAllowThreads(__tstate);
41972 if (PyErr_Occurred()) SWIG_fail;
41973 }
41974 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41975 return resultobj;
41976fail:
41977 return NULL;
41978}
41979
41980
41981SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41982 PyObject *resultobj = 0;
41983 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41984 wxColour *arg2 = 0 ;
41985 void *argp1 = 0 ;
41986 int res1 = 0 ;
41987 wxColour temp2 ;
41988 PyObject * obj0 = 0 ;
41989 PyObject * obj1 = 0 ;
41990 char * kwnames[] = {
41991 (char *) "self",(char *) "colour", NULL
41992 };
41993
41994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
41995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41996 if (!SWIG_IsOK(res1)) {
41997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41998 }
41999 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42000 {
42001 arg2 = &temp2;
42002 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42003 }
42004 {
42005 PyThreadState* __tstate = wxPyBeginAllowThreads();
42006 (arg1)->SetHoverColour((wxColour const &)*arg2);
42007 wxPyEndAllowThreads(__tstate);
42008 if (PyErr_Occurred()) SWIG_fail;
42009 }
42010 resultobj = SWIG_Py_Void();
42011 return resultobj;
42012fail:
42013 return NULL;
42014}
42015
42016
42017SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42018 PyObject *resultobj = 0;
42019 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42020 wxColour result;
42021 void *argp1 = 0 ;
42022 int res1 = 0 ;
42023 PyObject *swig_obj[1] ;
42024
42025 if (!args) SWIG_fail;
42026 swig_obj[0] = args;
42027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42028 if (!SWIG_IsOK(res1)) {
42029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42030 }
42031 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42032 {
42033 PyThreadState* __tstate = wxPyBeginAllowThreads();
42034 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42035 wxPyEndAllowThreads(__tstate);
42036 if (PyErr_Occurred()) SWIG_fail;
42037 }
42038 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42039 return resultobj;
42040fail:
42041 return NULL;
42042}
42043
42044
42045SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42046 PyObject *resultobj = 0;
42047 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42048 wxColour *arg2 = 0 ;
42049 void *argp1 = 0 ;
42050 int res1 = 0 ;
42051 wxColour temp2 ;
42052 PyObject * obj0 = 0 ;
42053 PyObject * obj1 = 0 ;
42054 char * kwnames[] = {
42055 (char *) "self",(char *) "colour", NULL
42056 };
42057
42058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42060 if (!SWIG_IsOK(res1)) {
42061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42062 }
42063 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42064 {
42065 arg2 = &temp2;
42066 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42067 }
42068 {
42069 PyThreadState* __tstate = wxPyBeginAllowThreads();
42070 (arg1)->SetNormalColour((wxColour const &)*arg2);
42071 wxPyEndAllowThreads(__tstate);
42072 if (PyErr_Occurred()) SWIG_fail;
42073 }
42074 resultobj = SWIG_Py_Void();
42075 return resultobj;
42076fail:
42077 return NULL;
42078}
42079
42080
42081SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42082 PyObject *resultobj = 0;
42083 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42084 wxColour result;
42085 void *argp1 = 0 ;
42086 int res1 = 0 ;
42087 PyObject *swig_obj[1] ;
42088
42089 if (!args) SWIG_fail;
42090 swig_obj[0] = args;
42091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42092 if (!SWIG_IsOK(res1)) {
42093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42094 }
42095 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42096 {
42097 PyThreadState* __tstate = wxPyBeginAllowThreads();
42098 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42099 wxPyEndAllowThreads(__tstate);
42100 if (PyErr_Occurred()) SWIG_fail;
42101 }
42102 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42103 return resultobj;
42104fail:
42105 return NULL;
42106}
42107
42108
42109SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42110 PyObject *resultobj = 0;
42111 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42112 wxColour *arg2 = 0 ;
42113 void *argp1 = 0 ;
42114 int res1 = 0 ;
42115 wxColour temp2 ;
42116 PyObject * obj0 = 0 ;
42117 PyObject * obj1 = 0 ;
42118 char * kwnames[] = {
42119 (char *) "self",(char *) "colour", NULL
42120 };
42121
42122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42124 if (!SWIG_IsOK(res1)) {
42125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42126 }
42127 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42128 {
42129 arg2 = &temp2;
42130 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42131 }
42132 {
42133 PyThreadState* __tstate = wxPyBeginAllowThreads();
42134 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42135 wxPyEndAllowThreads(__tstate);
42136 if (PyErr_Occurred()) SWIG_fail;
42137 }
42138 resultobj = SWIG_Py_Void();
42139 return resultobj;
42140fail:
42141 return NULL;
42142}
42143
42144
42145SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42146 PyObject *resultobj = 0;
42147 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42148 wxString result;
42149 void *argp1 = 0 ;
42150 int res1 = 0 ;
42151 PyObject *swig_obj[1] ;
42152
42153 if (!args) SWIG_fail;
42154 swig_obj[0] = args;
42155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42156 if (!SWIG_IsOK(res1)) {
42157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42158 }
42159 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42160 {
42161 PyThreadState* __tstate = wxPyBeginAllowThreads();
42162 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42163 wxPyEndAllowThreads(__tstate);
42164 if (PyErr_Occurred()) SWIG_fail;
42165 }
42166 {
42167#if wxUSE_UNICODE
42168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42169#else
42170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42171#endif
42172 }
42173 return resultobj;
42174fail:
42175 return NULL;
42176}
42177
42178
42179SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42180 PyObject *resultobj = 0;
42181 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42182 wxString *arg2 = 0 ;
42183 void *argp1 = 0 ;
42184 int res1 = 0 ;
42185 bool temp2 = false ;
42186 PyObject * obj0 = 0 ;
42187 PyObject * obj1 = 0 ;
42188 char * kwnames[] = {
42189 (char *) "self",(char *) "url", NULL
42190 };
42191
42192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42194 if (!SWIG_IsOK(res1)) {
42195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42196 }
42197 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42198 {
42199 arg2 = wxString_in_helper(obj1);
42200 if (arg2 == NULL) SWIG_fail;
42201 temp2 = true;
42202 }
42203 {
42204 PyThreadState* __tstate = wxPyBeginAllowThreads();
42205 (arg1)->SetURL((wxString const &)*arg2);
42206 wxPyEndAllowThreads(__tstate);
42207 if (PyErr_Occurred()) SWIG_fail;
42208 }
42209 resultobj = SWIG_Py_Void();
42210 {
42211 if (temp2)
42212 delete arg2;
42213 }
42214 return resultobj;
42215fail:
42216 {
42217 if (temp2)
42218 delete arg2;
42219 }
42220 return NULL;
42221}
42222
42223
42224SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42225 PyObject *resultobj = 0;
42226 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42227 bool arg2 = (bool) true ;
42228 void *argp1 = 0 ;
42229 int res1 = 0 ;
42230 bool val2 ;
42231 int ecode2 = 0 ;
42232 PyObject * obj0 = 0 ;
42233 PyObject * obj1 = 0 ;
42234 char * kwnames[] = {
42235 (char *) "self",(char *) "visited", NULL
42236 };
42237
42238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42240 if (!SWIG_IsOK(res1)) {
42241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42242 }
42243 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42244 if (obj1) {
42245 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42246 if (!SWIG_IsOK(ecode2)) {
42247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42248 }
42249 arg2 = static_cast< bool >(val2);
42250 }
42251 {
42252 PyThreadState* __tstate = wxPyBeginAllowThreads();
42253 (arg1)->SetVisited(arg2);
42254 wxPyEndAllowThreads(__tstate);
42255 if (PyErr_Occurred()) SWIG_fail;
42256 }
42257 resultobj = SWIG_Py_Void();
42258 return resultobj;
42259fail:
42260 return NULL;
42261}
42262
42263
42264SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42265 PyObject *resultobj = 0;
42266 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42267 bool result;
42268 void *argp1 = 0 ;
42269 int res1 = 0 ;
42270 PyObject *swig_obj[1] ;
42271
42272 if (!args) SWIG_fail;
42273 swig_obj[0] = args;
42274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42275 if (!SWIG_IsOK(res1)) {
42276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42277 }
42278 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42279 {
42280 PyThreadState* __tstate = wxPyBeginAllowThreads();
42281 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42282 wxPyEndAllowThreads(__tstate);
42283 if (PyErr_Occurred()) SWIG_fail;
42284 }
42285 {
42286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42287 }
42288 return resultobj;
42289fail:
42290 return NULL;
42291}
42292
42293
42294SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42295 PyObject *obj;
42296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42297 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42298 return SWIG_Py_Void();
42299}
42300
42301SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42302 return SWIG_Python_InitShadowInstance(args);
42303}
42304
42305SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42306 PyObject *resultobj = 0;
42307 wxObject *arg1 = (wxObject *) 0 ;
42308 int arg2 ;
42309 wxString *arg3 = 0 ;
42310 wxHyperlinkEvent *result = 0 ;
42311 void *argp1 = 0 ;
42312 int res1 = 0 ;
42313 int val2 ;
42314 int ecode2 = 0 ;
42315 bool temp3 = false ;
42316 PyObject * obj0 = 0 ;
42317 PyObject * obj1 = 0 ;
42318 PyObject * obj2 = 0 ;
42319 char * kwnames[] = {
42320 (char *) "generator",(char *) "id",(char *) "url", NULL
42321 };
42322
42323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42325 if (!SWIG_IsOK(res1)) {
42326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42327 }
42328 arg1 = reinterpret_cast< wxObject * >(argp1);
42329 ecode2 = SWIG_AsVal_int(obj1, &val2);
42330 if (!SWIG_IsOK(ecode2)) {
42331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42332 }
42333 arg2 = static_cast< int >(val2);
42334 {
42335 arg3 = wxString_in_helper(obj2);
42336 if (arg3 == NULL) SWIG_fail;
42337 temp3 = true;
42338 }
42339 {
42340 PyThreadState* __tstate = wxPyBeginAllowThreads();
42341 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42342 wxPyEndAllowThreads(__tstate);
42343 if (PyErr_Occurred()) SWIG_fail;
42344 }
42345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42346 {
42347 if (temp3)
42348 delete arg3;
42349 }
42350 return resultobj;
42351fail:
42352 {
42353 if (temp3)
42354 delete arg3;
42355 }
42356 return NULL;
42357}
42358
42359
42360SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42361 PyObject *resultobj = 0;
42362 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42363 wxString result;
42364 void *argp1 = 0 ;
42365 int res1 = 0 ;
42366 PyObject *swig_obj[1] ;
42367
42368 if (!args) SWIG_fail;
42369 swig_obj[0] = args;
42370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42371 if (!SWIG_IsOK(res1)) {
42372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42373 }
42374 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42375 {
42376 PyThreadState* __tstate = wxPyBeginAllowThreads();
42377 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42378 wxPyEndAllowThreads(__tstate);
42379 if (PyErr_Occurred()) SWIG_fail;
42380 }
42381 {
42382#if wxUSE_UNICODE
42383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42384#else
42385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42386#endif
42387 }
42388 return resultobj;
42389fail:
42390 return NULL;
42391}
42392
42393
42394SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42395 PyObject *resultobj = 0;
42396 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42397 wxString *arg2 = 0 ;
42398 void *argp1 = 0 ;
42399 int res1 = 0 ;
42400 bool temp2 = false ;
42401 PyObject * obj0 = 0 ;
42402 PyObject * obj1 = 0 ;
42403 char * kwnames[] = {
42404 (char *) "self",(char *) "url", NULL
42405 };
42406
42407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42409 if (!SWIG_IsOK(res1)) {
42410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42411 }
42412 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42413 {
42414 arg2 = wxString_in_helper(obj1);
42415 if (arg2 == NULL) SWIG_fail;
42416 temp2 = true;
42417 }
42418 {
42419 PyThreadState* __tstate = wxPyBeginAllowThreads();
42420 (arg1)->SetURL((wxString const &)*arg2);
42421 wxPyEndAllowThreads(__tstate);
42422 if (PyErr_Occurred()) SWIG_fail;
42423 }
42424 resultobj = SWIG_Py_Void();
42425 {
42426 if (temp2)
42427 delete arg2;
42428 }
42429 return resultobj;
42430fail:
42431 {
42432 if (temp2)
42433 delete arg2;
42434 }
42435 return NULL;
42436}
42437
42438
42439SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42440 PyObject *obj;
42441 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42442 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42443 return SWIG_Py_Void();
42444}
42445
42446SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42447 return SWIG_Python_InitShadowInstance(args);
42448}
42449
b850e7f3
RD
42450SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42451 PyObject *resultobj = 0;
42452 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42453 wxWindow *arg2 = (wxWindow *) 0 ;
42454 int arg3 ;
42455 wxString const &arg4_defvalue = wxEmptyString ;
42456 wxString *arg4 = (wxString *) &arg4_defvalue ;
42457 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42458 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42459 wxSize const &arg6_defvalue = wxDefaultSize ;
42460 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42461 long arg7 = (long) 0 ;
42462 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42463 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42464 wxString const &arg9_defvalue = wxButtonNameStr ;
42465 wxString *arg9 = (wxString *) &arg9_defvalue ;
42466 bool result;
42467 void *argp1 = 0 ;
42468 int res1 = 0 ;
42469 void *argp2 = 0 ;
42470 int res2 = 0 ;
42471 int val3 ;
42472 int ecode3 = 0 ;
42473 bool temp4 = false ;
42474 wxPoint temp5 ;
42475 wxSize temp6 ;
42476 long val7 ;
42477 int ecode7 = 0 ;
42478 void *argp8 = 0 ;
42479 int res8 = 0 ;
42480 bool temp9 = false ;
42481 PyObject * obj0 = 0 ;
42482 PyObject * obj1 = 0 ;
42483 PyObject * obj2 = 0 ;
42484 PyObject * obj3 = 0 ;
42485 PyObject * obj4 = 0 ;
42486 PyObject * obj5 = 0 ;
42487 PyObject * obj6 = 0 ;
42488 PyObject * obj7 = 0 ;
42489 PyObject * obj8 = 0 ;
42490 char * kwnames[] = {
42491 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42492 };
42493
42494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42496 if (!SWIG_IsOK(res1)) {
42497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42498 }
42499 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42501 if (!SWIG_IsOK(res2)) {
42502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42503 }
42504 arg2 = reinterpret_cast< wxWindow * >(argp2);
42505 ecode3 = SWIG_AsVal_int(obj2, &val3);
42506 if (!SWIG_IsOK(ecode3)) {
42507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42508 }
42509 arg3 = static_cast< int >(val3);
42510 if (obj3) {
42511 {
42512 arg4 = wxString_in_helper(obj3);
42513 if (arg4 == NULL) SWIG_fail;
42514 temp4 = true;
42515 }
42516 }
42517 if (obj4) {
42518 {
42519 arg5 = &temp5;
42520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42521 }
42522 }
42523 if (obj5) {
42524 {
42525 arg6 = &temp6;
42526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42527 }
42528 }
42529 if (obj6) {
42530 ecode7 = SWIG_AsVal_long(obj6, &val7);
42531 if (!SWIG_IsOK(ecode7)) {
42532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42533 }
42534 arg7 = static_cast< long >(val7);
42535 }
42536 if (obj7) {
42537 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42538 if (!SWIG_IsOK(res8)) {
42539 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42540 }
42541 if (!argp8) {
42542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42543 }
42544 arg8 = reinterpret_cast< wxValidator * >(argp8);
42545 }
42546 if (obj8) {
42547 {
42548 arg9 = wxString_in_helper(obj8);
42549 if (arg9 == NULL) SWIG_fail;
42550 temp9 = true;
42551 }
42552 }
42553 {
42554 PyThreadState* __tstate = wxPyBeginAllowThreads();
42555 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42556 wxPyEndAllowThreads(__tstate);
42557 if (PyErr_Occurred()) SWIG_fail;
42558 }
42559 {
42560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42561 }
42562 {
42563 if (temp4)
42564 delete arg4;
42565 }
42566 {
42567 if (temp9)
42568 delete arg9;
42569 }
42570 return resultobj;
42571fail:
42572 {
42573 if (temp4)
42574 delete arg4;
42575 }
42576 {
42577 if (temp9)
42578 delete arg9;
42579 }
42580 return NULL;
42581}
42582
42583
42584SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42585 PyObject *resultobj = 0;
42586 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42587 int arg2 ;
42588 void *argp1 = 0 ;
42589 int res1 = 0 ;
42590 int val2 ;
42591 int ecode2 = 0 ;
42592 PyObject * obj0 = 0 ;
42593 PyObject * obj1 = 0 ;
42594 char * kwnames[] = {
42595 (char *) "self",(char *) "newmargin", NULL
42596 };
42597
42598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42600 if (!SWIG_IsOK(res1)) {
42601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42602 }
42603 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42604 ecode2 = SWIG_AsVal_int(obj1, &val2);
42605 if (!SWIG_IsOK(ecode2)) {
42606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42607 }
42608 arg2 = static_cast< int >(val2);
42609 {
42610 PyThreadState* __tstate = wxPyBeginAllowThreads();
42611 (arg1)->SetInternalMargin(arg2);
42612 wxPyEndAllowThreads(__tstate);
42613 if (PyErr_Occurred()) SWIG_fail;
42614 }
42615 resultobj = SWIG_Py_Void();
42616 return resultobj;
42617fail:
42618 return NULL;
42619}
42620
42621
42622SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42623 PyObject *resultobj = 0;
42624 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42625 int result;
42626 void *argp1 = 0 ;
42627 int res1 = 0 ;
42628 PyObject *swig_obj[1] ;
42629
42630 if (!args) SWIG_fail;
42631 swig_obj[0] = args;
42632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42633 if (!SWIG_IsOK(res1)) {
42634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42635 }
42636 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42637 {
42638 PyThreadState* __tstate = wxPyBeginAllowThreads();
42639 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42640 wxPyEndAllowThreads(__tstate);
42641 if (PyErr_Occurred()) SWIG_fail;
42642 }
42643 resultobj = SWIG_From_int(static_cast< int >(result));
42644 return resultobj;
42645fail:
42646 return NULL;
42647}
42648
42649
42650SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42651 PyObject *resultobj = 0;
42652 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42653 int arg2 ;
42654 void *argp1 = 0 ;
42655 int res1 = 0 ;
42656 int val2 ;
42657 int ecode2 = 0 ;
42658 PyObject * obj0 = 0 ;
42659 PyObject * obj1 = 0 ;
42660 char * kwnames[] = {
42661 (char *) "self",(char *) "prop", NULL
42662 };
42663
42664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42666 if (!SWIG_IsOK(res1)) {
42667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42668 }
42669 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42670 ecode2 = SWIG_AsVal_int(obj1, &val2);
42671 if (!SWIG_IsOK(ecode2)) {
42672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42673 }
42674 arg2 = static_cast< int >(val2);
42675 {
42676 PyThreadState* __tstate = wxPyBeginAllowThreads();
42677 (arg1)->SetTextCtrlProportion(arg2);
42678 wxPyEndAllowThreads(__tstate);
42679 if (PyErr_Occurred()) SWIG_fail;
42680 }
42681 resultobj = SWIG_Py_Void();
42682 return resultobj;
42683fail:
42684 return NULL;
42685}
42686
42687
42688SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42689 PyObject *resultobj = 0;
42690 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42691 int result;
42692 void *argp1 = 0 ;
42693 int res1 = 0 ;
42694 PyObject *swig_obj[1] ;
42695
42696 if (!args) SWIG_fail;
42697 swig_obj[0] = args;
42698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42699 if (!SWIG_IsOK(res1)) {
42700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42701 }
42702 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42703 {
42704 PyThreadState* __tstate = wxPyBeginAllowThreads();
42705 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42706 wxPyEndAllowThreads(__tstate);
42707 if (PyErr_Occurred()) SWIG_fail;
42708 }
42709 resultobj = SWIG_From_int(static_cast< int >(result));
42710 return resultobj;
42711fail:
42712 return NULL;
42713}
42714
42715
1eeb270e
RD
42716SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42717 PyObject *resultobj = 0;
42718 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42719 int arg2 ;
42720 void *argp1 = 0 ;
42721 int res1 = 0 ;
42722 int val2 ;
42723 int ecode2 = 0 ;
42724 PyObject * obj0 = 0 ;
42725 PyObject * obj1 = 0 ;
42726 char * kwnames[] = {
42727 (char *) "self",(char *) "prop", NULL
42728 };
42729
42730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42732 if (!SWIG_IsOK(res1)) {
42733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42734 }
42735 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42736 ecode2 = SWIG_AsVal_int(obj1, &val2);
42737 if (!SWIG_IsOK(ecode2)) {
42738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42739 }
42740 arg2 = static_cast< int >(val2);
42741 {
42742 PyThreadState* __tstate = wxPyBeginAllowThreads();
42743 (arg1)->SetPickerCtrlProportion(arg2);
42744 wxPyEndAllowThreads(__tstate);
42745 if (PyErr_Occurred()) SWIG_fail;
42746 }
42747 resultobj = SWIG_Py_Void();
42748 return resultobj;
42749fail:
42750 return NULL;
42751}
42752
42753
42754SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42755 PyObject *resultobj = 0;
42756 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42757 int result;
42758 void *argp1 = 0 ;
42759 int res1 = 0 ;
42760 PyObject *swig_obj[1] ;
42761
42762 if (!args) SWIG_fail;
42763 swig_obj[0] = args;
42764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42765 if (!SWIG_IsOK(res1)) {
42766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42767 }
42768 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42769 {
42770 PyThreadState* __tstate = wxPyBeginAllowThreads();
42771 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42772 wxPyEndAllowThreads(__tstate);
42773 if (PyErr_Occurred()) SWIG_fail;
42774 }
42775 resultobj = SWIG_From_int(static_cast< int >(result));
42776 return resultobj;
42777fail:
42778 return NULL;
42779}
42780
42781
b02396e8
RD
42782SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42783 PyObject *resultobj = 0;
42784 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42785 bool result;
42786 void *argp1 = 0 ;
42787 int res1 = 0 ;
42788 PyObject *swig_obj[1] ;
42789
42790 if (!args) SWIG_fail;
42791 swig_obj[0] = args;
42792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42793 if (!SWIG_IsOK(res1)) {
42794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42795 }
42796 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42797 {
42798 PyThreadState* __tstate = wxPyBeginAllowThreads();
42799 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42800 wxPyEndAllowThreads(__tstate);
42801 if (PyErr_Occurred()) SWIG_fail;
42802 }
42803 {
42804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42805 }
42806 return resultobj;
42807fail:
42808 return NULL;
42809}
42810
42811
42812SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42813 PyObject *resultobj = 0;
42814 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42815 bool arg2 = (bool) true ;
42816 void *argp1 = 0 ;
42817 int res1 = 0 ;
42818 bool val2 ;
42819 int ecode2 = 0 ;
42820 PyObject * obj0 = 0 ;
42821 PyObject * obj1 = 0 ;
42822 char * kwnames[] = {
42823 (char *) "self",(char *) "grow", NULL
42824 };
42825
42826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42828 if (!SWIG_IsOK(res1)) {
42829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42830 }
42831 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42832 if (obj1) {
42833 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42834 if (!SWIG_IsOK(ecode2)) {
42835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42836 }
42837 arg2 = static_cast< bool >(val2);
42838 }
42839 {
42840 PyThreadState* __tstate = wxPyBeginAllowThreads();
42841 (arg1)->SetTextCtrlGrowable(arg2);
42842 wxPyEndAllowThreads(__tstate);
42843 if (PyErr_Occurred()) SWIG_fail;
42844 }
42845 resultobj = SWIG_Py_Void();
42846 return resultobj;
42847fail:
42848 return NULL;
42849}
42850
42851
42852SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42853 PyObject *resultobj = 0;
42854 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42855 bool result;
42856 void *argp1 = 0 ;
42857 int res1 = 0 ;
42858 PyObject *swig_obj[1] ;
42859
42860 if (!args) SWIG_fail;
42861 swig_obj[0] = args;
42862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42863 if (!SWIG_IsOK(res1)) {
42864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42865 }
42866 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42867 {
42868 PyThreadState* __tstate = wxPyBeginAllowThreads();
42869 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
42870 wxPyEndAllowThreads(__tstate);
42871 if (PyErr_Occurred()) SWIG_fail;
42872 }
42873 {
42874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42875 }
42876 return resultobj;
42877fail:
42878 return NULL;
42879}
42880
42881
42882SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42883 PyObject *resultobj = 0;
42884 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42885 bool arg2 = (bool) true ;
42886 void *argp1 = 0 ;
42887 int res1 = 0 ;
42888 bool val2 ;
42889 int ecode2 = 0 ;
42890 PyObject * obj0 = 0 ;
42891 PyObject * obj1 = 0 ;
42892 char * kwnames[] = {
42893 (char *) "self",(char *) "grow", NULL
42894 };
42895
42896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42898 if (!SWIG_IsOK(res1)) {
42899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42900 }
42901 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42902 if (obj1) {
42903 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42904 if (!SWIG_IsOK(ecode2)) {
42905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42906 }
42907 arg2 = static_cast< bool >(val2);
42908 }
42909 {
42910 PyThreadState* __tstate = wxPyBeginAllowThreads();
42911 (arg1)->SetPickerCtrlGrowable(arg2);
42912 wxPyEndAllowThreads(__tstate);
42913 if (PyErr_Occurred()) SWIG_fail;
42914 }
42915 resultobj = SWIG_Py_Void();
42916 return resultobj;
42917fail:
42918 return NULL;
42919}
42920
42921
b850e7f3
RD
42922SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42923 PyObject *resultobj = 0;
42924 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42925 bool result;
42926 void *argp1 = 0 ;
42927 int res1 = 0 ;
42928 PyObject *swig_obj[1] ;
42929
42930 if (!args) SWIG_fail;
42931 swig_obj[0] = args;
42932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42933 if (!SWIG_IsOK(res1)) {
42934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42935 }
42936 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42937 {
42938 PyThreadState* __tstate = wxPyBeginAllowThreads();
42939 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
42940 wxPyEndAllowThreads(__tstate);
42941 if (PyErr_Occurred()) SWIG_fail;
42942 }
42943 {
42944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42945 }
42946 return resultobj;
42947fail:
42948 return NULL;
42949}
42950
42951
42952SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42953 PyObject *resultobj = 0;
42954 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42955 wxTextCtrl *result = 0 ;
42956 void *argp1 = 0 ;
42957 int res1 = 0 ;
42958 PyObject *swig_obj[1] ;
42959
42960 if (!args) SWIG_fail;
42961 swig_obj[0] = args;
42962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42963 if (!SWIG_IsOK(res1)) {
42964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42965 }
42966 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42967 {
42968 PyThreadState* __tstate = wxPyBeginAllowThreads();
42969 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
42970 wxPyEndAllowThreads(__tstate);
42971 if (PyErr_Occurred()) SWIG_fail;
42972 }
42973 {
42974 resultobj = wxPyMake_wxObject(result, 0);
42975 }
42976 return resultobj;
42977fail:
42978 return NULL;
42979}
42980
42981
42982SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42983 PyObject *resultobj = 0;
42984 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42985 wxControl *result = 0 ;
42986 void *argp1 = 0 ;
42987 int res1 = 0 ;
42988 PyObject *swig_obj[1] ;
42989
42990 if (!args) SWIG_fail;
42991 swig_obj[0] = args;
42992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42993 if (!SWIG_IsOK(res1)) {
42994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42995 }
42996 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42997 {
42998 PyThreadState* __tstate = wxPyBeginAllowThreads();
42999 result = (wxControl *)(arg1)->GetPickerCtrl();
43000 wxPyEndAllowThreads(__tstate);
43001 if (PyErr_Occurred()) SWIG_fail;
43002 }
43003 {
43004 resultobj = wxPyMake_wxObject(result, 0);
43005 }
43006 return resultobj;
43007fail:
43008 return NULL;
43009}
43010
43011
43012SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43013 PyObject *obj;
43014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43016 return SWIG_Py_Void();
43017}
43018
43019SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43020 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43021 return 1;
43022}
43023
43024
43025SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43026 PyObject *pyobj = 0;
43027
43028 {
43029#if wxUSE_UNICODE
43030 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43031#else
43032 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43033#endif
43034 }
43035 return pyobj;
43036}
43037
43038
43039SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43040 PyObject *resultobj = 0;
43041 wxWindow *arg1 = (wxWindow *) 0 ;
43042 int arg2 = (int) -1 ;
43043 wxColour const &arg3_defvalue = *wxBLACK ;
43044 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43047 wxSize const &arg5_defvalue = wxDefaultSize ;
43048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43049 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43052 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43053 wxString *arg8 = (wxString *) &arg8_defvalue ;
43054 wxColourPickerCtrl *result = 0 ;
43055 void *argp1 = 0 ;
43056 int res1 = 0 ;
43057 int val2 ;
43058 int ecode2 = 0 ;
43059 wxColour temp3 ;
43060 wxPoint temp4 ;
43061 wxSize temp5 ;
43062 long val6 ;
43063 int ecode6 = 0 ;
43064 void *argp7 = 0 ;
43065 int res7 = 0 ;
43066 bool temp8 = false ;
43067 PyObject * obj0 = 0 ;
43068 PyObject * obj1 = 0 ;
43069 PyObject * obj2 = 0 ;
43070 PyObject * obj3 = 0 ;
43071 PyObject * obj4 = 0 ;
43072 PyObject * obj5 = 0 ;
43073 PyObject * obj6 = 0 ;
43074 PyObject * obj7 = 0 ;
43075 char * kwnames[] = {
43076 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43077 };
43078
43079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43081 if (!SWIG_IsOK(res1)) {
43082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43083 }
43084 arg1 = reinterpret_cast< wxWindow * >(argp1);
43085 if (obj1) {
43086 ecode2 = SWIG_AsVal_int(obj1, &val2);
43087 if (!SWIG_IsOK(ecode2)) {
43088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43089 }
43090 arg2 = static_cast< int >(val2);
43091 }
43092 if (obj2) {
43093 {
43094 arg3 = &temp3;
43095 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43096 }
43097 }
43098 if (obj3) {
43099 {
43100 arg4 = &temp4;
43101 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43102 }
43103 }
43104 if (obj4) {
43105 {
43106 arg5 = &temp5;
43107 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43108 }
43109 }
43110 if (obj5) {
43111 ecode6 = SWIG_AsVal_long(obj5, &val6);
43112 if (!SWIG_IsOK(ecode6)) {
43113 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43114 }
43115 arg6 = static_cast< long >(val6);
43116 }
43117 if (obj6) {
43118 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43119 if (!SWIG_IsOK(res7)) {
43120 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43121 }
43122 if (!argp7) {
43123 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43124 }
43125 arg7 = reinterpret_cast< wxValidator * >(argp7);
43126 }
43127 if (obj7) {
43128 {
43129 arg8 = wxString_in_helper(obj7);
43130 if (arg8 == NULL) SWIG_fail;
43131 temp8 = true;
43132 }
43133 }
43134 {
43135 if (!wxPyCheckForApp()) SWIG_fail;
43136 PyThreadState* __tstate = wxPyBeginAllowThreads();
43137 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43138 wxPyEndAllowThreads(__tstate);
43139 if (PyErr_Occurred()) SWIG_fail;
43140 }
43141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43142 {
43143 if (temp8)
43144 delete arg8;
43145 }
43146 return resultobj;
43147fail:
43148 {
43149 if (temp8)
43150 delete arg8;
43151 }
43152 return NULL;
43153}
43154
43155
43156SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43157 PyObject *resultobj = 0;
43158 wxColourPickerCtrl *result = 0 ;
43159
43160 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43161 {
43162 if (!wxPyCheckForApp()) SWIG_fail;
43163 PyThreadState* __tstate = wxPyBeginAllowThreads();
43164 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43165 wxPyEndAllowThreads(__tstate);
43166 if (PyErr_Occurred()) SWIG_fail;
43167 }
43168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43169 return resultobj;
43170fail:
43171 return NULL;
43172}
43173
43174
43175SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43176 PyObject *resultobj = 0;
43177 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43178 wxWindow *arg2 = (wxWindow *) 0 ;
43179 int arg3 ;
43180 wxColour const &arg4_defvalue = *wxBLACK ;
43181 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43182 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43183 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43184 wxSize const &arg6_defvalue = wxDefaultSize ;
43185 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43186 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43187 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43188 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43189 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43190 wxString *arg9 = (wxString *) &arg9_defvalue ;
43191 bool result;
43192 void *argp1 = 0 ;
43193 int res1 = 0 ;
43194 void *argp2 = 0 ;
43195 int res2 = 0 ;
43196 int val3 ;
43197 int ecode3 = 0 ;
43198 wxColour temp4 ;
43199 wxPoint temp5 ;
43200 wxSize temp6 ;
43201 long val7 ;
43202 int ecode7 = 0 ;
43203 void *argp8 = 0 ;
43204 int res8 = 0 ;
43205 bool temp9 = false ;
43206 PyObject * obj0 = 0 ;
43207 PyObject * obj1 = 0 ;
43208 PyObject * obj2 = 0 ;
43209 PyObject * obj3 = 0 ;
43210 PyObject * obj4 = 0 ;
43211 PyObject * obj5 = 0 ;
43212 PyObject * obj6 = 0 ;
43213 PyObject * obj7 = 0 ;
43214 PyObject * obj8 = 0 ;
43215 char * kwnames[] = {
43216 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43217 };
43218
43219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43221 if (!SWIG_IsOK(res1)) {
43222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43223 }
43224 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43226 if (!SWIG_IsOK(res2)) {
43227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43228 }
43229 arg2 = reinterpret_cast< wxWindow * >(argp2);
43230 ecode3 = SWIG_AsVal_int(obj2, &val3);
43231 if (!SWIG_IsOK(ecode3)) {
43232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43233 }
43234 arg3 = static_cast< int >(val3);
43235 if (obj3) {
43236 {
43237 arg4 = &temp4;
43238 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43239 }
43240 }
43241 if (obj4) {
43242 {
43243 arg5 = &temp5;
43244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43245 }
43246 }
43247 if (obj5) {
43248 {
43249 arg6 = &temp6;
43250 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43251 }
43252 }
43253 if (obj6) {
43254 ecode7 = SWIG_AsVal_long(obj6, &val7);
43255 if (!SWIG_IsOK(ecode7)) {
43256 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43257 }
43258 arg7 = static_cast< long >(val7);
43259 }
43260 if (obj7) {
43261 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43262 if (!SWIG_IsOK(res8)) {
43263 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43264 }
43265 if (!argp8) {
43266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43267 }
43268 arg8 = reinterpret_cast< wxValidator * >(argp8);
43269 }
43270 if (obj8) {
43271 {
43272 arg9 = wxString_in_helper(obj8);
43273 if (arg9 == NULL) SWIG_fail;
43274 temp9 = true;
43275 }
43276 }
43277 {
43278 PyThreadState* __tstate = wxPyBeginAllowThreads();
43279 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43280 wxPyEndAllowThreads(__tstate);
43281 if (PyErr_Occurred()) SWIG_fail;
43282 }
43283 {
43284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43285 }
43286 {
43287 if (temp9)
43288 delete arg9;
43289 }
43290 return resultobj;
43291fail:
43292 {
43293 if (temp9)
43294 delete arg9;
43295 }
43296 return NULL;
43297}
43298
43299
43300SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43301 PyObject *resultobj = 0;
43302 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43303 wxColour result;
43304 void *argp1 = 0 ;
43305 int res1 = 0 ;
43306 PyObject *swig_obj[1] ;
43307
43308 if (!args) SWIG_fail;
43309 swig_obj[0] = args;
43310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43311 if (!SWIG_IsOK(res1)) {
43312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43313 }
43314 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43315 {
43316 PyThreadState* __tstate = wxPyBeginAllowThreads();
43317 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43318 wxPyEndAllowThreads(__tstate);
43319 if (PyErr_Occurred()) SWIG_fail;
43320 }
43321 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43322 return resultobj;
43323fail:
43324 return NULL;
43325}
43326
43327
43328SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43329 PyObject *resultobj = 0;
43330 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43331 wxColour *arg2 = 0 ;
43332 void *argp1 = 0 ;
43333 int res1 = 0 ;
43334 wxColour temp2 ;
43335 PyObject * obj0 = 0 ;
43336 PyObject * obj1 = 0 ;
43337 char * kwnames[] = {
43338 (char *) "self",(char *) "col", NULL
43339 };
43340
43341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43343 if (!SWIG_IsOK(res1)) {
43344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43345 }
43346 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43347 {
43348 arg2 = &temp2;
43349 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43350 }
43351 {
43352 PyThreadState* __tstate = wxPyBeginAllowThreads();
43353 (arg1)->SetColour((wxColour const &)*arg2);
43354 wxPyEndAllowThreads(__tstate);
43355 if (PyErr_Occurred()) SWIG_fail;
43356 }
43357 resultobj = SWIG_Py_Void();
43358 return resultobj;
43359fail:
43360 return NULL;
43361}
43362
43363
43364SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43365 PyObject *obj;
43366 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43367 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43368 return SWIG_Py_Void();
43369}
43370
43371SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43372 return SWIG_Python_InitShadowInstance(args);
43373}
43374
43375SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43376 PyObject *resultobj = 0;
43377 wxObject *arg1 = (wxObject *) 0 ;
43378 int arg2 ;
43379 wxColour *arg3 = 0 ;
43380 wxColourPickerEvent *result = 0 ;
43381 void *argp1 = 0 ;
43382 int res1 = 0 ;
43383 int val2 ;
43384 int ecode2 = 0 ;
43385 wxColour temp3 ;
43386 PyObject * obj0 = 0 ;
43387 PyObject * obj1 = 0 ;
43388 PyObject * obj2 = 0 ;
43389 char * kwnames[] = {
43390 (char *) "generator",(char *) "id",(char *) "col", NULL
43391 };
43392
43393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43395 if (!SWIG_IsOK(res1)) {
43396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43397 }
43398 arg1 = reinterpret_cast< wxObject * >(argp1);
43399 ecode2 = SWIG_AsVal_int(obj1, &val2);
43400 if (!SWIG_IsOK(ecode2)) {
43401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43402 }
43403 arg2 = static_cast< int >(val2);
43404 {
43405 arg3 = &temp3;
43406 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43407 }
43408 {
43409 PyThreadState* __tstate = wxPyBeginAllowThreads();
43410 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43411 wxPyEndAllowThreads(__tstate);
43412 if (PyErr_Occurred()) SWIG_fail;
43413 }
43414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43415 return resultobj;
43416fail:
43417 return NULL;
43418}
43419
43420
43421SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43422 PyObject *resultobj = 0;
43423 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43424 wxColour result;
43425 void *argp1 = 0 ;
43426 int res1 = 0 ;
43427 PyObject *swig_obj[1] ;
43428
43429 if (!args) SWIG_fail;
43430 swig_obj[0] = args;
43431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43432 if (!SWIG_IsOK(res1)) {
43433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43434 }
43435 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43436 {
43437 PyThreadState* __tstate = wxPyBeginAllowThreads();
43438 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43439 wxPyEndAllowThreads(__tstate);
43440 if (PyErr_Occurred()) SWIG_fail;
43441 }
43442 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43443 return resultobj;
43444fail:
43445 return NULL;
43446}
43447
43448
43449SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43450 PyObject *resultobj = 0;
43451 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43452 wxColour *arg2 = 0 ;
43453 void *argp1 = 0 ;
43454 int res1 = 0 ;
43455 wxColour temp2 ;
43456 PyObject * obj0 = 0 ;
43457 PyObject * obj1 = 0 ;
43458 char * kwnames[] = {
43459 (char *) "self",(char *) "c", NULL
43460 };
43461
43462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43464 if (!SWIG_IsOK(res1)) {
43465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43466 }
43467 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43468 {
43469 arg2 = &temp2;
43470 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43471 }
43472 {
43473 PyThreadState* __tstate = wxPyBeginAllowThreads();
43474 (arg1)->SetColour((wxColour const &)*arg2);
43475 wxPyEndAllowThreads(__tstate);
43476 if (PyErr_Occurred()) SWIG_fail;
43477 }
43478 resultobj = SWIG_Py_Void();
43479 return resultobj;
43480fail:
43481 return NULL;
43482}
43483
43484
43485SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43486 PyObject *obj;
43487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43488 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43489 return SWIG_Py_Void();
43490}
43491
43492SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43493 return SWIG_Python_InitShadowInstance(args);
43494}
43495
43496SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43497 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43498 return 1;
43499}
43500
43501
43502SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43503 PyObject *pyobj = 0;
43504
43505 {
43506#if wxUSE_UNICODE
43507 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43508#else
43509 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43510#endif
43511 }
43512 return pyobj;
43513}
43514
43515
43516SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43517 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43518 return 1;
43519}
43520
43521
43522SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43523 PyObject *pyobj = 0;
43524
43525 {
43526#if wxUSE_UNICODE
43527 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43528#else
43529 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43530#endif
43531 }
43532 return pyobj;
43533}
43534
43535
43536SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43537 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43538 return 1;
43539}
43540
43541
43542SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43543 PyObject *pyobj = 0;
43544
43545 {
43546#if wxUSE_UNICODE
43547 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43548#else
43549 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43550#endif
43551 }
43552 return pyobj;
43553}
43554
43555
43556SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43557 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43558 return 1;
43559}
43560
43561
43562SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43563 PyObject *pyobj = 0;
43564
43565 {
43566#if wxUSE_UNICODE
43567 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43568#else
43569 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43570#endif
43571 }
43572 return pyobj;
43573}
43574
43575
43576SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43577 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43578 return 1;
43579}
43580
43581
43582SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43583 PyObject *pyobj = 0;
43584
43585 {
43586#if wxUSE_UNICODE
43587 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43588#else
43589 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43590#endif
43591 }
43592 return pyobj;
43593}
43594
43595
43596SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43597 PyObject *resultobj = 0;
43598 wxWindow *arg1 = (wxWindow *) 0 ;
43599 int arg2 = (int) -1 ;
43600 wxString const &arg3_defvalue = wxPyEmptyString ;
43601 wxString *arg3 = (wxString *) &arg3_defvalue ;
43602 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43603 wxString *arg4 = (wxString *) &arg4_defvalue ;
43604 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43605 wxString *arg5 = (wxString *) &arg5_defvalue ;
43606 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43607 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43608 wxSize const &arg7_defvalue = wxDefaultSize ;
43609 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43610 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43611 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43612 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43613 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43614 wxString *arg10 = (wxString *) &arg10_defvalue ;
43615 wxFilePickerCtrl *result = 0 ;
43616 void *argp1 = 0 ;
43617 int res1 = 0 ;
43618 int val2 ;
43619 int ecode2 = 0 ;
43620 bool temp3 = false ;
43621 bool temp4 = false ;
43622 bool temp5 = false ;
43623 wxPoint temp6 ;
43624 wxSize temp7 ;
43625 long val8 ;
43626 int ecode8 = 0 ;
43627 void *argp9 = 0 ;
43628 int res9 = 0 ;
43629 bool temp10 = false ;
43630 PyObject * obj0 = 0 ;
43631 PyObject * obj1 = 0 ;
43632 PyObject * obj2 = 0 ;
43633 PyObject * obj3 = 0 ;
43634 PyObject * obj4 = 0 ;
43635 PyObject * obj5 = 0 ;
43636 PyObject * obj6 = 0 ;
43637 PyObject * obj7 = 0 ;
43638 PyObject * obj8 = 0 ;
43639 PyObject * obj9 = 0 ;
43640 char * kwnames[] = {
43641 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43642 };
43643
43644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43646 if (!SWIG_IsOK(res1)) {
43647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43648 }
43649 arg1 = reinterpret_cast< wxWindow * >(argp1);
43650 if (obj1) {
43651 ecode2 = SWIG_AsVal_int(obj1, &val2);
43652 if (!SWIG_IsOK(ecode2)) {
43653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43654 }
43655 arg2 = static_cast< int >(val2);
43656 }
43657 if (obj2) {
43658 {
43659 arg3 = wxString_in_helper(obj2);
43660 if (arg3 == NULL) SWIG_fail;
43661 temp3 = true;
43662 }
43663 }
43664 if (obj3) {
43665 {
43666 arg4 = wxString_in_helper(obj3);
43667 if (arg4 == NULL) SWIG_fail;
43668 temp4 = true;
43669 }
43670 }
43671 if (obj4) {
43672 {
43673 arg5 = wxString_in_helper(obj4);
43674 if (arg5 == NULL) SWIG_fail;
43675 temp5 = true;
43676 }
43677 }
43678 if (obj5) {
43679 {
43680 arg6 = &temp6;
43681 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43682 }
43683 }
43684 if (obj6) {
43685 {
43686 arg7 = &temp7;
43687 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43688 }
43689 }
43690 if (obj7) {
43691 ecode8 = SWIG_AsVal_long(obj7, &val8);
43692 if (!SWIG_IsOK(ecode8)) {
43693 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43694 }
43695 arg8 = static_cast< long >(val8);
43696 }
43697 if (obj8) {
43698 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43699 if (!SWIG_IsOK(res9)) {
43700 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43701 }
43702 if (!argp9) {
43703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43704 }
43705 arg9 = reinterpret_cast< wxValidator * >(argp9);
43706 }
43707 if (obj9) {
43708 {
43709 arg10 = wxString_in_helper(obj9);
43710 if (arg10 == NULL) SWIG_fail;
43711 temp10 = true;
43712 }
43713 }
43714 {
43715 if (!wxPyCheckForApp()) SWIG_fail;
43716 PyThreadState* __tstate = wxPyBeginAllowThreads();
43717 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);
43718 wxPyEndAllowThreads(__tstate);
43719 if (PyErr_Occurred()) SWIG_fail;
43720 }
43721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43722 {
43723 if (temp3)
43724 delete arg3;
43725 }
43726 {
43727 if (temp4)
43728 delete arg4;
43729 }
43730 {
43731 if (temp5)
43732 delete arg5;
43733 }
43734 {
43735 if (temp10)
43736 delete arg10;
43737 }
43738 return resultobj;
43739fail:
43740 {
43741 if (temp3)
43742 delete arg3;
43743 }
43744 {
43745 if (temp4)
43746 delete arg4;
43747 }
43748 {
43749 if (temp5)
43750 delete arg5;
43751 }
43752 {
43753 if (temp10)
43754 delete arg10;
43755 }
43756 return NULL;
43757}
43758
43759
43760SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43761 PyObject *resultobj = 0;
43762 wxFilePickerCtrl *result = 0 ;
43763
43764 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43765 {
43766 if (!wxPyCheckForApp()) SWIG_fail;
43767 PyThreadState* __tstate = wxPyBeginAllowThreads();
43768 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43769 wxPyEndAllowThreads(__tstate);
43770 if (PyErr_Occurred()) SWIG_fail;
43771 }
43772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43773 return resultobj;
43774fail:
43775 return NULL;
43776}
43777
43778
43779SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43780 PyObject *resultobj = 0;
43781 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43782 wxWindow *arg2 = (wxWindow *) 0 ;
43783 int arg3 = (int) -1 ;
43784 wxString const &arg4_defvalue = wxPyEmptyString ;
43785 wxString *arg4 = (wxString *) &arg4_defvalue ;
43786 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43787 wxString *arg5 = (wxString *) &arg5_defvalue ;
43788 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43789 wxString *arg6 = (wxString *) &arg6_defvalue ;
43790 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43791 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43792 wxSize const &arg8_defvalue = wxDefaultSize ;
43793 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43794 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43795 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43796 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43797 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43798 wxString *arg11 = (wxString *) &arg11_defvalue ;
43799 bool result;
43800 void *argp1 = 0 ;
43801 int res1 = 0 ;
43802 void *argp2 = 0 ;
43803 int res2 = 0 ;
43804 int val3 ;
43805 int ecode3 = 0 ;
43806 bool temp4 = false ;
43807 bool temp5 = false ;
43808 bool temp6 = false ;
43809 wxPoint temp7 ;
43810 wxSize temp8 ;
43811 long val9 ;
43812 int ecode9 = 0 ;
43813 void *argp10 = 0 ;
43814 int res10 = 0 ;
43815 bool temp11 = false ;
43816 PyObject * obj0 = 0 ;
43817 PyObject * obj1 = 0 ;
43818 PyObject * obj2 = 0 ;
43819 PyObject * obj3 = 0 ;
43820 PyObject * obj4 = 0 ;
43821 PyObject * obj5 = 0 ;
43822 PyObject * obj6 = 0 ;
43823 PyObject * obj7 = 0 ;
43824 PyObject * obj8 = 0 ;
43825 PyObject * obj9 = 0 ;
43826 PyObject * obj10 = 0 ;
43827 char * kwnames[] = {
43828 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43829 };
43830
43831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43833 if (!SWIG_IsOK(res1)) {
43834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43835 }
43836 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43838 if (!SWIG_IsOK(res2)) {
43839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43840 }
43841 arg2 = reinterpret_cast< wxWindow * >(argp2);
43842 if (obj2) {
43843 ecode3 = SWIG_AsVal_int(obj2, &val3);
43844 if (!SWIG_IsOK(ecode3)) {
43845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43846 }
43847 arg3 = static_cast< int >(val3);
43848 }
43849 if (obj3) {
43850 {
43851 arg4 = wxString_in_helper(obj3);
43852 if (arg4 == NULL) SWIG_fail;
43853 temp4 = true;
43854 }
43855 }
43856 if (obj4) {
43857 {
43858 arg5 = wxString_in_helper(obj4);
43859 if (arg5 == NULL) SWIG_fail;
43860 temp5 = true;
43861 }
43862 }
43863 if (obj5) {
43864 {
43865 arg6 = wxString_in_helper(obj5);
43866 if (arg6 == NULL) SWIG_fail;
43867 temp6 = true;
43868 }
43869 }
43870 if (obj6) {
43871 {
43872 arg7 = &temp7;
43873 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43874 }
43875 }
43876 if (obj7) {
43877 {
43878 arg8 = &temp8;
43879 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43880 }
43881 }
43882 if (obj8) {
43883 ecode9 = SWIG_AsVal_long(obj8, &val9);
43884 if (!SWIG_IsOK(ecode9)) {
43885 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43886 }
43887 arg9 = static_cast< long >(val9);
43888 }
43889 if (obj9) {
43890 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43891 if (!SWIG_IsOK(res10)) {
43892 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43893 }
43894 if (!argp10) {
43895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43896 }
43897 arg10 = reinterpret_cast< wxValidator * >(argp10);
43898 }
43899 if (obj10) {
43900 {
43901 arg11 = wxString_in_helper(obj10);
43902 if (arg11 == NULL) SWIG_fail;
43903 temp11 = true;
43904 }
43905 }
43906 {
43907 PyThreadState* __tstate = wxPyBeginAllowThreads();
43908 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);
43909 wxPyEndAllowThreads(__tstate);
43910 if (PyErr_Occurred()) SWIG_fail;
43911 }
43912 {
43913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43914 }
43915 {
43916 if (temp4)
43917 delete arg4;
43918 }
43919 {
43920 if (temp5)
43921 delete arg5;
43922 }
43923 {
43924 if (temp6)
43925 delete arg6;
43926 }
43927 {
43928 if (temp11)
43929 delete arg11;
43930 }
43931 return resultobj;
43932fail:
43933 {
43934 if (temp4)
43935 delete arg4;
43936 }
43937 {
43938 if (temp5)
43939 delete arg5;
43940 }
43941 {
43942 if (temp6)
43943 delete arg6;
43944 }
43945 {
43946 if (temp11)
43947 delete arg11;
43948 }
43949 return NULL;
43950}
43951
43952
43953SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43954 PyObject *resultobj = 0;
43955 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43956 wxString result;
43957 void *argp1 = 0 ;
43958 int res1 = 0 ;
43959 PyObject *swig_obj[1] ;
43960
43961 if (!args) SWIG_fail;
43962 swig_obj[0] = args;
43963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43964 if (!SWIG_IsOK(res1)) {
43965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43966 }
43967 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43968 {
43969 PyThreadState* __tstate = wxPyBeginAllowThreads();
43970 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
43971 wxPyEndAllowThreads(__tstate);
43972 if (PyErr_Occurred()) SWIG_fail;
43973 }
43974 {
43975#if wxUSE_UNICODE
43976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43977#else
43978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43979#endif
43980 }
43981 return resultobj;
43982fail:
43983 return NULL;
43984}
43985
43986
43987SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43988 PyObject *resultobj = 0;
43989 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43990 wxString *arg2 = 0 ;
43991 void *argp1 = 0 ;
43992 int res1 = 0 ;
43993 bool temp2 = false ;
43994 PyObject * obj0 = 0 ;
43995 PyObject * obj1 = 0 ;
43996 char * kwnames[] = {
43997 (char *) "self",(char *) "str", NULL
43998 };
43999
44000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44002 if (!SWIG_IsOK(res1)) {
44003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44004 }
44005 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44006 {
44007 arg2 = wxString_in_helper(obj1);
44008 if (arg2 == NULL) SWIG_fail;
44009 temp2 = true;
44010 }
44011 {
44012 PyThreadState* __tstate = wxPyBeginAllowThreads();
44013 (arg1)->SetPath((wxString const &)*arg2);
44014 wxPyEndAllowThreads(__tstate);
44015 if (PyErr_Occurred()) SWIG_fail;
44016 }
44017 resultobj = SWIG_Py_Void();
44018 {
44019 if (temp2)
44020 delete arg2;
44021 }
44022 return resultobj;
44023fail:
44024 {
44025 if (temp2)
44026 delete arg2;
44027 }
44028 return NULL;
44029}
44030
44031
b02396e8
RD
44032SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44033 PyObject *resultobj = 0;
44034 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44035 wxString *arg2 = 0 ;
44036 bool result;
44037 void *argp1 = 0 ;
44038 int res1 = 0 ;
44039 bool temp2 = false ;
44040 PyObject * obj0 = 0 ;
44041 PyObject * obj1 = 0 ;
44042 char * kwnames[] = {
44043 (char *) "self",(char *) "path", NULL
44044 };
44045
44046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44048 if (!SWIG_IsOK(res1)) {
44049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44050 }
44051 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44052 {
44053 arg2 = wxString_in_helper(obj1);
44054 if (arg2 == NULL) SWIG_fail;
44055 temp2 = true;
44056 }
44057 {
44058 PyThreadState* __tstate = wxPyBeginAllowThreads();
44059 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44060 wxPyEndAllowThreads(__tstate);
44061 if (PyErr_Occurred()) SWIG_fail;
44062 }
44063 {
44064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44065 }
44066 {
44067 if (temp2)
44068 delete arg2;
44069 }
44070 return resultobj;
44071fail:
44072 {
44073 if (temp2)
44074 delete arg2;
44075 }
44076 return NULL;
44077}
44078
44079
44080SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44081 PyObject *resultobj = 0;
44082 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44083 wxString result;
44084 void *argp1 = 0 ;
44085 int res1 = 0 ;
44086 PyObject *swig_obj[1] ;
44087
44088 if (!args) SWIG_fail;
44089 swig_obj[0] = args;
44090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44091 if (!SWIG_IsOK(res1)) {
44092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44093 }
44094 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44095 {
44096 PyThreadState* __tstate = wxPyBeginAllowThreads();
44097 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44098 wxPyEndAllowThreads(__tstate);
44099 if (PyErr_Occurred()) SWIG_fail;
44100 }
44101 {
44102#if wxUSE_UNICODE
44103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44104#else
44105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44106#endif
44107 }
44108 return resultobj;
44109fail:
44110 return NULL;
44111}
44112
44113
b850e7f3
RD
44114SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44115 PyObject *obj;
44116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44118 return SWIG_Py_Void();
44119}
44120
44121SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44122 return SWIG_Python_InitShadowInstance(args);
44123}
44124
44125SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44126 PyObject *resultobj = 0;
44127 wxWindow *arg1 = (wxWindow *) 0 ;
44128 int arg2 = (int) -1 ;
44129 wxString const &arg3_defvalue = wxPyEmptyString ;
44130 wxString *arg3 = (wxString *) &arg3_defvalue ;
44131 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44132 wxString *arg4 = (wxString *) &arg4_defvalue ;
44133 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44134 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44135 wxSize const &arg6_defvalue = wxDefaultSize ;
44136 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44137 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44138 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44139 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44140 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44141 wxString *arg9 = (wxString *) &arg9_defvalue ;
44142 wxDirPickerCtrl *result = 0 ;
44143 void *argp1 = 0 ;
44144 int res1 = 0 ;
44145 int val2 ;
44146 int ecode2 = 0 ;
44147 bool temp3 = false ;
44148 bool temp4 = false ;
44149 wxPoint temp5 ;
44150 wxSize temp6 ;
44151 long val7 ;
44152 int ecode7 = 0 ;
44153 void *argp8 = 0 ;
44154 int res8 = 0 ;
44155 bool temp9 = false ;
44156 PyObject * obj0 = 0 ;
44157 PyObject * obj1 = 0 ;
44158 PyObject * obj2 = 0 ;
44159 PyObject * obj3 = 0 ;
44160 PyObject * obj4 = 0 ;
44161 PyObject * obj5 = 0 ;
44162 PyObject * obj6 = 0 ;
44163 PyObject * obj7 = 0 ;
44164 PyObject * obj8 = 0 ;
44165 char * kwnames[] = {
44166 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44167 };
44168
44169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44171 if (!SWIG_IsOK(res1)) {
44172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44173 }
44174 arg1 = reinterpret_cast< wxWindow * >(argp1);
44175 if (obj1) {
44176 ecode2 = SWIG_AsVal_int(obj1, &val2);
44177 if (!SWIG_IsOK(ecode2)) {
44178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44179 }
44180 arg2 = static_cast< int >(val2);
44181 }
44182 if (obj2) {
44183 {
44184 arg3 = wxString_in_helper(obj2);
44185 if (arg3 == NULL) SWIG_fail;
44186 temp3 = true;
44187 }
44188 }
44189 if (obj3) {
44190 {
44191 arg4 = wxString_in_helper(obj3);
44192 if (arg4 == NULL) SWIG_fail;
44193 temp4 = true;
44194 }
44195 }
44196 if (obj4) {
44197 {
44198 arg5 = &temp5;
44199 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44200 }
44201 }
44202 if (obj5) {
44203 {
44204 arg6 = &temp6;
44205 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44206 }
44207 }
44208 if (obj6) {
44209 ecode7 = SWIG_AsVal_long(obj6, &val7);
44210 if (!SWIG_IsOK(ecode7)) {
44211 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44212 }
44213 arg7 = static_cast< long >(val7);
44214 }
44215 if (obj7) {
44216 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44217 if (!SWIG_IsOK(res8)) {
44218 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44219 }
44220 if (!argp8) {
44221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44222 }
44223 arg8 = reinterpret_cast< wxValidator * >(argp8);
44224 }
44225 if (obj8) {
44226 {
44227 arg9 = wxString_in_helper(obj8);
44228 if (arg9 == NULL) SWIG_fail;
44229 temp9 = true;
44230 }
44231 }
44232 {
44233 if (!wxPyCheckForApp()) SWIG_fail;
44234 PyThreadState* __tstate = wxPyBeginAllowThreads();
44235 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);
44236 wxPyEndAllowThreads(__tstate);
44237 if (PyErr_Occurred()) SWIG_fail;
44238 }
44239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44240 {
44241 if (temp3)
44242 delete arg3;
44243 }
44244 {
44245 if (temp4)
44246 delete arg4;
44247 }
44248 {
44249 if (temp9)
44250 delete arg9;
44251 }
44252 return resultobj;
44253fail:
44254 {
44255 if (temp3)
44256 delete arg3;
44257 }
44258 {
44259 if (temp4)
44260 delete arg4;
44261 }
44262 {
44263 if (temp9)
44264 delete arg9;
44265 }
44266 return NULL;
44267}
44268
44269
44270SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44271 PyObject *resultobj = 0;
44272 wxDirPickerCtrl *result = 0 ;
44273
44274 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44275 {
44276 if (!wxPyCheckForApp()) SWIG_fail;
44277 PyThreadState* __tstate = wxPyBeginAllowThreads();
44278 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44279 wxPyEndAllowThreads(__tstate);
44280 if (PyErr_Occurred()) SWIG_fail;
44281 }
44282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44283 return resultobj;
44284fail:
44285 return NULL;
44286}
44287
44288
44289SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44290 PyObject *resultobj = 0;
44291 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44292 wxWindow *arg2 = (wxWindow *) 0 ;
44293 int arg3 = (int) -1 ;
44294 wxString const &arg4_defvalue = wxPyEmptyString ;
44295 wxString *arg4 = (wxString *) &arg4_defvalue ;
44296 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44297 wxString *arg5 = (wxString *) &arg5_defvalue ;
44298 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44299 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44300 wxSize const &arg7_defvalue = wxDefaultSize ;
44301 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44302 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44303 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44304 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44305 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44306 wxString *arg10 = (wxString *) &arg10_defvalue ;
44307 bool result;
44308 void *argp1 = 0 ;
44309 int res1 = 0 ;
44310 void *argp2 = 0 ;
44311 int res2 = 0 ;
44312 int val3 ;
44313 int ecode3 = 0 ;
44314 bool temp4 = false ;
44315 bool temp5 = false ;
44316 wxPoint temp6 ;
44317 wxSize temp7 ;
44318 long val8 ;
44319 int ecode8 = 0 ;
44320 void *argp9 = 0 ;
44321 int res9 = 0 ;
44322 bool temp10 = false ;
44323 PyObject * obj0 = 0 ;
44324 PyObject * obj1 = 0 ;
44325 PyObject * obj2 = 0 ;
44326 PyObject * obj3 = 0 ;
44327 PyObject * obj4 = 0 ;
44328 PyObject * obj5 = 0 ;
44329 PyObject * obj6 = 0 ;
44330 PyObject * obj7 = 0 ;
44331 PyObject * obj8 = 0 ;
44332 PyObject * obj9 = 0 ;
44333 char * kwnames[] = {
44334 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44335 };
44336
44337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44339 if (!SWIG_IsOK(res1)) {
44340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44341 }
44342 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44343 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44344 if (!SWIG_IsOK(res2)) {
44345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44346 }
44347 arg2 = reinterpret_cast< wxWindow * >(argp2);
44348 if (obj2) {
44349 ecode3 = SWIG_AsVal_int(obj2, &val3);
44350 if (!SWIG_IsOK(ecode3)) {
44351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44352 }
44353 arg3 = static_cast< int >(val3);
44354 }
44355 if (obj3) {
44356 {
44357 arg4 = wxString_in_helper(obj3);
44358 if (arg4 == NULL) SWIG_fail;
44359 temp4 = true;
44360 }
44361 }
44362 if (obj4) {
44363 {
44364 arg5 = wxString_in_helper(obj4);
44365 if (arg5 == NULL) SWIG_fail;
44366 temp5 = true;
44367 }
44368 }
44369 if (obj5) {
44370 {
44371 arg6 = &temp6;
44372 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44373 }
44374 }
44375 if (obj6) {
44376 {
44377 arg7 = &temp7;
44378 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44379 }
44380 }
44381 if (obj7) {
44382 ecode8 = SWIG_AsVal_long(obj7, &val8);
44383 if (!SWIG_IsOK(ecode8)) {
44384 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44385 }
44386 arg8 = static_cast< long >(val8);
44387 }
44388 if (obj8) {
44389 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44390 if (!SWIG_IsOK(res9)) {
44391 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44392 }
44393 if (!argp9) {
44394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44395 }
44396 arg9 = reinterpret_cast< wxValidator * >(argp9);
44397 }
44398 if (obj9) {
44399 {
44400 arg10 = wxString_in_helper(obj9);
44401 if (arg10 == NULL) SWIG_fail;
44402 temp10 = true;
44403 }
44404 }
44405 {
44406 PyThreadState* __tstate = wxPyBeginAllowThreads();
44407 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);
44408 wxPyEndAllowThreads(__tstate);
44409 if (PyErr_Occurred()) SWIG_fail;
44410 }
44411 {
44412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44413 }
44414 {
44415 if (temp4)
44416 delete arg4;
44417 }
44418 {
44419 if (temp5)
44420 delete arg5;
44421 }
44422 {
44423 if (temp10)
44424 delete arg10;
44425 }
44426 return resultobj;
44427fail:
44428 {
44429 if (temp4)
44430 delete arg4;
44431 }
44432 {
44433 if (temp5)
44434 delete arg5;
44435 }
44436 {
44437 if (temp10)
44438 delete arg10;
44439 }
44440 return NULL;
44441}
44442
44443
44444SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44445 PyObject *resultobj = 0;
44446 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44447 wxString result;
44448 void *argp1 = 0 ;
44449 int res1 = 0 ;
44450 PyObject *swig_obj[1] ;
44451
44452 if (!args) SWIG_fail;
44453 swig_obj[0] = args;
44454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44455 if (!SWIG_IsOK(res1)) {
44456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44457 }
44458 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44459 {
44460 PyThreadState* __tstate = wxPyBeginAllowThreads();
44461 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44462 wxPyEndAllowThreads(__tstate);
44463 if (PyErr_Occurred()) SWIG_fail;
44464 }
44465 {
44466#if wxUSE_UNICODE
44467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44468#else
44469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44470#endif
44471 }
44472 return resultobj;
44473fail:
44474 return NULL;
44475}
44476
44477
44478SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44479 PyObject *resultobj = 0;
44480 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44481 wxString *arg2 = 0 ;
44482 void *argp1 = 0 ;
44483 int res1 = 0 ;
44484 bool temp2 = false ;
44485 PyObject * obj0 = 0 ;
44486 PyObject * obj1 = 0 ;
44487 char * kwnames[] = {
44488 (char *) "self",(char *) "str", NULL
44489 };
44490
44491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44493 if (!SWIG_IsOK(res1)) {
44494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44495 }
44496 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44497 {
44498 arg2 = wxString_in_helper(obj1);
44499 if (arg2 == NULL) SWIG_fail;
44500 temp2 = true;
44501 }
44502 {
44503 PyThreadState* __tstate = wxPyBeginAllowThreads();
44504 (arg1)->SetPath((wxString const &)*arg2);
44505 wxPyEndAllowThreads(__tstate);
44506 if (PyErr_Occurred()) SWIG_fail;
44507 }
44508 resultobj = SWIG_Py_Void();
44509 {
44510 if (temp2)
44511 delete arg2;
44512 }
44513 return resultobj;
44514fail:
44515 {
44516 if (temp2)
44517 delete arg2;
44518 }
44519 return NULL;
44520}
44521
44522
b02396e8
RD
44523SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44524 PyObject *resultobj = 0;
44525 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44526 wxString *arg2 = 0 ;
44527 bool result;
44528 void *argp1 = 0 ;
44529 int res1 = 0 ;
44530 bool temp2 = false ;
44531 PyObject * obj0 = 0 ;
44532 PyObject * obj1 = 0 ;
44533 char * kwnames[] = {
44534 (char *) "self",(char *) "path", NULL
44535 };
44536
44537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44539 if (!SWIG_IsOK(res1)) {
44540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44541 }
44542 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44543 {
44544 arg2 = wxString_in_helper(obj1);
44545 if (arg2 == NULL) SWIG_fail;
44546 temp2 = true;
44547 }
44548 {
44549 PyThreadState* __tstate = wxPyBeginAllowThreads();
44550 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44551 wxPyEndAllowThreads(__tstate);
44552 if (PyErr_Occurred()) SWIG_fail;
44553 }
44554 {
44555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44556 }
44557 {
44558 if (temp2)
44559 delete arg2;
44560 }
44561 return resultobj;
44562fail:
44563 {
44564 if (temp2)
44565 delete arg2;
44566 }
44567 return NULL;
44568}
44569
44570
44571SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44572 PyObject *resultobj = 0;
44573 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44574 wxString result;
44575 void *argp1 = 0 ;
44576 int res1 = 0 ;
44577 PyObject *swig_obj[1] ;
44578
44579 if (!args) SWIG_fail;
44580 swig_obj[0] = args;
44581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44582 if (!SWIG_IsOK(res1)) {
44583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44584 }
44585 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44586 {
44587 PyThreadState* __tstate = wxPyBeginAllowThreads();
44588 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44589 wxPyEndAllowThreads(__tstate);
44590 if (PyErr_Occurred()) SWIG_fail;
44591 }
44592 {
44593#if wxUSE_UNICODE
44594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44595#else
44596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44597#endif
44598 }
44599 return resultobj;
44600fail:
44601 return NULL;
44602}
44603
44604
b850e7f3
RD
44605SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44606 PyObject *obj;
44607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44608 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44609 return SWIG_Py_Void();
44610}
44611
44612SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44613 return SWIG_Python_InitShadowInstance(args);
44614}
44615
44616SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44617 PyObject *resultobj = 0;
44618 wxEventType arg1 ;
44619 wxObject *arg2 = (wxObject *) 0 ;
44620 int arg3 ;
44621 wxString *arg4 = 0 ;
44622 wxFileDirPickerEvent *result = 0 ;
44623 int val1 ;
44624 int ecode1 = 0 ;
44625 void *argp2 = 0 ;
44626 int res2 = 0 ;
44627 int val3 ;
44628 int ecode3 = 0 ;
44629 bool temp4 = false ;
44630 PyObject * obj0 = 0 ;
44631 PyObject * obj1 = 0 ;
44632 PyObject * obj2 = 0 ;
44633 PyObject * obj3 = 0 ;
44634 char * kwnames[] = {
44635 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44636 };
44637
44638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44639 ecode1 = SWIG_AsVal_int(obj0, &val1);
44640 if (!SWIG_IsOK(ecode1)) {
44641 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44642 }
44643 arg1 = static_cast< wxEventType >(val1);
44644 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44645 if (!SWIG_IsOK(res2)) {
44646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44647 }
44648 arg2 = reinterpret_cast< wxObject * >(argp2);
44649 ecode3 = SWIG_AsVal_int(obj2, &val3);
44650 if (!SWIG_IsOK(ecode3)) {
44651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44652 }
44653 arg3 = static_cast< int >(val3);
44654 {
44655 arg4 = wxString_in_helper(obj3);
44656 if (arg4 == NULL) SWIG_fail;
44657 temp4 = true;
44658 }
44659 {
44660 PyThreadState* __tstate = wxPyBeginAllowThreads();
44661 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44662 wxPyEndAllowThreads(__tstate);
44663 if (PyErr_Occurred()) SWIG_fail;
44664 }
44665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44666 {
44667 if (temp4)
44668 delete arg4;
44669 }
44670 return resultobj;
44671fail:
44672 {
44673 if (temp4)
44674 delete arg4;
44675 }
44676 return NULL;
44677}
44678
44679
44680SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44681 PyObject *resultobj = 0;
44682 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44683 wxString result;
44684 void *argp1 = 0 ;
44685 int res1 = 0 ;
44686 PyObject *swig_obj[1] ;
44687
44688 if (!args) SWIG_fail;
44689 swig_obj[0] = args;
44690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44691 if (!SWIG_IsOK(res1)) {
44692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44693 }
44694 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44695 {
44696 PyThreadState* __tstate = wxPyBeginAllowThreads();
44697 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44698 wxPyEndAllowThreads(__tstate);
44699 if (PyErr_Occurred()) SWIG_fail;
44700 }
44701 {
44702#if wxUSE_UNICODE
44703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44704#else
44705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44706#endif
44707 }
44708 return resultobj;
44709fail:
44710 return NULL;
44711}
44712
44713
44714SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44715 PyObject *resultobj = 0;
44716 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44717 wxString *arg2 = 0 ;
44718 void *argp1 = 0 ;
44719 int res1 = 0 ;
44720 bool temp2 = false ;
44721 PyObject * obj0 = 0 ;
44722 PyObject * obj1 = 0 ;
44723 char * kwnames[] = {
44724 (char *) "self",(char *) "p", NULL
44725 };
44726
44727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44729 if (!SWIG_IsOK(res1)) {
44730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44731 }
44732 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44733 {
44734 arg2 = wxString_in_helper(obj1);
44735 if (arg2 == NULL) SWIG_fail;
44736 temp2 = true;
44737 }
44738 {
44739 PyThreadState* __tstate = wxPyBeginAllowThreads();
44740 (arg1)->SetPath((wxString const &)*arg2);
44741 wxPyEndAllowThreads(__tstate);
44742 if (PyErr_Occurred()) SWIG_fail;
44743 }
44744 resultobj = SWIG_Py_Void();
44745 {
44746 if (temp2)
44747 delete arg2;
44748 }
44749 return resultobj;
44750fail:
44751 {
44752 if (temp2)
44753 delete arg2;
44754 }
44755 return NULL;
44756}
44757
44758
44759SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44760 PyObject *obj;
44761 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44762 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44763 return SWIG_Py_Void();
44764}
44765
44766SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44767 return SWIG_Python_InitShadowInstance(args);
44768}
44769
44770SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44771 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44772 return 1;
44773}
44774
44775
44776SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44777 PyObject *pyobj = 0;
44778
44779 {
44780#if wxUSE_UNICODE
44781 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44782#else
44783 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44784#endif
44785 }
44786 return pyobj;
44787}
44788
44789
44790SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44791 PyObject *resultobj = 0;
44792 wxWindow *arg1 = (wxWindow *) 0 ;
44793 int arg2 = (int) -1 ;
f89238b9 44794 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
44795 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44798 wxSize const &arg5_defvalue = wxDefaultSize ;
44799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44800 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44801 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44802 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44803 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44804 wxString *arg8 = (wxString *) &arg8_defvalue ;
44805 wxFontPickerCtrl *result = 0 ;
44806 void *argp1 = 0 ;
44807 int res1 = 0 ;
44808 int val2 ;
44809 int ecode2 = 0 ;
44810 void *argp3 = 0 ;
44811 int res3 = 0 ;
44812 wxPoint temp4 ;
44813 wxSize temp5 ;
44814 long val6 ;
44815 int ecode6 = 0 ;
44816 void *argp7 = 0 ;
44817 int res7 = 0 ;
44818 bool temp8 = false ;
44819 PyObject * obj0 = 0 ;
44820 PyObject * obj1 = 0 ;
44821 PyObject * obj2 = 0 ;
44822 PyObject * obj3 = 0 ;
44823 PyObject * obj4 = 0 ;
44824 PyObject * obj5 = 0 ;
44825 PyObject * obj6 = 0 ;
44826 PyObject * obj7 = 0 ;
44827 char * kwnames[] = {
44828 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44829 };
44830
44831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44833 if (!SWIG_IsOK(res1)) {
44834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44835 }
44836 arg1 = reinterpret_cast< wxWindow * >(argp1);
44837 if (obj1) {
44838 ecode2 = SWIG_AsVal_int(obj1, &val2);
44839 if (!SWIG_IsOK(ecode2)) {
44840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44841 }
44842 arg2 = static_cast< int >(val2);
44843 }
44844 if (obj2) {
44845 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44846 if (!SWIG_IsOK(res3)) {
44847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44848 }
44849 if (!argp3) {
44850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44851 }
44852 arg3 = reinterpret_cast< wxFont * >(argp3);
44853 }
44854 if (obj3) {
44855 {
44856 arg4 = &temp4;
44857 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44858 }
44859 }
44860 if (obj4) {
44861 {
44862 arg5 = &temp5;
44863 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44864 }
44865 }
44866 if (obj5) {
44867 ecode6 = SWIG_AsVal_long(obj5, &val6);
44868 if (!SWIG_IsOK(ecode6)) {
44869 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44870 }
44871 arg6 = static_cast< long >(val6);
44872 }
44873 if (obj6) {
44874 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44875 if (!SWIG_IsOK(res7)) {
44876 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44877 }
44878 if (!argp7) {
44879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44880 }
44881 arg7 = reinterpret_cast< wxValidator * >(argp7);
44882 }
44883 if (obj7) {
44884 {
44885 arg8 = wxString_in_helper(obj7);
44886 if (arg8 == NULL) SWIG_fail;
44887 temp8 = true;
44888 }
44889 }
44890 {
44891 if (!wxPyCheckForApp()) SWIG_fail;
44892 PyThreadState* __tstate = wxPyBeginAllowThreads();
44893 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44894 wxPyEndAllowThreads(__tstate);
44895 if (PyErr_Occurred()) SWIG_fail;
44896 }
44897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44898 {
44899 if (temp8)
44900 delete arg8;
44901 }
44902 return resultobj;
44903fail:
44904 {
44905 if (temp8)
44906 delete arg8;
44907 }
44908 return NULL;
44909}
44910
44911
44912SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44913 PyObject *resultobj = 0;
44914 wxFontPickerCtrl *result = 0 ;
44915
44916 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44917 {
44918 if (!wxPyCheckForApp()) SWIG_fail;
44919 PyThreadState* __tstate = wxPyBeginAllowThreads();
44920 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44921 wxPyEndAllowThreads(__tstate);
44922 if (PyErr_Occurred()) SWIG_fail;
44923 }
44924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
44925 return resultobj;
44926fail:
44927 return NULL;
44928}
44929
44930
44931SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44932 PyObject *resultobj = 0;
44933 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44934 wxWindow *arg2 = (wxWindow *) 0 ;
44935 int arg3 = (int) -1 ;
f89238b9 44936 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
44937 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
44938 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44939 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44940 wxSize const &arg6_defvalue = wxDefaultSize ;
44941 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44942 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
44943 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44944 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44945 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
44946 wxString *arg9 = (wxString *) &arg9_defvalue ;
44947 bool result;
44948 void *argp1 = 0 ;
44949 int res1 = 0 ;
44950 void *argp2 = 0 ;
44951 int res2 = 0 ;
44952 int val3 ;
44953 int ecode3 = 0 ;
44954 void *argp4 = 0 ;
44955 int res4 = 0 ;
44956 wxPoint temp5 ;
44957 wxSize temp6 ;
44958 long val7 ;
44959 int ecode7 = 0 ;
44960 void *argp8 = 0 ;
44961 int res8 = 0 ;
44962 bool temp9 = false ;
44963 PyObject * obj0 = 0 ;
44964 PyObject * obj1 = 0 ;
44965 PyObject * obj2 = 0 ;
44966 PyObject * obj3 = 0 ;
44967 PyObject * obj4 = 0 ;
44968 PyObject * obj5 = 0 ;
44969 PyObject * obj6 = 0 ;
44970 PyObject * obj7 = 0 ;
44971 PyObject * obj8 = 0 ;
44972 char * kwnames[] = {
44973 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44974 };
44975
44976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44978 if (!SWIG_IsOK(res1)) {
44979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44980 }
44981 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44982 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44983 if (!SWIG_IsOK(res2)) {
44984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44985 }
44986 arg2 = reinterpret_cast< wxWindow * >(argp2);
44987 if (obj2) {
44988 ecode3 = SWIG_AsVal_int(obj2, &val3);
44989 if (!SWIG_IsOK(ecode3)) {
44990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44991 }
44992 arg3 = static_cast< int >(val3);
44993 }
44994 if (obj3) {
44995 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
44996 if (!SWIG_IsOK(res4)) {
44997 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44998 }
44999 if (!argp4) {
45000 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45001 }
45002 arg4 = reinterpret_cast< wxFont * >(argp4);
45003 }
45004 if (obj4) {
45005 {
45006 arg5 = &temp5;
45007 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45008 }
45009 }
45010 if (obj5) {
45011 {
45012 arg6 = &temp6;
45013 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45014 }
45015 }
45016 if (obj6) {
45017 ecode7 = SWIG_AsVal_long(obj6, &val7);
45018 if (!SWIG_IsOK(ecode7)) {
45019 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45020 }
45021 arg7 = static_cast< long >(val7);
45022 }
45023 if (obj7) {
45024 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45025 if (!SWIG_IsOK(res8)) {
45026 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45027 }
45028 if (!argp8) {
45029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45030 }
45031 arg8 = reinterpret_cast< wxValidator * >(argp8);
45032 }
45033 if (obj8) {
45034 {
45035 arg9 = wxString_in_helper(obj8);
45036 if (arg9 == NULL) SWIG_fail;
45037 temp9 = true;
45038 }
45039 }
45040 {
45041 PyThreadState* __tstate = wxPyBeginAllowThreads();
45042 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45043 wxPyEndAllowThreads(__tstate);
45044 if (PyErr_Occurred()) SWIG_fail;
45045 }
45046 {
45047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45048 }
45049 {
45050 if (temp9)
45051 delete arg9;
45052 }
45053 return resultobj;
45054fail:
45055 {
45056 if (temp9)
45057 delete arg9;
45058 }
45059 return NULL;
45060}
45061
45062
45063SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45064 PyObject *resultobj = 0;
45065 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45066 wxFont result;
45067 void *argp1 = 0 ;
45068 int res1 = 0 ;
45069 PyObject *swig_obj[1] ;
45070
45071 if (!args) SWIG_fail;
45072 swig_obj[0] = args;
45073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45074 if (!SWIG_IsOK(res1)) {
45075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45076 }
45077 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45078 {
45079 PyThreadState* __tstate = wxPyBeginAllowThreads();
45080 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45081 wxPyEndAllowThreads(__tstate);
45082 if (PyErr_Occurred()) SWIG_fail;
45083 }
45084 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45085 return resultobj;
45086fail:
45087 return NULL;
45088}
45089
45090
45091SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45092 PyObject *resultobj = 0;
45093 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45094 wxFont *arg2 = 0 ;
45095 void *argp1 = 0 ;
45096 int res1 = 0 ;
45097 void *argp2 = 0 ;
45098 int res2 = 0 ;
45099 PyObject * obj0 = 0 ;
45100 PyObject * obj1 = 0 ;
45101 char * kwnames[] = {
45102 (char *) "self",(char *) "f", NULL
45103 };
45104
45105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45107 if (!SWIG_IsOK(res1)) {
45108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45109 }
45110 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45111 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45112 if (!SWIG_IsOK(res2)) {
45113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45114 }
45115 if (!argp2) {
45116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45117 }
45118 arg2 = reinterpret_cast< wxFont * >(argp2);
45119 {
45120 PyThreadState* __tstate = wxPyBeginAllowThreads();
45121 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45122 wxPyEndAllowThreads(__tstate);
45123 if (PyErr_Occurred()) SWIG_fail;
45124 }
45125 resultobj = SWIG_Py_Void();
45126 return resultobj;
45127fail:
45128 return NULL;
45129}
45130
45131
45132SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45133 PyObject *resultobj = 0;
45134 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45135 unsigned int arg2 ;
45136 void *argp1 = 0 ;
45137 int res1 = 0 ;
45138 unsigned int val2 ;
45139 int ecode2 = 0 ;
45140 PyObject * obj0 = 0 ;
45141 PyObject * obj1 = 0 ;
45142 char * kwnames[] = {
45143 (char *) "self",(char *) "max", NULL
45144 };
45145
45146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45148 if (!SWIG_IsOK(res1)) {
45149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45150 }
45151 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45152 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45153 if (!SWIG_IsOK(ecode2)) {
45154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45155 }
45156 arg2 = static_cast< unsigned int >(val2);
45157 {
45158 PyThreadState* __tstate = wxPyBeginAllowThreads();
45159 (arg1)->SetMaxPointSize(arg2);
45160 wxPyEndAllowThreads(__tstate);
45161 if (PyErr_Occurred()) SWIG_fail;
45162 }
45163 resultobj = SWIG_Py_Void();
45164 return resultobj;
45165fail:
45166 return NULL;
45167}
45168
45169
45170SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45171 PyObject *resultobj = 0;
45172 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45173 unsigned int result;
45174 void *argp1 = 0 ;
45175 int res1 = 0 ;
45176 PyObject *swig_obj[1] ;
45177
45178 if (!args) SWIG_fail;
45179 swig_obj[0] = args;
45180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45181 if (!SWIG_IsOK(res1)) {
45182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45183 }
45184 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45185 {
45186 PyThreadState* __tstate = wxPyBeginAllowThreads();
45187 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45188 wxPyEndAllowThreads(__tstate);
45189 if (PyErr_Occurred()) SWIG_fail;
45190 }
45191 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45192 return resultobj;
45193fail:
45194 return NULL;
45195}
45196
45197
45198SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45199 PyObject *obj;
45200 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45201 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45202 return SWIG_Py_Void();
45203}
45204
45205SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45206 return SWIG_Python_InitShadowInstance(args);
45207}
45208
45209SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45210 PyObject *resultobj = 0;
45211 wxObject *arg1 = (wxObject *) 0 ;
45212 int arg2 ;
45213 wxFont *arg3 = 0 ;
45214 wxFontPickerEvent *result = 0 ;
45215 void *argp1 = 0 ;
45216 int res1 = 0 ;
45217 int val2 ;
45218 int ecode2 = 0 ;
45219 void *argp3 = 0 ;
45220 int res3 = 0 ;
45221 PyObject * obj0 = 0 ;
45222 PyObject * obj1 = 0 ;
45223 PyObject * obj2 = 0 ;
45224 char * kwnames[] = {
45225 (char *) "generator",(char *) "id",(char *) "f", NULL
45226 };
45227
45228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45230 if (!SWIG_IsOK(res1)) {
45231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45232 }
45233 arg1 = reinterpret_cast< wxObject * >(argp1);
45234 ecode2 = SWIG_AsVal_int(obj1, &val2);
45235 if (!SWIG_IsOK(ecode2)) {
45236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45237 }
45238 arg2 = static_cast< int >(val2);
45239 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45240 if (!SWIG_IsOK(res3)) {
45241 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45242 }
45243 if (!argp3) {
45244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45245 }
45246 arg3 = reinterpret_cast< wxFont * >(argp3);
45247 {
45248 PyThreadState* __tstate = wxPyBeginAllowThreads();
45249 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45250 wxPyEndAllowThreads(__tstate);
45251 if (PyErr_Occurred()) SWIG_fail;
45252 }
45253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45254 return resultobj;
45255fail:
45256 return NULL;
45257}
45258
45259
45260SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45261 PyObject *resultobj = 0;
45262 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45263 wxFont result;
45264 void *argp1 = 0 ;
45265 int res1 = 0 ;
45266 PyObject *swig_obj[1] ;
45267
45268 if (!args) SWIG_fail;
45269 swig_obj[0] = args;
45270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45271 if (!SWIG_IsOK(res1)) {
45272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45273 }
45274 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45275 {
45276 PyThreadState* __tstate = wxPyBeginAllowThreads();
45277 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45278 wxPyEndAllowThreads(__tstate);
45279 if (PyErr_Occurred()) SWIG_fail;
45280 }
45281 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45282 return resultobj;
45283fail:
45284 return NULL;
45285}
45286
45287
45288SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45289 PyObject *resultobj = 0;
45290 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45291 wxFont *arg2 = 0 ;
45292 void *argp1 = 0 ;
45293 int res1 = 0 ;
45294 void *argp2 = 0 ;
45295 int res2 = 0 ;
45296 PyObject * obj0 = 0 ;
45297 PyObject * obj1 = 0 ;
45298 char * kwnames[] = {
45299 (char *) "self",(char *) "c", NULL
45300 };
45301
45302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45304 if (!SWIG_IsOK(res1)) {
45305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45306 }
45307 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45309 if (!SWIG_IsOK(res2)) {
45310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45311 }
45312 if (!argp2) {
45313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45314 }
45315 arg2 = reinterpret_cast< wxFont * >(argp2);
45316 {
45317 PyThreadState* __tstate = wxPyBeginAllowThreads();
45318 (arg1)->SetFont((wxFont const &)*arg2);
45319 wxPyEndAllowThreads(__tstate);
45320 if (PyErr_Occurred()) SWIG_fail;
45321 }
45322 resultobj = SWIG_Py_Void();
45323 return resultobj;
45324fail:
45325 return NULL;
45326}
45327
45328
45329SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45330 PyObject *obj;
45331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45332 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45333 return SWIG_Py_Void();
45334}
45335
45336SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45337 return SWIG_Python_InitShadowInstance(args);
45338}
45339
5172800e
RD
45340SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45341 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45342 return 1;
45343}
45344
45345
45346SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45347 PyObject *pyobj = 0;
45348
45349 {
45350#if wxUSE_UNICODE
45351 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45352#else
45353 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45354#endif
45355 }
45356 return pyobj;
45357}
45358
45359
45360SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45361 PyObject *resultobj = 0;
45362 wxWindow *arg1 = (wxWindow *) 0 ;
45363 int arg2 = (int) -1 ;
45364 wxString const &arg3_defvalue = wxPyEmptyString ;
45365 wxString *arg3 = (wxString *) &arg3_defvalue ;
45366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45368 wxSize const &arg5_defvalue = wxDefaultSize ;
45369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45370 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45371 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45372 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45373 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45374 wxString *arg8 = (wxString *) &arg8_defvalue ;
45375 wxCollapsiblePane *result = 0 ;
45376 void *argp1 = 0 ;
45377 int res1 = 0 ;
45378 int val2 ;
45379 int ecode2 = 0 ;
45380 bool temp3 = false ;
45381 wxPoint temp4 ;
45382 wxSize temp5 ;
45383 long val6 ;
45384 int ecode6 = 0 ;
45385 void *argp7 = 0 ;
45386 int res7 = 0 ;
45387 bool temp8 = false ;
45388 PyObject * obj0 = 0 ;
45389 PyObject * obj1 = 0 ;
45390 PyObject * obj2 = 0 ;
45391 PyObject * obj3 = 0 ;
45392 PyObject * obj4 = 0 ;
45393 PyObject * obj5 = 0 ;
45394 PyObject * obj6 = 0 ;
45395 PyObject * obj7 = 0 ;
45396 char * kwnames[] = {
45397 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45398 };
45399
45400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45402 if (!SWIG_IsOK(res1)) {
45403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45404 }
45405 arg1 = reinterpret_cast< wxWindow * >(argp1);
45406 if (obj1) {
45407 ecode2 = SWIG_AsVal_int(obj1, &val2);
45408 if (!SWIG_IsOK(ecode2)) {
45409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45410 }
45411 arg2 = static_cast< int >(val2);
45412 }
45413 if (obj2) {
45414 {
45415 arg3 = wxString_in_helper(obj2);
45416 if (arg3 == NULL) SWIG_fail;
45417 temp3 = true;
45418 }
45419 }
45420 if (obj3) {
45421 {
45422 arg4 = &temp4;
45423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45424 }
45425 }
45426 if (obj4) {
45427 {
45428 arg5 = &temp5;
45429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45430 }
45431 }
45432 if (obj5) {
45433 ecode6 = SWIG_AsVal_long(obj5, &val6);
45434 if (!SWIG_IsOK(ecode6)) {
45435 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45436 }
45437 arg6 = static_cast< long >(val6);
45438 }
45439 if (obj6) {
45440 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45441 if (!SWIG_IsOK(res7)) {
45442 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45443 }
45444 if (!argp7) {
45445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45446 }
45447 arg7 = reinterpret_cast< wxValidator * >(argp7);
45448 }
45449 if (obj7) {
45450 {
45451 arg8 = wxString_in_helper(obj7);
45452 if (arg8 == NULL) SWIG_fail;
45453 temp8 = true;
45454 }
45455 }
45456 {
45457 if (!wxPyCheckForApp()) SWIG_fail;
45458 PyThreadState* __tstate = wxPyBeginAllowThreads();
45459 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45460 wxPyEndAllowThreads(__tstate);
45461 if (PyErr_Occurred()) SWIG_fail;
45462 }
45463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45464 {
45465 if (temp3)
45466 delete arg3;
45467 }
45468 {
45469 if (temp8)
45470 delete arg8;
45471 }
45472 return resultobj;
45473fail:
45474 {
45475 if (temp3)
45476 delete arg3;
45477 }
45478 {
45479 if (temp8)
45480 delete arg8;
45481 }
45482 return NULL;
45483}
45484
45485
45486SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45487 PyObject *resultobj = 0;
45488 wxCollapsiblePane *result = 0 ;
45489
45490 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45491 {
45492 if (!wxPyCheckForApp()) SWIG_fail;
45493 PyThreadState* __tstate = wxPyBeginAllowThreads();
45494 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45495 wxPyEndAllowThreads(__tstate);
45496 if (PyErr_Occurred()) SWIG_fail;
45497 }
45498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45499 return resultobj;
45500fail:
45501 return NULL;
45502}
45503
45504
45505SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45506 PyObject *resultobj = 0;
45507 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45508 wxWindow *arg2 = (wxWindow *) 0 ;
45509 int arg3 = (int) -1 ;
45510 wxString const &arg4_defvalue = wxPyEmptyString ;
45511 wxString *arg4 = (wxString *) &arg4_defvalue ;
45512 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45513 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45514 wxSize const &arg6_defvalue = wxDefaultSize ;
45515 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45516 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45517 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45518 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45519 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45520 wxString *arg9 = (wxString *) &arg9_defvalue ;
45521 bool result;
45522 void *argp1 = 0 ;
45523 int res1 = 0 ;
45524 void *argp2 = 0 ;
45525 int res2 = 0 ;
45526 int val3 ;
45527 int ecode3 = 0 ;
45528 bool temp4 = false ;
45529 wxPoint temp5 ;
45530 wxSize temp6 ;
45531 long val7 ;
45532 int ecode7 = 0 ;
45533 void *argp8 = 0 ;
45534 int res8 = 0 ;
45535 bool temp9 = false ;
45536 PyObject * obj0 = 0 ;
45537 PyObject * obj1 = 0 ;
45538 PyObject * obj2 = 0 ;
45539 PyObject * obj3 = 0 ;
45540 PyObject * obj4 = 0 ;
45541 PyObject * obj5 = 0 ;
45542 PyObject * obj6 = 0 ;
45543 PyObject * obj7 = 0 ;
45544 PyObject * obj8 = 0 ;
45545 char * kwnames[] = {
45546 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45547 };
45548
45549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45551 if (!SWIG_IsOK(res1)) {
45552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45553 }
45554 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45555 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45556 if (!SWIG_IsOK(res2)) {
45557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45558 }
45559 arg2 = reinterpret_cast< wxWindow * >(argp2);
45560 if (obj2) {
45561 ecode3 = SWIG_AsVal_int(obj2, &val3);
45562 if (!SWIG_IsOK(ecode3)) {
45563 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45564 }
45565 arg3 = static_cast< int >(val3);
45566 }
45567 if (obj3) {
45568 {
45569 arg4 = wxString_in_helper(obj3);
45570 if (arg4 == NULL) SWIG_fail;
45571 temp4 = true;
45572 }
45573 }
45574 if (obj4) {
45575 {
45576 arg5 = &temp5;
45577 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45578 }
45579 }
45580 if (obj5) {
45581 {
45582 arg6 = &temp6;
45583 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45584 }
45585 }
45586 if (obj6) {
45587 ecode7 = SWIG_AsVal_long(obj6, &val7);
45588 if (!SWIG_IsOK(ecode7)) {
45589 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45590 }
45591 arg7 = static_cast< long >(val7);
45592 }
45593 if (obj7) {
45594 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45595 if (!SWIG_IsOK(res8)) {
45596 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45597 }
45598 if (!argp8) {
45599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45600 }
45601 arg8 = reinterpret_cast< wxValidator * >(argp8);
45602 }
45603 if (obj8) {
45604 {
45605 arg9 = wxString_in_helper(obj8);
45606 if (arg9 == NULL) SWIG_fail;
45607 temp9 = true;
45608 }
45609 }
45610 {
45611 PyThreadState* __tstate = wxPyBeginAllowThreads();
45612 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45613 wxPyEndAllowThreads(__tstate);
45614 if (PyErr_Occurred()) SWIG_fail;
45615 }
45616 {
45617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45618 }
45619 {
45620 if (temp4)
45621 delete arg4;
45622 }
45623 {
45624 if (temp9)
45625 delete arg9;
45626 }
45627 return resultobj;
45628fail:
45629 {
45630 if (temp4)
45631 delete arg4;
45632 }
45633 {
45634 if (temp9)
45635 delete arg9;
45636 }
45637 return NULL;
45638}
45639
45640
45641SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45642 PyObject *resultobj = 0;
45643 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45644 bool arg2 = (bool) true ;
45645 void *argp1 = 0 ;
45646 int res1 = 0 ;
45647 bool val2 ;
45648 int ecode2 = 0 ;
45649 PyObject * obj0 = 0 ;
45650 PyObject * obj1 = 0 ;
45651 char * kwnames[] = {
45652 (char *) "self",(char *) "collapse", NULL
45653 };
45654
45655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45657 if (!SWIG_IsOK(res1)) {
45658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45659 }
45660 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45661 if (obj1) {
45662 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45663 if (!SWIG_IsOK(ecode2)) {
45664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45665 }
45666 arg2 = static_cast< bool >(val2);
45667 }
45668 {
45669 PyThreadState* __tstate = wxPyBeginAllowThreads();
45670 (arg1)->Collapse(arg2);
45671 wxPyEndAllowThreads(__tstate);
45672 if (PyErr_Occurred()) SWIG_fail;
45673 }
45674 resultobj = SWIG_Py_Void();
45675 return resultobj;
45676fail:
45677 return NULL;
45678}
45679
45680
45681SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45682 PyObject *resultobj = 0;
45683 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45684 void *argp1 = 0 ;
45685 int res1 = 0 ;
45686 PyObject *swig_obj[1] ;
45687
45688 if (!args) SWIG_fail;
45689 swig_obj[0] = args;
45690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45691 if (!SWIG_IsOK(res1)) {
45692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45693 }
45694 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45695 {
45696 PyThreadState* __tstate = wxPyBeginAllowThreads();
45697 (arg1)->Expand();
45698 wxPyEndAllowThreads(__tstate);
45699 if (PyErr_Occurred()) SWIG_fail;
45700 }
45701 resultobj = SWIG_Py_Void();
45702 return resultobj;
45703fail:
45704 return NULL;
45705}
45706
45707
45708SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45709 PyObject *resultobj = 0;
45710 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45711 bool result;
45712 void *argp1 = 0 ;
45713 int res1 = 0 ;
45714 PyObject *swig_obj[1] ;
45715
45716 if (!args) SWIG_fail;
45717 swig_obj[0] = args;
45718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45719 if (!SWIG_IsOK(res1)) {
45720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45721 }
45722 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45723 {
45724 PyThreadState* __tstate = wxPyBeginAllowThreads();
45725 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45726 wxPyEndAllowThreads(__tstate);
45727 if (PyErr_Occurred()) SWIG_fail;
45728 }
45729 {
45730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45731 }
45732 return resultobj;
45733fail:
45734 return NULL;
45735}
45736
45737
45738SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45739 PyObject *resultobj = 0;
45740 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45741 bool result;
45742 void *argp1 = 0 ;
45743 int res1 = 0 ;
45744 PyObject *swig_obj[1] ;
45745
45746 if (!args) SWIG_fail;
45747 swig_obj[0] = args;
45748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45749 if (!SWIG_IsOK(res1)) {
45750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45751 }
45752 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45753 {
45754 PyThreadState* __tstate = wxPyBeginAllowThreads();
45755 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
45756 wxPyEndAllowThreads(__tstate);
45757 if (PyErr_Occurred()) SWIG_fail;
45758 }
45759 {
45760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45761 }
45762 return resultobj;
45763fail:
45764 return NULL;
45765}
45766
45767
45768SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45769 PyObject *resultobj = 0;
45770 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45771 wxWindow *result = 0 ;
45772 void *argp1 = 0 ;
45773 int res1 = 0 ;
45774 PyObject *swig_obj[1] ;
45775
45776 if (!args) SWIG_fail;
45777 swig_obj[0] = args;
45778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45779 if (!SWIG_IsOK(res1)) {
45780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45781 }
45782 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45783 {
45784 PyThreadState* __tstate = wxPyBeginAllowThreads();
45785 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
45786 wxPyEndAllowThreads(__tstate);
45787 if (PyErr_Occurred()) SWIG_fail;
45788 }
45789 {
45790 resultobj = wxPyMake_wxObject(result, 0);
45791 }
45792 return resultobj;
45793fail:
45794 return NULL;
45795}
45796
45797
45798SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45799 PyObject *obj;
45800 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45801 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
45802 return SWIG_Py_Void();
45803}
45804
45805SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45806 return SWIG_Python_InitShadowInstance(args);
45807}
45808
45809SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45810 PyObject *resultobj = 0;
45811 wxObject *arg1 = (wxObject *) 0 ;
45812 int arg2 ;
45813 bool arg3 ;
45814 wxCollapsiblePaneEvent *result = 0 ;
45815 void *argp1 = 0 ;
45816 int res1 = 0 ;
45817 int val2 ;
45818 int ecode2 = 0 ;
45819 bool val3 ;
45820 int ecode3 = 0 ;
45821 PyObject * obj0 = 0 ;
45822 PyObject * obj1 = 0 ;
45823 PyObject * obj2 = 0 ;
45824 char * kwnames[] = {
45825 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45826 };
45827
45828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45830 if (!SWIG_IsOK(res1)) {
45831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45832 }
45833 arg1 = reinterpret_cast< wxObject * >(argp1);
45834 ecode2 = SWIG_AsVal_int(obj1, &val2);
45835 if (!SWIG_IsOK(ecode2)) {
45836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45837 }
45838 arg2 = static_cast< int >(val2);
45839 ecode3 = SWIG_AsVal_bool(obj2, &val3);
45840 if (!SWIG_IsOK(ecode3)) {
45841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45842 }
45843 arg3 = static_cast< bool >(val3);
45844 {
45845 PyThreadState* __tstate = wxPyBeginAllowThreads();
45846 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
45847 wxPyEndAllowThreads(__tstate);
45848 if (PyErr_Occurred()) SWIG_fail;
45849 }
45850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
45851 return resultobj;
45852fail:
45853 return NULL;
45854}
45855
45856
45857SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45858 PyObject *resultobj = 0;
45859 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45860 bool result;
45861 void *argp1 = 0 ;
45862 int res1 = 0 ;
45863 PyObject *swig_obj[1] ;
45864
45865 if (!args) SWIG_fail;
45866 swig_obj[0] = args;
45867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45868 if (!SWIG_IsOK(res1)) {
45869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45870 }
45871 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45872 {
45873 PyThreadState* __tstate = wxPyBeginAllowThreads();
45874 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
45875 wxPyEndAllowThreads(__tstate);
45876 if (PyErr_Occurred()) SWIG_fail;
45877 }
45878 {
45879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45880 }
45881 return resultobj;
45882fail:
45883 return NULL;
45884}
45885
45886
45887SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45888 PyObject *resultobj = 0;
45889 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45890 bool arg2 ;
45891 void *argp1 = 0 ;
45892 int res1 = 0 ;
45893 bool val2 ;
45894 int ecode2 = 0 ;
45895 PyObject * obj0 = 0 ;
45896 PyObject * obj1 = 0 ;
45897 char * kwnames[] = {
45898 (char *) "self",(char *) "c", NULL
45899 };
45900
45901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
45902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45903 if (!SWIG_IsOK(res1)) {
45904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45905 }
45906 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45907 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45908 if (!SWIG_IsOK(ecode2)) {
45909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45910 }
45911 arg2 = static_cast< bool >(val2);
45912 {
45913 PyThreadState* __tstate = wxPyBeginAllowThreads();
45914 (arg1)->SetCollapsed(arg2);
45915 wxPyEndAllowThreads(__tstate);
45916 if (PyErr_Occurred()) SWIG_fail;
45917 }
45918 resultobj = SWIG_Py_Void();
45919 return resultobj;
45920fail:
45921 return NULL;
45922}
45923
45924
45925SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45926 PyObject *obj;
45927 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45928 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
45929 return SWIG_Py_Void();
45930}
45931
45932SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45933 return SWIG_Python_InitShadowInstance(args);
45934}
45935
b850e7f3
RD
45936static PyMethodDef SwigMethods[] = {
45937 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45938 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
45939 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45940 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
45941 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
45942 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45943 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
45944 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
45945 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
45946 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
45947 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
45949 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
45950 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
45951 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
45952 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
45953 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
45954 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45955 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45956 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45957 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
45958 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45959 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
45960 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
45961 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
45962 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
45963 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
45964 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
45965 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45966 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
45967 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
45968 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45969 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
45970 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
45971 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
45972 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
45973 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45974 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
45975 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
45976 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
45977 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
45978 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
45980 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45981 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
45982 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
45983 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
45984 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
45985 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45986 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
45987 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45988 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
45989 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
45990 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
45991 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45992 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
45993 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
45994 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
45996 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
45997 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45999 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46000 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46001 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46002 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46003 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46004 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46005 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46006 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46007 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46008 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46009 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46010 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46011 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46012 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46013 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46014 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46015 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46016 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46017 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46018 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46019 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46020 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
0d2c9713 46021 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
46022 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46023 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46024 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46025 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46026 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46027 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46028 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46029 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46030 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46031 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46032 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46034 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46035 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46036 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46037 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46038 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46039 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46040 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46041 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46042 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46043 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46044 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46045 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46046 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46047 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46048 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46049 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46050 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46051 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46053 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46055 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46056 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46057 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46058 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46059 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46060 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46061 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46062 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46063 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46064 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46065 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46066 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46067 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46068 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
46073 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46077 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
46078 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46080 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46081 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46082 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
46084 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
46085 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46086 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
46087 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46089 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46090 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
46091 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
46092 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
46094 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
46095 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46097 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46098 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46099 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
46101 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46103 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
46105 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
46106 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
46107 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
46108 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
46109 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
46110 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
46111 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
46113 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
46114 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
46115 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
46116 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
46117 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
46118 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
46119 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
46120 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
46121 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
46122 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
46124 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
46125 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
46127 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46128 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
46129 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
46130 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
46131 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46132 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
46134 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
46136 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
46137 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
46138 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
46139 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
46140 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
46141 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
46142 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
46143 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46147 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
46148 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 46149 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46150 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
46152 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
46153 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
46154 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46157 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
46158 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
46160 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46161 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
46164 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
46165 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
46166 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
46167 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
46168 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
46169 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
46170 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
46171 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
46172 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
46173 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
46175 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
46176 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
46177 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
46179 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 46180 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
46181 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
46182 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46183 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
46185 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
46186 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46187 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
46188 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
46189 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
46190 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
46191 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
46192 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
46194 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
46196 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
46197 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
46198 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
46199 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
46200 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46202 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
46203 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
46204 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
46205 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
46206 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
46208 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
46209 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
46210 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46213 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46214 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
46215 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46216 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
46217 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
46218 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46219 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
46220 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
46222 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46225 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
46226 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
46227 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
46230 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
46231 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
46233 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
46235 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
46236 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
46238 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
46241 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
46242 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
46244 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
46245 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46247 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
46248 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
46249 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46250 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
46252 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
46253 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46254 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46256 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46258 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46259 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
46260 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
46261 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
46262 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
46263 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
46265 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46266 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46267 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
46268 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
46269 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
46270 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
46271 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
46273 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
46276 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
46277 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46278 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46279 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
46280 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
46282 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
46283 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
46285 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
46287 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
46288 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
46290 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
46291 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
46292 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46294 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
46295 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
46296 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
46297 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
46298 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46299 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
46301 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
46303 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
46304 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
46305 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
46307 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
46308 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46312 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
46313 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46315 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
46318 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
46320 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 46321 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
1bd55598
RD
46322 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 46324 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
1bd55598
RD
46325 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
46328 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
46330 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 46331 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 46332 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46333 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46334 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
46336 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
46338 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
46340 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
46342 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
46343 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
46345 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
46347 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46349 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
46350 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
46351 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46353 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
46354 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
46355 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
46357 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
46358 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
46360 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
46362 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
46363 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
46364 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
46366 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
46367 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
46369 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
46371 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
46372 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
46373 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
46375 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
46376 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
46378 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46381 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46382 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
46384 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
46386 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
46387 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
46388 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46389 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
46390 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
46391 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
46393 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
46395 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
46396 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
46397 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
46398 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46399 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
46400 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
46401 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
46402 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
46403 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
46404 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
46405 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
46406 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
46407 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
46408 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
46409 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
46410 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
46411 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
46412 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
46413 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
46414 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
46415 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
46416 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
46417 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
46418 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46419 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
46420 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46424 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
46427 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
46429 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
46431 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46435 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
46439 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
46444 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
46445 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46449 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
46452 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
46458 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
46462 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
46463 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
46464 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
46465 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
46468 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
46469 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
46471 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
46472 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46473 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
46474 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
46475 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
46476 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
46477 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
46479 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46480 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46481 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
46482 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
46483 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
46485 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46488 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
46489 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
46490 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
46491 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
46492 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
46493 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
46494 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
46496 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
46497 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
46498 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
46499 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
46500 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
46501 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
46502 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46504 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46508 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46515 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46516 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46517 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46518 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46519 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46520 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46521 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46522 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46523 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46524 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46525 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46526 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46527 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46528 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46529 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46530 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46531 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46532 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46533 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46534 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46535 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46536 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46537 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46538 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46539 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46540 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46541 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46542 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46543 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46544 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46545 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46546 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46547 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46548 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46549 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46550 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46551 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46552 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46553 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46554 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46555 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46556 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46557 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46558 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46559 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46560 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46561 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46562 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46563 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46564 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46565 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46566 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46567 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46568 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46569 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46570 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46571 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46572 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46573 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46574 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46575 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46576 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46577 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46578 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46579 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46580 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46581 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46583 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46588 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46589 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46590 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46591 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46593 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46595 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46597 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46598 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46601 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46604 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46605 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46606 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46607 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46609 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46610 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46612 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46613 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46615 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46616 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46617 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46618 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46619 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46620 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46622 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46623 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46624 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46626 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46627 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46628 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46630 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46631 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46633 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46634 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46635 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46636 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46637 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46639 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46640 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46643 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46645 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46646 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46648 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46649 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46650 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46652 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46653 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46655 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46659 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46661 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46663 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46664 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46665 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46666 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46667 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46668 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46669 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46670 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46671 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46672 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46673 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46674 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46675 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46676 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46677 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46678 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46679 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46680 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46681 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46682 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46683 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 46684 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
1bd55598
RD
46685 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46686 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46687 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46688 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46689 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46690 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46691 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46692 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46693 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46694 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46695 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46696 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46697 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46698 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46699 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46700 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46701 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46702 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46703 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46704 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46706 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46707 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46708 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46709 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46710 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46712 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46713 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46715 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46716 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46717 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46718 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46720 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46722 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46723 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46724 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46725 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46726 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46727 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46728 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46729 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46730 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46732 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46733 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46734 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46735 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46736 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46737 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46738 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46740 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46741 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46742 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46743 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46744 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46745 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46746 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46747 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46748 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46749 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46750 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46751 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46752 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46753 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46754 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46755 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46756 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46757 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46758 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46759 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46760 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
3d6c9062
RD
46761 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46762 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
1bd55598
RD
46763 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46764 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46765 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46766 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46767 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46768 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46769 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46770 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46771 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46772 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46773 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46774 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46775 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46776 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46777 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46778 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
46779 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46780 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
1bd55598
RD
46781 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46782 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46783 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46784 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46785 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46786 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46787 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46788 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46789 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46790 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46791 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46792 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46793 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46794 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46795 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46796 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46797 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46798 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46799 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46800 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46801 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46802 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46803 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46804 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46805 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46806 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46807 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46808 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46809 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46810 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46811 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46812 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46813 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46814 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46815 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46816 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46817 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46818 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46819 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46820 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46821 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46822 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46823 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46824 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46825 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46826 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46827 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46828 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46829 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46830 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46831 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46832 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46833 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46834 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46835 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46836 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
46837 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46838 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46839 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46840 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46841 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46842 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46843 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46844 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46845 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46846 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46847 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46848 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46849 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 46850 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
1bd55598
RD
46851 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46852 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46853 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46854 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 46855 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
46856 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46857 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46858 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46859 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46860 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46861 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46862 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46863 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46864 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46866 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46867 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46868 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46869 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46870 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46872 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46873 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46874 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46875 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46876 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46877 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46878 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46879 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46881 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46882 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46883 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46884 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46885 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46886 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46887 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46888 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46889 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46890 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46891 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46892 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
46893 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46895 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46896 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46897 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46899 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46901 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46902 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46903 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46904 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46906 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46907 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46908 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46909 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46910 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46911 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46912 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
46913 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46914 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46916 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46917 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
1eeb270e
RD
46918 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46919 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
46920 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46921 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
46923 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46924 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
46925 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
46926 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
46927 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
46928 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
46930 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
46932 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
46934 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
46935 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
46937 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46938 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
46939 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
46940 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46941 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
46942 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
46944 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
46945 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
46947 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
46948 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
46949 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46950 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
46951 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46952 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
46953 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
46954 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46955 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
46956 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
46957 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
46958 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46959 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
46960 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46961 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
46962 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
46963 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
46965 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
46967 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
46969 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
46970 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
46971 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
46972 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
46974 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46975 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
46976 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
5172800e
RD
46977 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
46978 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
46979 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46980 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46981 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
46982 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
46983 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
46984 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
46985 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
46986 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
46987 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
46989 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
46990 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
46991 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
1bd55598
RD
46992 { NULL, NULL, 0, NULL }
46993};
46994
46995
46996/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46997
46998static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46999 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47000}
47001static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47002 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47003}
47004static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47005 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47006}
47007static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47008 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47009}
47010static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47011 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47012}
47013static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47014 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47015}
47016static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47017 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47018}
47019static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47020 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47021}
b850e7f3
RD
47022static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47024}
47025static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47027}
47028static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47030}
1bd55598
RD
47031static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47032 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47033}
47034static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47035 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47036}
47037static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47039}
1bd55598
RD
47040static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47041 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47042}
34e0a3bb
RD
47043static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47044 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47045}
2131d850
RD
47046static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47047 return (void *)((wxEvent *) ((wxPyEvent *) x));
47048}
1bd55598
RD
47049static void *_p_wxListEventTo_p_wxEvent(void *x) {
47050 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47051}
47052static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
47053 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47054}
47055static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
47056 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47057}
47058static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
47059 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47060}
47061static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
47062 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47063}
47064static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
47065 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47066}
47067static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
47068 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
47069}
47070static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47071 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47072}
47073static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47074 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47075}
47076static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47077 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47078}
47079static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47080 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47081}
47082static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47083 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47084}
47085static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47086 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47087}
47088static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47089 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47090}
47091static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47092 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47093}
47094static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47095 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47096}
5172800e
RD
47097static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
47098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47099}
1bd55598
RD
47100static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47101 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47102}
47103static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47104 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47105}
34e0a3bb
RD
47106static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
47107 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
47108}
1bd55598
RD
47109static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47110 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47111}
47112static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
47113 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
47114}
47115static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
47116 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
47117}
47118static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
47119 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47120}
47121static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
47122 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
47123}
704eda0c
RD
47124static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
47125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
47126}
1bd55598
RD
47127static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
47128 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
47129}
47130static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
47131 return (void *)((wxEvent *) ((wxFocusEvent *) x));
47132}
47133static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
47134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
47135}
47136static void *_p_wxShowEventTo_p_wxEvent(void *x) {
47137 return (void *)((wxEvent *) ((wxShowEvent *) x));
47138}
47139static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
47140 return (void *)((wxEvent *) ((wxCommandEvent *) x));
47141}
47142static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
47143 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
47144}
47145static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
47146 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47147}
47148static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
47149 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
47150}
47151static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
47152 return (void *)((wxEvent *) ((wxKeyEvent *) x));
47153}
47154static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
47155 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
47156}
47157static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
47158 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47159}
b850e7f3
RD
47160static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
47161 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
47162}
47163static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
47164 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
47165}
47166static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
47167 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
47168}
47169static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
47170 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
47171}
1bd55598
RD
47172static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
47173 return (void *)((wxItemContainer *) ((wxComboBox *) x));
47174}
47175static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
47176 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47177}
47178static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
47179 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
47180}
47181static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
47182 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
47183}
47184static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
47185 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
47186}
47187static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
47188 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47189}
47190static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
47191 return (void *)((wxPyListCtrl *) ((wxListView *) x));
47192}
5172800e
RD
47193static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
47194 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
47195}
1bd55598
RD
47196static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
47197 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
47198}
47199static void *_p_wxToolBarTo_p_wxControl(void *x) {
47200 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
47201}
b850e7f3
RD
47202static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
47203 return (void *)((wxControl *) ((wxPickerBase *) x));
47204}
1bd55598
RD
47205static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
47206 return (void *)((wxControl *) ((wxToggleButton *) x));
47207}
47208static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
47209 return (void *)((wxControl *) ((wxRadioButton *) x));
47210}
47211static void *_p_wxToolbookTo_p_wxControl(void *x) {
47212 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
47213}
47214static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
47215 return (void *)((wxControl *) ((wxToolBarBase *) x));
47216}
47217static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
47218 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47219}
47220static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
47221 return (void *)((wxControl *) ((wxPyListCtrl *) x));
47222}
47223static void *_p_wxComboBoxTo_p_wxControl(void *x) {
47224 return (void *)((wxControl *) ((wxComboBox *) x));
47225}
47226static void *_p_wxPyControlTo_p_wxControl(void *x) {
47227 return (void *)((wxControl *) ((wxPyControl *) x));
47228}
47229static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
47230 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
47231}
47232static void *_p_wxScrollBarTo_p_wxControl(void *x) {
47233 return (void *)((wxControl *) ((wxScrollBar *) x));
47234}
47235static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
47236 return (void *)((wxControl *) ((wxControlWithItems *) x));
47237}
47238static void *_p_wxGaugeTo_p_wxControl(void *x) {
47239 return (void *)((wxControl *) ((wxGauge *) x));
47240}
47241static void *_p_wxStaticLineTo_p_wxControl(void *x) {
47242 return (void *)((wxControl *) ((wxStaticLine *) x));
47243}
47244static void *_p_wxChoicebookTo_p_wxControl(void *x) {
47245 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
47246}
47247static void *_p_wxListbookTo_p_wxControl(void *x) {
47248 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
47249}
704eda0c
RD
47250static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
47251 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
47252}
1bd55598
RD
47253static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
47254 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
47255}
47256static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
47257 return (void *)((wxControl *) ((wxCheckBox *) x));
47258}
47259static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
47260 return (void *)((wxControl *) ((wxRadioBox *) x));
47261}
47262static void *_p_wxChoiceTo_p_wxControl(void *x) {
47263 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
47264}
47265static void *_p_wxListBoxTo_p_wxControl(void *x) {
47266 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
47267}
47268static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
47269 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47270}
47271static void *_p_wxListViewTo_p_wxControl(void *x) {
47272 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
47273}
47274static void *_p_wxNotebookTo_p_wxControl(void *x) {
47275 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
47276}
47277static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
47278 return (void *)((wxControl *) ((wxStaticBitmap *) x));
47279}
47280static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
47281 return (void *)((wxControl *) ((wxSpinCtrl *) x));
47282}
47283static void *_p_wxStaticTextTo_p_wxControl(void *x) {
47284 return (void *)((wxControl *) ((wxStaticText *) x));
47285}
47286static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
47287 return (void *)((wxControl *) ((wxStaticBox *) x));
47288}
47289static void *_p_wxSliderTo_p_wxControl(void *x) {
47290 return (void *)((wxControl *) ((wxSlider *) x));
47291}
47292static void *_p_wxTreebookTo_p_wxControl(void *x) {
47293 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
47294}
47295static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
47296 return (void *)((wxControl *) ((wxSpinButton *) x));
47297}
47298static void *_p_wxButtonTo_p_wxControl(void *x) {
47299 return (void *)((wxControl *) ((wxButton *) x));
47300}
47301static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
47302 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
47303}
47304static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
47305 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47306}
47307static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
47308 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
47309}
b850e7f3
RD
47310static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
47311 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
47312}
47313static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
47314 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
47315}
47316static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
47317 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
47318}
47319static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
47320 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
47321}
1bd55598
RD
47322static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
47323 return (void *)((wxControl *) ((wxTextCtrl *) x));
47324}
47325static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
47326 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
47327}
47328static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
47329 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
47330}
47331static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
47332 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47333}
47334static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
47335 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
47336}
47337static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
47338 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
47339}
47340static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
47341 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
47342}
47343static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
47344 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47345}
47346static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
47347 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47348}
47349static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
47350 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47351}
47352static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
47353 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47354}
47355static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
47356 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47357}
47358static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
47359 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
47360}
47361static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
47362 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
47363}
47364static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
47365 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
47366}
47367static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
47368 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
47369}
47370static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
47371 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
47372}
5172800e
RD
47373static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
47374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
47375}
1bd55598
RD
47376static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47378}
47379static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
47380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47381}
47382static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47383 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47384}
47385static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47386 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47387}
47388static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
47389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47390}
b850e7f3
RD
47391static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
47392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
47393}
1bd55598
RD
47394static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47395 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47396}
47397static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
47398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
47399}
47400static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
47401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
47402}
47403static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
47404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47405}
47406static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47407 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47408}
47409static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47411}
47412static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
47413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
47414}
47415static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
47416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47417}
47418static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
47419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47420}
47421static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
47422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47423}
47424static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
47425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
47426}
47427static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47428 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47429}
47430static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
47431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47432}
47433static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
47434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
47435}
47436static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47438}
47439static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
47440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
47441}
47442static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
47443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
47444}
47445static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
47446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47447}
47448static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
47449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47450}
704eda0c
RD
47451static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
47452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47453}
1bd55598
RD
47454static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
47455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47456}
47457static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
47458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
47459}
47460static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
47461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
47462}
47463static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
47464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47465}
47466static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
47467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47468}
47469static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
47470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47471}
47472static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
47473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47474}
47475static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
47476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47477}
47478static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
47479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47480}
47481static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
47482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47483}
47484static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
47485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
47486}
47487static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
47488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
47489}
47490static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
47491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
47492}
47493static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
47494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47495}
47496static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
47497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
47498}
47499static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
47500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
47501}
47502static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
47503 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47504}
47505static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
47506 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47507}
47508static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
47509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47510}
b850e7f3
RD
47511static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
47512 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47513}
47514static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
47515 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47516}
47517static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
47518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47519}
47520static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
47521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47522}
1bd55598
RD
47523static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
47524 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47525}
47526static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47527 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47528}
47529static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47530 return (void *)((wxButton *) ((wxBitmapButton *) x));
47531}
47532static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47533 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47534}
47535static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47536 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47537}
47538static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47539 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47540}
47541static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47542 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47543}
47544static void *_p_wxToolbookTo_p_wxObject(void *x) {
47545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47546}
1bd55598
RD
47547static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47548 return (void *)((wxObject *) ((wxSizerItem *) x));
47549}
34e0a3bb
RD
47550static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47551 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47552}
1bd55598
RD
47553static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47555}
47556static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47557 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47558}
47559static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47561}
47562static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47563 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47564}
47565static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47566 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47567}
47568static void *_p_wxSizerTo_p_wxObject(void *x) {
47569 return (void *)((wxObject *) ((wxSizer *) x));
47570}
47571static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47572 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47573}
47574static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47576}
47577static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47579}
47580static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47582}
47583static void *_p_wxEventTo_p_wxObject(void *x) {
47584 return (void *)((wxObject *) ((wxEvent *) x));
47585}
47586static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47587 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47588}
47589static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47590 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47591}
47592static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47593 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47594}
47595static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47597}
b850e7f3
RD
47598static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47600}
1bd55598
RD
47601static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47603}
47604static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47606}
2131d850
RD
47607static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47608 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47609}
1bd55598
RD
47610static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47611 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47612}
47613static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47614 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47615}
47616static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47617 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47618}
47619static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47620 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47621}
47622static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47623 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47624}
47625static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47626 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47627}
47628static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47630}
47631static void *_p_wxControlTo_p_wxObject(void *x) {
47632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47633}
47634static void *_p_wxPyControlTo_p_wxObject(void *x) {
47635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47636}
47637static void *_p_wxGaugeTo_p_wxObject(void *x) {
47638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47639}
47640static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47642}
47643static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47645}
47646static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47648}
47649static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47650 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47651}
b850e7f3
RD
47652static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47653 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47654}
47655static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47657}
47658static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47660}
1bd55598
RD
47661static void *_p_wxChoiceTo_p_wxObject(void *x) {
47662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47663}
47664static void *_p_wxFSFileTo_p_wxObject(void *x) {
47665 return (void *)((wxObject *) ((wxFSFile *) x));
47666}
47667static void *_p_wxPySizerTo_p_wxObject(void *x) {
47668 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47669}
47670static void *_p_wxTreebookTo_p_wxObject(void *x) {
47671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47672}
47673static void *_p_wxListViewTo_p_wxObject(void *x) {
47674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47675}
704eda0c
RD
47676static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47678}
1bd55598
RD
47679static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47681}
47682static void *_p_wxNotebookTo_p_wxObject(void *x) {
47683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47684}
47685static void *_p_wxPyEventTo_p_wxObject(void *x) {
47686 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47687}
47688static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47689 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47690}
47691static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47693}
47694static void *_p_wxListbookTo_p_wxObject(void *x) {
47695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47696}
47697static void *_p_wxShowEventTo_p_wxObject(void *x) {
47698 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47699}
47700static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47702}
47703static void *_p_wxSliderTo_p_wxObject(void *x) {
47704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47705}
47706static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47707 return (void *)((wxObject *) ((wxMenuItem *) x));
47708}
47709static void *_p_wxDateEventTo_p_wxObject(void *x) {
47710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47711}
47712static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47713 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47714}
47715static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47716 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47717}
47718static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47719 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47720}
47721static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47722 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47723}
47724static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47725 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47726}
47727static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47728 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47729}
47730static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47731 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47732}
47733static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47734 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47735}
47736static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47738}
47739static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47740 return (void *)((wxObject *) ((wxContextHelp *) x));
47741}
5172800e
RD
47742static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
47743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47744}
1bd55598
RD
47745static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47747}
47748static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47749 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47750}
47751static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47752 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47753}
47754static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47755 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47756}
47757static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47758 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47759}
47760static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47761 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47762}
47763static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47764 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47765}
47766static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47767 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47768}
47769static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47770 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47771}
47772static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47773 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47774}
47775static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47776 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47777}
47778static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47779 return (void *)((wxObject *) ((wxImageHandler *) x));
47780}
47781static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47782 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47783}
47784static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47785 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47786}
580080c5
RD
47787static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
47788 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
47789}
1bd55598
RD
47790static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47791 return (void *)((wxObject *) ((wxEvtHandler *) x));
47792}
34e0a3bb
RD
47793static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47794 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47795}
1bd55598
RD
47796static void *_p_wxListEventTo_p_wxObject(void *x) {
47797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47798}
47799static void *_p_wxListBoxTo_p_wxObject(void *x) {
47800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47801}
47802static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47804}
47805static void *_p_wxButtonTo_p_wxObject(void *x) {
47806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47807}
47808static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47810}
47811static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47813}
47814static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47816}
1bd55598
RD
47817static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47818 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47819}
580080c5
RD
47820static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47821 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47822}
1bd55598
RD
47823static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47825}
47826static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47828}
47829static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
47831}
47832static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47834}
47835static void *_p_wxListItemTo_p_wxObject(void *x) {
47836 return (void *)((wxObject *) ((wxListItem *) x));
47837}
47838static void *_p_wxImageTo_p_wxObject(void *x) {
47839 return (void *)((wxObject *) ((wxImage *) x));
47840}
47841static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47842 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47843}
47844static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47846}
47847static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47848 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47849}
47850static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47852}
47853static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47855}
47856static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47858}
47859static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47861}
47862static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47864}
47865static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47866 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47867}
47868static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47870}
47871static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47872 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47873}
47874static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47875 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47876}
47877static void *_p_wxWindowTo_p_wxObject(void *x) {
47878 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47879}
47880static void *_p_wxMenuTo_p_wxObject(void *x) {
47881 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47882}
47883static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47885}
47886static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47887 return (void *)((wxObject *) ((wxFileSystem *) x));
47888}
5172800e
RD
47889static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
47890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
47891}
1bd55598
RD
47892static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47894}
47895static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47896 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47897}
47898static void *_p_wxPyAppTo_p_wxObject(void *x) {
47899 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47900}
47901static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47902 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47903}
47904static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47905 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47906}
47907static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47908 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47909}
47910static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47912}
47913static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47915}
47916static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47917 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47918}
47919static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47920 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47921}
47922static void *_p_wxStaticTextTo_p_wxObject(void *x) {
47923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
47924}
47925static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47926 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47927}
47928static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47929 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47930}
47931static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47933}
47934static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
47935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47936}
b850e7f3
RD
47937static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
47938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47939}
47940static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
47941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47942}
47943static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
47944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47945}
47946static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
47947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47948}
1bd55598
RD
47949static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47951}
704eda0c
RD
47952static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
47953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47954}
1bd55598
RD
47955static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
47956 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
47957}
47958static void *_p_wxToolBarTo_p_wxObject(void *x) {
47959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47960}
47961static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47962 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47963}
47964static void *_p_wxValidatorTo_p_wxObject(void *x) {
47965 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47966}
5172800e
RD
47967static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
47968 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
47969}
1bd55598
RD
47970static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47971 return (void *)((wxWindow *) ((wxMenuBar *) x));
47972}
47973static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
47974 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
47975}
47976static void *_p_wxToolBarTo_p_wxWindow(void *x) {
47977 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47978}
b850e7f3
RD
47979static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
47980 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
47981}
1bd55598
RD
47982static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
47983 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
47984}
47985static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
47986 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
47987}
47988static void *_p_wxToolbookTo_p_wxWindow(void *x) {
47989 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47990}
47991static void *_p_wxControlTo_p_wxWindow(void *x) {
47992 return (void *)((wxWindow *) ((wxControl *) x));
47993}
47994static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
47995 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
47996}
47997static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
47998 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
47999}
48000static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48001 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
48002}
48003static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48004 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48005}
48006static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48007 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48008}
48009static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48010 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48011}
48012static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48013 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48014}
48015static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48016 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48017}
48018static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48019 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48020}
48021static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48022 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48023}
48024static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48025 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48026}
48027static void *_p_wxListbookTo_p_wxWindow(void *x) {
48028 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48029}
704eda0c
RD
48030static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
48031 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
48032}
1bd55598
RD
48033static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
48034 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
48035}
48036static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
48037 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
48038}
48039static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
48040 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
48041}
48042static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
48043 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48044}
48045static void *_p_wxChoiceTo_p_wxWindow(void *x) {
48046 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48047}
48048static void *_p_wxListBoxTo_p_wxWindow(void *x) {
48049 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48050}
48051static void *_p_wxListViewTo_p_wxWindow(void *x) {
48052 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48053}
48054static void *_p_wxNotebookTo_p_wxWindow(void *x) {
48055 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48056}
48057static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
48058 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
48059}
48060static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
48061 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
48062}
48063static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
48064 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
48065}
48066static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
48067 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
48068}
48069static void *_p_wxSliderTo_p_wxWindow(void *x) {
48070 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
48071}
48072static void *_p_wxTreebookTo_p_wxWindow(void *x) {
48073 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48074}
48075static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
48076 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
48077}
48078static void *_p_wxButtonTo_p_wxWindow(void *x) {
48079 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
48080}
48081static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
48082 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
48083}
48084static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
48085 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48086}
48087static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
48088 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
48089}
b850e7f3
RD
48090static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
48091 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48092}
48093static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
48094 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48095}
48096static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
48097 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48098}
48099static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
48100 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48101}
1bd55598
RD
48102static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
48103 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
48104}
48105static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48106 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48107}
48108static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48109 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48110}
48111static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48112 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48113}
48114static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48115 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48116}
48117static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48118 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48119}
48120static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
48121 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48122}
704eda0c
RD
48123static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
48124 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
48125}
2131d850
RD
48126static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
48127 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
48128}
b850e7f3
RD
48129static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
48130 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
48131}
48132static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
48133 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48134}
48135static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
48136 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
48137}
1bd55598
RD
48138static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
48139 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
48140}
48141static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
48142 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
48143}
48144static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
48145 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
48146}
48147static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
48148 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
48149}
48150static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
48151 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
48152}
1bd55598
RD
48153static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
48154 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48155}
2131d850
RD
48156static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
48157 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48158}
1bd55598
RD
48159static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
48160 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48161}
48162static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
48163 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48164}
48165static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
48166 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48167}
48168static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
48169 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
48170}
48171static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
48172 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
48173}
48174static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
48175 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
48176}
5172800e
RD
48177static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
48178 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48179}
1bd55598
RD
48180static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
48181 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48182}
48183static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
48184 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
48185}
48186static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
48187 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
48188}
48189static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
48190 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
48191}
48192static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
48193 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
48194}
48195static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
48196 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
48197}
48198static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
48199 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
48200}
48201static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
48202 return (void *)((wxControlWithItems *) ((wxChoice *) x));
48203}
48204static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
48205 return (void *)((wxControlWithItems *) ((wxListBox *) x));
48206}
48207static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
48208 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
48209}
48210static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
48211 return (void *)((wxValidator *) ((wxPyValidator *) x));
48212}
48213static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48214static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
48215static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
48216static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
48217static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
48218static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48219static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48220static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48221static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
48222static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48223static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48224static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48225static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48226static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48227static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48228static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48229static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48230static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48231static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48232static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48233static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
5172800e
RD
48234static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48235static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
1bd55598 48236static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
48237static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48238static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
48239static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48240static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48241static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 48242static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598
RD
48243static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48244static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48245static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48246static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48247static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48248static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48249static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48250static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48251static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48252static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48253static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48254static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48255static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48256static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48257static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48258static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 48259static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
1bd55598
RD
48260static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48261static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48262static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48263static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48264static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48265static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48266static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48267static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 48268static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
48269static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48270static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48271static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48272static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48273static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48274static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
34e0a3bb 48275static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
1bd55598
RD
48276static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48277static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48278static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48279static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48280static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48281static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48282static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48283static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48284static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48285static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48286static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48287static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48288static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48289static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48290static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
48291static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
48292static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48293static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
1bd55598 48294static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
48295static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48296static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
48297static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48298static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48299static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48300static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48301static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
48302static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48303static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
48304static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48305static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48306static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48307static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48308static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48309static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48310static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48311static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48312static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48313static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48314static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48315static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48316static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48317static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48318static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48319static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48320static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48321static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 48322static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 48323static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
48324static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48325static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48326static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48327static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
48328static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48329static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48330static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48331static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
48332static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
48333static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
48334static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48335static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48336static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48337static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
5172800e 48338static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
48339static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48340static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48341static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48342static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 48343static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 48344static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
48345static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48346static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 48347static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598 48348static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 48349static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
1bd55598
RD
48350static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
48351static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48352static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 48353static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
1bd55598
RD
48354static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48355static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48356static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48357static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48358static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48359static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48360static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48361static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48362static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48363static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48364static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48365static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48366static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48367static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48368static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48369static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48370static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48371static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48372static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48373static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48374static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48375static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48376static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48377static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48378static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48379static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48380static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48381static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48382static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
48383static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48384static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48385static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48386static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48387static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48388static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48389static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 48390static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
1bd55598
RD
48391
48392static swig_type_info *swig_type_initial[] = {
48393 &_swigt__p_bool,
48394 &_swigt__p_char,
48395 &_swigt__p_form_ops_t,
48396 &_swigt__p_int,
48397 &_swigt__p_long,
48398 &_swigt__p_unsigned_char,
48399 &_swigt__p_unsigned_int,
48400 &_swigt__p_unsigned_long,
48401 &_swigt__p_void,
48402 &_swigt__p_wxANIHandler,
48403 &_swigt__p_wxAcceleratorTable,
48404 &_swigt__p_wxActivateEvent,
48405 &_swigt__p_wxArrayInt,
48406 &_swigt__p_wxArrayString,
48407 &_swigt__p_wxBMPHandler,
48408 &_swigt__p_wxBitmap,
48409 &_swigt__p_wxBitmapButton,
48410 &_swigt__p_wxBookCtrlBase,
48411 &_swigt__p_wxBookCtrlBaseEvent,
48412 &_swigt__p_wxBoxSizer,
48413 &_swigt__p_wxButton,
48414 &_swigt__p_wxCURHandler,
48415 &_swigt__p_wxCheckBox,
48416 &_swigt__p_wxCheckListBox,
48417 &_swigt__p_wxChildFocusEvent,
48418 &_swigt__p_wxChoice,
48419 &_swigt__p_wxChoicebook,
48420 &_swigt__p_wxChoicebookEvent,
2131d850 48421 &_swigt__p_wxClipboardTextEvent,
1bd55598 48422 &_swigt__p_wxCloseEvent,
5172800e
RD
48423 &_swigt__p_wxCollapsiblePane,
48424 &_swigt__p_wxCollapsiblePaneEvent,
1bd55598 48425 &_swigt__p_wxColour,
b850e7f3
RD
48426 &_swigt__p_wxColourPickerCtrl,
48427 &_swigt__p_wxColourPickerEvent,
1bd55598
RD
48428 &_swigt__p_wxComboBox,
48429 &_swigt__p_wxCommandEvent,
48430 &_swigt__p_wxContextHelp,
48431 &_swigt__p_wxContextHelpButton,
48432 &_swigt__p_wxContextMenuEvent,
48433 &_swigt__p_wxControl,
48434 &_swigt__p_wxControlWithItems,
48435 &_swigt__p_wxCursor,
48436 &_swigt__p_wxDC,
48437 &_swigt__p_wxDateEvent,
48438 &_swigt__p_wxDatePickerCtrl,
48439 &_swigt__p_wxDateTime,
48440 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 48441 &_swigt__p_wxDirPickerCtrl,
1bd55598
RD
48442 &_swigt__p_wxDisplayChangedEvent,
48443 &_swigt__p_wxDropFilesEvent,
48444 &_swigt__p_wxDuplexMode,
48445 &_swigt__p_wxEraseEvent,
48446 &_swigt__p_wxEvent,
48447 &_swigt__p_wxEvtHandler,
48448 &_swigt__p_wxFSFile,
b850e7f3
RD
48449 &_swigt__p_wxFileDirPickerEvent,
48450 &_swigt__p_wxFilePickerCtrl,
1bd55598
RD
48451 &_swigt__p_wxFileSystem,
48452 &_swigt__p_wxFlexGridSizer,
48453 &_swigt__p_wxFocusEvent,
48454 &_swigt__p_wxFont,
b850e7f3
RD
48455 &_swigt__p_wxFontPickerCtrl,
48456 &_swigt__p_wxFontPickerEvent,
1bd55598
RD
48457 &_swigt__p_wxGBSizerItem,
48458 &_swigt__p_wxGIFHandler,
48459 &_swigt__p_wxGauge,
48460 &_swigt__p_wxGenericDirCtrl,
48461 &_swigt__p_wxGenericDragImage,
48462 &_swigt__p_wxGridBagSizer,
48463 &_swigt__p_wxGridSizer,
48464 &_swigt__p_wxHelpEvent,
48465 &_swigt__p_wxHelpProvider,
704eda0c
RD
48466 &_swigt__p_wxHyperlinkCtrl,
48467 &_swigt__p_wxHyperlinkEvent,
1bd55598
RD
48468 &_swigt__p_wxICOHandler,
48469 &_swigt__p_wxIcon,
48470 &_swigt__p_wxIconizeEvent,
48471 &_swigt__p_wxIdleEvent,
48472 &_swigt__p_wxImage,
48473 &_swigt__p_wxImageHandler,
48474 &_swigt__p_wxImageList,
48475 &_swigt__p_wxIndividualLayoutConstraint,
48476 &_swigt__p_wxInitDialogEvent,
48477 &_swigt__p_wxItemContainer,
48478 &_swigt__p_wxJPEGHandler,
48479 &_swigt__p_wxKeyEvent,
48480 &_swigt__p_wxLayoutConstraints,
48481 &_swigt__p_wxListBox,
48482 &_swigt__p_wxListEvent,
48483 &_swigt__p_wxListItem,
48484 &_swigt__p_wxListItemAttr,
48485 &_swigt__p_wxListView,
48486 &_swigt__p_wxListbook,
48487 &_swigt__p_wxListbookEvent,
48488 &_swigt__p_wxMaximizeEvent,
48489 &_swigt__p_wxMemoryDC,
48490 &_swigt__p_wxMenu,
48491 &_swigt__p_wxMenuBar,
48492 &_swigt__p_wxMenuEvent,
48493 &_swigt__p_wxMenuItem,
48494 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 48495 &_swigt__p_wxMouseCaptureLostEvent,
1bd55598
RD
48496 &_swigt__p_wxMouseEvent,
48497 &_swigt__p_wxMoveEvent,
48498 &_swigt__p_wxNavigationKeyEvent,
48499 &_swigt__p_wxNcPaintEvent,
48500 &_swigt__p_wxNotebook,
48501 &_swigt__p_wxNotebookEvent,
48502 &_swigt__p_wxNotifyEvent,
48503 &_swigt__p_wxObject,
48504 &_swigt__p_wxPCXHandler,
48505 &_swigt__p_wxPNGHandler,
48506 &_swigt__p_wxPNMHandler,
48507 &_swigt__p_wxPaintEvent,
48508 &_swigt__p_wxPaletteChangedEvent,
48509 &_swigt__p_wxPaperSize,
b850e7f3 48510 &_swigt__p_wxPickerBase,
1bd55598
RD
48511 &_swigt__p_wxPoint,
48512 &_swigt__p_wxPyApp,
48513 &_swigt__p_wxPyCommandEvent,
48514 &_swigt__p_wxPyControl,
48515 &_swigt__p_wxPyEvent,
48516 &_swigt__p_wxPyImageHandler,
48517 &_swigt__p_wxPyListCtrl,
48518 &_swigt__p_wxPySizer,
48519 &_swigt__p_wxPyTreeCtrl,
48520 &_swigt__p_wxPyTreeItemData,
48521 &_swigt__p_wxPyValidator,
48522 &_swigt__p_wxQueryNewPaletteEvent,
48523 &_swigt__p_wxRadioBox,
48524 &_swigt__p_wxRadioButton,
48525 &_swigt__p_wxRect,
48526 &_swigt__p_wxScrollBar,
48527 &_swigt__p_wxScrollEvent,
48528 &_swigt__p_wxScrollWinEvent,
48529 &_swigt__p_wxSetCursorEvent,
48530 &_swigt__p_wxShowEvent,
48531 &_swigt__p_wxSimpleHelpProvider,
48532 &_swigt__p_wxSize,
48533 &_swigt__p_wxSizeEvent,
48534 &_swigt__p_wxSizer,
48535 &_swigt__p_wxSizerItem,
48536 &_swigt__p_wxSlider,
48537 &_swigt__p_wxSpinButton,
48538 &_swigt__p_wxSpinCtrl,
48539 &_swigt__p_wxSpinEvent,
48540 &_swigt__p_wxStaticBitmap,
48541 &_swigt__p_wxStaticBox,
48542 &_swigt__p_wxStaticBoxSizer,
48543 &_swigt__p_wxStaticLine,
48544 &_swigt__p_wxStaticText,
48545 &_swigt__p_wxStdDialogButtonSizer,
48546 &_swigt__p_wxString,
48547 &_swigt__p_wxSysColourChangedEvent,
580080c5 48548 &_swigt__p_wxTGAHandler,
1bd55598
RD
48549 &_swigt__p_wxTIFFHandler,
48550 &_swigt__p_wxTextAttr,
48551 &_swigt__p_wxTextCtrl,
48552 &_swigt__p_wxTextUrlEvent,
48553 &_swigt__p_wxToggleButton,
48554 &_swigt__p_wxToolBar,
48555 &_swigt__p_wxToolBarBase,
48556 &_swigt__p_wxToolBarToolBase,
48557 &_swigt__p_wxToolbook,
48558 &_swigt__p_wxToolbookEvent,
1bd55598
RD
48559 &_swigt__p_wxTreeEvent,
48560 &_swigt__p_wxTreeItemId,
48561 &_swigt__p_wxTreebook,
48562 &_swigt__p_wxTreebookEvent,
48563 &_swigt__p_wxUpdateUIEvent,
48564 &_swigt__p_wxValidator,
48565 &_swigt__p_wxVisualAttributes,
48566 &_swigt__p_wxWindow,
b850e7f3 48567 &_swigt__p_wxWindowBase,
1bd55598
RD
48568 &_swigt__p_wxWindowCreateEvent,
48569 &_swigt__p_wxWindowDestroyEvent,
48570 &_swigt__p_wxXPMHandler,
48571};
48572
48573static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48574static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48575static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48576static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48577static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48578static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48579static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48580static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48581static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48582static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48583static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48584static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48585static 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}};
48586static 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}};
48587static 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}};
48588static 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}};
48589static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48590static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48591static 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}};
48592static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48593static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e
RD
48594static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
48595static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 48596static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48597static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48598static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48599static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48600static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48601static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48602static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48603static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48604static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48605static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48606static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48607static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48608static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48609static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48610static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48611static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48612static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48613static 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}};
48614static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48615static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48616static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48617static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48618static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48619static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48620static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48621static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48622static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48623static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48624static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48625static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48626static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48627static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48628static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48629static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48630static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48631static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48632static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48633static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48634static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48635static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48636static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48637static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48638static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48639static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48640static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48641static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48642static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48643static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48644static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48645static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48646static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48647static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48648static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48649static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48650static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48651static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48652static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48653static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 48654static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48655static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48656static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48657static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48658static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48659static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48660static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48661static 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
48662static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48663static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48664static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48665static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48666static 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}};
48667static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48668static 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}};
48669static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48670static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48671static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48672static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48673static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48674static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48675static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48676static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48677static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48678static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48679static 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}};
48680static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 48681static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48682static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48683static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48684static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48685static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48686static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48687static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48688static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48689static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48690static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48691static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48692static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48693static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48694static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48695static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48696static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48697static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48698static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48699static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48700static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48701static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 48702static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48703static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48704static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48705static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48706static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 48707static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48708static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48709static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48710static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48711static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
1bd55598 48712static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48713static 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
48714static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48715static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48716static 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}};
48717static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48718static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48719static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48720static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48721static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48722static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48723static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48724static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48725static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48726static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48727static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48728static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48729static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48730static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48731static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48732static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48733static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48734static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48735static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48736static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48737static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48738static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48739static 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}};
48740static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48741static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48742static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48743static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48744static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48745static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48746static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48747static 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}};
48748static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48749static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
b850e7f3 48750static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
48751
48752static swig_cast_info *swig_cast_initial[] = {
48753 _swigc__p_bool,
48754 _swigc__p_char,
48755 _swigc__p_form_ops_t,
48756 _swigc__p_int,
48757 _swigc__p_long,
48758 _swigc__p_unsigned_char,
48759 _swigc__p_unsigned_int,
48760 _swigc__p_unsigned_long,
48761 _swigc__p_void,
48762 _swigc__p_wxANIHandler,
48763 _swigc__p_wxAcceleratorTable,
48764 _swigc__p_wxActivateEvent,
48765 _swigc__p_wxArrayInt,
48766 _swigc__p_wxArrayString,
48767 _swigc__p_wxBMPHandler,
48768 _swigc__p_wxBitmap,
48769 _swigc__p_wxBitmapButton,
48770 _swigc__p_wxBookCtrlBase,
48771 _swigc__p_wxBookCtrlBaseEvent,
48772 _swigc__p_wxBoxSizer,
48773 _swigc__p_wxButton,
48774 _swigc__p_wxCURHandler,
48775 _swigc__p_wxCheckBox,
48776 _swigc__p_wxCheckListBox,
48777 _swigc__p_wxChildFocusEvent,
48778 _swigc__p_wxChoice,
48779 _swigc__p_wxChoicebook,
48780 _swigc__p_wxChoicebookEvent,
2131d850 48781 _swigc__p_wxClipboardTextEvent,
1bd55598 48782 _swigc__p_wxCloseEvent,
5172800e
RD
48783 _swigc__p_wxCollapsiblePane,
48784 _swigc__p_wxCollapsiblePaneEvent,
1bd55598 48785 _swigc__p_wxColour,
b850e7f3
RD
48786 _swigc__p_wxColourPickerCtrl,
48787 _swigc__p_wxColourPickerEvent,
1bd55598
RD
48788 _swigc__p_wxComboBox,
48789 _swigc__p_wxCommandEvent,
48790 _swigc__p_wxContextHelp,
48791 _swigc__p_wxContextHelpButton,
48792 _swigc__p_wxContextMenuEvent,
48793 _swigc__p_wxControl,
48794 _swigc__p_wxControlWithItems,
48795 _swigc__p_wxCursor,
48796 _swigc__p_wxDC,
48797 _swigc__p_wxDateEvent,
48798 _swigc__p_wxDatePickerCtrl,
48799 _swigc__p_wxDateTime,
48800 _swigc__p_wxDirFilterListCtrl,
b850e7f3 48801 _swigc__p_wxDirPickerCtrl,
1bd55598
RD
48802 _swigc__p_wxDisplayChangedEvent,
48803 _swigc__p_wxDropFilesEvent,
48804 _swigc__p_wxDuplexMode,
48805 _swigc__p_wxEraseEvent,
48806 _swigc__p_wxEvent,
48807 _swigc__p_wxEvtHandler,
48808 _swigc__p_wxFSFile,
b850e7f3
RD
48809 _swigc__p_wxFileDirPickerEvent,
48810 _swigc__p_wxFilePickerCtrl,
1bd55598
RD
48811 _swigc__p_wxFileSystem,
48812 _swigc__p_wxFlexGridSizer,
48813 _swigc__p_wxFocusEvent,
48814 _swigc__p_wxFont,
b850e7f3
RD
48815 _swigc__p_wxFontPickerCtrl,
48816 _swigc__p_wxFontPickerEvent,
1bd55598
RD
48817 _swigc__p_wxGBSizerItem,
48818 _swigc__p_wxGIFHandler,
48819 _swigc__p_wxGauge,
48820 _swigc__p_wxGenericDirCtrl,
48821 _swigc__p_wxGenericDragImage,
48822 _swigc__p_wxGridBagSizer,
48823 _swigc__p_wxGridSizer,
48824 _swigc__p_wxHelpEvent,
48825 _swigc__p_wxHelpProvider,
704eda0c
RD
48826 _swigc__p_wxHyperlinkCtrl,
48827 _swigc__p_wxHyperlinkEvent,
1bd55598
RD
48828 _swigc__p_wxICOHandler,
48829 _swigc__p_wxIcon,
48830 _swigc__p_wxIconizeEvent,
48831 _swigc__p_wxIdleEvent,
48832 _swigc__p_wxImage,
48833 _swigc__p_wxImageHandler,
48834 _swigc__p_wxImageList,
48835 _swigc__p_wxIndividualLayoutConstraint,
48836 _swigc__p_wxInitDialogEvent,
48837 _swigc__p_wxItemContainer,
48838 _swigc__p_wxJPEGHandler,
48839 _swigc__p_wxKeyEvent,
48840 _swigc__p_wxLayoutConstraints,
48841 _swigc__p_wxListBox,
48842 _swigc__p_wxListEvent,
48843 _swigc__p_wxListItem,
48844 _swigc__p_wxListItemAttr,
48845 _swigc__p_wxListView,
48846 _swigc__p_wxListbook,
48847 _swigc__p_wxListbookEvent,
48848 _swigc__p_wxMaximizeEvent,
48849 _swigc__p_wxMemoryDC,
48850 _swigc__p_wxMenu,
48851 _swigc__p_wxMenuBar,
48852 _swigc__p_wxMenuEvent,
48853 _swigc__p_wxMenuItem,
48854 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 48855 _swigc__p_wxMouseCaptureLostEvent,
1bd55598
RD
48856 _swigc__p_wxMouseEvent,
48857 _swigc__p_wxMoveEvent,
48858 _swigc__p_wxNavigationKeyEvent,
48859 _swigc__p_wxNcPaintEvent,
48860 _swigc__p_wxNotebook,
48861 _swigc__p_wxNotebookEvent,
48862 _swigc__p_wxNotifyEvent,
48863 _swigc__p_wxObject,
48864 _swigc__p_wxPCXHandler,
48865 _swigc__p_wxPNGHandler,
48866 _swigc__p_wxPNMHandler,
48867 _swigc__p_wxPaintEvent,
48868 _swigc__p_wxPaletteChangedEvent,
48869 _swigc__p_wxPaperSize,
b850e7f3 48870 _swigc__p_wxPickerBase,
1bd55598
RD
48871 _swigc__p_wxPoint,
48872 _swigc__p_wxPyApp,
48873 _swigc__p_wxPyCommandEvent,
48874 _swigc__p_wxPyControl,
48875 _swigc__p_wxPyEvent,
48876 _swigc__p_wxPyImageHandler,
48877 _swigc__p_wxPyListCtrl,
48878 _swigc__p_wxPySizer,
48879 _swigc__p_wxPyTreeCtrl,
48880 _swigc__p_wxPyTreeItemData,
48881 _swigc__p_wxPyValidator,
48882 _swigc__p_wxQueryNewPaletteEvent,
48883 _swigc__p_wxRadioBox,
48884 _swigc__p_wxRadioButton,
48885 _swigc__p_wxRect,
48886 _swigc__p_wxScrollBar,
48887 _swigc__p_wxScrollEvent,
48888 _swigc__p_wxScrollWinEvent,
48889 _swigc__p_wxSetCursorEvent,
48890 _swigc__p_wxShowEvent,
48891 _swigc__p_wxSimpleHelpProvider,
48892 _swigc__p_wxSize,
48893 _swigc__p_wxSizeEvent,
48894 _swigc__p_wxSizer,
48895 _swigc__p_wxSizerItem,
48896 _swigc__p_wxSlider,
48897 _swigc__p_wxSpinButton,
48898 _swigc__p_wxSpinCtrl,
48899 _swigc__p_wxSpinEvent,
48900 _swigc__p_wxStaticBitmap,
48901 _swigc__p_wxStaticBox,
48902 _swigc__p_wxStaticBoxSizer,
48903 _swigc__p_wxStaticLine,
48904 _swigc__p_wxStaticText,
48905 _swigc__p_wxStdDialogButtonSizer,
48906 _swigc__p_wxString,
48907 _swigc__p_wxSysColourChangedEvent,
580080c5 48908 _swigc__p_wxTGAHandler,
1bd55598
RD
48909 _swigc__p_wxTIFFHandler,
48910 _swigc__p_wxTextAttr,
48911 _swigc__p_wxTextCtrl,
48912 _swigc__p_wxTextUrlEvent,
48913 _swigc__p_wxToggleButton,
48914 _swigc__p_wxToolBar,
48915 _swigc__p_wxToolBarBase,
48916 _swigc__p_wxToolBarToolBase,
48917 _swigc__p_wxToolbook,
48918 _swigc__p_wxToolbookEvent,
1bd55598
RD
48919 _swigc__p_wxTreeEvent,
48920 _swigc__p_wxTreeItemId,
48921 _swigc__p_wxTreebook,
48922 _swigc__p_wxTreebookEvent,
48923 _swigc__p_wxUpdateUIEvent,
48924 _swigc__p_wxValidator,
48925 _swigc__p_wxVisualAttributes,
48926 _swigc__p_wxWindow,
b850e7f3 48927 _swigc__p_wxWindowBase,
1bd55598
RD
48928 _swigc__p_wxWindowCreateEvent,
48929 _swigc__p_wxWindowDestroyEvent,
48930 _swigc__p_wxXPMHandler,
48931};
48932
48933
48934/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48935
48936static swig_const_info swig_const_table[] = {
48937{0, 0, 0, 0.0, 0, 0}};
48938
48939#ifdef __cplusplus
48940}
48941#endif
48942/* -----------------------------------------------------------------------------
48943 * Type initialization:
48944 * This problem is tough by the requirement that no dynamic
48945 * memory is used. Also, since swig_type_info structures store pointers to
48946 * swig_cast_info structures and swig_cast_info structures store pointers back
48947 * to swig_type_info structures, we need some lookup code at initialization.
48948 * The idea is that swig generates all the structures that are needed.
48949 * The runtime then collects these partially filled structures.
48950 * The SWIG_InitializeModule function takes these initial arrays out of
48951 * swig_module, and does all the lookup, filling in the swig_module.types
48952 * array with the correct data and linking the correct swig_cast_info
48953 * structures together.
48954 *
48955 * The generated swig_type_info structures are assigned staticly to an initial
48956 * array. We just loop though that array, and handle each type individually.
48957 * First we lookup if this type has been already loaded, and if so, use the
48958 * loaded structure instead of the generated one. Then we have to fill in the
48959 * cast linked list. The cast data is initially stored in something like a
48960 * two-dimensional array. Each row corresponds to a type (there are the same
48961 * number of rows as there are in the swig_type_initial array). Each entry in
48962 * a column is one of the swig_cast_info structures for that type.
48963 * The cast_initial array is actually an array of arrays, because each row has
48964 * a variable number of columns. So to actually build the cast linked list,
48965 * we find the array of casts associated with the type, and loop through it
48966 * adding the casts to the list. The one last trick we need to do is making
48967 * sure the type pointer in the swig_cast_info struct is correct.
48968 *
48969 * First off, we lookup the cast->type name to see if it is already loaded.
48970 * There are three cases to handle:
48971 * 1) If the cast->type has already been loaded AND the type we are adding
48972 * casting info to has not been loaded (it is in this module), THEN we
48973 * replace the cast->type pointer with the type pointer that has already
48974 * been loaded.
48975 * 2) If BOTH types (the one we are adding casting info to, and the
48976 * cast->type) are loaded, THEN the cast info has already been loaded by
48977 * the previous module so we just ignore it.
48978 * 3) Finally, if cast->type has not already been loaded, then we add that
48979 * swig_cast_info to the linked list (because the cast->type) pointer will
48980 * be correct.
48981 * ----------------------------------------------------------------------------- */
48982
48983#ifdef __cplusplus
48984extern "C" {
48985#if 0
48986} /* c-mode */
48987#endif
48988#endif
48989
48990#if 0
48991#define SWIGRUNTIME_DEBUG
48992#endif
48993
48994SWIGRUNTIME void
48995SWIG_InitializeModule(void *clientdata) {
48996 size_t i;
48997 swig_module_info *module_head;
48998 static int init_run = 0;
48999
49000 clientdata = clientdata;
49001
49002 if (init_run) return;
49003 init_run = 1;
49004
49005 /* Initialize the swig_module */
49006 swig_module.type_initial = swig_type_initial;
49007 swig_module.cast_initial = swig_cast_initial;
49008
49009 /* Try and load any already created modules */
49010 module_head = SWIG_GetModule(clientdata);
49011 if (module_head) {
49012 swig_module.next = module_head->next;
49013 module_head->next = &swig_module;
49014 } else {
49015 /* This is the first module loaded */
49016 swig_module.next = &swig_module;
49017 SWIG_SetModule(clientdata, &swig_module);
49018 }
49019
49020 /* Now work on filling in swig_module.types */
49021#ifdef SWIGRUNTIME_DEBUG
49022 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
49023#endif
49024 for (i = 0; i < swig_module.size; ++i) {
49025 swig_type_info *type = 0;
49026 swig_type_info *ret;
49027 swig_cast_info *cast;
d55e5bfc 49028
1bd55598
RD
49029#ifdef SWIGRUNTIME_DEBUG
49030 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49031#endif
d55e5bfc 49032
1bd55598
RD
49033 /* if there is another module already loaded */
49034 if (swig_module.next != &swig_module) {
49035 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 49036 }
1bd55598
RD
49037 if (type) {
49038 /* Overwrite clientdata field */
49039#ifdef SWIGRUNTIME_DEBUG
49040 printf("SWIG_InitializeModule: found type %s\n", type->name);
49041#endif
49042 if (swig_module.type_initial[i]->clientdata) {
49043 type->clientdata = swig_module.type_initial[i]->clientdata;
49044#ifdef SWIGRUNTIME_DEBUG
49045 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
49046#endif
49047 }
49048 } else {
49049 type = swig_module.type_initial[i];
36ed4f51 49050 }
d55e5bfc 49051
1bd55598
RD
49052 /* Insert casting types */
49053 cast = swig_module.cast_initial[i];
49054 while (cast->type) {
49055 /* Don't need to add information already in the list */
49056 ret = 0;
49057#ifdef SWIGRUNTIME_DEBUG
49058 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
49059#endif
49060 if (swig_module.next != &swig_module) {
49061 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
49062#ifdef SWIGRUNTIME_DEBUG
49063 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
49064#endif
49065 }
49066 if (ret) {
49067 if (type == swig_module.type_initial[i]) {
49068#ifdef SWIGRUNTIME_DEBUG
49069 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
49070#endif
49071 cast->type = ret;
49072 ret = 0;
49073 } else {
49074 /* Check for casting already in the list */
49075 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
49076#ifdef SWIGRUNTIME_DEBUG
49077 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
49078#endif
49079 if (!ocast) ret = 0;
49080 }
49081 }
49082
49083 if (!ret) {
49084#ifdef SWIGRUNTIME_DEBUG
49085 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
49086#endif
49087 if (type->cast) {
49088 type->cast->prev = cast;
49089 cast->next = type->cast;
49090 }
49091 type->cast = cast;
49092 }
49093 cast++;
36ed4f51 49094 }
1bd55598
RD
49095 /* Set entry in modules->types array equal to the type */
49096 swig_module.types[i] = type;
49097 }
49098 swig_module.types[i] = 0;
49099
49100#ifdef SWIGRUNTIME_DEBUG
49101 printf("**** SWIG_InitializeModule: Cast List ******\n");
49102 for (i = 0; i < swig_module.size; ++i) {
49103 int j = 0;
49104 swig_cast_info *cast = swig_module.cast_initial[i];
49105 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49106 while (cast->type) {
49107 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
49108 cast++;
49109 ++j;
49110 }
49111 printf("---- Total casts: %d\n",j);
49112 }
49113 printf("**** SWIG_InitializeModule: Cast List ******\n");
49114#endif
49115}
49116
49117/* This function will propagate the clientdata field of type to
49118* any new swig_type_info structures that have been added into the list
49119* of equivalent types. It is like calling
49120* SWIG_TypeClientData(type, clientdata) a second time.
49121*/
49122SWIGRUNTIME void
49123SWIG_PropagateClientData(void) {
49124 size_t i;
49125 swig_cast_info *equiv;
49126 static int init_run = 0;
49127
49128 if (init_run) return;
49129 init_run = 1;
49130
49131 for (i = 0; i < swig_module.size; i++) {
49132 if (swig_module.types[i]->clientdata) {
49133 equiv = swig_module.types[i]->cast;
49134 while (equiv) {
49135 if (!equiv->converter) {
49136 if (equiv->type && !equiv->type->clientdata)
49137 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
49138 }
49139 equiv = equiv->next;
49140 }
36ed4f51 49141 }
1bd55598
RD
49142 }
49143}
49144
49145#ifdef __cplusplus
49146#if 0
49147{
49148 /* c-mode */
49149#endif
49150}
49151#endif
49152
49153
49154
49155#ifdef __cplusplus
49156extern "C" {
49157#endif
49158
49159 /* Python-specific SWIG API */
49160#define SWIG_newvarlink() SWIG_Python_newvarlink()
49161#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49162#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49163
49164 /* -----------------------------------------------------------------------------
49165 * global variable support code.
49166 * ----------------------------------------------------------------------------- */
49167
49168 typedef struct swig_globalvar {
49169 char *name; /* Name of global variable */
49170 PyObject *(*get_attr)(void); /* Return the current value */
49171 int (*set_attr)(PyObject *); /* Set the value */
49172 struct swig_globalvar *next;
49173 } swig_globalvar;
49174
49175 typedef struct swig_varlinkobject {
49176 PyObject_HEAD
49177 swig_globalvar *vars;
49178 } swig_varlinkobject;
49179
49180 SWIGINTERN PyObject *
49181 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
49182 return PyString_FromString("<Swig global variables>");
49183 }
49184
49185 SWIGINTERN PyObject *
49186 swig_varlink_str(swig_varlinkobject *v) {
49187 PyObject *str = PyString_FromString("(");
49188 swig_globalvar *var;
49189 for (var = v->vars; var; var=var->next) {
49190 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
49191 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
49192 }
49193 PyString_ConcatAndDel(&str,PyString_FromString(")"));
49194 return str;
49195 }
49196
49197 SWIGINTERN int
49198 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
49199 PyObject *str = swig_varlink_str(v);
49200 fprintf(fp,"Swig global variables ");
49201 fprintf(fp,"%s\n", PyString_AsString(str));
49202 Py_DECREF(str);
49203 return 0;
49204 }
49205
49206 SWIGINTERN void
49207 swig_varlink_dealloc(swig_varlinkobject *v) {
49208 swig_globalvar *var = v->vars;
49209 while (var) {
49210 swig_globalvar *n = var->next;
49211 free(var->name);
49212 free(var);
49213 var = n;
36ed4f51 49214 }
1bd55598
RD
49215 }
49216
49217 SWIGINTERN PyObject *
49218 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
49219 PyObject *res = NULL;
49220 swig_globalvar *var = v->vars;
49221 while (var) {
49222 if (strcmp(var->name,n) == 0) {
49223 res = (*var->get_attr)();
49224 break;
49225 }
49226 var = var->next;
36ed4f51 49227 }
1bd55598
RD
49228 if (res == NULL && !PyErr_Occurred()) {
49229 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 49230 }
1bd55598
RD
49231 return res;
49232 }
49233
49234 SWIGINTERN int
49235 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
49236 int res = 1;
49237 swig_globalvar *var = v->vars;
49238 while (var) {
49239 if (strcmp(var->name,n) == 0) {
49240 res = (*var->set_attr)(p);
49241 break;
49242 }
49243 var = var->next;
36ed4f51 49244 }
1bd55598
RD
49245 if (res == 1 && !PyErr_Occurred()) {
49246 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 49247 }
1bd55598
RD
49248 return res;
49249 }
49250
49251 SWIGINTERN PyTypeObject*
49252 swig_varlink_type(void) {
49253 static char varlink__doc__[] = "Swig var link object";
49254 static PyTypeObject varlink_type;
49255 static int type_init = 0;
49256 if (!type_init) {
49257 const PyTypeObject tmp
49258 = {
49259 PyObject_HEAD_INIT(NULL)
49260 0, /* Number of items in variable part (ob_size) */
49261 (char *)"swigvarlink", /* Type name (tp_name) */
49262 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
49263 0, /* Itemsize (tp_itemsize) */
49264 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
49265 (printfunc) swig_varlink_print, /* Print (tp_print) */
49266 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
49267 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
49268 0, /* tp_compare */
49269 (reprfunc) swig_varlink_repr, /* tp_repr */
49270 0, /* tp_as_number */
49271 0, /* tp_as_sequence */
49272 0, /* tp_as_mapping */
49273 0, /* tp_hash */
49274 0, /* tp_call */
49275 (reprfunc)swig_varlink_str, /* tp_str */
49276 0, /* tp_getattro */
49277 0, /* tp_setattro */
49278 0, /* tp_as_buffer */
49279 0, /* tp_flags */
49280 varlink__doc__, /* tp_doc */
49281 0, /* tp_traverse */
49282 0, /* tp_clear */
49283 0, /* tp_richcompare */
49284 0, /* tp_weaklistoffset */
49285#if PY_VERSION_HEX >= 0x02020000
49286 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49287#endif
49288#if PY_VERSION_HEX >= 0x02030000
49289 0, /* tp_del */
49290#endif
49291#ifdef COUNT_ALLOCS
49292 0,0,0,0 /* tp_alloc -> tp_next */
49293#endif
49294 };
49295 varlink_type = tmp;
49296 varlink_type.ob_type = &PyType_Type;
49297 type_init = 1;
53aa7709 49298 }
1bd55598
RD
49299 return &varlink_type;
49300 }
49301
49302 /* Create a variable linking object for use later */
49303 SWIGINTERN PyObject *
49304 SWIG_Python_newvarlink(void) {
49305 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
49306 if (result) {
49307 result->vars = 0;
49308 }
49309 return ((PyObject*) result);
49310 }
49311
49312 SWIGINTERN void
49313 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
49314 swig_varlinkobject *v = (swig_varlinkobject *) p;
49315 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
49316 if (gv) {
49317 size_t size = strlen(name)+1;
49318 gv->name = (char *)malloc(size);
49319 if (gv->name) {
49320 strncpy(gv->name,name,size);
49321 gv->get_attr = get_attr;
49322 gv->set_attr = set_attr;
49323 gv->next = v->vars;
49324 }
53aa7709 49325 }
1bd55598
RD
49326 v->vars = gv;
49327 }
49328
49329 SWIGINTERN PyObject *
49330 SWIG_globals() {
49331 static PyObject *_SWIG_globals = 0;
49332 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
49333 return _SWIG_globals;
49334 }
49335
49336 /* -----------------------------------------------------------------------------
49337 * constants/methods manipulation
49338 * ----------------------------------------------------------------------------- */
49339
49340 /* Install Constants */
49341 SWIGINTERN void
49342 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
49343 PyObject *obj = 0;
49344 size_t i;
49345 for (i = 0; constants[i].type; ++i) {
49346 switch(constants[i].type) {
49347 case SWIG_PY_POINTER:
49348 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49349 break;
49350 case SWIG_PY_BINARY:
49351 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49352 break;
49353 default:
49354 obj = 0;
49355 break;
49356 }
49357 if (obj) {
49358 PyDict_SetItemString(d, constants[i].name, obj);
49359 Py_DECREF(obj);
49360 }
53aa7709 49361 }
1bd55598
RD
49362 }
49363
49364 /* -----------------------------------------------------------------------------*/
49365 /* Fix SwigMethods to carry the callback ptrs when needed */
49366 /* -----------------------------------------------------------------------------*/
49367
49368 SWIGINTERN void
49369 SWIG_Python_FixMethods(PyMethodDef *methods,
49370 swig_const_info *const_table,
49371 swig_type_info **types,
49372 swig_type_info **types_initial) {
49373 size_t i;
49374 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 49375 const char *c = methods[i].ml_doc;
1bd55598
RD
49376 if (c && (c = strstr(c, "swig_ptr: "))) {
49377 int j;
49378 swig_const_info *ci = 0;
3d6c9062 49379 const char *name = c + 10;
1bd55598
RD
49380 for (j = 0; const_table[j].type; ++j) {
49381 if (strncmp(const_table[j].name, name,
49382 strlen(const_table[j].name)) == 0) {
49383 ci = &(const_table[j]);
49384 break;
49385 }
49386 }
49387 if (ci) {
49388 size_t shift = (ci->ptype) - types;
49389 swig_type_info *ty = types_initial[shift];
49390 size_t ldoc = (c - methods[i].ml_doc);
49391 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49392 char *ndoc = (char*)malloc(ldoc + lptr + 10);
49393 if (ndoc) {
49394 char *buff = ndoc;
49395 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49396 if (ptr) {
49397 strncpy(buff, methods[i].ml_doc, ldoc);
49398 buff += ldoc;
49399 strncpy(buff, "swig_ptr: ", 10);
49400 buff += 10;
49401 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49402 methods[i].ml_doc = ndoc;
49403 }
49404 }
49405 }
49406 }
53aa7709 49407 }
1bd55598
RD
49408 }
49409
49410#ifdef __cplusplus
49411}
49412#endif
49413
49414/* -----------------------------------------------------------------------------*
49415 * Partial Init method
49416 * -----------------------------------------------------------------------------*/
49417
49418#ifdef __cplusplus
49419extern "C"
49420#endif
49421SWIGEXPORT void SWIG_init(void) {
49422 PyObject *m, *d;
49423
49424 /* Fix SwigMethods to carry the callback ptrs when needed */
49425 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
49426
49427 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49428 d = PyModule_GetDict(m);
49429
49430 SWIG_InitializeModule(0);
49431 SWIG_InstallConstants(d,swig_const_table);
49432
49433
49434 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
49435 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
49436 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
49437 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
49438 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
49439 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
49440 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
49441 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
49442 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
49443 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
49444 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
49445 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
49446 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
49447 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
49448 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
49449 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
49450 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
49451 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
49452 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
49453 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
49454 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
49455 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
1bd55598
RD
49456 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
49457 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
49458 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
49459 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
49460 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
49461 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
49462 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
49463 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
49464 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
49465 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
49466 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
49467 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
49468 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
49469 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
49470 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
49471 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
49472 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
49473 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
49474 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
49475 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
49476 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
49477 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
49478 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
1bd55598
RD
49479 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
49480 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
49481 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
49482 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
49483 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
49484 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
49485 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
49486 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
49487 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
49488 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
49489 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
49490 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
49491 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
49492 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
49493 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
49494 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
49495 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
49496 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
49497 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
49498 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
49499 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
49500 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
49501 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
49502 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
49503 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
49504 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
49505 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 49506 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
1bd55598
RD
49507 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
49508 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
49509 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
49510 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
49511 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
49512 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
49513 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
49514 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
49515 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
49516 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
49517 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
49518 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
49519 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
49520 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
49521 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
49522 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
49523 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
49524 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
49525 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
49526 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
49527 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
49528 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
49529 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
49530 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
49531 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
49532 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
49533 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
49534 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
49535 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
49536 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
49537 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
49538 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
49539 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
49540 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
49541 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
49542 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 49543 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
49544 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
49545 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
49546 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
49547 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
49548 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
1bd55598
RD
49549 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49550 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49551 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49552 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49553 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49554 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49555 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49556 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49557 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49558 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49559 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 49560 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
1bd55598
RD
49561 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49562 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49563 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49564 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49565 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49566 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49567 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49568 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49569 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49570 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49571 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49572 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49573 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49574 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49575 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49576 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49577 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49578 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49579 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49580 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49581 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49582 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49583 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49584 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49585 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49586 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49587 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49588 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49589 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
49590 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
49591 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
49592 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49593 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
1bd55598
RD
49594 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49595 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49596 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49597 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49598 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49599 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49600 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49601 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49602 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 49603 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
1bd55598
RD
49604 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49605 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49606 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49607 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49608 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49609 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49610 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49611 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49612 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49613 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49614 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49615 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49616 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49617 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49618 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49619 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49620 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49621 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49622 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49623 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49624 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49625 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49626 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49627 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49628 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49629 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49630 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49631 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49632 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49633 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49634 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49635 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49636 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49637 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49638 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49639 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49640 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49641 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49642 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49643 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49644 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49645 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49646 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49647 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49648 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49649 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49650 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 49651 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
1bd55598
RD
49652 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49653 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49654 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49655 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49656 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49657 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49658 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49659 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49660 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49661 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49662 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49663 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49664 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49665 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49666 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49667 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49668 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49669 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49670 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49671 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49672 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49673 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49674 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49675 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49676 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49677 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49678 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49679 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49680 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49681 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49682 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49683 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49684 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49685 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49686 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49687 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49688 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49689 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49690 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49691 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49692 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49693 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49694
49695 // Map renamed classes back to their common name for OOR
49696 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49697
49698 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49699 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49700 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49701 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49702 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49703 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49704 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49705 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49706 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49707 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49708 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49709 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49710 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49711 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49712 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
1bd55598
RD
49713 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49714 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49715 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49716 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49717 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49718 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49719 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49720 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49721 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49722 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49723 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49724 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49725 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49726 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49727 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49728 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49729 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49730 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49731 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49732 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49733 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49734 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49735 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49736 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49737 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49738 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49739 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49740 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49741 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49742 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49743 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49744 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49745 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49746 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49747 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49748 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49749 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49750 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49751 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49752 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 49753 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
1bd55598
RD
49754
49755 // Map renamed classes back to their common name for OOR
49756 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49757 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49758
49759 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49760 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49761 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49762 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49763 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49764 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
1bd55598
RD
49765 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49766 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
49767 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49768 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49769 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
1bd55598
RD
49770
49771 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49772
49773 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49774 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49775 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49776 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49777 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49778 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
49779 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49780 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
49781 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49782 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49783 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
49784 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49785 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
49786 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49787 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49788 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49789 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49790 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49791 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49792 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49793 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49794 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49795 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49796 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49797 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49798 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49799 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49800 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49801 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49802 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49803 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49804 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49805 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49806 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49807 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49808 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49809 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49810 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49811 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49812 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49813 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49814 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49815 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
5172800e
RD
49816 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
49817 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
49818 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
49819 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
d55e5bfc
RD
49820}
49821