]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
No animate contrib anymore
[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]
3f7f284d
RD
2602#define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603#define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604#define SWIGTYPE_p_wxShowEvent swig_types[138]
2605#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606#define SWIGTYPE_p_wxSize swig_types[140]
2607#define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608#define SWIGTYPE_p_wxSizer swig_types[142]
2609#define SWIGTYPE_p_wxSizerItem swig_types[143]
2610#define SWIGTYPE_p_wxSlider swig_types[144]
2611#define SWIGTYPE_p_wxSpinButton swig_types[145]
2612#define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613#define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614#define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615#define SWIGTYPE_p_wxStaticBox swig_types[149]
2616#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617#define SWIGTYPE_p_wxStaticLine swig_types[151]
2618#define SWIGTYPE_p_wxStaticText swig_types[152]
2619#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620#define SWIGTYPE_p_wxString swig_types[154]
2621#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622#define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623#define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624#define SWIGTYPE_p_wxTextAttr swig_types[158]
2625#define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626#define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627#define SWIGTYPE_p_wxToggleButton swig_types[161]
2628#define SWIGTYPE_p_wxToolBar swig_types[162]
2629#define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630#define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631#define SWIGTYPE_p_wxToolbook swig_types[165]
2632#define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633#define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634#define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635#define SWIGTYPE_p_wxTreebook swig_types[169]
2636#define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637#define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638#define SWIGTYPE_p_wxValidator swig_types[172]
2639#define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640#define SWIGTYPE_p_wxWindow swig_types[174]
2641#define SWIGTYPE_p_wxWindowBase swig_types[175]
2642#define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644#define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645static swig_type_info *swig_types[180];
2646static swig_module_info swig_module = {swig_types, 179, 0, 0, 0, 0};
32fe5131
RD
2647#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2649
2650/* -------- TYPES TABLE (END) -------- */
2651
1bd55598
RD
2652#if (PY_VERSION_HEX <= 0x02000000)
2653# if !defined(SWIG_PYTHON_CLASSIC)
2654# error "This python version requires to use swig with the '-classic' option"
2655# endif
2656#endif
2657#if (PY_VERSION_HEX <= 0x02020000)
2658# error "This python version requires to use swig with the '-nomodern' option"
2659#endif
2660#if (PY_VERSION_HEX <= 0x02020000)
2661# error "This python version requires to use swig with the '-nomodernargs' option"
2662#endif
2663#ifndef METH_O
2664# error "This python version requires to use swig with the '-nofastunpack' option"
2665#endif
36ed4f51
RD
2666
2667/*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670#define SWIG_init init_controls_
2671
2672#define SWIG_name "_controls_"
2673
1bd55598
RD
2674#define SWIGVERSION 0x010329
2675
2676
2677#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679
2680
2681#include <stdexcept>
2682
2683
2684namespace swig {
2685 class PyObject_ptr {
2686 protected:
2687 PyObject *_obj;
2688
2689 public:
2690 PyObject_ptr() :_obj(0)
2691 {
2692 }
2693
2694 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2695 {
2696 Py_XINCREF(_obj);
2697 }
2698
2699 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2700 {
2701 if (initial_ref) Py_XINCREF(_obj);
2702 }
2703
2704 PyObject_ptr & operator=(const PyObject_ptr& item)
2705 {
2706 Py_XINCREF(item._obj);
2707 Py_XDECREF(_obj);
2708 _obj = item._obj;
2709 return *this;
2710 }
2711
2712 ~PyObject_ptr()
2713 {
2714 Py_XDECREF(_obj);
2715 }
2716
2717 operator PyObject *() const
2718 {
2719 return _obj;
2720 }
2721
2722 PyObject *operator->() const
2723 {
2724 return _obj;
2725 }
2726 };
2727}
2728
2729
2730namespace swig {
2731 struct PyObject_var : PyObject_ptr {
2732 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2733
2734 PyObject_var & operator = (PyObject* obj)
2735 {
2736 Py_XDECREF(_obj);
2737 _obj = obj;
2738 return *this;
2739 }
2740 };
2741}
2742
2743
36ed4f51
RD
2744#include "wx/wxPython/wxPython.h"
2745#include "wx/wxPython/pyclasses.h"
2746
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748 static const wxString wxPyEmptyString(wxEmptyString);
2749 static const wxString wxPyControlNameStr(wxControlNameStr);
2750
2751 const wxArrayString wxPyEmptyStringArray;
2752
2753 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2754
1bd55598 2755 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2756
2757
1bd55598
RD
2758SWIGINTERNINLINE PyObject *
2759SWIG_From_int (int value)
2760{
2761 return SWIG_From_long (value);
2762}
36ed4f51
RD
2763
2764
1bd55598
RD
2765#include <limits.h>
2766#ifndef LLONG_MIN
2767# define LLONG_MIN LONG_LONG_MIN
2768#endif
2769#ifndef LLONG_MAX
2770# define LLONG_MAX LONG_LONG_MAX
2771#endif
2772#ifndef ULLONG_MAX
2773# define ULLONG_MAX ULONG_LONG_MAX
2774#endif
36ed4f51
RD
2775
2776
2777SWIGINTERN int
1bd55598 2778SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51
RD
2779{
2780 if (PyNumber_Check(obj)) {
2781 if (val) *val = PyInt_AsLong(obj);
1bd55598 2782 return SWIG_OK;
36ed4f51 2783 }
1bd55598 2784 return SWIG_TypeError;
36ed4f51
RD
2785}
2786
2787
36ed4f51 2788SWIGINTERN int
1bd55598
RD
2789SWIG_AsVal_int (PyObject * obj, int *val)
2790{
36ed4f51 2791 long v;
1bd55598
RD
2792 int res = SWIG_AsVal_long (obj, &v);
2793 if (SWIG_IsOK(res)) {
2794 if ((v < INT_MIN || v > INT_MAX)) {
2795 return SWIG_OverflowError;
36ed4f51 2796 } else {
1bd55598 2797 if (val) *val = static_cast< int >(v);
36ed4f51 2798 }
1bd55598
RD
2799 }
2800 return res;
d55e5bfc
RD
2801}
2802
c370783e 2803 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2804
36ed4f51 2805SWIGINTERN int
1bd55598 2806SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2807{
c370783e
RD
2808 if (obj == Py_True) {
2809 if (val) *val = true;
1bd55598
RD
2810 return SWIG_OK;
2811 } else if (obj == Py_False) {
c370783e 2812 if (val) *val = false;
1bd55598 2813 return SWIG_OK;
36ed4f51 2814 } else {
1bd55598
RD
2815 long v = 0;
2816 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2817 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2818 return res;
c370783e 2819 }
d55e5bfc
RD
2820}
2821
2822 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2823 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2824 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2825 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2826 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2827 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
3f7f284d 2828 static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr);
d55e5bfc
RD
2829
2830#include <wx/checklst.h>
d55e5bfc
RD
2831
2832 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1bd55598 2833SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2834 if (clientData)
2835 {
d55e5bfc
RD
2836 wxPyClientData* data = new wxPyClientData(clientData);
2837 self->Insert(item, pos, data);
e9d6f3a4
RD
2838 }
2839 else
d55e5bfc
RD
2840 self->Insert(item, pos);
2841 }
50f151d7
RD
2842
2843SWIGINTERN int
2844SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2845{
2846 long v = 0;
2847 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2848 return SWIG_TypeError;
2849 }
2850 else if (val)
2851 *val = (unsigned long)v;
2852 return SWIG_OK;
2853}
2854
2855
2856SWIGINTERN int
2857SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2858{
2859 unsigned long v;
2860 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2861 if (SWIG_IsOK(res)) {
2862 if ((v > UINT_MAX)) {
2863 return SWIG_OverflowError;
2864 } else {
2865 if (val) *val = static_cast< unsigned int >(v);
2866 }
2867 }
2868 return res;
2869}
2870
1bd55598 2871SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2872 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2873 wxArrayInt lst;
2874 self->GetSelections(lst);
2875 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2876 for (size_t i=0; i<lst.GetCount(); i++)
2877 {
7e08d4ef
RD
2878 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2879 }
e9d6f3a4 2880 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2881 return tup;
2882 }
1bd55598 2883SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2884 #ifdef __WXMSW__
2885 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2886 self->GetItem(item)->SetTextColour(c);
2887 #endif
2888 }
1bd55598 2889SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2890 #ifdef __WXMSW__
2891 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2892 self->GetItem(item)->SetBackgroundColour(c);
2893 #endif
2894 }
1bd55598 2895SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
2896 #ifdef __WXMSW__
2897 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2898 self->GetItem(item)->SetFont(f);
2899 #endif
2900 }
2901 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1bd55598 2902SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2903 self->AppendText(text);
2904 }
1bd55598 2905SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2906 return self->GetValue().Mid(from, to - from);
2907 }
2908 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2909 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2910 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2912 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2913
1c71765a
RD
2914SWIGINTERNINLINE PyObject*
2915SWIG_From_unsigned_SS_long (unsigned long value)
2916{
2917 return (value > LONG_MAX) ?
2918 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2919}
2920
2921
2922SWIGINTERNINLINE PyObject *
2923SWIG_From_size_t (size_t value)
2924{
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2926}
2927
2928
50f151d7
RD
2929SWIGINTERNINLINE PyObject *
2930SWIG_From_unsigned_SS_int (unsigned int value)
2931{
2932 return SWIG_From_unsigned_SS_long (value);
2933}
2934
2935
d55e5bfc
RD
2936#include <wx/slider.h>
2937
2938
2939 static const wxString wxPySliderNameStr(wxSliderNameStr);
2940 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2941
2942#if !wxUSE_TOGGLEBTN
2943// implement dummy items for platforms that don't have this class
2944
2945#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2946
2947class wxToggleButton : public wxControl
2948{
2949public:
2950 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2951 const wxPoint&, const wxSize&, long,
2952 const wxValidator&, const wxString&)
2953 { wxPyRaiseNotImplemented(); }
2954
2955 wxToggleButton()
2956 { wxPyRaiseNotImplemented(); }
2957};
2958#endif
2959
51b83b37 2960 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2961
7e08d4ef 2962SWIGINTERNINLINE int
1bd55598 2963SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2964{
7e08d4ef 2965 unsigned long v;
1bd55598
RD
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
7e08d4ef 2969}
7e08d4ef 2970
d55e5bfc 2971 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598 2972SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2973 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2974 if (udata) {
2975 Py_INCREF(udata->m_obj);
2976 return udata->m_obj;
2977 } else {
2978 Py_INCREF(Py_None);
2979 return Py_None;
2980 }
2981 }
1bd55598 2982SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2983 self->SetClientData(new wxPyUserData(clientData));
2984 }
1bd55598 2985SWIGINTERN 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
2986 wxPyUserData* udata = NULL;
2987 if (clientData && clientData != Py_None)
2988 udata = new wxPyUserData(clientData);
2989 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2990 shortHelp, longHelp, udata);
2991 }
1bd55598 2992SWIGINTERN 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
2993 wxPyUserData* udata = NULL;
2994 if (clientData && clientData != Py_None)
2995 udata = new wxPyUserData(clientData);
2996 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2997 shortHelp, longHelp, udata);
2998 }
1bd55598 2999SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
3000 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3001 if (udata) {
3002 Py_INCREF(udata->m_obj);
3003 return udata->m_obj;
3004 } else {
3005 Py_INCREF(Py_None);
3006 return Py_None;
3007 }
3008 }
1bd55598 3009SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
3010 self->SetToolClientData(id, new wxPyUserData(clientData));
3011 }
3012
3013#include <wx/listctrl.h>
3014
fef4c27a 3015 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1bd55598 3016SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3019 int retval = 0;
3020 PyObject* func = (PyObject*)funcPtr;
5a446332 3021 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3022
3023 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3024 PyObject* result = PyEval_CallObject(func, args);
3025 Py_DECREF(args);
3026 if (result) {
3027 retval = PyInt_AsLong(result);
3028 Py_DECREF(result);
3029 }
3030
3031 wxPyEndBlockThreads(blocked);
3032 return retval;
3033 }
3034
3035 // C++ Version of a Python aware class
3036class wxPyListCtrl : public wxListCtrl {
32fe5131 3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3038public:
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3041 const wxPoint& pos,
3042 const wxSize& size,
3043 long style,
3044 const wxValidator& validator,
3045 const wxString& name) :
3046 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3047
3048 bool Create(wxWindow* parent, wxWindowID id,
3049 const wxPoint& pos,
3050 const wxSize& size,
3051 long style,
3052 const wxValidator& validator,
3053 const wxString& name) {
3054 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3055 }
3056
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3059
84f85550
RD
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3063
d55e5bfc
RD
3064 PYPRIVATE;
3065};
3066
3067IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3068
3069IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3070IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3071IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
c25f90f6 3072IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
7e08d4ef 3073
d55e5bfc 3074
1bd55598 3075SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3076 wxListItem item;
3077 item.SetMask( wxLIST_MASK_STATE |
3078 wxLIST_MASK_TEXT |
3079 wxLIST_MASK_IMAGE |
3080 wxLIST_MASK_DATA |
3081 wxLIST_SET_ITEM |
3082 wxLIST_MASK_WIDTH |
3083 wxLIST_MASK_FORMAT
3084 );
3085 if (self->GetColumn(col, item))
3086 return new wxListItem(item);
3087 else
3088 return NULL;
3089 }
1bd55598 3090SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3091 wxListItem* info = new wxListItem;
3092 info->m_itemId = itemId;
3093 info->m_col = col;
3094 info->m_mask = 0xFFFF;
3095 self->GetItem(*info);
3096 return info;
3097 }
1bd55598 3098SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3099 wxPoint pos;
3100 self->GetItemPosition(item, pos);
3101 return pos;
3102 }
1bd55598 3103SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3104 wxRect rect;
3105 self->GetItemRect(item, rect, code);
3106 return rect;
3107 }
1bd55598 3108SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3109 if (!PyCallable_Check(func))
b411df4a 3110 return false;
d55e5bfc
RD
3111 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3112 }
1bd55598 3113SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc 3114
6a223074
RD
3115 return self;
3116
d55e5bfc
RD
3117
3118
d55e5bfc
RD
3119 }
3120
3121#include <wx/treectrl.h>
3122#include "wx/wxPython/pytree.h"
3123
3124 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1bd55598
RD
3125SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3126SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3127SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3128
3129 static wxTreeItemId wxNullTreeItemId;
3130
d55e5bfc
RD
3131 // C++ version of Python aware wxTreeCtrl
3132class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3134public:
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3137 const wxPoint& pos,
3138 const wxSize& size,
3139 long style,
3140 const wxValidator& validator,
3141 const wxString& name) :
3142 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3143
3144 bool Create(wxWindow *parent, wxWindowID id,
3145 const wxPoint& pos,
3146 const wxSize& size,
3147 long style,
3148 const wxValidator& validator,
3149 const wxString& name) {
3150 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3151 }
3152
3153
3154 int OnCompareItems(const wxTreeItemId& item1,
3155 const wxTreeItemId& item2) {
3156 int rval = 0;
3157 bool found;
5a446332 3158 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3159 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
3160 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3161 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3162 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3163 Py_DECREF(o1);
3164 Py_DECREF(o2);
3165 }
3166 wxPyEndBlockThreads(blocked);
3167 if (! found)
3168 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3169 return rval;
3170 }
3171 PYPRIVATE;
3172};
3173
3174IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3175
3176
1bd55598 3177SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3178 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3179 if (data == NULL) {
3180 data = new wxPyTreeItemData();
3181 data->SetId(item); // set the id
3182 self->SetItemData(item, data);
3183 }
3184 return data;
3185 }
1bd55598 3186SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3187 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3188 if (data == NULL) {
3189 data = new wxPyTreeItemData();
3190 data->SetId(item); // set the id
3191 self->SetItemData(item, data);
3192 }
3193 return data->GetData();
3194 }
1bd55598 3195SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3196 data->SetId(item); // set the id
3197 self->SetItemData(item, data);
3198 }
1bd55598 3199SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3200 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3201 if (data == NULL) {
3202 data = new wxPyTreeItemData(obj);
3203 data->SetId(item); // set the id
3204 self->SetItemData(item, data);
3205 } else
3206 data->SetData(obj);
3207 }
1bd55598 3208SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3210 PyObject* rval = PyList_New(0);
3211 wxArrayTreeItemIds array;
3212 size_t num, x;
3213 num = self->GetSelections(array);
3214 for (x=0; x < num; x++) {
3215 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 3216 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3217 PyList_Append(rval, item);
68e533f8 3218 Py_DECREF(item);
d55e5bfc
RD
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 return rval;
3222 }
1bd55598 3223SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3224 void* cookie = 0;
3225 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3226 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3227 PyObject* tup = PyTuple_New(2);
b411df4a 3228 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3229 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3230 wxPyEndBlockThreads(blocked);
3231 return tup;
3232 }
1bd55598 3233SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3234 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3235 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3236 PyObject* tup = PyTuple_New(2);
b411df4a 3237 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3238 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3239 wxPyEndBlockThreads(blocked);
3240 return tup;
3241 }
1bd55598 3242SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3243 wxRect rect;
3244 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3245 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3246 wxRect* r = new wxRect(rect);
b411df4a 3247 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3248 wxPyEndBlockThreads(blocked);
3249 return val;
3250 }
3251 else
3252 RETURN_NONE();
3253 }
3254 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 3255
32fe5131 3256SWIGINTERNINLINE PyObject*
1bd55598 3257 SWIG_From_bool (bool value)
c370783e 3258{
1bd55598 3259 return PyBool_FromLong(value ? 1 : 0);
c370783e
RD
3260}
3261
d55e5bfc
RD
3262 // C++ version of Python aware wxControl
3263class wxPyControl : public wxControl
3264{
3265 DECLARE_DYNAMIC_CLASS(wxPyControl)
3266public:
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow* parent, const wxWindowID id,
3269 const wxPoint& pos = wxDefaultPosition,
3270 const wxSize& size = wxDefaultSize,
3271 long style = 0,
3272 const wxValidator& validator=wxDefaultValidator,
3273 const wxString& name = wxPyControlNameStr)
3274 : wxControl(parent, id, pos, size, style, validator, name) {}
3275
3276
976dbff5
RD
3277 bool DoEraseBackground(wxDC* dc) {
3278#ifdef __WXMSW__
3279 return wxWindow::DoEraseBackground(dc->GetHDC());
3280#else
3281 dc->SetBackground(wxBrush(GetBackgroundColour()));
3282 dc->Clear();
3283 return true;
3284#endif
3285 }
3286
d55e5bfc
RD
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3291
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3295
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3298
3299 DEC_PYCALLBACK__(InitDialog);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3302 DEC_PYCALLBACK_BOOL_(Validate);
3303
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3307
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3310
a5ee0656 3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3313
51b83b37
RD
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3315
8d38bd1d
RD
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3317
d55e5bfc
RD
3318 PYPRIVATE;
3319};
3320
3321IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3322
3323IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3324IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3325IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3326IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3327
3328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3331
3332IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3333IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3334
3335IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3336IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3337IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3338IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3339
3340IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3341IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3342IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3343
3344IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3346
a5ee0656 3347IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
a5ee0656 3348IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3349
51b83b37 3350IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3351
3352IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3353
d55e5bfc
RD
3354
3355
1bd55598 3356SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3357
3358#include <wx/generic/dragimgg.h>
3359
53aa7709 3360 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
1bd55598 3361SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3362 wxDateTime rv;
3363 self->GetRange(&rv, NULL);
3364 return rv;
3365 }
1bd55598 3366SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3367 wxDateTime rv;
3368 self->GetRange(NULL, &rv);
3369 return rv;
3370 }
704eda0c 3371 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3372 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3373 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3374 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3375 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3376 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3377 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3378 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
5172800e 3379 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3f7f284d 3380 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
62358578
RD
3381
3382#if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3383// define a dummy class for builds that don't have wxSearchCtrl
3384
3385enum {
4ed51f4d
RD
3386 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN,
3387 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
62358578
RD
3388};
3389
3390class wxSearchCtrl : public wxTextCtrl
3391{
3392public:
3393 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3394 wxSearchCtrl(wxWindow*, wxWindowID,
3395 const wxString&,
3396 const wxPoint&,
3397 const wxSize&,
3398 long style,
3399 const wxValidator&,
3400 const wxString& name)
3401 { wxPyRaiseNotImplemented(); }
3402
3403 bool Create( wxWindow*, wxWindowID,
3404 const wxString&,
3405 const wxPoint&,
3406 const wxSize&,
3407 long style,
3408 const wxValidator&,
3409 const wxString& name) {}
3410
3411 virtual void SetMenu( wxMenu* ) {}
3412 virtual wxMenu* GetMenu() { return NULL; }
3413
3414 // get/set search options
3415 // ----------------------
3416 virtual void ShowSearchButton( bool ) {}
3417 virtual bool IsSearchButtonVisible() const { return false; }
3418
3419 virtual void ShowCancelButton( bool ) {}
3420 virtual bool IsCancelButtonVisible() const { return false; }
6646ca90
RD
3421
3422 virtual void SetDescriptiveText(const wxString& text);
3423 virtual wxString GetDescriptiveText() const;
62358578
RD
3424};
3425#endif
3426
3f7f284d
RD
3427SWIGINTERN void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl *self,wxBitmap const &){}
3428SWIGINTERN void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl *self,wxBitmap const &){}
3429SWIGINTERN void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl *self,wxBitmap const &){}
d55e5bfc
RD
3430#ifdef __cplusplus
3431extern "C" {
3432#endif
1bd55598
RD
3433SWIGINTERN int ButtonNameStr_set(PyObject *) {
3434 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3435 return 1;
d55e5bfc
RD
3436}
3437
3438
1bd55598
RD
3439SWIGINTERN PyObject *ButtonNameStr_get(void) {
3440 PyObject *pyobj = 0;
3441
3442 {
d55e5bfc 3443#if wxUSE_UNICODE
1bd55598 3444 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3445#else
1bd55598 3446 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3447#endif
1bd55598
RD
3448 }
3449 return pyobj;
3450}
3451
3452
3453SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj = 0;
3455 wxWindow *arg1 = (wxWindow *) 0 ;
3456 int arg2 = (int) -1 ;
3457 wxString const &arg3_defvalue = wxPyEmptyString ;
3458 wxString *arg3 = (wxString *) &arg3_defvalue ;
3459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3461 wxSize const &arg5_defvalue = wxDefaultSize ;
3462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3463 long arg6 = (long) 0 ;
3464 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3465 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3466 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3467 wxString *arg8 = (wxString *) &arg8_defvalue ;
3468 wxButton *result = 0 ;
3469 void *argp1 = 0 ;
3470 int res1 = 0 ;
3471 int val2 ;
3472 int ecode2 = 0 ;
3473 bool temp3 = false ;
3474 wxPoint temp4 ;
3475 wxSize temp5 ;
3476 long val6 ;
3477 int ecode6 = 0 ;
3478 void *argp7 = 0 ;
3479 int res7 = 0 ;
3480 bool temp8 = false ;
3481 PyObject * obj0 = 0 ;
3482 PyObject * obj1 = 0 ;
3483 PyObject * obj2 = 0 ;
3484 PyObject * obj3 = 0 ;
3485 PyObject * obj4 = 0 ;
3486 PyObject * obj5 = 0 ;
3487 PyObject * obj6 = 0 ;
3488 PyObject * obj7 = 0 ;
3489 char * kwnames[] = {
3490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3491 };
3492
3493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3495 if (!SWIG_IsOK(res1)) {
3496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 }
3498 arg1 = reinterpret_cast< wxWindow * >(argp1);
3499 if (obj1) {
3500 ecode2 = SWIG_AsVal_int(obj1, &val2);
3501 if (!SWIG_IsOK(ecode2)) {
3502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 }
3504 arg2 = static_cast< int >(val2);
3505 }
3506 if (obj2) {
d55e5bfc 3507 {
1bd55598
RD
3508 arg3 = wxString_in_helper(obj2);
3509 if (arg3 == NULL) SWIG_fail;
3510 temp3 = true;
d55e5bfc 3511 }
1bd55598
RD
3512 }
3513 if (obj3) {
d55e5bfc 3514 {
1bd55598
RD
3515 arg4 = &temp4;
3516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3517 }
1bd55598
RD
3518 }
3519 if (obj4) {
d55e5bfc 3520 {
1bd55598
RD
3521 arg5 = &temp5;
3522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3523 }
1bd55598
RD
3524 }
3525 if (obj5) {
3526 ecode6 = SWIG_AsVal_long(obj5, &val6);
3527 if (!SWIG_IsOK(ecode6)) {
3528 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 }
3530 arg6 = static_cast< long >(val6);
3531 }
3532 if (obj6) {
3533 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3534 if (!SWIG_IsOK(res7)) {
3535 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3536 }
1bd55598
RD
3537 if (!argp7) {
3538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3539 }
1bd55598
RD
3540 arg7 = reinterpret_cast< wxValidator * >(argp7);
3541 }
3542 if (obj7) {
d55e5bfc 3543 {
1bd55598
RD
3544 arg8 = wxString_in_helper(obj7);
3545 if (arg8 == NULL) SWIG_fail;
3546 temp8 = true;
d55e5bfc 3547 }
1bd55598
RD
3548 }
3549 {
3550 if (!wxPyCheckForApp()) SWIG_fail;
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3557 {
3558 if (temp3)
3559 delete arg3;
3560 }
3561 {
3562 if (temp8)
3563 delete arg8;
3564 }
3565 return resultobj;
3566fail:
3567 {
3568 if (temp3)
3569 delete arg3;
3570 }
3571 {
3572 if (temp8)
3573 delete arg8;
3574 }
3575 return NULL;
d55e5bfc
RD
3576}
3577
3578
1bd55598
RD
3579SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3580 PyObject *resultobj = 0;
3581 wxButton *result = 0 ;
3582
3583 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3584 {
3585 if (!wxPyCheckForApp()) SWIG_fail;
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxButton *)new wxButton();
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3592 return resultobj;
3593fail:
3594 return NULL;
3595}
3596
3597
3598SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj = 0;
3600 wxButton *arg1 = (wxButton *) 0 ;
3601 wxWindow *arg2 = (wxWindow *) 0 ;
3602 int arg3 = (int) -1 ;
3603 wxString const &arg4_defvalue = wxPyEmptyString ;
3604 wxString *arg4 = (wxString *) &arg4_defvalue ;
3605 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3606 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3607 wxSize const &arg6_defvalue = wxDefaultSize ;
3608 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3609 long arg7 = (long) 0 ;
3610 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3611 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3612 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3613 wxString *arg9 = (wxString *) &arg9_defvalue ;
3614 bool result;
3615 void *argp1 = 0 ;
3616 int res1 = 0 ;
3617 void *argp2 = 0 ;
3618 int res2 = 0 ;
3619 int val3 ;
3620 int ecode3 = 0 ;
3621 bool temp4 = false ;
3622 wxPoint temp5 ;
3623 wxSize temp6 ;
3624 long val7 ;
3625 int ecode7 = 0 ;
3626 void *argp8 = 0 ;
3627 int res8 = 0 ;
3628 bool temp9 = false ;
3629 PyObject * obj0 = 0 ;
3630 PyObject * obj1 = 0 ;
3631 PyObject * obj2 = 0 ;
3632 PyObject * obj3 = 0 ;
3633 PyObject * obj4 = 0 ;
3634 PyObject * obj5 = 0 ;
3635 PyObject * obj6 = 0 ;
3636 PyObject * obj7 = 0 ;
3637 PyObject * obj8 = 0 ;
3638 char * kwnames[] = {
3639 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3640 };
3641
3642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3644 if (!SWIG_IsOK(res1)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 }
3647 arg1 = reinterpret_cast< wxButton * >(argp1);
3648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3649 if (!SWIG_IsOK(res2)) {
3650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 }
3652 arg2 = reinterpret_cast< wxWindow * >(argp2);
3653 if (obj2) {
3654 ecode3 = SWIG_AsVal_int(obj2, &val3);
3655 if (!SWIG_IsOK(ecode3)) {
3656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 }
3658 arg3 = static_cast< int >(val3);
3659 }
3660 if (obj3) {
d55e5bfc 3661 {
1bd55598
RD
3662 arg4 = wxString_in_helper(obj3);
3663 if (arg4 == NULL) SWIG_fail;
3664 temp4 = true;
d55e5bfc 3665 }
1bd55598
RD
3666 }
3667 if (obj4) {
d55e5bfc 3668 {
1bd55598
RD
3669 arg5 = &temp5;
3670 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3671 }
1bd55598
RD
3672 }
3673 if (obj5) {
d55e5bfc 3674 {
1bd55598
RD
3675 arg6 = &temp6;
3676 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3677 }
1bd55598
RD
3678 }
3679 if (obj6) {
3680 ecode7 = SWIG_AsVal_long(obj6, &val7);
3681 if (!SWIG_IsOK(ecode7)) {
3682 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 }
3684 arg7 = static_cast< long >(val7);
3685 }
3686 if (obj7) {
3687 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3688 if (!SWIG_IsOK(res8)) {
3689 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3690 }
1bd55598
RD
3691 if (!argp8) {
3692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3693 }
1bd55598
RD
3694 arg8 = reinterpret_cast< wxValidator * >(argp8);
3695 }
3696 if (obj8) {
d55e5bfc 3697 {
1bd55598
RD
3698 arg9 = wxString_in_helper(obj8);
3699 if (arg9 == NULL) SWIG_fail;
3700 temp9 = true;
d55e5bfc 3701 }
1bd55598
RD
3702 }
3703 {
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 {
3710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3711 }
3712 {
3713 if (temp4)
3714 delete arg4;
3715 }
3716 {
3717 if (temp9)
3718 delete arg9;
3719 }
3720 return resultobj;
3721fail:
3722 {
3723 if (temp4)
3724 delete arg4;
3725 }
3726 {
3727 if (temp9)
3728 delete arg9;
3729 }
3730 return NULL;
d55e5bfc
RD
3731}
3732
3733
1bd55598
RD
3734SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3735 PyObject *resultobj = 0;
3736 wxButton *arg1 = (wxButton *) 0 ;
3737 void *argp1 = 0 ;
3738 int res1 = 0 ;
3739 PyObject *swig_obj[1] ;
3740
3741 if (!args) SWIG_fail;
3742 swig_obj[0] = args;
3743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3744 if (!SWIG_IsOK(res1)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3746 }
3747 arg1 = reinterpret_cast< wxButton * >(argp1);
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->SetDefault();
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = SWIG_Py_Void();
3755 return resultobj;
3756fail:
3757 return NULL;
d55e5bfc
RD
3758}
3759
3760
1bd55598
RD
3761SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3762 PyObject *resultobj = 0;
3763 wxSize result;
3764
3765 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = wxButton::GetDefaultSize();
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3773 return resultobj;
3774fail:
3775 return NULL;
3776}
3777
3778
3779SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj = 0;
3781 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3782 SwigValueWrapper<wxVisualAttributes > result;
3783 int val1 ;
3784 int ecode1 = 0 ;
3785 PyObject * obj0 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "variant", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3791 if (obj0) {
3792 ecode1 = SWIG_AsVal_int(obj0, &val1);
3793 if (!SWIG_IsOK(ecode1)) {
3794 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3795 }
3796 arg1 = static_cast< wxWindowVariant >(val1);
3797 }
3798 {
3799 if (!wxPyCheckForApp()) SWIG_fail;
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = wxButton::GetClassDefaultAttributes(arg1);
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3806 return resultobj;
3807fail:
3808 return NULL;
3809}
3810
3811
3812SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3813 PyObject *obj;
3814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3815 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3816 return SWIG_Py_Void();
3817}
3818
3819SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3820 return SWIG_Python_InitShadowInstance(args);
3821}
3822
3823SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj = 0;
3825 wxWindow *arg1 = (wxWindow *) 0 ;
3826 int arg2 = (int) -1 ;
3827 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3828 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3829 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3830 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3831 wxSize const &arg5_defvalue = wxDefaultSize ;
3832 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3833 long arg6 = (long) wxBU_AUTODRAW ;
3834 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3835 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3836 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3837 wxString *arg8 = (wxString *) &arg8_defvalue ;
3838 wxBitmapButton *result = 0 ;
3839 void *argp1 = 0 ;
3840 int res1 = 0 ;
3841 int val2 ;
3842 int ecode2 = 0 ;
3843 void *argp3 = 0 ;
3844 int res3 = 0 ;
3845 wxPoint temp4 ;
3846 wxSize temp5 ;
3847 long val6 ;
3848 int ecode6 = 0 ;
3849 void *argp7 = 0 ;
3850 int res7 = 0 ;
3851 bool temp8 = false ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 PyObject * obj2 = 0 ;
3855 PyObject * obj3 = 0 ;
3856 PyObject * obj4 = 0 ;
3857 PyObject * obj5 = 0 ;
3858 PyObject * obj6 = 0 ;
3859 PyObject * obj7 = 0 ;
3860 char * kwnames[] = {
3861 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3862 };
3863
3864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3866 if (!SWIG_IsOK(res1)) {
3867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3868 }
3869 arg1 = reinterpret_cast< wxWindow * >(argp1);
3870 if (obj1) {
3871 ecode2 = SWIG_AsVal_int(obj1, &val2);
3872 if (!SWIG_IsOK(ecode2)) {
3873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3874 }
3875 arg2 = static_cast< int >(val2);
3876 }
3877 if (obj2) {
3878 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3879 if (!SWIG_IsOK(res3)) {
3880 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3881 }
3882 if (!argp3) {
3883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 }
3885 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3886 }
3887 if (obj3) {
d55e5bfc 3888 {
1bd55598
RD
3889 arg4 = &temp4;
3890 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3891 }
1bd55598
RD
3892 }
3893 if (obj4) {
d55e5bfc 3894 {
1bd55598
RD
3895 arg5 = &temp5;
3896 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3897 }
1bd55598
RD
3898 }
3899 if (obj5) {
3900 ecode6 = SWIG_AsVal_long(obj5, &val6);
3901 if (!SWIG_IsOK(ecode6)) {
3902 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3903 }
3904 arg6 = static_cast< long >(val6);
3905 }
3906 if (obj6) {
3907 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3908 if (!SWIG_IsOK(res7)) {
3909 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3910 }
1bd55598
RD
3911 if (!argp7) {
3912 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3913 }
1bd55598
RD
3914 arg7 = reinterpret_cast< wxValidator * >(argp7);
3915 }
3916 if (obj7) {
f20a2e1f 3917 {
1bd55598
RD
3918 arg8 = wxString_in_helper(obj7);
3919 if (arg8 == NULL) SWIG_fail;
3920 temp8 = true;
f20a2e1f 3921 }
1bd55598
RD
3922 }
3923 {
3924 if (!wxPyCheckForApp()) SWIG_fail;
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3931 {
3932 if (temp8)
3933 delete arg8;
3934 }
3935 return resultobj;
3936fail:
3937 {
3938 if (temp8)
3939 delete arg8;
3940 }
3941 return NULL;
f20a2e1f
RD
3942}
3943
3944
1bd55598
RD
3945SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3946 PyObject *resultobj = 0;
3947 wxBitmapButton *result = 0 ;
3948
3949 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3950 {
3951 if (!wxPyCheckForApp()) SWIG_fail;
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 result = (wxBitmapButton *)new wxBitmapButton();
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3958 return resultobj;
3959fail:
3960 return NULL;
3961}
3962
3963
3964SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj = 0;
3966 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3967 wxWindow *arg2 = (wxWindow *) 0 ;
3968 int arg3 = (int) -1 ;
3969 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3970 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3973 wxSize const &arg6_defvalue = wxDefaultSize ;
3974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3975 long arg7 = (long) wxBU_AUTODRAW ;
3976 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3977 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3978 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3979 wxString *arg9 = (wxString *) &arg9_defvalue ;
3980 bool result;
3981 void *argp1 = 0 ;
3982 int res1 = 0 ;
3983 void *argp2 = 0 ;
3984 int res2 = 0 ;
3985 int val3 ;
3986 int ecode3 = 0 ;
3987 void *argp4 = 0 ;
3988 int res4 = 0 ;
3989 wxPoint temp5 ;
3990 wxSize temp6 ;
3991 long val7 ;
3992 int ecode7 = 0 ;
3993 void *argp8 = 0 ;
3994 int res8 = 0 ;
3995 bool temp9 = false ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 PyObject * obj2 = 0 ;
3999 PyObject * obj3 = 0 ;
4000 PyObject * obj4 = 0 ;
4001 PyObject * obj5 = 0 ;
4002 PyObject * obj6 = 0 ;
4003 PyObject * obj7 = 0 ;
4004 PyObject * obj8 = 0 ;
4005 char * kwnames[] = {
4006 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4007 };
4008
4009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4011 if (!SWIG_IsOK(res1)) {
4012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4013 }
4014 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4016 if (!SWIG_IsOK(res2)) {
4017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4018 }
4019 arg2 = reinterpret_cast< wxWindow * >(argp2);
4020 if (obj2) {
4021 ecode3 = SWIG_AsVal_int(obj2, &val3);
4022 if (!SWIG_IsOK(ecode3)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4024 }
4025 arg3 = static_cast< int >(val3);
4026 }
4027 if (obj3) {
4028 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
4029 if (!SWIG_IsOK(res4)) {
4030 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 4031 }
1bd55598
RD
4032 if (!argp4) {
4033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 4034 }
1bd55598
RD
4035 arg4 = reinterpret_cast< wxBitmap * >(argp4);
4036 }
4037 if (obj4) {
d55e5bfc 4038 {
1bd55598
RD
4039 arg5 = &temp5;
4040 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4041 }
1bd55598
RD
4042 }
4043 if (obj5) {
d55e5bfc 4044 {
1bd55598
RD
4045 arg6 = &temp6;
4046 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4047 }
4048 }
4049 if (obj6) {
4050 ecode7 = SWIG_AsVal_long(obj6, &val7);
4051 if (!SWIG_IsOK(ecode7)) {
4052 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4053 }
4054 arg7 = static_cast< long >(val7);
4055 }
4056 if (obj7) {
4057 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4058 if (!SWIG_IsOK(res8)) {
4059 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4060 }
4061 if (!argp8) {
4062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4063 }
1bd55598
RD
4064 arg8 = reinterpret_cast< wxValidator * >(argp8);
4065 }
4066 if (obj8) {
d55e5bfc 4067 {
1bd55598
RD
4068 arg9 = wxString_in_helper(obj8);
4069 if (arg9 == NULL) SWIG_fail;
4070 temp9 = true;
d55e5bfc 4071 }
1bd55598
RD
4072 }
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 {
4080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4081 }
4082 {
4083 if (temp9)
4084 delete arg9;
4085 }
4086 return resultobj;
4087fail:
4088 {
4089 if (temp9)
4090 delete arg9;
4091 }
4092 return NULL;
d55e5bfc
RD
4093}
4094
4095
1bd55598
RD
4096SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4097 PyObject *resultobj = 0;
4098 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4099 wxBitmap result;
4100 void *argp1 = 0 ;
4101 int res1 = 0 ;
4102 PyObject *swig_obj[1] ;
4103
4104 if (!args) SWIG_fail;
4105 swig_obj[0] = args;
4106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4107 if (!SWIG_IsOK(res1)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 }
4110 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (arg1)->GetBitmapLabel();
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4118 return resultobj;
4119fail:
4120 return NULL;
d55e5bfc
RD
4121}
4122
4123
1bd55598
RD
4124SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4127 wxBitmap result;
4128 void *argp1 = 0 ;
4129 int res1 = 0 ;
4130 PyObject *swig_obj[1] ;
4131
4132 if (!args) SWIG_fail;
4133 swig_obj[0] = args;
4134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4135 if (!SWIG_IsOK(res1)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 }
4138 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (arg1)->GetBitmapDisabled();
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4146 return resultobj;
4147fail:
4148 return NULL;
d55e5bfc
RD
4149}
4150
4151
1bd55598
RD
4152SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4153 PyObject *resultobj = 0;
4154 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4155 wxBitmap result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 PyObject *swig_obj[1] ;
4159
4160 if (!args) SWIG_fail;
4161 swig_obj[0] = args;
4162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4163 if (!SWIG_IsOK(res1)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 }
4166 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 result = (arg1)->GetBitmapFocus();
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4174 return resultobj;
4175fail:
4176 return NULL;
d55e5bfc
RD
4177}
4178
4179
1bd55598
RD
4180SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4181 PyObject *resultobj = 0;
4182 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4183 wxBitmap result;
4184 void *argp1 = 0 ;
4185 int res1 = 0 ;
4186 PyObject *swig_obj[1] ;
4187
4188 if (!args) SWIG_fail;
4189 swig_obj[0] = args;
4190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4193 }
4194 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (arg1)->GetBitmapSelected();
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4202 return resultobj;
4203fail:
4204 return NULL;
d55e5bfc
RD
4205}
4206
4207
1bd55598
RD
4208SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4209 PyObject *resultobj = 0;
4210 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4211 wxBitmap result;
4212 void *argp1 = 0 ;
4213 int res1 = 0 ;
4214 PyObject *swig_obj[1] ;
4215
4216 if (!args) SWIG_fail;
4217 swig_obj[0] = args;
4218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4219 if (!SWIG_IsOK(res1)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 }
4222 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (arg1)->GetBitmapHover();
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4230 return resultobj;
4231fail:
4232 return NULL;
4233}
4234
4235
4236SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj = 0;
4238 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4239 wxBitmap *arg2 = 0 ;
4240 void *argp1 = 0 ;
4241 int res1 = 0 ;
4242 void *argp2 = 0 ;
4243 int res2 = 0 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char * kwnames[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4248 };
4249
4250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4252 if (!SWIG_IsOK(res1)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4254 }
4255 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4256 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4257 if (!SWIG_IsOK(res2)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 }
4260 if (!argp2) {
4261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 }
4263 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_Py_Void();
4271 return resultobj;
4272fail:
4273 return NULL;
4274}
4275
4276
4277SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj = 0;
4279 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4280 wxBitmap *arg2 = 0 ;
4281 void *argp1 = 0 ;
4282 int res1 = 0 ;
4283 void *argp2 = 0 ;
4284 int res2 = 0 ;
4285 PyObject * obj0 = 0 ;
4286 PyObject * obj1 = 0 ;
4287 char * kwnames[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4289 };
4290
4291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4293 if (!SWIG_IsOK(res1)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4295 }
4296 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4297 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4298 if (!SWIG_IsOK(res2)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 }
4301 if (!argp2) {
4302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 }
4304 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 resultobj = SWIG_Py_Void();
4312 return resultobj;
4313fail:
4314 return NULL;
4315}
4316
4317
4318SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj = 0;
4320 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4321 wxBitmap *arg2 = 0 ;
4322 void *argp1 = 0 ;
4323 int res1 = 0 ;
4324 void *argp2 = 0 ;
4325 int res2 = 0 ;
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char * kwnames[] = {
4329 (char *) "self",(char *) "bitmap", NULL
4330 };
4331
4332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4334 if (!SWIG_IsOK(res1)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4336 }
4337 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4339 if (!SWIG_IsOK(res2)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 }
4342 if (!argp2) {
4343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 }
4345 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = SWIG_Py_Void();
4353 return resultobj;
4354fail:
4355 return NULL;
4356}
4357
4358
4359SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj = 0;
4361 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4362 wxBitmap *arg2 = 0 ;
4363 void *argp1 = 0 ;
4364 int res1 = 0 ;
4365 void *argp2 = 0 ;
4366 int res2 = 0 ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369 char * kwnames[] = {
4370 (char *) "self",(char *) "bitmap", NULL
4371 };
4372
4373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4375 if (!SWIG_IsOK(res1)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4377 }
4378 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4379 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4380 if (!SWIG_IsOK(res2)) {
4381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4382 }
4383 if (!argp2) {
4384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 }
4386 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 resultobj = SWIG_Py_Void();
4394 return resultobj;
4395fail:
4396 return NULL;
4397}
4398
4399
4400SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj = 0;
4402 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4403 wxBitmap *arg2 = 0 ;
4404 void *argp1 = 0 ;
4405 int res1 = 0 ;
4406 void *argp2 = 0 ;
4407 int res2 = 0 ;
4408 PyObject * obj0 = 0 ;
4409 PyObject * obj1 = 0 ;
4410 char * kwnames[] = {
4411 (char *) "self",(char *) "hover", NULL
4412 };
4413
4414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4416 if (!SWIG_IsOK(res1)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 }
4419 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4421 if (!SWIG_IsOK(res2)) {
4422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4423 }
4424 if (!argp2) {
4425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 }
4427 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_Py_Void();
4435 return resultobj;
4436fail:
4437 return NULL;
4438}
4439
4440
4441SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = 0;
4443 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4444 int arg2 ;
4445 int arg3 ;
4446 void *argp1 = 0 ;
4447 int res1 = 0 ;
4448 int val2 ;
4449 int ecode2 = 0 ;
4450 int val3 ;
4451 int ecode3 = 0 ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 PyObject * obj2 = 0 ;
4455 char * kwnames[] = {
4456 (char *) "self",(char *) "x",(char *) "y", NULL
4457 };
4458
4459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4461 if (!SWIG_IsOK(res1)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4463 }
4464 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4465 ecode2 = SWIG_AsVal_int(obj1, &val2);
4466 if (!SWIG_IsOK(ecode2)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4468 }
4469 arg2 = static_cast< int >(val2);
4470 ecode3 = SWIG_AsVal_int(obj2, &val3);
4471 if (!SWIG_IsOK(ecode3)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4473 }
4474 arg3 = static_cast< int >(val3);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetMargins(arg2,arg3);
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_Py_Void();
4482 return resultobj;
4483fail:
4484 return NULL;
d55e5bfc
RD
4485}
4486
4487
1bd55598
RD
4488SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4489 PyObject *resultobj = 0;
4490 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4491 int result;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 PyObject *swig_obj[1] ;
4495
4496 if (!args) SWIG_fail;
4497 swig_obj[0] = args;
4498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4501 }
4502 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_From_int(static_cast< int >(result));
4510 return resultobj;
4511fail:
4512 return NULL;
d55e5bfc
RD
4513}
4514
4515
1bd55598
RD
4516SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4517 PyObject *resultobj = 0;
4518 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4519 int result;
4520 void *argp1 = 0 ;
4521 int res1 = 0 ;
4522 PyObject *swig_obj[1] ;
4523
4524 if (!args) SWIG_fail;
4525 swig_obj[0] = args;
4526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4527 if (!SWIG_IsOK(res1)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4529 }
4530 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = SWIG_From_int(static_cast< int >(result));
4538 return resultobj;
4539fail:
4540 return NULL;
b1fcee84
RD
4541}
4542
4543
1bd55598
RD
4544SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4545 PyObject *obj;
4546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4547 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4548 return SWIG_Py_Void();
d55e5bfc
RD
4549}
4550
1bd55598
RD
4551SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4552 return SWIG_Python_InitShadowInstance(args);
4553}
d55e5bfc 4554
1bd55598
RD
4555SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4556 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4557 return 1;
d55e5bfc
RD
4558}
4559
4560
1bd55598
RD
4561SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4562 PyObject *pyobj = 0;
4563
4564 {
4565#if wxUSE_UNICODE
4566 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4567#else
4568 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4569#endif
4570 }
4571 return pyobj;
4572}
4573
4574
4575SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj = 0;
4577 wxWindow *arg1 = (wxWindow *) 0 ;
4578 int arg2 = (int) -1 ;
4579 wxString const &arg3_defvalue = wxPyEmptyString ;
4580 wxString *arg3 = (wxString *) &arg3_defvalue ;
4581 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4582 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4583 wxSize const &arg5_defvalue = wxDefaultSize ;
4584 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4585 long arg6 = (long) 0 ;
4586 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4587 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4588 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4589 wxString *arg8 = (wxString *) &arg8_defvalue ;
4590 wxCheckBox *result = 0 ;
4591 void *argp1 = 0 ;
4592 int res1 = 0 ;
4593 int val2 ;
4594 int ecode2 = 0 ;
4595 bool temp3 = false ;
4596 wxPoint temp4 ;
4597 wxSize temp5 ;
4598 long val6 ;
4599 int ecode6 = 0 ;
4600 void *argp7 = 0 ;
4601 int res7 = 0 ;
4602 bool temp8 = false ;
4603 PyObject * obj0 = 0 ;
4604 PyObject * obj1 = 0 ;
4605 PyObject * obj2 = 0 ;
4606 PyObject * obj3 = 0 ;
4607 PyObject * obj4 = 0 ;
4608 PyObject * obj5 = 0 ;
4609 PyObject * obj6 = 0 ;
4610 PyObject * obj7 = 0 ;
4611 char * kwnames[] = {
4612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4613 };
4614
4615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4617 if (!SWIG_IsOK(res1)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4619 }
4620 arg1 = reinterpret_cast< wxWindow * >(argp1);
4621 if (obj1) {
4622 ecode2 = SWIG_AsVal_int(obj1, &val2);
4623 if (!SWIG_IsOK(ecode2)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4625 }
4626 arg2 = static_cast< int >(val2);
4627 }
4628 if (obj2) {
d55e5bfc 4629 {
1bd55598
RD
4630 arg3 = wxString_in_helper(obj2);
4631 if (arg3 == NULL) SWIG_fail;
4632 temp3 = true;
d55e5bfc 4633 }
1bd55598
RD
4634 }
4635 if (obj3) {
4636 {
4637 arg4 = &temp4;
4638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4639 }
1bd55598
RD
4640 }
4641 if (obj4) {
d55e5bfc 4642 {
1bd55598
RD
4643 arg5 = &temp5;
4644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4645 }
1bd55598
RD
4646 }
4647 if (obj5) {
4648 ecode6 = SWIG_AsVal_long(obj5, &val6);
4649 if (!SWIG_IsOK(ecode6)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4651 }
4652 arg6 = static_cast< long >(val6);
4653 }
4654 if (obj6) {
4655 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4656 if (!SWIG_IsOK(res7)) {
4657 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4658 }
1bd55598
RD
4659 if (!argp7) {
4660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 }
4662 arg7 = reinterpret_cast< wxValidator * >(argp7);
4663 }
4664 if (obj7) {
b1fcee84 4665 {
1bd55598
RD
4666 arg8 = wxString_in_helper(obj7);
4667 if (arg8 == NULL) SWIG_fail;
4668 temp8 = true;
b1fcee84 4669 }
1bd55598
RD
4670 }
4671 {
4672 if (!wxPyCheckForApp()) SWIG_fail;
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4679 {
4680 if (temp3)
4681 delete arg3;
4682 }
4683 {
4684 if (temp8)
4685 delete arg8;
4686 }
4687 return resultobj;
4688fail:
4689 {
4690 if (temp3)
4691 delete arg3;
4692 }
4693 {
4694 if (temp8)
4695 delete arg8;
4696 }
4697 return NULL;
b1fcee84
RD
4698}
4699
4700
1bd55598
RD
4701SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4702 PyObject *resultobj = 0;
4703 wxCheckBox *result = 0 ;
4704
4705 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4706 {
4707 if (!wxPyCheckForApp()) SWIG_fail;
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 result = (wxCheckBox *)new wxCheckBox();
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4714 return resultobj;
4715fail:
4716 return NULL;
4717}
4718
4719
4720SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj = 0;
4722 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4723 wxWindow *arg2 = (wxWindow *) 0 ;
4724 int arg3 = (int) -1 ;
4725 wxString const &arg4_defvalue = wxPyEmptyString ;
4726 wxString *arg4 = (wxString *) &arg4_defvalue ;
4727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4729 wxSize const &arg6_defvalue = wxDefaultSize ;
4730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4731 long arg7 = (long) 0 ;
4732 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4733 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4734 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4735 wxString *arg9 = (wxString *) &arg9_defvalue ;
4736 bool result;
4737 void *argp1 = 0 ;
4738 int res1 = 0 ;
4739 void *argp2 = 0 ;
4740 int res2 = 0 ;
4741 int val3 ;
4742 int ecode3 = 0 ;
4743 bool temp4 = false ;
4744 wxPoint temp5 ;
4745 wxSize temp6 ;
4746 long val7 ;
4747 int ecode7 = 0 ;
4748 void *argp8 = 0 ;
4749 int res8 = 0 ;
4750 bool temp9 = false ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj2 = 0 ;
4754 PyObject * obj3 = 0 ;
4755 PyObject * obj4 = 0 ;
4756 PyObject * obj5 = 0 ;
4757 PyObject * obj6 = 0 ;
4758 PyObject * obj7 = 0 ;
4759 PyObject * obj8 = 0 ;
4760 char * kwnames[] = {
4761 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4762 };
4763
4764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4766 if (!SWIG_IsOK(res1)) {
4767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4768 }
4769 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4771 if (!SWIG_IsOK(res2)) {
4772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4773 }
4774 arg2 = reinterpret_cast< wxWindow * >(argp2);
4775 if (obj2) {
4776 ecode3 = SWIG_AsVal_int(obj2, &val3);
4777 if (!SWIG_IsOK(ecode3)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4779 }
4780 arg3 = static_cast< int >(val3);
4781 }
4782 if (obj3) {
36ed4f51 4783 {
1bd55598
RD
4784 arg4 = wxString_in_helper(obj3);
4785 if (arg4 == NULL) SWIG_fail;
4786 temp4 = true;
36ed4f51 4787 }
1bd55598
RD
4788 }
4789 if (obj4) {
36ed4f51 4790 {
1bd55598
RD
4791 arg5 = &temp5;
4792 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 4793 }
1bd55598
RD
4794 }
4795 if (obj5) {
d55e5bfc 4796 {
1bd55598
RD
4797 arg6 = &temp6;
4798 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4799 }
1bd55598
RD
4800 }
4801 if (obj6) {
4802 ecode7 = SWIG_AsVal_long(obj6, &val7);
4803 if (!SWIG_IsOK(ecode7)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4805 }
4806 arg7 = static_cast< long >(val7);
4807 }
4808 if (obj7) {
4809 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4810 if (!SWIG_IsOK(res8)) {
4811 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4812 }
1bd55598
RD
4813 if (!argp8) {
4814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 }
4816 arg8 = reinterpret_cast< wxValidator * >(argp8);
4817 }
4818 if (obj8) {
36ed4f51 4819 {
1bd55598
RD
4820 arg9 = wxString_in_helper(obj8);
4821 if (arg9 == NULL) SWIG_fail;
4822 temp9 = true;
36ed4f51 4823 }
1bd55598
RD
4824 }
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 {
4832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4833 }
4834 {
4835 if (temp4)
4836 delete arg4;
4837 }
4838 {
4839 if (temp9)
4840 delete arg9;
4841 }
4842 return resultobj;
4843fail:
4844 {
4845 if (temp4)
4846 delete arg4;
4847 }
4848 {
4849 if (temp9)
4850 delete arg9;
4851 }
4852 return NULL;
d55e5bfc
RD
4853}
4854
4855
1bd55598
RD
4856SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4857 PyObject *resultobj = 0;
4858 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4859 bool result;
4860 void *argp1 = 0 ;
4861 int res1 = 0 ;
4862 PyObject *swig_obj[1] ;
4863
4864 if (!args) SWIG_fail;
4865 swig_obj[0] = args;
4866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4867 if (!SWIG_IsOK(res1)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4869 }
4870 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 result = (bool)(arg1)->GetValue();
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 {
4878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4879 }
4880 return resultobj;
4881fail:
4882 return NULL;
d55e5bfc
RD
4883}
4884
4885
1bd55598
RD
4886SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4887 PyObject *resultobj = 0;
4888 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4889 bool result;
4890 void *argp1 = 0 ;
4891 int res1 = 0 ;
4892 PyObject *swig_obj[1] ;
4893
4894 if (!args) SWIG_fail;
4895 swig_obj[0] = args;
4896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4897 if (!SWIG_IsOK(res1)) {
4898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4899 }
4900 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = (bool)(arg1)->IsChecked();
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 {
4908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4909 }
4910 return resultobj;
4911fail:
4912 return NULL;
4913}
4914
4915
4916SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj = 0;
4918 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4919 bool arg2 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 bool val2 ;
4923 int ecode2 = 0 ;
4924 PyObject * obj0 = 0 ;
4925 PyObject * obj1 = 0 ;
4926 char * kwnames[] = {
4927 (char *) "self",(char *) "state", NULL
4928 };
4929
4930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4932 if (!SWIG_IsOK(res1)) {
4933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4934 }
4935 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4936 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4937 if (!SWIG_IsOK(ecode2)) {
4938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4939 }
4940 arg2 = static_cast< bool >(val2);
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetValue(arg2);
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 resultobj = SWIG_Py_Void();
4948 return resultobj;
4949fail:
4950 return NULL;
d55e5bfc 4951}
1bd55598
RD
4952
4953
4954SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4955 PyObject *resultobj = 0;
4956 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4957 wxCheckBoxState result;
4958 void *argp1 = 0 ;
4959 int res1 = 0 ;
4960 PyObject *swig_obj[1] ;
4961
4962 if (!args) SWIG_fail;
4963 swig_obj[0] = args;
4964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4965 if (!SWIG_IsOK(res1)) {
4966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4967 }
4968 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 resultobj = SWIG_From_int(static_cast< int >(result));
4976 return resultobj;
4977fail:
4978 return NULL;
4979}
4980
4981
4982SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj = 0;
4984 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4985 wxCheckBoxState arg2 ;
4986 void *argp1 = 0 ;
4987 int res1 = 0 ;
4988 int val2 ;
4989 int ecode2 = 0 ;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj1 = 0 ;
4992 char * kwnames[] = {
4993 (char *) "self",(char *) "state", NULL
4994 };
4995
4996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4998 if (!SWIG_IsOK(res1)) {
4999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5000 }
5001 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5002 ecode2 = SWIG_AsVal_int(obj1, &val2);
5003 if (!SWIG_IsOK(ecode2)) {
5004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5005 }
5006 arg2 = static_cast< wxCheckBoxState >(val2);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->Set3StateValue(arg2);
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015fail:
5016 return NULL;
d55e5bfc
RD
5017}
5018
5019
1bd55598
RD
5020SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5021 PyObject *resultobj = 0;
5022 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5023 bool result;
5024 void *argp1 = 0 ;
5025 int res1 = 0 ;
5026 PyObject *swig_obj[1] ;
5027
5028 if (!args) SWIG_fail;
5029 swig_obj[0] = args;
5030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5031 if (!SWIG_IsOK(res1)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5033 }
5034 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (bool)((wxCheckBox const *)arg1)->Is3State();
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
5042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5043 }
5044 return resultobj;
5045fail:
5046 return NULL;
d55e5bfc
RD
5047}
5048
5049
1bd55598
RD
5050SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5051 PyObject *resultobj = 0;
5052 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5053 bool result;
5054 void *argp1 = 0 ;
5055 int res1 = 0 ;
5056 PyObject *swig_obj[1] ;
5057
5058 if (!args) SWIG_fail;
5059 swig_obj[0] = args;
5060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5061 if (!SWIG_IsOK(res1)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5063 }
5064 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 {
5072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5073 }
5074 return resultobj;
5075fail:
5076 return NULL;
d55e5bfc
RD
5077}
5078
5079
1bd55598
RD
5080SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj = 0;
5082 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5083 SwigValueWrapper<wxVisualAttributes > result;
5084 int val1 ;
5085 int ecode1 = 0 ;
5086 PyObject * obj0 = 0 ;
5087 char * kwnames[] = {
5088 (char *) "variant", NULL
5089 };
5090
5091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5092 if (obj0) {
5093 ecode1 = SWIG_AsVal_int(obj0, &val1);
5094 if (!SWIG_IsOK(ecode1)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5096 }
5097 arg1 = static_cast< wxWindowVariant >(val1);
5098 }
5099 {
5100 if (!wxPyCheckForApp()) SWIG_fail;
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5107 return resultobj;
5108fail:
5109 return NULL;
d55e5bfc
RD
5110}
5111
5112
1bd55598
RD
5113SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5114 PyObject *obj;
5115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5116 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5117 return SWIG_Py_Void();
d55e5bfc
RD
5118}
5119
1bd55598
RD
5120SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5121 return SWIG_Python_InitShadowInstance(args);
5122}
d55e5bfc 5123
1bd55598
RD
5124SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5125 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5126 return 1;
d55e5bfc
RD
5127}
5128
5129
1bd55598
RD
5130SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5131 PyObject *pyobj = 0;
5132
5133 {
5134#if wxUSE_UNICODE
5135 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5136#else
5137 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5138#endif
5139 }
5140 return pyobj;
5141}
5142
5143
5144SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj = 0;
5146 wxWindow *arg1 = (wxWindow *) 0 ;
5147 int arg2 = (int) -1 ;
5148 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5149 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5150 wxSize const &arg4_defvalue = wxDefaultSize ;
5151 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5152 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5153 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5154 long arg6 = (long) 0 ;
5155 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5156 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5157 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5158 wxString *arg8 = (wxString *) &arg8_defvalue ;
5159 wxChoice *result = 0 ;
5160 void *argp1 = 0 ;
5161 int res1 = 0 ;
5162 int val2 ;
5163 int ecode2 = 0 ;
5164 wxPoint temp3 ;
5165 wxSize temp4 ;
5166 bool temp5 = false ;
5167 long val6 ;
5168 int ecode6 = 0 ;
5169 void *argp7 = 0 ;
5170 int res7 = 0 ;
5171 bool temp8 = false ;
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
5174 PyObject * obj2 = 0 ;
5175 PyObject * obj3 = 0 ;
5176 PyObject * obj4 = 0 ;
5177 PyObject * obj5 = 0 ;
5178 PyObject * obj6 = 0 ;
5179 PyObject * obj7 = 0 ;
5180 char * kwnames[] = {
5181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5182 };
5183
5184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5188 }
5189 arg1 = reinterpret_cast< wxWindow * >(argp1);
5190 if (obj1) {
5191 ecode2 = SWIG_AsVal_int(obj1, &val2);
5192 if (!SWIG_IsOK(ecode2)) {
5193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5194 }
5195 arg2 = static_cast< int >(val2);
5196 }
5197 if (obj2) {
36ed4f51 5198 {
1bd55598
RD
5199 arg3 = &temp3;
5200 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 5201 }
1bd55598
RD
5202 }
5203 if (obj3) {
d55e5bfc 5204 {
1bd55598
RD
5205 arg4 = &temp4;
5206 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5207 }
1bd55598
RD
5208 }
5209 if (obj4) {
d55e5bfc 5210 {
1bd55598
RD
5211 if (! PySequence_Check(obj4)) {
5212 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5213 SWIG_fail;
5214 }
5215 arg5 = new wxArrayString;
5216 temp5 = true;
5217 int i, len=PySequence_Length(obj4);
5218 for (i=0; i<len; i++) {
5219 PyObject* item = PySequence_GetItem(obj4, i);
5220 wxString* s = wxString_in_helper(item);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 arg5->Add(*s);
5223 delete s;
5224 Py_DECREF(item);
5225 }
d55e5bfc 5226 }
1bd55598
RD
5227 }
5228 if (obj5) {
5229 ecode6 = SWIG_AsVal_long(obj5, &val6);
5230 if (!SWIG_IsOK(ecode6)) {
5231 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5232 }
5233 arg6 = static_cast< long >(val6);
5234 }
5235 if (obj6) {
5236 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5237 if (!SWIG_IsOK(res7)) {
5238 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 5239 }
1bd55598
RD
5240 if (!argp7) {
5241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 }
5243 arg7 = reinterpret_cast< wxValidator * >(argp7);
5244 }
5245 if (obj7) {
d55e5bfc 5246 {
1bd55598
RD
5247 arg8 = wxString_in_helper(obj7);
5248 if (arg8 == NULL) SWIG_fail;
5249 temp8 = true;
d55e5bfc 5250 }
1bd55598
RD
5251 }
5252 {
5253 if (!wxPyCheckForApp()) SWIG_fail;
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5260 {
5261 if (temp5) delete arg5;
5262 }
5263 {
5264 if (temp8)
5265 delete arg8;
5266 }
5267 return resultobj;
5268fail:
5269 {
5270 if (temp5) delete arg5;
5271 }
5272 {
5273 if (temp8)
5274 delete arg8;
5275 }
5276 return NULL;
d55e5bfc
RD
5277}
5278
5279
1bd55598
RD
5280SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5281 PyObject *resultobj = 0;
5282 wxChoice *result = 0 ;
5283
5284 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5285 {
5286 if (!wxPyCheckForApp()) SWIG_fail;
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (wxChoice *)new wxChoice();
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5293 return resultobj;
5294fail:
5295 return NULL;
5296}
5297
5298
5299SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj = 0;
5301 wxChoice *arg1 = (wxChoice *) 0 ;
5302 wxWindow *arg2 = (wxWindow *) 0 ;
5303 int arg3 = (int) -1 ;
5304 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5305 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5306 wxSize const &arg5_defvalue = wxDefaultSize ;
5307 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5308 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5309 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5310 long arg7 = (long) 0 ;
5311 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5312 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5313 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5314 wxString *arg9 = (wxString *) &arg9_defvalue ;
5315 bool result;
5316 void *argp1 = 0 ;
5317 int res1 = 0 ;
5318 void *argp2 = 0 ;
5319 int res2 = 0 ;
5320 int val3 ;
5321 int ecode3 = 0 ;
5322 wxPoint temp4 ;
5323 wxSize temp5 ;
5324 bool temp6 = false ;
5325 long val7 ;
5326 int ecode7 = 0 ;
5327 void *argp8 = 0 ;
5328 int res8 = 0 ;
5329 bool temp9 = false ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 PyObject * obj2 = 0 ;
5333 PyObject * obj3 = 0 ;
5334 PyObject * obj4 = 0 ;
5335 PyObject * obj5 = 0 ;
5336 PyObject * obj6 = 0 ;
5337 PyObject * obj7 = 0 ;
5338 PyObject * obj8 = 0 ;
5339 char * kwnames[] = {
5340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 };
5342
5343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5345 if (!SWIG_IsOK(res1)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5347 }
5348 arg1 = reinterpret_cast< wxChoice * >(argp1);
5349 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5350 if (!SWIG_IsOK(res2)) {
5351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5352 }
5353 arg2 = reinterpret_cast< wxWindow * >(argp2);
5354 if (obj2) {
5355 ecode3 = SWIG_AsVal_int(obj2, &val3);
5356 if (!SWIG_IsOK(ecode3)) {
5357 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5358 }
5359 arg3 = static_cast< int >(val3);
5360 }
5361 if (obj3) {
d55e5bfc 5362 {
1bd55598
RD
5363 arg4 = &temp4;
5364 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5365 }
1bd55598
RD
5366 }
5367 if (obj4) {
d55e5bfc 5368 {
1bd55598
RD
5369 arg5 = &temp5;
5370 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5371 }
1bd55598
RD
5372 }
5373 if (obj5) {
d55e5bfc 5374 {
1bd55598
RD
5375 if (! PySequence_Check(obj5)) {
5376 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5377 SWIG_fail;
5378 }
5379 arg6 = new wxArrayString;
5380 temp6 = true;
5381 int i, len=PySequence_Length(obj5);
5382 for (i=0; i<len; i++) {
5383 PyObject* item = PySequence_GetItem(obj5, i);
5384 wxString* s = wxString_in_helper(item);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 arg6->Add(*s);
5387 delete s;
5388 Py_DECREF(item);
5389 }
5390 }
5391 }
5392 if (obj6) {
5393 ecode7 = SWIG_AsVal_long(obj6, &val7);
5394 if (!SWIG_IsOK(ecode7)) {
5395 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5396 }
5397 arg7 = static_cast< long >(val7);
5398 }
5399 if (obj7) {
5400 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5401 if (!SWIG_IsOK(res8)) {
5402 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5403 }
1bd55598
RD
5404 if (!argp8) {
5405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 }
5407 arg8 = reinterpret_cast< wxValidator * >(argp8);
5408 }
5409 if (obj8) {
d55e5bfc 5410 {
1bd55598
RD
5411 arg9 = wxString_in_helper(obj8);
5412 if (arg9 == NULL) SWIG_fail;
5413 temp9 = true;
d55e5bfc 5414 }
1bd55598
RD
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5424 }
5425 {
5426 if (temp6) delete arg6;
5427 }
5428 {
5429 if (temp9)
5430 delete arg9;
5431 }
5432 return resultobj;
5433fail:
5434 {
5435 if (temp6) delete arg6;
5436 }
5437 {
5438 if (temp9)
5439 delete arg9;
5440 }
5441 return NULL;
d55e5bfc
RD
5442}
5443
5444
1bd55598
RD
5445SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5446 PyObject *resultobj = 0;
5447 wxChoice *arg1 = (wxChoice *) 0 ;
5448 int result;
5449 void *argp1 = 0 ;
5450 int res1 = 0 ;
5451 PyObject *swig_obj[1] ;
5452
5453 if (!args) SWIG_fail;
5454 swig_obj[0] = args;
5455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5456 if (!SWIG_IsOK(res1)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5458 }
5459 arg1 = reinterpret_cast< wxChoice * >(argp1);
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = SWIG_From_int(static_cast< int >(result));
5467 return resultobj;
5468fail:
5469 return NULL;
5470}
5471
5472
5473SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj = 0;
5475 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5476 SwigValueWrapper<wxVisualAttributes > result;
5477 int val1 ;
5478 int ecode1 = 0 ;
5479 PyObject * obj0 = 0 ;
5480 char * kwnames[] = {
5481 (char *) "variant", NULL
5482 };
5483
5484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5485 if (obj0) {
5486 ecode1 = SWIG_AsVal_int(obj0, &val1);
5487 if (!SWIG_IsOK(ecode1)) {
5488 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5489 }
5490 arg1 = static_cast< wxWindowVariant >(val1);
5491 }
5492 {
5493 if (!wxPyCheckForApp()) SWIG_fail;
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = wxChoice::GetClassDefaultAttributes(arg1);
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5500 return resultobj;
5501fail:
5502 return NULL;
f20a2e1f
RD
5503}
5504
5505
1bd55598
RD
5506SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5507 PyObject *obj;
5508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5509 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5510 return SWIG_Py_Void();
d55e5bfc 5511}
1bd55598
RD
5512
5513SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5514 return SWIG_Python_InitShadowInstance(args);
5515}
5516
5517SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5518 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5519 return 1;
d55e5bfc
RD
5520}
5521
5522
1bd55598
RD
5523SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5524 PyObject *pyobj = 0;
5525
5526 {
d55e5bfc 5527#if wxUSE_UNICODE
1bd55598 5528 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5529#else
1bd55598 5530 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5531#endif
1bd55598
RD
5532 }
5533 return pyobj;
5534}
5535
5536
5537SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj = 0;
5539 wxWindow *arg1 = (wxWindow *) 0 ;
5540 int arg2 = (int) -1 ;
5541 wxString const &arg3_defvalue = wxPyEmptyString ;
5542 wxString *arg3 = (wxString *) &arg3_defvalue ;
5543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5545 wxSize const &arg5_defvalue = wxDefaultSize ;
5546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5547 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5548 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5549 long arg7 = (long) 0 ;
5550 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5551 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5552 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5553 wxString *arg9 = (wxString *) &arg9_defvalue ;
5554 wxComboBox *result = 0 ;
5555 void *argp1 = 0 ;
5556 int res1 = 0 ;
5557 int val2 ;
5558 int ecode2 = 0 ;
5559 bool temp3 = false ;
5560 wxPoint temp4 ;
5561 wxSize temp5 ;
5562 bool temp6 = false ;
5563 long val7 ;
5564 int ecode7 = 0 ;
5565 void *argp8 = 0 ;
5566 int res8 = 0 ;
5567 bool temp9 = false ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 PyObject * obj2 = 0 ;
5571 PyObject * obj3 = 0 ;
5572 PyObject * obj4 = 0 ;
5573 PyObject * obj5 = 0 ;
5574 PyObject * obj6 = 0 ;
5575 PyObject * obj7 = 0 ;
5576 PyObject * obj8 = 0 ;
5577 char * kwnames[] = {
5578 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5579 };
5580
5581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5583 if (!SWIG_IsOK(res1)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5585 }
5586 arg1 = reinterpret_cast< wxWindow * >(argp1);
5587 if (obj1) {
5588 ecode2 = SWIG_AsVal_int(obj1, &val2);
5589 if (!SWIG_IsOK(ecode2)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5591 }
5592 arg2 = static_cast< int >(val2);
5593 }
5594 if (obj2) {
d55e5bfc 5595 {
1bd55598
RD
5596 arg3 = wxString_in_helper(obj2);
5597 if (arg3 == NULL) SWIG_fail;
5598 temp3 = true;
d55e5bfc 5599 }
1bd55598
RD
5600 }
5601 if (obj3) {
d55e5bfc 5602 {
1bd55598
RD
5603 arg4 = &temp4;
5604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5605 }
1bd55598
RD
5606 }
5607 if (obj4) {
d55e5bfc 5608 {
1bd55598
RD
5609 arg5 = &temp5;
5610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5611 }
1bd55598
RD
5612 }
5613 if (obj5) {
d55e5bfc 5614 {
1bd55598
RD
5615 if (! PySequence_Check(obj5)) {
5616 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5617 SWIG_fail;
5618 }
5619 arg6 = new wxArrayString;
5620 temp6 = true;
5621 int i, len=PySequence_Length(obj5);
5622 for (i=0; i<len; i++) {
5623 PyObject* item = PySequence_GetItem(obj5, i);
5624 wxString* s = wxString_in_helper(item);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 arg6->Add(*s);
5627 delete s;
5628 Py_DECREF(item);
5629 }
d55e5bfc 5630 }
1bd55598
RD
5631 }
5632 if (obj6) {
5633 ecode7 = SWIG_AsVal_long(obj6, &val7);
5634 if (!SWIG_IsOK(ecode7)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5636 }
5637 arg7 = static_cast< long >(val7);
5638 }
5639 if (obj7) {
5640 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5641 if (!SWIG_IsOK(res8)) {
5642 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5643 }
5644 if (!argp8) {
5645 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 }
5647 arg8 = reinterpret_cast< wxValidator * >(argp8);
5648 }
5649 if (obj8) {
d55e5bfc 5650 {
1bd55598
RD
5651 arg9 = wxString_in_helper(obj8);
5652 if (arg9 == NULL) SWIG_fail;
5653 temp9 = true;
d55e5bfc 5654 }
1bd55598
RD
5655 }
5656 {
5657 if (!wxPyCheckForApp()) SWIG_fail;
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 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);
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5664 {
5665 if (temp3)
5666 delete arg3;
5667 }
5668 {
5669 if (temp6) delete arg6;
5670 }
5671 {
5672 if (temp9)
5673 delete arg9;
5674 }
5675 return resultobj;
5676fail:
5677 {
5678 if (temp3)
5679 delete arg3;
5680 }
5681 {
5682 if (temp6) delete arg6;
5683 }
5684 {
5685 if (temp9)
5686 delete arg9;
5687 }
5688 return NULL;
d55e5bfc
RD
5689}
5690
5691
1bd55598
RD
5692SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5693 PyObject *resultobj = 0;
5694 wxComboBox *result = 0 ;
5695
5696 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5697 {
5698 if (!wxPyCheckForApp()) SWIG_fail;
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxComboBox *)new wxComboBox();
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5705 return resultobj;
5706fail:
5707 return NULL;
5708}
5709
5710
5711SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj = 0;
5713 wxComboBox *arg1 = (wxComboBox *) 0 ;
5714 wxWindow *arg2 = (wxWindow *) 0 ;
5715 int arg3 = (int) -1 ;
5716 wxString const &arg4_defvalue = wxPyEmptyString ;
5717 wxString *arg4 = (wxString *) &arg4_defvalue ;
5718 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5719 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5720 wxSize const &arg6_defvalue = wxDefaultSize ;
5721 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5722 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5723 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5724 long arg8 = (long) 0 ;
5725 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5726 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5727 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5728 wxString *arg10 = (wxString *) &arg10_defvalue ;
5729 bool result;
5730 void *argp1 = 0 ;
5731 int res1 = 0 ;
5732 void *argp2 = 0 ;
5733 int res2 = 0 ;
5734 int val3 ;
5735 int ecode3 = 0 ;
5736 bool temp4 = false ;
5737 wxPoint temp5 ;
5738 wxSize temp6 ;
5739 bool temp7 = false ;
5740 long val8 ;
5741 int ecode8 = 0 ;
5742 void *argp9 = 0 ;
5743 int res9 = 0 ;
5744 bool temp10 = false ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 PyObject * obj2 = 0 ;
5748 PyObject * obj3 = 0 ;
5749 PyObject * obj4 = 0 ;
5750 PyObject * obj5 = 0 ;
5751 PyObject * obj6 = 0 ;
5752 PyObject * obj7 = 0 ;
5753 PyObject * obj8 = 0 ;
5754 PyObject * obj9 = 0 ;
5755 char * kwnames[] = {
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5757 };
5758
5759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5763 }
5764 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5766 if (!SWIG_IsOK(res2)) {
5767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5768 }
5769 arg2 = reinterpret_cast< wxWindow * >(argp2);
5770 if (obj2) {
5771 ecode3 = SWIG_AsVal_int(obj2, &val3);
5772 if (!SWIG_IsOK(ecode3)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5774 }
5775 arg3 = static_cast< int >(val3);
5776 }
5777 if (obj3) {
d55e5bfc 5778 {
1bd55598
RD
5779 arg4 = wxString_in_helper(obj3);
5780 if (arg4 == NULL) SWIG_fail;
5781 temp4 = true;
d55e5bfc 5782 }
1bd55598
RD
5783 }
5784 if (obj4) {
d55e5bfc 5785 {
1bd55598
RD
5786 arg5 = &temp5;
5787 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5788 }
1bd55598
RD
5789 }
5790 if (obj5) {
d55e5bfc 5791 {
1bd55598
RD
5792 arg6 = &temp6;
5793 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5794 }
1bd55598
RD
5795 }
5796 if (obj6) {
d55e5bfc 5797 {
1bd55598
RD
5798 if (! PySequence_Check(obj6)) {
5799 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5800 SWIG_fail;
5801 }
5802 arg7 = new wxArrayString;
5803 temp7 = true;
5804 int i, len=PySequence_Length(obj6);
5805 for (i=0; i<len; i++) {
5806 PyObject* item = PySequence_GetItem(obj6, i);
5807 wxString* s = wxString_in_helper(item);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 arg7->Add(*s);
5810 delete s;
5811 Py_DECREF(item);
5812 }
d55e5bfc 5813 }
1bd55598
RD
5814 }
5815 if (obj7) {
5816 ecode8 = SWIG_AsVal_long(obj7, &val8);
5817 if (!SWIG_IsOK(ecode8)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5819 }
5820 arg8 = static_cast< long >(val8);
5821 }
5822 if (obj8) {
5823 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5824 if (!SWIG_IsOK(res9)) {
5825 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5826 }
1bd55598
RD
5827 if (!argp9) {
5828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5829 }
1bd55598
RD
5830 arg9 = reinterpret_cast< wxValidator * >(argp9);
5831 }
5832 if (obj9) {
d55e5bfc 5833 {
1bd55598
RD
5834 arg10 = wxString_in_helper(obj9);
5835 if (arg10 == NULL) SWIG_fail;
5836 temp10 = true;
d55e5bfc 5837 }
1bd55598
RD
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 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);
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 {
5846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5847 }
5848 {
5849 if (temp4)
5850 delete arg4;
5851 }
5852 {
5853 if (temp7) delete arg7;
5854 }
5855 {
5856 if (temp10)
5857 delete arg10;
5858 }
5859 return resultobj;
5860fail:
5861 {
5862 if (temp4)
5863 delete arg4;
5864 }
5865 {
5866 if (temp7) delete arg7;
5867 }
5868 {
5869 if (temp10)
5870 delete arg10;
5871 }
5872 return NULL;
d55e5bfc
RD
5873}
5874
5875
1bd55598
RD
5876SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5877 PyObject *resultobj = 0;
5878 wxComboBox *arg1 = (wxComboBox *) 0 ;
5879 wxString result;
5880 void *argp1 = 0 ;
5881 int res1 = 0 ;
5882 PyObject *swig_obj[1] ;
5883
5884 if (!args) SWIG_fail;
5885 swig_obj[0] = args;
5886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5889 }
5890 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 result = ((wxComboBox const *)arg1)->GetValue();
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 {
d55e5bfc 5898#if wxUSE_UNICODE
1bd55598 5899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5900#else
1bd55598 5901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5902#endif
1bd55598
RD
5903 }
5904 return resultobj;
5905fail:
5906 return NULL;
5907}
5908
5909
5910SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj = 0;
5912 wxComboBox *arg1 = (wxComboBox *) 0 ;
5913 wxString *arg2 = 0 ;
5914 void *argp1 = 0 ;
5915 int res1 = 0 ;
5916 bool temp2 = false ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 char * kwnames[] = {
5920 (char *) "self",(char *) "value", NULL
5921 };
5922
5923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5925 if (!SWIG_IsOK(res1)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5927 }
5928 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5929 {
5930 arg2 = wxString_in_helper(obj1);
5931 if (arg2 == NULL) SWIG_fail;
5932 temp2 = true;
5933 }
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetValue((wxString const &)*arg2);
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 resultobj = SWIG_Py_Void();
5941 {
5942 if (temp2)
5943 delete arg2;
5944 }
5945 return resultobj;
5946fail:
5947 {
5948 if (temp2)
5949 delete arg2;
5950 }
5951 return NULL;
d55e5bfc
RD
5952}
5953
5954
1bd55598
RD
5955SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5956 PyObject *resultobj = 0;
5957 wxComboBox *arg1 = (wxComboBox *) 0 ;
5958 void *argp1 = 0 ;
5959 int res1 = 0 ;
5960 PyObject *swig_obj[1] ;
5961
5962 if (!args) SWIG_fail;
5963 swig_obj[0] = args;
5964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5965 if (!SWIG_IsOK(res1)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 }
5968 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->Copy();
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 resultobj = SWIG_Py_Void();
5976 return resultobj;
5977fail:
5978 return NULL;
d55e5bfc
RD
5979}
5980
5981
1bd55598
RD
5982SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5983 PyObject *resultobj = 0;
5984 wxComboBox *arg1 = (wxComboBox *) 0 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 PyObject *swig_obj[1] ;
5988
5989 if (!args) SWIG_fail;
5990 swig_obj[0] = args;
5991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5992 if (!SWIG_IsOK(res1)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5994 }
5995 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->Cut();
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 resultobj = SWIG_Py_Void();
6003 return resultobj;
6004fail:
6005 return NULL;
d55e5bfc
RD
6006}
6007
6008
1bd55598
RD
6009SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6010 PyObject *resultobj = 0;
6011 wxComboBox *arg1 = (wxComboBox *) 0 ;
6012 void *argp1 = 0 ;
6013 int res1 = 0 ;
6014 PyObject *swig_obj[1] ;
6015
6016 if (!args) SWIG_fail;
6017 swig_obj[0] = args;
6018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6019 if (!SWIG_IsOK(res1)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6021 }
6022 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 (arg1)->Paste();
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_Py_Void();
6030 return resultobj;
6031fail:
6032 return NULL;
6033}
6034
6035
6036SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj = 0;
6038 wxComboBox *arg1 = (wxComboBox *) 0 ;
6039 long arg2 ;
6040 void *argp1 = 0 ;
6041 int res1 = 0 ;
6042 long val2 ;
6043 int ecode2 = 0 ;
6044 PyObject * obj0 = 0 ;
6045 PyObject * obj1 = 0 ;
6046 char * kwnames[] = {
6047 (char *) "self",(char *) "pos", NULL
6048 };
6049
6050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6052 if (!SWIG_IsOK(res1)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6054 }
6055 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6056 ecode2 = SWIG_AsVal_long(obj1, &val2);
6057 if (!SWIG_IsOK(ecode2)) {
6058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6059 }
6060 arg2 = static_cast< long >(val2);
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 (arg1)->SetInsertionPoint(arg2);
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_Py_Void();
6068 return resultobj;
6069fail:
6070 return NULL;
d55e5bfc
RD
6071}
6072
6073
1bd55598
RD
6074SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6075 PyObject *resultobj = 0;
6076 wxComboBox *arg1 = (wxComboBox *) 0 ;
6077 long result;
6078 void *argp1 = 0 ;
6079 int res1 = 0 ;
6080 PyObject *swig_obj[1] ;
6081
6082 if (!args) SWIG_fail;
6083 swig_obj[0] = args;
6084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6085 if (!SWIG_IsOK(res1)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6087 }
6088 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 resultobj = SWIG_From_long(static_cast< long >(result));
6096 return resultobj;
6097fail:
6098 return NULL;
d55e5bfc
RD
6099}
6100
6101
1bd55598
RD
6102SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6103 PyObject *resultobj = 0;
6104 wxComboBox *arg1 = (wxComboBox *) 0 ;
6105 long result;
6106 void *argp1 = 0 ;
6107 int res1 = 0 ;
6108 PyObject *swig_obj[1] ;
6109
6110 if (!args) SWIG_fail;
6111 swig_obj[0] = args;
6112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6113 if (!SWIG_IsOK(res1)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6115 }
6116 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_From_long(static_cast< long >(result));
6124 return resultobj;
6125fail:
6126 return NULL;
6127}
6128
6129
6130SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj = 0;
6132 wxComboBox *arg1 = (wxComboBox *) 0 ;
6133 long arg2 ;
6134 long arg3 ;
6135 wxString *arg4 = 0 ;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 long val2 ;
6139 int ecode2 = 0 ;
6140 long val3 ;
6141 int ecode3 = 0 ;
6142 bool temp4 = false ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 PyObject * obj2 = 0 ;
6146 PyObject * obj3 = 0 ;
6147 char * kwnames[] = {
2131d850 6148 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6155 }
6156 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6157 ecode2 = SWIG_AsVal_long(obj1, &val2);
6158 if (!SWIG_IsOK(ecode2)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6160 }
6161 arg2 = static_cast< long >(val2);
6162 ecode3 = SWIG_AsVal_long(obj2, &val3);
6163 if (!SWIG_IsOK(ecode3)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6165 }
6166 arg3 = static_cast< long >(val3);
6167 {
6168 arg4 = wxString_in_helper(obj3);
6169 if (arg4 == NULL) SWIG_fail;
6170 temp4 = true;
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_Py_Void();
6179 {
6180 if (temp4)
6181 delete arg4;
6182 }
6183 return resultobj;
6184fail:
6185 {
6186 if (temp4)
6187 delete arg4;
6188 }
6189 return NULL;
6190}
6191
6192
6193SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj = 0;
6195 wxComboBox *arg1 = (wxComboBox *) 0 ;
6196 long arg2 ;
6197 long arg3 ;
6198 void *argp1 = 0 ;
6199 int res1 = 0 ;
6200 long val2 ;
6201 int ecode2 = 0 ;
6202 long val3 ;
6203 int ecode3 = 0 ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 char * kwnames[] = {
2131d850 6208 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
6209 };
6210
6211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6213 if (!SWIG_IsOK(res1)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6215 }
6216 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6217 ecode2 = SWIG_AsVal_long(obj1, &val2);
6218 if (!SWIG_IsOK(ecode2)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6220 }
6221 arg2 = static_cast< long >(val2);
6222 ecode3 = SWIG_AsVal_long(obj2, &val3);
6223 if (!SWIG_IsOK(ecode3)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6225 }
6226 arg3 = static_cast< long >(val3);
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 (arg1)->SetSelection(arg2,arg3);
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 resultobj = SWIG_Py_Void();
6234 return resultobj;
6235fail:
6236 return NULL;
d55e5bfc
RD
6237}
6238
6239
1bd55598
RD
6240SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6241 PyObject *resultobj = 0;
6242 wxComboBox *arg1 = (wxComboBox *) 0 ;
6243 int result;
6244 void *argp1 = 0 ;
6245 int res1 = 0 ;
6246 PyObject *swig_obj[1] ;
6247
6248 if (!args) SWIG_fail;
6249 swig_obj[0] = args;
6250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6251 if (!SWIG_IsOK(res1)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6253 }
6254 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_From_int(static_cast< int >(result));
6262 return resultobj;
6263fail:
6264 return NULL;
6265}
6266
6267
6268SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj = 0;
6270 wxComboBox *arg1 = (wxComboBox *) 0 ;
6271 wxString *arg2 = 0 ;
6272 bool result;
6273 void *argp1 = 0 ;
6274 int res1 = 0 ;
6275 bool temp2 = false ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char * kwnames[] = {
6279 (char *) "self",(char *) "string", NULL
6280 };
6281
6282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6284 if (!SWIG_IsOK(res1)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6286 }
6287 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6288 {
6289 arg2 = wxString_in_helper(obj1);
6290 if (arg2 == NULL) SWIG_fail;
6291 temp2 = true;
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6301 }
6302 {
6303 if (temp2)
6304 delete arg2;
6305 }
6306 return resultobj;
6307fail:
6308 {
6309 if (temp2)
6310 delete arg2;
6311 }
6312 return NULL;
6313}
6314
6315
6316SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj = 0;
6318 wxComboBox *arg1 = (wxComboBox *) 0 ;
6319 bool arg2 ;
6320 void *argp1 = 0 ;
6321 int res1 = 0 ;
6322 bool val2 ;
6323 int ecode2 = 0 ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char * kwnames[] = {
6327 (char *) "self",(char *) "editable", NULL
6328 };
6329
6330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6332 if (!SWIG_IsOK(res1)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 }
6335 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6336 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6337 if (!SWIG_IsOK(ecode2)) {
6338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 }
6340 arg2 = static_cast< bool >(val2);
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetEditable(arg2);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_Py_Void();
6348 return resultobj;
6349fail:
6350 return NULL;
d55e5bfc
RD
6351}
6352
6353
1bd55598
RD
6354SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6355 PyObject *resultobj = 0;
6356 wxComboBox *arg1 = (wxComboBox *) 0 ;
6357 void *argp1 = 0 ;
6358 int res1 = 0 ;
6359 PyObject *swig_obj[1] ;
6360
6361 if (!args) SWIG_fail;
6362 swig_obj[0] = args;
6363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6364 if (!SWIG_IsOK(res1)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 }
6367 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 (arg1)->SetInsertionPointEnd();
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 resultobj = SWIG_Py_Void();
6375 return resultobj;
6376fail:
6377 return NULL;
6378}
6379
6380
6381SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj = 0;
6383 wxComboBox *arg1 = (wxComboBox *) 0 ;
6384 long arg2 ;
6385 long arg3 ;
6386 void *argp1 = 0 ;
6387 int res1 = 0 ;
6388 long val2 ;
6389 int ecode2 = 0 ;
6390 long val3 ;
6391 int ecode3 = 0 ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 PyObject * obj2 = 0 ;
6395 char * kwnames[] = {
2131d850 6396 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
6397 };
6398
6399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6401 if (!SWIG_IsOK(res1)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 }
6404 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6405 ecode2 = SWIG_AsVal_long(obj1, &val2);
6406 if (!SWIG_IsOK(ecode2)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 }
6409 arg2 = static_cast< long >(val2);
6410 ecode3 = SWIG_AsVal_long(obj2, &val3);
6411 if (!SWIG_IsOK(ecode3)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 }
6414 arg3 = static_cast< long >(val3);
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 (arg1)->Remove(arg2,arg3);
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 resultobj = SWIG_Py_Void();
6422 return resultobj;
6423fail:
6424 return NULL;
d55e5bfc
RD
6425}
6426
6427
1bd55598
RD
6428SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6429 PyObject *resultobj = 0;
6430 wxComboBox *arg1 = (wxComboBox *) 0 ;
6431 bool result;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 PyObject *swig_obj[1] ;
6435
6436 if (!args) SWIG_fail;
6437 swig_obj[0] = args;
6438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6439 if (!SWIG_IsOK(res1)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 }
6442 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6451 }
6452 return resultobj;
6453fail:
6454 return NULL;
d55e5bfc
RD
6455}
6456
6457
1bd55598
RD
6458SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6459 PyObject *resultobj = 0;
6460 wxComboBox *arg1 = (wxComboBox *) 0 ;
6461 void *argp1 = 0 ;
6462 int res1 = 0 ;
6463 PyObject *swig_obj[1] ;
6464
6465 if (!args) SWIG_fail;
6466 swig_obj[0] = args;
6467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6468 if (!SWIG_IsOK(res1)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 }
6471 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->Undo();
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 resultobj = SWIG_Py_Void();
6479 return resultobj;
6480fail:
6481 return NULL;
d55e5bfc
RD
6482}
6483
6484
1bd55598
RD
6485SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6486 PyObject *resultobj = 0;
6487 wxComboBox *arg1 = (wxComboBox *) 0 ;
6488 void *argp1 = 0 ;
6489 int res1 = 0 ;
6490 PyObject *swig_obj[1] ;
6491
6492 if (!args) SWIG_fail;
6493 swig_obj[0] = args;
6494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6495 if (!SWIG_IsOK(res1)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 }
6498 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 (arg1)->Redo();
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 resultobj = SWIG_Py_Void();
6506 return resultobj;
6507fail:
6508 return NULL;
d55e5bfc
RD
6509}
6510
6511
1bd55598
RD
6512SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6513 PyObject *resultobj = 0;
6514 wxComboBox *arg1 = (wxComboBox *) 0 ;
6515 void *argp1 = 0 ;
6516 int res1 = 0 ;
6517 PyObject *swig_obj[1] ;
6518
6519 if (!args) SWIG_fail;
6520 swig_obj[0] = args;
6521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6522 if (!SWIG_IsOK(res1)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 }
6525 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SelectAll();
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 resultobj = SWIG_Py_Void();
6533 return resultobj;
6534fail:
6535 return NULL;
943e8dfd
RD
6536}
6537
6538
1bd55598
RD
6539SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6540 PyObject *resultobj = 0;
6541 wxComboBox *arg1 = (wxComboBox *) 0 ;
6542 bool result;
6543 void *argp1 = 0 ;
6544 int res1 = 0 ;
6545 PyObject *swig_obj[1] ;
6546
6547 if (!args) SWIG_fail;
6548 swig_obj[0] = args;
6549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6550 if (!SWIG_IsOK(res1)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 }
6553 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 {
6561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6562 }
6563 return resultobj;
6564fail:
6565 return NULL;
121b9a67
RD
6566}
6567
6568
1bd55598
RD
6569SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6570 PyObject *resultobj = 0;
6571 wxComboBox *arg1 = (wxComboBox *) 0 ;
6572 bool result;
6573 void *argp1 = 0 ;
6574 int res1 = 0 ;
6575 PyObject *swig_obj[1] ;
6576
6577 if (!args) SWIG_fail;
6578 swig_obj[0] = args;
6579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6580 if (!SWIG_IsOK(res1)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 }
6583 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (bool)((wxComboBox const *)arg1)->CanCut();
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 {
6591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6592 }
6593 return resultobj;
6594fail:
6595 return NULL;
121b9a67
RD
6596}
6597
6598
1bd55598
RD
6599SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6600 PyObject *resultobj = 0;
6601 wxComboBox *arg1 = (wxComboBox *) 0 ;
6602 bool result;
6603 void *argp1 = 0 ;
6604 int res1 = 0 ;
6605 PyObject *swig_obj[1] ;
6606
6607 if (!args) SWIG_fail;
6608 swig_obj[0] = args;
6609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6610 if (!SWIG_IsOK(res1)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 }
6613 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 {
6621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6622 }
6623 return resultobj;
6624fail:
6625 return NULL;
d55e5bfc
RD
6626}
6627
6628
1bd55598
RD
6629SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6630 PyObject *resultobj = 0;
6631 wxComboBox *arg1 = (wxComboBox *) 0 ;
6632 bool result;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 PyObject *swig_obj[1] ;
6636
6637 if (!args) SWIG_fail;
6638 swig_obj[0] = args;
6639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6640 if (!SWIG_IsOK(res1)) {
6641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 }
6643 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 {
6651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6652 }
6653 return resultobj;
6654fail:
6655 return NULL;
d55e5bfc
RD
6656}
6657
6658
1bd55598
RD
6659SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6660 PyObject *resultobj = 0;
6661 wxComboBox *arg1 = (wxComboBox *) 0 ;
6662 bool result;
6663 void *argp1 = 0 ;
6664 int res1 = 0 ;
6665 PyObject *swig_obj[1] ;
6666
6667 if (!args) SWIG_fail;
6668 swig_obj[0] = args;
6669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6670 if (!SWIG_IsOK(res1)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 }
6673 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 {
6681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6682 }
6683 return resultobj;
6684fail:
6685 return NULL;
d55e5bfc
RD
6686}
6687
6688
1bd55598
RD
6689SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj = 0;
6691 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6692 SwigValueWrapper<wxVisualAttributes > result;
6693 int val1 ;
6694 int ecode1 = 0 ;
6695 PyObject * obj0 = 0 ;
6696 char * kwnames[] = {
6697 (char *) "variant", NULL
6698 };
6699
6700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6701 if (obj0) {
6702 ecode1 = SWIG_AsVal_int(obj0, &val1);
6703 if (!SWIG_IsOK(ecode1)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 }
6706 arg1 = static_cast< wxWindowVariant >(val1);
6707 }
6708 {
6709 if (!wxPyCheckForApp()) SWIG_fail;
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = wxComboBox::GetClassDefaultAttributes(arg1);
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6716 return resultobj;
6717fail:
6718 return NULL;
5cbf236d
RD
6719}
6720
6721
1bd55598
RD
6722SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6723 PyObject *obj;
6724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6725 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6726 return SWIG_Py_Void();
5cbf236d
RD
6727}
6728
1bd55598
RD
6729SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6730 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
6731}
6732
1bd55598
RD
6733SWIGINTERN int GaugeNameStr_set(PyObject *) {
6734 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6735 return 1;
5cbf236d
RD
6736}
6737
6738
1bd55598
RD
6739SWIGINTERN PyObject *GaugeNameStr_get(void) {
6740 PyObject *pyobj = 0;
6741
6742 {
6743#if wxUSE_UNICODE
6744 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6745#else
6746 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6747#endif
6748 }
6749 return pyobj;
6750}
6751
6752
6753SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj = 0;
6755 wxWindow *arg1 = (wxWindow *) 0 ;
6756 int arg2 = (int) -1 ;
6757 int arg3 = (int) 100 ;
6758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6760 wxSize const &arg5_defvalue = wxDefaultSize ;
6761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6762 long arg6 = (long) wxGA_HORIZONTAL ;
6763 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6764 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6765 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6766 wxString *arg8 = (wxString *) &arg8_defvalue ;
6767 wxGauge *result = 0 ;
6768 void *argp1 = 0 ;
6769 int res1 = 0 ;
6770 int val2 ;
6771 int ecode2 = 0 ;
6772 int val3 ;
6773 int ecode3 = 0 ;
6774 wxPoint temp4 ;
6775 wxSize temp5 ;
6776 long val6 ;
6777 int ecode6 = 0 ;
6778 void *argp7 = 0 ;
6779 int res7 = 0 ;
6780 bool temp8 = false ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 PyObject * obj2 = 0 ;
6784 PyObject * obj3 = 0 ;
6785 PyObject * obj4 = 0 ;
6786 PyObject * obj5 = 0 ;
6787 PyObject * obj6 = 0 ;
6788 PyObject * obj7 = 0 ;
6789 char * kwnames[] = {
6790 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6791 };
6792
6793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6795 if (!SWIG_IsOK(res1)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 }
6798 arg1 = reinterpret_cast< wxWindow * >(argp1);
6799 if (obj1) {
6800 ecode2 = SWIG_AsVal_int(obj1, &val2);
6801 if (!SWIG_IsOK(ecode2)) {
6802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 }
6804 arg2 = static_cast< int >(val2);
6805 }
6806 if (obj2) {
6807 ecode3 = SWIG_AsVal_int(obj2, &val3);
6808 if (!SWIG_IsOK(ecode3)) {
6809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 }
6811 arg3 = static_cast< int >(val3);
6812 }
6813 if (obj3) {
5cbf236d 6814 {
1bd55598
RD
6815 arg4 = &temp4;
6816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6817 }
1bd55598
RD
6818 }
6819 if (obj4) {
5cbf236d 6820 {
1bd55598
RD
6821 arg5 = &temp5;
6822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6823 }
1bd55598
RD
6824 }
6825 if (obj5) {
6826 ecode6 = SWIG_AsVal_long(obj5, &val6);
6827 if (!SWIG_IsOK(ecode6)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 }
6830 arg6 = static_cast< long >(val6);
6831 }
6832 if (obj6) {
6833 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6834 if (!SWIG_IsOK(res7)) {
6835 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6836 }
6837 if (!argp7) {
6838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6839 }
1bd55598
RD
6840 arg7 = reinterpret_cast< wxValidator * >(argp7);
6841 }
6842 if (obj7) {
5cbf236d 6843 {
1bd55598
RD
6844 arg8 = wxString_in_helper(obj7);
6845 if (arg8 == NULL) SWIG_fail;
6846 temp8 = true;
5cbf236d 6847 }
1bd55598
RD
6848 }
6849 {
6850 if (!wxPyCheckForApp()) SWIG_fail;
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6857 {
6858 if (temp8)
6859 delete arg8;
6860 }
6861 return resultobj;
6862fail:
6863 {
6864 if (temp8)
6865 delete arg8;
6866 }
6867 return NULL;
5cbf236d
RD
6868}
6869
6870
1bd55598
RD
6871SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6872 PyObject *resultobj = 0;
6873 wxGauge *result = 0 ;
6874
6875 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6876 {
6877 if (!wxPyCheckForApp()) SWIG_fail;
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (wxGauge *)new wxGauge();
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6884 return resultobj;
6885fail:
6886 return NULL;
6887}
6888
6889
6890SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj = 0;
6892 wxGauge *arg1 = (wxGauge *) 0 ;
6893 wxWindow *arg2 = (wxWindow *) 0 ;
6894 int arg3 = (int) -1 ;
6895 int arg4 = (int) 100 ;
6896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6898 wxSize const &arg6_defvalue = wxDefaultSize ;
6899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6900 long arg7 = (long) wxGA_HORIZONTAL ;
6901 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6902 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6903 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6904 wxString *arg9 = (wxString *) &arg9_defvalue ;
6905 bool result;
6906 void *argp1 = 0 ;
6907 int res1 = 0 ;
6908 void *argp2 = 0 ;
6909 int res2 = 0 ;
6910 int val3 ;
6911 int ecode3 = 0 ;
6912 int val4 ;
6913 int ecode4 = 0 ;
6914 wxPoint temp5 ;
6915 wxSize temp6 ;
6916 long val7 ;
6917 int ecode7 = 0 ;
6918 void *argp8 = 0 ;
6919 int res8 = 0 ;
6920 bool temp9 = false ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 PyObject * obj2 = 0 ;
6924 PyObject * obj3 = 0 ;
6925 PyObject * obj4 = 0 ;
6926 PyObject * obj5 = 0 ;
6927 PyObject * obj6 = 0 ;
6928 PyObject * obj7 = 0 ;
6929 PyObject * obj8 = 0 ;
6930 char * kwnames[] = {
6931 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6932 };
6933
6934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 }
6939 arg1 = reinterpret_cast< wxGauge * >(argp1);
6940 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6941 if (!SWIG_IsOK(res2)) {
6942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 }
6944 arg2 = reinterpret_cast< wxWindow * >(argp2);
6945 if (obj2) {
6946 ecode3 = SWIG_AsVal_int(obj2, &val3);
6947 if (!SWIG_IsOK(ecode3)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 }
6950 arg3 = static_cast< int >(val3);
6951 }
6952 if (obj3) {
6953 ecode4 = SWIG_AsVal_int(obj3, &val4);
6954 if (!SWIG_IsOK(ecode4)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 }
6957 arg4 = static_cast< int >(val4);
6958 }
6959 if (obj4) {
5cbf236d 6960 {
1bd55598
RD
6961 arg5 = &temp5;
6962 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6963 }
1bd55598
RD
6964 }
6965 if (obj5) {
5cbf236d 6966 {
1bd55598
RD
6967 arg6 = &temp6;
6968 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 6969 }
1bd55598
RD
6970 }
6971 if (obj6) {
6972 ecode7 = SWIG_AsVal_long(obj6, &val7);
6973 if (!SWIG_IsOK(ecode7)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 }
6976 arg7 = static_cast< long >(val7);
6977 }
6978 if (obj7) {
6979 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6980 if (!SWIG_IsOK(res8)) {
6981 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 6982 }
1bd55598
RD
6983 if (!argp8) {
6984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 }
6986 arg8 = reinterpret_cast< wxValidator * >(argp8);
6987 }
6988 if (obj8) {
5cbf236d 6989 {
1bd55598
RD
6990 arg9 = wxString_in_helper(obj8);
6991 if (arg9 == NULL) SWIG_fail;
6992 temp9 = true;
5cbf236d 6993 }
1bd55598
RD
6994 }
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 {
7002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7003 }
7004 {
7005 if (temp9)
7006 delete arg9;
7007 }
7008 return resultobj;
7009fail:
7010 {
7011 if (temp9)
7012 delete arg9;
7013 }
7014 return NULL;
7015}
7016
7017
7018SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj = 0;
7020 wxGauge *arg1 = (wxGauge *) 0 ;
7021 int arg2 ;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 int val2 ;
7025 int ecode2 = 0 ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 char * kwnames[] = {
7029 (char *) "self",(char *) "range", NULL
7030 };
7031
7032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7034 if (!SWIG_IsOK(res1)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 }
7037 arg1 = reinterpret_cast< wxGauge * >(argp1);
7038 ecode2 = SWIG_AsVal_int(obj1, &val2);
7039 if (!SWIG_IsOK(ecode2)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 }
7042 arg2 = static_cast< int >(val2);
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->SetRange(arg2);
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_Py_Void();
7050 return resultobj;
7051fail:
7052 return NULL;
5cbf236d
RD
7053}
7054
7055
1bd55598
RD
7056SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7057 PyObject *resultobj = 0;
7058 wxGauge *arg1 = (wxGauge *) 0 ;
7059 int result;
7060 void *argp1 = 0 ;
7061 int res1 = 0 ;
7062 PyObject *swig_obj[1] ;
7063
7064 if (!args) SWIG_fail;
7065 swig_obj[0] = args;
7066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7067 if (!SWIG_IsOK(res1)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 }
7070 arg1 = reinterpret_cast< wxGauge * >(argp1);
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (int)((wxGauge const *)arg1)->GetRange();
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = SWIG_From_int(static_cast< int >(result));
7078 return resultobj;
7079fail:
7080 return NULL;
7081}
7082
7083
7084SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj = 0;
7086 wxGauge *arg1 = (wxGauge *) 0 ;
7087 int arg2 ;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 int val2 ;
7091 int ecode2 = 0 ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char * kwnames[] = {
7095 (char *) "self",(char *) "pos", NULL
7096 };
7097
7098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7100 if (!SWIG_IsOK(res1)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 }
7103 arg1 = reinterpret_cast< wxGauge * >(argp1);
7104 ecode2 = SWIG_AsVal_int(obj1, &val2);
7105 if (!SWIG_IsOK(ecode2)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 }
7108 arg2 = static_cast< int >(val2);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->SetValue(arg2);
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_Py_Void();
7116 return resultobj;
7117fail:
7118 return NULL;
5cbf236d
RD
7119}
7120
7121
1bd55598
RD
7122SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123 PyObject *resultobj = 0;
7124 wxGauge *arg1 = (wxGauge *) 0 ;
7125 int result;
7126 void *argp1 = 0 ;
7127 int res1 = 0 ;
7128 PyObject *swig_obj[1] ;
7129
7130 if (!args) SWIG_fail;
7131 swig_obj[0] = args;
7132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7133 if (!SWIG_IsOK(res1)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 }
7136 arg1 = reinterpret_cast< wxGauge * >(argp1);
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (int)((wxGauge const *)arg1)->GetValue();
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 resultobj = SWIG_From_int(static_cast< int >(result));
7144 return resultobj;
7145fail:
7146 return NULL;
f20a2e1f
RD
7147}
7148
7149
0d2c9713
RD
7150SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7151 PyObject *resultobj = 0;
7152 wxGauge *arg1 = (wxGauge *) 0 ;
7153 void *argp1 = 0 ;
7154 int res1 = 0 ;
7155 PyObject *swig_obj[1] ;
7156
7157 if (!args) SWIG_fail;
7158 swig_obj[0] = args;
7159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7160 if (!SWIG_IsOK(res1)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 }
7163 arg1 = reinterpret_cast< wxGauge * >(argp1);
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->Pulse();
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 resultobj = SWIG_Py_Void();
7171 return resultobj;
7172fail:
7173 return NULL;
7174}
7175
7176
1bd55598
RD
7177SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7178 PyObject *resultobj = 0;
7179 wxGauge *arg1 = (wxGauge *) 0 ;
7180 bool result;
7181 void *argp1 = 0 ;
7182 int res1 = 0 ;
7183 PyObject *swig_obj[1] ;
7184
7185 if (!args) SWIG_fail;
7186 swig_obj[0] = args;
7187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7188 if (!SWIG_IsOK(res1)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 }
7191 arg1 = reinterpret_cast< wxGauge * >(argp1);
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (bool)((wxGauge const *)arg1)->IsVertical();
7195 wxPyEndAllowThreads(__tstate);
7196 if (PyErr_Occurred()) SWIG_fail;
7197 }
7198 {
7199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7200 }
7201 return resultobj;
7202fail:
7203 return NULL;
7204}
7205
7206
7207SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj = 0;
7209 wxGauge *arg1 = (wxGauge *) 0 ;
7210 int arg2 ;
7211 void *argp1 = 0 ;
7212 int res1 = 0 ;
7213 int val2 ;
7214 int ecode2 = 0 ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char * kwnames[] = {
7218 (char *) "self",(char *) "w", NULL
7219 };
7220
7221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7223 if (!SWIG_IsOK(res1)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 }
7226 arg1 = reinterpret_cast< wxGauge * >(argp1);
7227 ecode2 = SWIG_AsVal_int(obj1, &val2);
7228 if (!SWIG_IsOK(ecode2)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 }
7231 arg2 = static_cast< int >(val2);
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->SetShadowWidth(arg2);
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_Py_Void();
7239 return resultobj;
7240fail:
7241 return NULL;
d55e5bfc
RD
7242}
7243
7244
1bd55598
RD
7245SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7246 PyObject *resultobj = 0;
7247 wxGauge *arg1 = (wxGauge *) 0 ;
7248 int result;
7249 void *argp1 = 0 ;
7250 int res1 = 0 ;
7251 PyObject *swig_obj[1] ;
7252
7253 if (!args) SWIG_fail;
7254 swig_obj[0] = args;
7255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7256 if (!SWIG_IsOK(res1)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 }
7259 arg1 = reinterpret_cast< wxGauge * >(argp1);
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_From_int(static_cast< int >(result));
7267 return resultobj;
7268fail:
7269 return NULL;
7270}
7271
7272
7273SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj = 0;
7275 wxGauge *arg1 = (wxGauge *) 0 ;
7276 int arg2 ;
7277 void *argp1 = 0 ;
7278 int res1 = 0 ;
7279 int val2 ;
7280 int ecode2 = 0 ;
7281 PyObject * obj0 = 0 ;
7282 PyObject * obj1 = 0 ;
7283 char * kwnames[] = {
7284 (char *) "self",(char *) "w", NULL
7285 };
7286
7287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7289 if (!SWIG_IsOK(res1)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 }
7292 arg1 = reinterpret_cast< wxGauge * >(argp1);
7293 ecode2 = SWIG_AsVal_int(obj1, &val2);
7294 if (!SWIG_IsOK(ecode2)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 }
7297 arg2 = static_cast< int >(val2);
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 (arg1)->SetBezelFace(arg2);
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = SWIG_Py_Void();
7305 return resultobj;
7306fail:
7307 return NULL;
d55e5bfc
RD
7308}
7309
7310
1bd55598
RD
7311SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7312 PyObject *resultobj = 0;
7313 wxGauge *arg1 = (wxGauge *) 0 ;
7314 int result;
7315 void *argp1 = 0 ;
7316 int res1 = 0 ;
7317 PyObject *swig_obj[1] ;
7318
7319 if (!args) SWIG_fail;
7320 swig_obj[0] = args;
7321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7322 if (!SWIG_IsOK(res1)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 }
7325 arg1 = reinterpret_cast< wxGauge * >(argp1);
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 resultobj = SWIG_From_int(static_cast< int >(result));
7333 return resultobj;
7334fail:
7335 return NULL;
7336}
7337
7338
7339SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj = 0;
7341 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7342 SwigValueWrapper<wxVisualAttributes > result;
7343 int val1 ;
7344 int ecode1 = 0 ;
7345 PyObject * obj0 = 0 ;
7346 char * kwnames[] = {
7347 (char *) "variant", NULL
7348 };
7349
7350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7351 if (obj0) {
7352 ecode1 = SWIG_AsVal_int(obj0, &val1);
7353 if (!SWIG_IsOK(ecode1)) {
7354 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 }
7356 arg1 = static_cast< wxWindowVariant >(val1);
7357 }
7358 {
7359 if (!wxPyCheckForApp()) SWIG_fail;
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = wxGauge::GetClassDefaultAttributes(arg1);
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7366 return resultobj;
7367fail:
7368 return NULL;
d55e5bfc
RD
7369}
7370
7371
1bd55598
RD
7372SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7373 PyObject *obj;
7374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7375 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7376 return SWIG_Py_Void();
d55e5bfc
RD
7377}
7378
1bd55598
RD
7379SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7380 return SWIG_Python_InitShadowInstance(args);
7381}
d55e5bfc 7382
1bd55598
RD
7383SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7384 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7385 return 1;
d55e5bfc
RD
7386}
7387
7388
1bd55598
RD
7389SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7390 PyObject *pyobj = 0;
7391
7392 {
7393#if wxUSE_UNICODE
7394 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7395#else
7396 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7397#endif
7398 }
7399 return pyobj;
d55e5bfc
RD
7400}
7401
7402
1bd55598
RD
7403SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7404 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7405 return 1;
d55e5bfc
RD
7406}
7407
7408
1bd55598
RD
7409SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7410 PyObject *pyobj = 0;
7411
7412 {
7413#if wxUSE_UNICODE
7414 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7415#else
7416 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7417#endif
7418 }
7419 return pyobj;
d55e5bfc
RD
7420}
7421
7422
1bd55598
RD
7423SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7424 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7425 return 1;
d55e5bfc
RD
7426}
7427
7428
1bd55598
RD
7429SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7430 PyObject *pyobj = 0;
7431
7432 {
7433#if wxUSE_UNICODE
7434 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7435#else
7436 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7437#endif
7438 }
7439 return pyobj;
7440}
7441
7442
3f7f284d
RD
7443SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7444 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7445 return 1;
7446}
7447
7448
7449SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7450 PyObject *pyobj = 0;
7451
7452 {
7453#if wxUSE_UNICODE
7454 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7455#else
7456 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7457#endif
7458 }
7459 return pyobj;
7460}
7461
7462
1bd55598
RD
7463SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj = 0;
7465 wxWindow *arg1 = (wxWindow *) 0 ;
7466 int arg2 = (int) -1 ;
7467 wxString const &arg3_defvalue = wxPyEmptyString ;
7468 wxString *arg3 = (wxString *) &arg3_defvalue ;
7469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7471 wxSize const &arg5_defvalue = wxDefaultSize ;
7472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7473 long arg6 = (long) 0 ;
7474 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7475 wxString *arg7 = (wxString *) &arg7_defvalue ;
7476 wxStaticBox *result = 0 ;
7477 void *argp1 = 0 ;
7478 int res1 = 0 ;
7479 int val2 ;
7480 int ecode2 = 0 ;
7481 bool temp3 = false ;
7482 wxPoint temp4 ;
7483 wxSize temp5 ;
7484 long val6 ;
7485 int ecode6 = 0 ;
7486 bool temp7 = false ;
7487 PyObject * obj0 = 0 ;
7488 PyObject * obj1 = 0 ;
7489 PyObject * obj2 = 0 ;
7490 PyObject * obj3 = 0 ;
7491 PyObject * obj4 = 0 ;
7492 PyObject * obj5 = 0 ;
7493 PyObject * obj6 = 0 ;
7494 char * kwnames[] = {
7495 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7496 };
7497
7498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7500 if (!SWIG_IsOK(res1)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7502 }
7503 arg1 = reinterpret_cast< wxWindow * >(argp1);
7504 if (obj1) {
7505 ecode2 = SWIG_AsVal_int(obj1, &val2);
7506 if (!SWIG_IsOK(ecode2)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7508 }
7509 arg2 = static_cast< int >(val2);
7510 }
7511 if (obj2) {
36ed4f51 7512 {
1bd55598
RD
7513 arg3 = wxString_in_helper(obj2);
7514 if (arg3 == NULL) SWIG_fail;
7515 temp3 = true;
36ed4f51 7516 }
1bd55598
RD
7517 }
7518 if (obj3) {
d55e5bfc 7519 {
1bd55598
RD
7520 arg4 = &temp4;
7521 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7522 }
1bd55598
RD
7523 }
7524 if (obj4) {
d55e5bfc 7525 {
1bd55598
RD
7526 arg5 = &temp5;
7527 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7528 }
1bd55598
RD
7529 }
7530 if (obj5) {
7531 ecode6 = SWIG_AsVal_long(obj5, &val6);
7532 if (!SWIG_IsOK(ecode6)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7534 }
7535 arg6 = static_cast< long >(val6);
7536 }
7537 if (obj6) {
36ed4f51 7538 {
1bd55598
RD
7539 arg7 = wxString_in_helper(obj6);
7540 if (arg7 == NULL) SWIG_fail;
7541 temp7 = true;
36ed4f51 7542 }
1bd55598
RD
7543 }
7544 {
7545 if (!wxPyCheckForApp()) SWIG_fail;
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7552 {
7553 if (temp3)
7554 delete arg3;
7555 }
7556 {
7557 if (temp7)
7558 delete arg7;
7559 }
7560 return resultobj;
7561fail:
7562 {
7563 if (temp3)
7564 delete arg3;
7565 }
7566 {
7567 if (temp7)
7568 delete arg7;
7569 }
7570 return NULL;
7571}
d55e5bfc 7572
1bd55598
RD
7573
7574SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7575 PyObject *resultobj = 0;
7576 wxStaticBox *result = 0 ;
7577
7578 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7579 {
7580 if (!wxPyCheckForApp()) SWIG_fail;
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (wxStaticBox *)new wxStaticBox();
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7587 return resultobj;
7588fail:
7589 return NULL;
7590}
7591
7592
7593SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj = 0;
7595 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7596 wxWindow *arg2 = (wxWindow *) 0 ;
7597 int arg3 = (int) -1 ;
7598 wxString const &arg4_defvalue = wxPyEmptyString ;
7599 wxString *arg4 = (wxString *) &arg4_defvalue ;
7600 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7601 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7602 wxSize const &arg6_defvalue = wxDefaultSize ;
7603 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7604 long arg7 = (long) 0 ;
7605 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7606 wxString *arg8 = (wxString *) &arg8_defvalue ;
7607 bool result;
7608 void *argp1 = 0 ;
7609 int res1 = 0 ;
7610 void *argp2 = 0 ;
7611 int res2 = 0 ;
7612 int val3 ;
7613 int ecode3 = 0 ;
7614 bool temp4 = false ;
7615 wxPoint temp5 ;
7616 wxSize temp6 ;
7617 long val7 ;
7618 int ecode7 = 0 ;
7619 bool temp8 = false ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 PyObject * obj2 = 0 ;
7623 PyObject * obj3 = 0 ;
7624 PyObject * obj4 = 0 ;
7625 PyObject * obj5 = 0 ;
7626 PyObject * obj6 = 0 ;
7627 PyObject * obj7 = 0 ;
7628 char * kwnames[] = {
7629 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7630 };
7631
7632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7634 if (!SWIG_IsOK(res1)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7636 }
7637 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7639 if (!SWIG_IsOK(res2)) {
7640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7641 }
7642 arg2 = reinterpret_cast< wxWindow * >(argp2);
7643 if (obj2) {
7644 ecode3 = SWIG_AsVal_int(obj2, &val3);
7645 if (!SWIG_IsOK(ecode3)) {
7646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7647 }
7648 arg3 = static_cast< int >(val3);
7649 }
7650 if (obj3) {
36ed4f51 7651 {
1bd55598
RD
7652 arg4 = wxString_in_helper(obj3);
7653 if (arg4 == NULL) SWIG_fail;
7654 temp4 = true;
36ed4f51 7655 }
1bd55598
RD
7656 }
7657 if (obj4) {
d55e5bfc 7658 {
1bd55598
RD
7659 arg5 = &temp5;
7660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7661 }
1bd55598
RD
7662 }
7663 if (obj5) {
d55e5bfc 7664 {
1bd55598
RD
7665 arg6 = &temp6;
7666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7667 }
1bd55598
RD
7668 }
7669 if (obj6) {
7670 ecode7 = SWIG_AsVal_long(obj6, &val7);
7671 if (!SWIG_IsOK(ecode7)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7673 }
7674 arg7 = static_cast< long >(val7);
7675 }
7676 if (obj7) {
36ed4f51 7677 {
1bd55598
RD
7678 arg8 = wxString_in_helper(obj7);
7679 if (arg8 == NULL) SWIG_fail;
7680 temp8 = true;
36ed4f51 7681 }
1bd55598
RD
7682 }
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7691 }
7692 {
7693 if (temp4)
7694 delete arg4;
7695 }
7696 {
7697 if (temp8)
7698 delete arg8;
7699 }
7700 return resultobj;
7701fail:
7702 {
7703 if (temp4)
7704 delete arg4;
7705 }
7706 {
7707 if (temp8)
7708 delete arg8;
7709 }
7710 return NULL;
d55e5bfc
RD
7711}
7712
7713
1bd55598
RD
7714SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj = 0;
7716 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7717 SwigValueWrapper<wxVisualAttributes > result;
7718 int val1 ;
7719 int ecode1 = 0 ;
7720 PyObject * obj0 = 0 ;
7721 char * kwnames[] = {
7722 (char *) "variant", NULL
7723 };
7724
7725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7726 if (obj0) {
7727 ecode1 = SWIG_AsVal_int(obj0, &val1);
7728 if (!SWIG_IsOK(ecode1)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7730 }
7731 arg1 = static_cast< wxWindowVariant >(val1);
7732 }
7733 {
7734 if (!wxPyCheckForApp()) SWIG_fail;
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7741 return resultobj;
7742fail:
7743 return NULL;
7744}
7745
7746
7747SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7748 PyObject *obj;
7749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7750 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7751 return SWIG_Py_Void();
7752}
7753
7754SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7755 return SWIG_Python_InitShadowInstance(args);
7756}
7757
7758SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj = 0;
7760 wxWindow *arg1 = (wxWindow *) 0 ;
7761 int arg2 = (int) -1 ;
7762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7764 wxSize const &arg4_defvalue = wxDefaultSize ;
7765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7766 long arg5 = (long) wxLI_HORIZONTAL ;
3f7f284d 7767 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
1bd55598
RD
7768 wxString *arg6 = (wxString *) &arg6_defvalue ;
7769 wxStaticLine *result = 0 ;
7770 void *argp1 = 0 ;
7771 int res1 = 0 ;
7772 int val2 ;
7773 int ecode2 = 0 ;
7774 wxPoint temp3 ;
7775 wxSize temp4 ;
7776 long val5 ;
7777 int ecode5 = 0 ;
7778 bool temp6 = false ;
7779 PyObject * obj0 = 0 ;
7780 PyObject * obj1 = 0 ;
7781 PyObject * obj2 = 0 ;
7782 PyObject * obj3 = 0 ;
7783 PyObject * obj4 = 0 ;
7784 PyObject * obj5 = 0 ;
7785 char * kwnames[] = {
7786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7787 };
7788
7789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7791 if (!SWIG_IsOK(res1)) {
7792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7793 }
7794 arg1 = reinterpret_cast< wxWindow * >(argp1);
7795 if (obj1) {
7796 ecode2 = SWIG_AsVal_int(obj1, &val2);
7797 if (!SWIG_IsOK(ecode2)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7799 }
7800 arg2 = static_cast< int >(val2);
7801 }
7802 if (obj2) {
7803 {
7804 arg3 = &temp3;
7805 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 7806 }
1bd55598
RD
7807 }
7808 if (obj3) {
f20a2e1f 7809 {
1bd55598
RD
7810 arg4 = &temp4;
7811 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 7812 }
1bd55598
RD
7813 }
7814 if (obj4) {
7815 ecode5 = SWIG_AsVal_long(obj4, &val5);
7816 if (!SWIG_IsOK(ecode5)) {
7817 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7818 }
7819 arg5 = static_cast< long >(val5);
7820 }
7821 if (obj5) {
f20a2e1f 7822 {
1bd55598
RD
7823 arg6 = wxString_in_helper(obj5);
7824 if (arg6 == NULL) SWIG_fail;
7825 temp6 = true;
f20a2e1f 7826 }
1bd55598
RD
7827 }
7828 {
7829 if (!wxPyCheckForApp()) SWIG_fail;
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7836 {
7837 if (temp6)
7838 delete arg6;
7839 }
7840 return resultobj;
7841fail:
7842 {
7843 if (temp6)
7844 delete arg6;
7845 }
7846 return NULL;
d55e5bfc
RD
7847}
7848
7849
1bd55598
RD
7850SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7851 PyObject *resultobj = 0;
7852 wxStaticLine *result = 0 ;
7853
7854 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7855 {
7856 if (!wxPyCheckForApp()) SWIG_fail;
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (wxStaticLine *)new wxStaticLine();
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7863 return resultobj;
7864fail:
7865 return NULL;
7866}
7867
7868
7869SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj = 0;
7871 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7872 wxWindow *arg2 = (wxWindow *) 0 ;
7873 int arg3 = (int) -1 ;
7874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7876 wxSize const &arg5_defvalue = wxDefaultSize ;
7877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7878 long arg6 = (long) wxLI_HORIZONTAL ;
3f7f284d 7879 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
1bd55598
RD
7880 wxString *arg7 = (wxString *) &arg7_defvalue ;
7881 bool result;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 void *argp2 = 0 ;
7885 int res2 = 0 ;
7886 int val3 ;
7887 int ecode3 = 0 ;
7888 wxPoint temp4 ;
7889 wxSize temp5 ;
7890 long val6 ;
7891 int ecode6 = 0 ;
7892 bool temp7 = false ;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 PyObject * obj2 = 0 ;
7896 PyObject * obj3 = 0 ;
7897 PyObject * obj4 = 0 ;
7898 PyObject * obj5 = 0 ;
7899 PyObject * obj6 = 0 ;
7900 char * kwnames[] = {
7901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7902 };
7903
7904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7906 if (!SWIG_IsOK(res1)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7908 }
7909 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7911 if (!SWIG_IsOK(res2)) {
7912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 }
7914 arg2 = reinterpret_cast< wxWindow * >(argp2);
7915 if (obj2) {
7916 ecode3 = SWIG_AsVal_int(obj2, &val3);
7917 if (!SWIG_IsOK(ecode3)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7919 }
7920 arg3 = static_cast< int >(val3);
7921 }
7922 if (obj3) {
d55e5bfc 7923 {
1bd55598
RD
7924 arg4 = &temp4;
7925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7926 }
1bd55598
RD
7927 }
7928 if (obj4) {
d55e5bfc 7929 {
1bd55598
RD
7930 arg5 = &temp5;
7931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7932 }
7933 }
7934 if (obj5) {
7935 ecode6 = SWIG_AsVal_long(obj5, &val6);
7936 if (!SWIG_IsOK(ecode6)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7938 }
7939 arg6 = static_cast< long >(val6);
7940 }
7941 if (obj6) {
7942 {
7943 arg7 = wxString_in_helper(obj6);
7944 if (arg7 == NULL) SWIG_fail;
7945 temp7 = true;
d55e5bfc 7946 }
1bd55598
RD
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7956 }
7957 {
7958 if (temp7)
7959 delete arg7;
7960 }
7961 return resultobj;
7962fail:
7963 {
7964 if (temp7)
7965 delete arg7;
7966 }
7967 return NULL;
d55e5bfc
RD
7968}
7969
7970
1bd55598
RD
7971SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7972 PyObject *resultobj = 0;
7973 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7974 bool result;
7975 void *argp1 = 0 ;
7976 int res1 = 0 ;
7977 PyObject *swig_obj[1] ;
7978
7979 if (!args) SWIG_fail;
7980 swig_obj[0] = args;
7981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7982 if (!SWIG_IsOK(res1)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7984 }
7985 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 {
7993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7994 }
7995 return resultobj;
7996fail:
7997 return NULL;
d55e5bfc
RD
7998}
7999
8000
1bd55598
RD
8001SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8002 PyObject *resultobj = 0;
8003 int result;
8004
8005 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (int)wxStaticLine::GetDefaultSize();
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 resultobj = SWIG_From_int(static_cast< int >(result));
8013 return resultobj;
8014fail:
8015 return NULL;
8016}
8017
8018
8019SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj = 0;
8021 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8022 SwigValueWrapper<wxVisualAttributes > result;
8023 int val1 ;
8024 int ecode1 = 0 ;
8025 PyObject * obj0 = 0 ;
8026 char * kwnames[] = {
8027 (char *) "variant", NULL
8028 };
8029
8030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8031 if (obj0) {
8032 ecode1 = SWIG_AsVal_int(obj0, &val1);
8033 if (!SWIG_IsOK(ecode1)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8035 }
8036 arg1 = static_cast< wxWindowVariant >(val1);
8037 }
8038 {
8039 if (!wxPyCheckForApp()) SWIG_fail;
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8046 return resultobj;
8047fail:
8048 return NULL;
8049}
8050
8051
8052SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8053 PyObject *obj;
8054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8055 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8056 return SWIG_Py_Void();
8057}
8058
8059SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8060 return SWIG_Python_InitShadowInstance(args);
8061}
8062
8063SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj = 0;
8065 wxWindow *arg1 = (wxWindow *) 0 ;
8066 int arg2 = (int) -1 ;
8067 wxString const &arg3_defvalue = wxPyEmptyString ;
8068 wxString *arg3 = (wxString *) &arg3_defvalue ;
8069 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8070 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8071 wxSize const &arg5_defvalue = wxDefaultSize ;
8072 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8073 long arg6 = (long) 0 ;
8074 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8075 wxString *arg7 = (wxString *) &arg7_defvalue ;
8076 wxStaticText *result = 0 ;
8077 void *argp1 = 0 ;
8078 int res1 = 0 ;
8079 int val2 ;
8080 int ecode2 = 0 ;
8081 bool temp3 = false ;
8082 wxPoint temp4 ;
8083 wxSize temp5 ;
8084 long val6 ;
8085 int ecode6 = 0 ;
8086 bool temp7 = false ;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 PyObject * obj2 = 0 ;
8090 PyObject * obj3 = 0 ;
8091 PyObject * obj4 = 0 ;
8092 PyObject * obj5 = 0 ;
8093 PyObject * obj6 = 0 ;
8094 char * kwnames[] = {
8095 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8096 };
8097
8098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8100 if (!SWIG_IsOK(res1)) {
8101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8102 }
8103 arg1 = reinterpret_cast< wxWindow * >(argp1);
8104 if (obj1) {
8105 ecode2 = SWIG_AsVal_int(obj1, &val2);
8106 if (!SWIG_IsOK(ecode2)) {
8107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8108 }
8109 arg2 = static_cast< int >(val2);
8110 }
8111 if (obj2) {
d55e5bfc 8112 {
1bd55598
RD
8113 arg3 = wxString_in_helper(obj2);
8114 if (arg3 == NULL) SWIG_fail;
8115 temp3 = true;
d55e5bfc 8116 }
1bd55598
RD
8117 }
8118 if (obj3) {
d55e5bfc 8119 {
1bd55598
RD
8120 arg4 = &temp4;
8121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8122 }
1bd55598
RD
8123 }
8124 if (obj4) {
d55e5bfc 8125 {
1bd55598
RD
8126 arg5 = &temp5;
8127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8128 }
1bd55598
RD
8129 }
8130 if (obj5) {
8131 ecode6 = SWIG_AsVal_long(obj5, &val6);
8132 if (!SWIG_IsOK(ecode6)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8134 }
8135 arg6 = static_cast< long >(val6);
8136 }
8137 if (obj6) {
d55e5bfc 8138 {
1bd55598
RD
8139 arg7 = wxString_in_helper(obj6);
8140 if (arg7 == NULL) SWIG_fail;
8141 temp7 = true;
d55e5bfc 8142 }
1bd55598
RD
8143 }
8144 {
8145 if (!wxPyCheckForApp()) SWIG_fail;
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8152 {
8153 if (temp3)
8154 delete arg3;
8155 }
8156 {
8157 if (temp7)
8158 delete arg7;
8159 }
8160 return resultobj;
8161fail:
8162 {
8163 if (temp3)
8164 delete arg3;
8165 }
8166 {
8167 if (temp7)
8168 delete arg7;
8169 }
8170 return NULL;
d55e5bfc
RD
8171}
8172
8173
1bd55598
RD
8174SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8175 PyObject *resultobj = 0;
8176 wxStaticText *result = 0 ;
8177
8178 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8179 {
8180 if (!wxPyCheckForApp()) SWIG_fail;
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 result = (wxStaticText *)new wxStaticText();
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8187 return resultobj;
8188fail:
8189 return NULL;
8190}
8191
8192
8193SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8194 PyObject *resultobj = 0;
8195 wxStaticText *arg1 = (wxStaticText *) 0 ;
8196 wxWindow *arg2 = (wxWindow *) 0 ;
8197 int arg3 = (int) -1 ;
8198 wxString const &arg4_defvalue = wxPyEmptyString ;
8199 wxString *arg4 = (wxString *) &arg4_defvalue ;
8200 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8201 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8202 wxSize const &arg6_defvalue = wxDefaultSize ;
8203 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8204 long arg7 = (long) 0 ;
8205 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8206 wxString *arg8 = (wxString *) &arg8_defvalue ;
8207 bool result;
8208 void *argp1 = 0 ;
8209 int res1 = 0 ;
8210 void *argp2 = 0 ;
8211 int res2 = 0 ;
8212 int val3 ;
8213 int ecode3 = 0 ;
8214 bool temp4 = false ;
8215 wxPoint temp5 ;
8216 wxSize temp6 ;
8217 long val7 ;
8218 int ecode7 = 0 ;
8219 bool temp8 = false ;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 PyObject * obj2 = 0 ;
8223 PyObject * obj3 = 0 ;
8224 PyObject * obj4 = 0 ;
8225 PyObject * obj5 = 0 ;
8226 PyObject * obj6 = 0 ;
8227 PyObject * obj7 = 0 ;
8228 char * kwnames[] = {
8229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8230 };
8231
8232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8234 if (!SWIG_IsOK(res1)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8236 }
8237 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8239 if (!SWIG_IsOK(res2)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8241 }
8242 arg2 = reinterpret_cast< wxWindow * >(argp2);
8243 if (obj2) {
8244 ecode3 = SWIG_AsVal_int(obj2, &val3);
8245 if (!SWIG_IsOK(ecode3)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8247 }
8248 arg3 = static_cast< int >(val3);
8249 }
8250 if (obj3) {
d55e5bfc 8251 {
1bd55598
RD
8252 arg4 = wxString_in_helper(obj3);
8253 if (arg4 == NULL) SWIG_fail;
8254 temp4 = true;
d55e5bfc 8255 }
1bd55598
RD
8256 }
8257 if (obj4) {
d55e5bfc 8258 {
1bd55598
RD
8259 arg5 = &temp5;
8260 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8261 }
1bd55598
RD
8262 }
8263 if (obj5) {
d55e5bfc 8264 {
1bd55598
RD
8265 arg6 = &temp6;
8266 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8267 }
1bd55598
RD
8268 }
8269 if (obj6) {
8270 ecode7 = SWIG_AsVal_long(obj6, &val7);
8271 if (!SWIG_IsOK(ecode7)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8273 }
8274 arg7 = static_cast< long >(val7);
8275 }
8276 if (obj7) {
d55e5bfc 8277 {
1bd55598
RD
8278 arg8 = wxString_in_helper(obj7);
8279 if (arg8 == NULL) SWIG_fail;
8280 temp8 = true;
d55e5bfc 8281 }
1bd55598
RD
8282 }
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 {
8290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8291 }
8292 {
8293 if (temp4)
8294 delete arg4;
8295 }
8296 {
8297 if (temp8)
8298 delete arg8;
8299 }
8300 return resultobj;
8301fail:
8302 {
8303 if (temp4)
8304 delete arg4;
8305 }
8306 {
8307 if (temp8)
8308 delete arg8;
8309 }
8310 return NULL;
8311}
8312
8313
8314SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj = 0;
8316 wxStaticText *arg1 = (wxStaticText *) 0 ;
8317 int arg2 ;
8318 void *argp1 = 0 ;
8319 int res1 = 0 ;
8320 int val2 ;
8321 int ecode2 = 0 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char * kwnames[] = {
8325 (char *) "self",(char *) "width", NULL
8326 };
8327
8328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8330 if (!SWIG_IsOK(res1)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8332 }
8333 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8334 ecode2 = SWIG_AsVal_int(obj1, &val2);
8335 if (!SWIG_IsOK(ecode2)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8337 }
8338 arg2 = static_cast< int >(val2);
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 (arg1)->Wrap(arg2);
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_Py_Void();
8346 return resultobj;
8347fail:
8348 return NULL;
8349}
8350
8351
8352SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj = 0;
8354 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8355 SwigValueWrapper<wxVisualAttributes > result;
8356 int val1 ;
8357 int ecode1 = 0 ;
8358 PyObject * obj0 = 0 ;
8359 char * kwnames[] = {
8360 (char *) "variant", NULL
8361 };
8362
8363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8364 if (obj0) {
8365 ecode1 = SWIG_AsVal_int(obj0, &val1);
8366 if (!SWIG_IsOK(ecode1)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8368 }
8369 arg1 = static_cast< wxWindowVariant >(val1);
8370 }
8371 {
8372 if (!wxPyCheckForApp()) SWIG_fail;
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = wxStaticText::GetClassDefaultAttributes(arg1);
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8379 return resultobj;
8380fail:
8381 return NULL;
8382}
8383
8384
8385SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8386 PyObject *obj;
8387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8388 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8389 return SWIG_Py_Void();
8390}
8391
8392SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8393 return SWIG_Python_InitShadowInstance(args);
8394}
8395
8396SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj = 0;
8398 wxWindow *arg1 = (wxWindow *) 0 ;
8399 int arg2 = (int) -1 ;
8400 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8401 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8404 wxSize const &arg5_defvalue = wxDefaultSize ;
8405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8406 long arg6 = (long) 0 ;
8407 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8408 wxString *arg7 = (wxString *) &arg7_defvalue ;
8409 wxStaticBitmap *result = 0 ;
8410 void *argp1 = 0 ;
8411 int res1 = 0 ;
8412 int val2 ;
8413 int ecode2 = 0 ;
8414 void *argp3 = 0 ;
8415 int res3 = 0 ;
8416 wxPoint temp4 ;
8417 wxSize temp5 ;
8418 long val6 ;
8419 int ecode6 = 0 ;
8420 bool temp7 = false ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 PyObject * obj2 = 0 ;
8424 PyObject * obj3 = 0 ;
8425 PyObject * obj4 = 0 ;
8426 PyObject * obj5 = 0 ;
8427 PyObject * obj6 = 0 ;
8428 char * kwnames[] = {
8429 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8430 };
8431
8432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8434 if (!SWIG_IsOK(res1)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 }
8437 arg1 = reinterpret_cast< wxWindow * >(argp1);
8438 if (obj1) {
8439 ecode2 = SWIG_AsVal_int(obj1, &val2);
8440 if (!SWIG_IsOK(ecode2)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8442 }
8443 arg2 = static_cast< int >(val2);
8444 }
8445 if (obj2) {
8446 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8447 if (!SWIG_IsOK(res3)) {
8448 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8449 }
1bd55598
RD
8450 if (!argp3) {
8451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
d55e5bfc 8452 }
1bd55598
RD
8453 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8454 }
8455 if (obj3) {
d55e5bfc 8456 {
1bd55598
RD
8457 arg4 = &temp4;
8458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 8459 }
1bd55598
RD
8460 }
8461 if (obj4) {
f20a2e1f 8462 {
1bd55598
RD
8463 arg5 = &temp5;
8464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8465 }
1bd55598
RD
8466 }
8467 if (obj5) {
8468 ecode6 = SWIG_AsVal_long(obj5, &val6);
8469 if (!SWIG_IsOK(ecode6)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8471 }
8472 arg6 = static_cast< long >(val6);
8473 }
8474 if (obj6) {
f20a2e1f 8475 {
1bd55598
RD
8476 arg7 = wxString_in_helper(obj6);
8477 if (arg7 == NULL) SWIG_fail;
8478 temp7 = true;
f20a2e1f 8479 }
1bd55598
RD
8480 }
8481 {
8482 if (!wxPyCheckForApp()) SWIG_fail;
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8489 {
8490 if (temp7)
8491 delete arg7;
8492 }
8493 return resultobj;
8494fail:
8495 {
8496 if (temp7)
8497 delete arg7;
8498 }
8499 return NULL;
f20a2e1f
RD
8500}
8501
8502
1bd55598
RD
8503SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8504 PyObject *resultobj = 0;
8505 wxStaticBitmap *result = 0 ;
8506
8507 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8508 {
8509 if (!wxPyCheckForApp()) SWIG_fail;
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxStaticBitmap *)new wxStaticBitmap();
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8516 return resultobj;
8517fail:
8518 return NULL;
8519}
8520
8521
8522SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj = 0;
8524 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8525 wxWindow *arg2 = (wxWindow *) 0 ;
8526 int arg3 = (int) -1 ;
8527 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8528 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8529 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8530 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8531 wxSize const &arg6_defvalue = wxDefaultSize ;
8532 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8533 long arg7 = (long) 0 ;
8534 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8535 wxString *arg8 = (wxString *) &arg8_defvalue ;
8536 bool result;
8537 void *argp1 = 0 ;
8538 int res1 = 0 ;
8539 void *argp2 = 0 ;
8540 int res2 = 0 ;
8541 int val3 ;
8542 int ecode3 = 0 ;
8543 void *argp4 = 0 ;
8544 int res4 = 0 ;
8545 wxPoint temp5 ;
8546 wxSize temp6 ;
8547 long val7 ;
8548 int ecode7 = 0 ;
8549 bool temp8 = false ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 PyObject * obj2 = 0 ;
8553 PyObject * obj3 = 0 ;
8554 PyObject * obj4 = 0 ;
8555 PyObject * obj5 = 0 ;
8556 PyObject * obj6 = 0 ;
8557 PyObject * obj7 = 0 ;
8558 char * kwnames[] = {
8559 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8560 };
8561
8562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8564 if (!SWIG_IsOK(res1)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8566 }
8567 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8569 if (!SWIG_IsOK(res2)) {
8570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8571 }
8572 arg2 = reinterpret_cast< wxWindow * >(argp2);
8573 if (obj2) {
8574 ecode3 = SWIG_AsVal_int(obj2, &val3);
8575 if (!SWIG_IsOK(ecode3)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8577 }
8578 arg3 = static_cast< int >(val3);
8579 }
8580 if (obj3) {
8581 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8582 if (!SWIG_IsOK(res4)) {
8583 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8584 }
1bd55598
RD
8585 if (!argp4) {
8586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 8587 }
1bd55598
RD
8588 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8589 }
8590 if (obj4) {
d55e5bfc 8591 {
1bd55598
RD
8592 arg5 = &temp5;
8593 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8594 }
1bd55598
RD
8595 }
8596 if (obj5) {
d55e5bfc 8597 {
1bd55598
RD
8598 arg6 = &temp6;
8599 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8600 }
1bd55598
RD
8601 }
8602 if (obj6) {
8603 ecode7 = SWIG_AsVal_long(obj6, &val7);
8604 if (!SWIG_IsOK(ecode7)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8606 }
8607 arg7 = static_cast< long >(val7);
8608 }
8609 if (obj7) {
d55e5bfc 8610 {
1bd55598
RD
8611 arg8 = wxString_in_helper(obj7);
8612 if (arg8 == NULL) SWIG_fail;
8613 temp8 = true;
d55e5bfc 8614 }
1bd55598
RD
8615 }
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 {
8623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8624 }
8625 {
8626 if (temp8)
8627 delete arg8;
8628 }
8629 return resultobj;
8630fail:
8631 {
8632 if (temp8)
8633 delete arg8;
8634 }
8635 return NULL;
d55e5bfc
RD
8636}
8637
8638
1bd55598
RD
8639SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8640 PyObject *resultobj = 0;
8641 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8642 wxBitmap result;
8643 void *argp1 = 0 ;
8644 int res1 = 0 ;
8645 PyObject *swig_obj[1] ;
8646
8647 if (!args) SWIG_fail;
8648 swig_obj[0] = args;
8649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8650 if (!SWIG_IsOK(res1)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 }
8653 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (arg1)->GetBitmap();
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8661 return resultobj;
8662fail:
8663 return NULL;
8664}
8665
8666
8667SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj = 0;
8669 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8670 wxBitmap *arg2 = 0 ;
8671 void *argp1 = 0 ;
8672 int res1 = 0 ;
8673 void *argp2 = 0 ;
8674 int res2 = 0 ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char * kwnames[] = {
8678 (char *) "self",(char *) "bitmap", NULL
8679 };
8680
8681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 }
8686 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8687 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8688 if (!SWIG_IsOK(res2)) {
8689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8690 }
8691 if (!argp2) {
8692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 }
8694 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = SWIG_Py_Void();
8702 return resultobj;
8703fail:
8704 return NULL;
8705}
8706
8707
8708SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj = 0;
8710 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8711 wxIcon *arg2 = 0 ;
8712 void *argp1 = 0 ;
8713 int res1 = 0 ;
8714 void *argp2 = 0 ;
8715 int res2 = 0 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 char * kwnames[] = {
8719 (char *) "self",(char *) "icon", NULL
8720 };
8721
8722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8724 if (!SWIG_IsOK(res1)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8726 }
8727 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8728 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8729 if (!SWIG_IsOK(res2)) {
8730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8731 }
8732 if (!argp2) {
8733 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 }
8735 arg2 = reinterpret_cast< wxIcon * >(argp2);
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetIcon((wxIcon const &)*arg2);
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 resultobj = SWIG_Py_Void();
8743 return resultobj;
8744fail:
8745 return NULL;
8746}
8747
8748
8749SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj = 0;
8751 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8752 SwigValueWrapper<wxVisualAttributes > result;
8753 int val1 ;
8754 int ecode1 = 0 ;
8755 PyObject * obj0 = 0 ;
8756 char * kwnames[] = {
8757 (char *) "variant", NULL
8758 };
8759
8760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8761 if (obj0) {
8762 ecode1 = SWIG_AsVal_int(obj0, &val1);
8763 if (!SWIG_IsOK(ecode1)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8765 }
8766 arg1 = static_cast< wxWindowVariant >(val1);
8767 }
8768 {
8769 if (!wxPyCheckForApp()) SWIG_fail;
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8776 return resultobj;
8777fail:
8778 return NULL;
d55e5bfc
RD
8779}
8780
8781
1bd55598
RD
8782SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8783 PyObject *obj;
8784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8785 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8786 return SWIG_Py_Void();
d55e5bfc
RD
8787}
8788
1bd55598
RD
8789SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8790 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
8791}
8792
1bd55598
RD
8793SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8794 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8795 return 1;
f20a2e1f
RD
8796}
8797
8798
1bd55598
RD
8799SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8800 PyObject *pyobj = 0;
8801
8802 {
8803#if wxUSE_UNICODE
8804 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8805#else
8806 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8807#endif
8808 }
8809 return pyobj;
8810}
8811
8812
8813SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8814 PyObject *resultobj = 0;
8815 wxWindow *arg1 = (wxWindow *) 0 ;
8816 int arg2 = (int) -1 ;
8817 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8818 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8819 wxSize const &arg4_defvalue = wxDefaultSize ;
8820 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8821 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8822 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8823 long arg6 = (long) 0 ;
8824 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8825 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8826 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8827 wxString *arg8 = (wxString *) &arg8_defvalue ;
8828 wxListBox *result = 0 ;
8829 void *argp1 = 0 ;
8830 int res1 = 0 ;
8831 int val2 ;
8832 int ecode2 = 0 ;
8833 wxPoint temp3 ;
8834 wxSize temp4 ;
8835 bool temp5 = false ;
8836 long val6 ;
8837 int ecode6 = 0 ;
8838 void *argp7 = 0 ;
8839 int res7 = 0 ;
8840 bool temp8 = false ;
8841 PyObject * obj0 = 0 ;
8842 PyObject * obj1 = 0 ;
8843 PyObject * obj2 = 0 ;
8844 PyObject * obj3 = 0 ;
8845 PyObject * obj4 = 0 ;
8846 PyObject * obj5 = 0 ;
8847 PyObject * obj6 = 0 ;
8848 PyObject * obj7 = 0 ;
8849 char * kwnames[] = {
8850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8851 };
8852
8853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8855 if (!SWIG_IsOK(res1)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8857 }
8858 arg1 = reinterpret_cast< wxWindow * >(argp1);
8859 if (obj1) {
8860 ecode2 = SWIG_AsVal_int(obj1, &val2);
8861 if (!SWIG_IsOK(ecode2)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8863 }
8864 arg2 = static_cast< int >(val2);
8865 }
8866 if (obj2) {
d55e5bfc 8867 {
1bd55598
RD
8868 arg3 = &temp3;
8869 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8870 }
1bd55598
RD
8871 }
8872 if (obj3) {
d55e5bfc 8873 {
1bd55598
RD
8874 arg4 = &temp4;
8875 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8876 }
1bd55598
RD
8877 }
8878 if (obj4) {
d55e5bfc 8879 {
1bd55598
RD
8880 if (! PySequence_Check(obj4)) {
8881 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8882 SWIG_fail;
8883 }
8884 arg5 = new wxArrayString;
8885 temp5 = true;
8886 int i, len=PySequence_Length(obj4);
8887 for (i=0; i<len; i++) {
8888 PyObject* item = PySequence_GetItem(obj4, i);
8889 wxString* s = wxString_in_helper(item);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 arg5->Add(*s);
8892 delete s;
8893 Py_DECREF(item);
8894 }
d55e5bfc 8895 }
1bd55598
RD
8896 }
8897 if (obj5) {
8898 ecode6 = SWIG_AsVal_long(obj5, &val6);
8899 if (!SWIG_IsOK(ecode6)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8901 }
8902 arg6 = static_cast< long >(val6);
8903 }
8904 if (obj6) {
8905 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8906 if (!SWIG_IsOK(res7)) {
8907 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8908 }
1bd55598
RD
8909 if (!argp7) {
8910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8911 }
1bd55598
RD
8912 arg7 = reinterpret_cast< wxValidator * >(argp7);
8913 }
8914 if (obj7) {
d55e5bfc 8915 {
1bd55598
RD
8916 arg8 = wxString_in_helper(obj7);
8917 if (arg8 == NULL) SWIG_fail;
8918 temp8 = true;
d55e5bfc 8919 }
1bd55598
RD
8920 }
8921 {
8922 if (!wxPyCheckForApp()) SWIG_fail;
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8929 {
8930 if (temp5) delete arg5;
8931 }
8932 {
8933 if (temp8)
8934 delete arg8;
8935 }
8936 return resultobj;
8937fail:
8938 {
8939 if (temp5) delete arg5;
8940 }
8941 {
8942 if (temp8)
8943 delete arg8;
8944 }
8945 return NULL;
d55e5bfc
RD
8946}
8947
8948
1bd55598
RD
8949SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8950 PyObject *resultobj = 0;
8951 wxListBox *result = 0 ;
8952
8953 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8954 {
8955 if (!wxPyCheckForApp()) SWIG_fail;
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (wxListBox *)new wxListBox();
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8962 return resultobj;
8963fail:
8964 return NULL;
8965}
8966
8967
8968SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj = 0;
8970 wxListBox *arg1 = (wxListBox *) 0 ;
8971 wxWindow *arg2 = (wxWindow *) 0 ;
8972 int arg3 = (int) -1 ;
8973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8975 wxSize const &arg5_defvalue = wxDefaultSize ;
8976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8977 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8978 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8979 long arg7 = (long) 0 ;
8980 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8981 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8982 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8983 wxString *arg9 = (wxString *) &arg9_defvalue ;
8984 bool result;
8985 void *argp1 = 0 ;
8986 int res1 = 0 ;
8987 void *argp2 = 0 ;
8988 int res2 = 0 ;
8989 int val3 ;
8990 int ecode3 = 0 ;
8991 wxPoint temp4 ;
8992 wxSize temp5 ;
8993 bool temp6 = false ;
8994 long val7 ;
8995 int ecode7 = 0 ;
8996 void *argp8 = 0 ;
8997 int res8 = 0 ;
8998 bool temp9 = false ;
8999 PyObject * obj0 = 0 ;
9000 PyObject * obj1 = 0 ;
9001 PyObject * obj2 = 0 ;
9002 PyObject * obj3 = 0 ;
9003 PyObject * obj4 = 0 ;
9004 PyObject * obj5 = 0 ;
9005 PyObject * obj6 = 0 ;
9006 PyObject * obj7 = 0 ;
9007 PyObject * obj8 = 0 ;
9008 char * kwnames[] = {
9009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9010 };
9011
9012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9014 if (!SWIG_IsOK(res1)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9016 }
9017 arg1 = reinterpret_cast< wxListBox * >(argp1);
9018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9019 if (!SWIG_IsOK(res2)) {
9020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9021 }
9022 arg2 = reinterpret_cast< wxWindow * >(argp2);
9023 if (obj2) {
9024 ecode3 = SWIG_AsVal_int(obj2, &val3);
9025 if (!SWIG_IsOK(ecode3)) {
9026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9027 }
9028 arg3 = static_cast< int >(val3);
9029 }
9030 if (obj3) {
d55e5bfc 9031 {
1bd55598
RD
9032 arg4 = &temp4;
9033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9034 }
1bd55598
RD
9035 }
9036 if (obj4) {
d55e5bfc 9037 {
1bd55598
RD
9038 arg5 = &temp5;
9039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9040 }
1bd55598
RD
9041 }
9042 if (obj5) {
943e8dfd 9043 {
1bd55598
RD
9044 if (! PySequence_Check(obj5)) {
9045 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9046 SWIG_fail;
9047 }
9048 arg6 = new wxArrayString;
9049 temp6 = true;
9050 int i, len=PySequence_Length(obj5);
9051 for (i=0; i<len; i++) {
9052 PyObject* item = PySequence_GetItem(obj5, i);
9053 wxString* s = wxString_in_helper(item);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 arg6->Add(*s);
9056 delete s;
9057 Py_DECREF(item);
9058 }
943e8dfd 9059 }
1bd55598
RD
9060 }
9061 if (obj6) {
9062 ecode7 = SWIG_AsVal_long(obj6, &val7);
9063 if (!SWIG_IsOK(ecode7)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9065 }
9066 arg7 = static_cast< long >(val7);
9067 }
9068 if (obj7) {
9069 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9070 if (!SWIG_IsOK(res8)) {
9071 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
943e8dfd 9072 }
1bd55598
RD
9073 if (!argp8) {
9074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9075 }
1bd55598
RD
9076 arg8 = reinterpret_cast< wxValidator * >(argp8);
9077 }
9078 if (obj8) {
f20a2e1f 9079 {
1bd55598
RD
9080 arg9 = wxString_in_helper(obj8);
9081 if (arg9 == NULL) SWIG_fail;
9082 temp9 = true;
f20a2e1f 9083 }
1bd55598
RD
9084 }
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 {
9092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9093 }
9094 {
9095 if (temp6) delete arg6;
9096 }
9097 {
9098 if (temp9)
9099 delete arg9;
9100 }
9101 return resultobj;
9102fail:
9103 {
9104 if (temp6) delete arg6;
9105 }
9106 {
9107 if (temp9)
9108 delete arg9;
9109 }
9110 return NULL;
9111}
9112
9113
9114SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj = 0;
9116 wxListBox *arg1 = (wxListBox *) 0 ;
9117 wxString *arg2 = 0 ;
9118 int arg3 ;
9119 PyObject *arg4 = (PyObject *) NULL ;
9120 void *argp1 = 0 ;
9121 int res1 = 0 ;
9122 bool temp2 = false ;
9123 int val3 ;
9124 int ecode3 = 0 ;
9125 PyObject * obj0 = 0 ;
9126 PyObject * obj1 = 0 ;
9127 PyObject * obj2 = 0 ;
9128 PyObject * obj3 = 0 ;
9129 char * kwnames[] = {
9130 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9131 };
9132
9133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9135 if (!SWIG_IsOK(res1)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 }
9138 arg1 = reinterpret_cast< wxListBox * >(argp1);
9139 {
9140 arg2 = wxString_in_helper(obj1);
9141 if (arg2 == NULL) SWIG_fail;
9142 temp2 = true;
9143 }
9144 ecode3 = SWIG_AsVal_int(obj2, &val3);
9145 if (!SWIG_IsOK(ecode3)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9147 }
9148 arg3 = static_cast< int >(val3);
9149 if (obj3) {
9150 arg4 = obj3;
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_Py_Void();
9159 {
9160 if (temp2)
9161 delete arg2;
9162 }
9163 return resultobj;
9164fail:
9165 {
9166 if (temp2)
9167 delete arg2;
9168 }
9169 return NULL;
9170}
9171
9172
9173SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj = 0;
9175 wxListBox *arg1 = (wxListBox *) 0 ;
9176 wxArrayString *arg2 = 0 ;
50f151d7 9177 unsigned int arg3 ;
1bd55598
RD
9178 void *argp1 = 0 ;
9179 int res1 = 0 ;
9180 bool temp2 = false ;
50f151d7 9181 unsigned int val3 ;
1bd55598
RD
9182 int ecode3 = 0 ;
9183 PyObject * obj0 = 0 ;
9184 PyObject * obj1 = 0 ;
9185 PyObject * obj2 = 0 ;
9186 char * kwnames[] = {
9187 (char *) "self",(char *) "items",(char *) "pos", NULL
9188 };
9189
9190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9192 if (!SWIG_IsOK(res1)) {
9193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9194 }
9195 arg1 = reinterpret_cast< wxListBox * >(argp1);
9196 {
9197 if (! PySequence_Check(obj1)) {
9198 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9199 SWIG_fail;
9200 }
9201 arg2 = new wxArrayString;
9202 temp2 = true;
9203 int i, len=PySequence_Length(obj1);
9204 for (i=0; i<len; i++) {
9205 PyObject* item = PySequence_GetItem(obj1, i);
9206 wxString* s = wxString_in_helper(item);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 arg2->Add(*s);
9209 delete s;
9210 Py_DECREF(item);
f20a2e1f 9211 }
1bd55598 9212 }
50f151d7 9213 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
1bd55598 9214 if (!SWIG_IsOK(ecode3)) {
50f151d7 9215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
1bd55598 9216 }
50f151d7 9217 arg3 = static_cast< unsigned int >(val3);
1bd55598
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_Py_Void();
9225 {
9226 if (temp2) delete arg2;
9227 }
9228 return resultobj;
9229fail:
9230 {
9231 if (temp2) delete arg2;
9232 }
9233 return NULL;
f20a2e1f
RD
9234}
9235
9236
1bd55598
RD
9237SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj = 0;
9239 wxListBox *arg1 = (wxListBox *) 0 ;
9240 wxArrayString *arg2 = 0 ;
9241 void *argp1 = 0 ;
9242 int res1 = 0 ;
9243 bool temp2 = false ;
9244 PyObject * obj0 = 0 ;
9245 PyObject * obj1 = 0 ;
9246 char * kwnames[] = {
9247 (char *) "self",(char *) "items", NULL
9248 };
9249
9250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9252 if (!SWIG_IsOK(res1)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9254 }
9255 arg1 = reinterpret_cast< wxListBox * >(argp1);
9256 {
9257 if (! PySequence_Check(obj1)) {
9258 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9259 SWIG_fail;
9260 }
9261 arg2 = new wxArrayString;
9262 temp2 = true;
9263 int i, len=PySequence_Length(obj1);
9264 for (i=0; i<len; i++) {
9265 PyObject* item = PySequence_GetItem(obj1, i);
9266 wxString* s = wxString_in_helper(item);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 arg2->Add(*s);
9269 delete s;
9270 Py_DECREF(item);
bfddbb17 9271 }
1bd55598
RD
9272 }
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 (arg1)->Set((wxArrayString const &)*arg2);
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_Py_Void();
9280 {
9281 if (temp2) delete arg2;
9282 }
9283 return resultobj;
9284fail:
9285 {
9286 if (temp2) delete arg2;
9287 }
9288 return NULL;
9289}
9290
9291
9292SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj = 0;
9294 wxListBox *arg1 = (wxListBox *) 0 ;
9295 int arg2 ;
9296 bool result;
9297 void *argp1 = 0 ;
9298 int res1 = 0 ;
9299 int val2 ;
9300 int ecode2 = 0 ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj1 = 0 ;
9303 char * kwnames[] = {
9304 (char *) "self",(char *) "n", NULL
9305 };
9306
9307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9309 if (!SWIG_IsOK(res1)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9311 }
9312 arg1 = reinterpret_cast< wxListBox * >(argp1);
9313 ecode2 = SWIG_AsVal_int(obj1, &val2);
9314 if (!SWIG_IsOK(ecode2)) {
9315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9316 }
9317 arg2 = static_cast< int >(val2);
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 {
9325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9326 }
9327 return resultobj;
9328fail:
9329 return NULL;
9330}
9331
9332
9333SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj = 0;
9335 wxListBox *arg1 = (wxListBox *) 0 ;
9336 int arg2 ;
9337 bool arg3 = (bool) true ;
9338 void *argp1 = 0 ;
9339 int res1 = 0 ;
9340 int val2 ;
9341 int ecode2 = 0 ;
9342 bool val3 ;
9343 int ecode3 = 0 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 char * kwnames[] = {
9348 (char *) "self",(char *) "n",(char *) "select", NULL
9349 };
9350
9351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 }
9356 arg1 = reinterpret_cast< wxListBox * >(argp1);
9357 ecode2 = SWIG_AsVal_int(obj1, &val2);
9358 if (!SWIG_IsOK(ecode2)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9360 }
9361 arg2 = static_cast< int >(val2);
9362 if (obj2) {
9363 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9364 if (!SWIG_IsOK(ecode3)) {
9365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9366 }
9367 arg3 = static_cast< bool >(val3);
9368 }
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 (arg1)->SetSelection(arg2,arg3);
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 resultobj = SWIG_Py_Void();
9376 return resultobj;
9377fail:
9378 return NULL;
9379}
9380
9381
9382SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj = 0;
9384 wxListBox *arg1 = (wxListBox *) 0 ;
9385 int arg2 ;
9386 void *argp1 = 0 ;
9387 int res1 = 0 ;
9388 int val2 ;
9389 int ecode2 = 0 ;
9390 PyObject * obj0 = 0 ;
9391 PyObject * obj1 = 0 ;
9392 char * kwnames[] = {
9393 (char *) "self",(char *) "n", NULL
9394 };
9395
9396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9398 if (!SWIG_IsOK(res1)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 }
9401 arg1 = reinterpret_cast< wxListBox * >(argp1);
9402 ecode2 = SWIG_AsVal_int(obj1, &val2);
9403 if (!SWIG_IsOK(ecode2)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9405 }
9406 arg2 = static_cast< int >(val2);
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 (arg1)->Select(arg2);
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_Py_Void();
9414 return resultobj;
9415fail:
9416 return NULL;
9417}
9418
9419
9420SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj = 0;
9422 wxListBox *arg1 = (wxListBox *) 0 ;
9423 int arg2 ;
9424 void *argp1 = 0 ;
9425 int res1 = 0 ;
9426 int val2 ;
9427 int ecode2 = 0 ;
9428 PyObject * obj0 = 0 ;
9429 PyObject * obj1 = 0 ;
9430 char * kwnames[] = {
9431 (char *) "self",(char *) "n", NULL
9432 };
9433
9434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9436 if (!SWIG_IsOK(res1)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 }
9439 arg1 = reinterpret_cast< wxListBox * >(argp1);
9440 ecode2 = SWIG_AsVal_int(obj1, &val2);
9441 if (!SWIG_IsOK(ecode2)) {
9442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9443 }
9444 arg2 = static_cast< int >(val2);
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 (arg1)->Deselect(arg2);
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 resultobj = SWIG_Py_Void();
9452 return resultobj;
9453fail:
9454 return NULL;
9455}
9456
9457
9458SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj = 0;
9460 wxListBox *arg1 = (wxListBox *) 0 ;
9461 int arg2 = (int) -1 ;
9462 void *argp1 = 0 ;
9463 int res1 = 0 ;
9464 int val2 ;
9465 int ecode2 = 0 ;
9466 PyObject * obj0 = 0 ;
9467 PyObject * obj1 = 0 ;
9468 char * kwnames[] = {
9469 (char *) "self",(char *) "itemToLeaveSelected", NULL
9470 };
9471
9472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 }
9477 arg1 = reinterpret_cast< wxListBox * >(argp1);
9478 if (obj1) {
9479 ecode2 = SWIG_AsVal_int(obj1, &val2);
9480 if (!SWIG_IsOK(ecode2)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9482 }
9483 arg2 = static_cast< int >(val2);
9484 }
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 (arg1)->DeselectAll(arg2);
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 resultobj = SWIG_Py_Void();
9492 return resultobj;
9493fail:
9494 return NULL;
9495}
9496
9497
9498SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj = 0;
9500 wxListBox *arg1 = (wxListBox *) 0 ;
9501 wxString *arg2 = 0 ;
9502 bool arg3 = (bool) true ;
9503 bool result;
9504 void *argp1 = 0 ;
9505 int res1 = 0 ;
9506 bool temp2 = false ;
9507 bool val3 ;
9508 int ecode3 = 0 ;
9509 PyObject * obj0 = 0 ;
9510 PyObject * obj1 = 0 ;
9511 PyObject * obj2 = 0 ;
9512 char * kwnames[] = {
9513 (char *) "self",(char *) "s",(char *) "select", NULL
9514 };
9515
9516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9518 if (!SWIG_IsOK(res1)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 }
9521 arg1 = reinterpret_cast< wxListBox * >(argp1);
9522 {
9523 arg2 = wxString_in_helper(obj1);
9524 if (arg2 == NULL) SWIG_fail;
9525 temp2 = true;
9526 }
9527 if (obj2) {
9528 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9529 if (!SWIG_IsOK(ecode3)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9531 }
9532 arg3 = static_cast< bool >(val3);
9533 }
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 {
9541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9542 }
9543 {
9544 if (temp2)
9545 delete arg2;
9546 }
9547 return resultobj;
9548fail:
9549 {
9550 if (temp2)
9551 delete arg2;
9552 }
9553 return NULL;
d55e5bfc
RD
9554}
9555
9556
1bd55598
RD
9557SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9558 PyObject *resultobj = 0;
9559 wxListBox *arg1 = (wxListBox *) 0 ;
9560 PyObject *result = 0 ;
9561 void *argp1 = 0 ;
9562 int res1 = 0 ;
9563 PyObject *swig_obj[1] ;
9564
9565 if (!args) SWIG_fail;
9566 swig_obj[0] = args;
9567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9568 if (!SWIG_IsOK(res1)) {
9569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 }
9571 arg1 = reinterpret_cast< wxListBox * >(argp1);
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (PyObject *)wxListBox_GetSelections(arg1);
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 resultobj = result;
9579 return resultobj;
9580fail:
9581 return NULL;
9582}
9583
9584
9585SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj = 0;
9587 wxListBox *arg1 = (wxListBox *) 0 ;
9588 int arg2 ;
9589 void *argp1 = 0 ;
9590 int res1 = 0 ;
9591 int val2 ;
9592 int ecode2 = 0 ;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char * kwnames[] = {
9596 (char *) "self",(char *) "n", NULL
9597 };
9598
9599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9601 if (!SWIG_IsOK(res1)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 }
9604 arg1 = reinterpret_cast< wxListBox * >(argp1);
9605 ecode2 = SWIG_AsVal_int(obj1, &val2);
9606 if (!SWIG_IsOK(ecode2)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9608 }
9609 arg2 = static_cast< int >(val2);
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 (arg1)->SetFirstItem(arg2);
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = SWIG_Py_Void();
9617 return resultobj;
9618fail:
9619 return NULL;
9620}
9621
9622
9623SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj = 0;
9625 wxListBox *arg1 = (wxListBox *) 0 ;
9626 wxString *arg2 = 0 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 bool temp2 = false ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char * kwnames[] = {
9633 (char *) "self",(char *) "s", NULL
9634 };
9635
9636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9638 if (!SWIG_IsOK(res1)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 }
9641 arg1 = reinterpret_cast< wxListBox * >(argp1);
9642 {
9643 arg2 = wxString_in_helper(obj1);
9644 if (arg2 == NULL) SWIG_fail;
9645 temp2 = true;
9646 }
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 (arg1)->SetFirstItem((wxString const &)*arg2);
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 resultobj = SWIG_Py_Void();
9654 {
9655 if (temp2)
9656 delete arg2;
9657 }
9658 return resultobj;
9659fail:
9660 {
9661 if (temp2)
9662 delete arg2;
9663 }
9664 return NULL;
9665}
9666
9667
9668SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = 0;
9670 wxListBox *arg1 = (wxListBox *) 0 ;
9671 int arg2 ;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 int val2 ;
9675 int ecode2 = 0 ;
9676 PyObject * obj0 = 0 ;
9677 PyObject * obj1 = 0 ;
9678 char * kwnames[] = {
9679 (char *) "self",(char *) "n", NULL
9680 };
9681
9682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9684 if (!SWIG_IsOK(res1)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 }
9687 arg1 = reinterpret_cast< wxListBox * >(argp1);
9688 ecode2 = SWIG_AsVal_int(obj1, &val2);
9689 if (!SWIG_IsOK(ecode2)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9691 }
9692 arg2 = static_cast< int >(val2);
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 (arg1)->EnsureVisible(arg2);
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_Py_Void();
9700 return resultobj;
9701fail:
9702 return NULL;
9703}
9704
9705
9706SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj = 0;
9708 wxListBox *arg1 = (wxListBox *) 0 ;
9709 wxString *arg2 = 0 ;
9710 void *argp1 = 0 ;
9711 int res1 = 0 ;
9712 bool temp2 = false ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char * kwnames[] = {
9716 (char *) "self",(char *) "s", NULL
9717 };
9718
9719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 }
9724 arg1 = reinterpret_cast< wxListBox * >(argp1);
9725 {
9726 arg2 = wxString_in_helper(obj1);
9727 if (arg2 == NULL) SWIG_fail;
9728 temp2 = true;
9729 }
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 resultobj = SWIG_Py_Void();
9737 {
9738 if (temp2)
9739 delete arg2;
9740 }
9741 return resultobj;
9742fail:
9743 {
9744 if (temp2)
9745 delete arg2;
9746 }
9747 return NULL;
d55e5bfc
RD
9748}
9749
9750
1bd55598
RD
9751SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9752 PyObject *resultobj = 0;
9753 wxListBox *arg1 = (wxListBox *) 0 ;
9754 bool result;
9755 void *argp1 = 0 ;
9756 int res1 = 0 ;
9757 PyObject *swig_obj[1] ;
9758
9759 if (!args) SWIG_fail;
9760 swig_obj[0] = args;
9761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9762 if (!SWIG_IsOK(res1)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9764 }
9765 arg1 = reinterpret_cast< wxListBox * >(argp1);
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (bool)((wxListBox const *)arg1)->IsSorted();
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 {
9773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9774 }
9775 return resultobj;
9776fail:
9777 return NULL;
9778}
9779
9780
9781SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj = 0;
9783 wxListBox *arg1 = (wxListBox *) 0 ;
9784 wxPoint *arg2 = 0 ;
9785 int result;
9786 void *argp1 = 0 ;
9787 int res1 = 0 ;
9788 wxPoint temp2 ;
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj1 = 0 ;
9791 char * kwnames[] = {
9792 (char *) "self",(char *) "pt", NULL
9793 };
9794
9795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9797 if (!SWIG_IsOK(res1)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9799 }
9800 arg1 = reinterpret_cast< wxListBox * >(argp1);
9801 {
9802 arg2 = &temp2;
9803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9804 }
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_From_int(static_cast< int >(result));
9812 return resultobj;
9813fail:
9814 return NULL;
9815}
9816
9817
9818SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj = 0;
9820 wxListBox *arg1 = (wxListBox *) 0 ;
9821 int arg2 ;
9822 wxColour *arg3 = 0 ;
9823 void *argp1 = 0 ;
9824 int res1 = 0 ;
9825 int val2 ;
9826 int ecode2 = 0 ;
9827 wxColour temp3 ;
9828 PyObject * obj0 = 0 ;
9829 PyObject * obj1 = 0 ;
9830 PyObject * obj2 = 0 ;
9831 char * kwnames[] = {
9832 (char *) "self",(char *) "item",(char *) "c", NULL
9833 };
9834
9835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9837 if (!SWIG_IsOK(res1)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 }
9840 arg1 = reinterpret_cast< wxListBox * >(argp1);
9841 ecode2 = SWIG_AsVal_int(obj1, &val2);
9842 if (!SWIG_IsOK(ecode2)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9844 }
9845 arg2 = static_cast< int >(val2);
9846 {
9847 arg3 = &temp3;
9848 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 resultobj = SWIG_Py_Void();
9857 return resultobj;
9858fail:
9859 return NULL;
9860}
9861
9862
9863SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxListBox *arg1 = (wxListBox *) 0 ;
9866 int arg2 ;
9867 wxColour *arg3 = 0 ;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 int val2 ;
9871 int ecode2 = 0 ;
9872 wxColour temp3 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 PyObject * obj2 = 0 ;
9876 char * kwnames[] = {
9877 (char *) "self",(char *) "item",(char *) "c", NULL
9878 };
9879
9880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 }
9885 arg1 = reinterpret_cast< wxListBox * >(argp1);
9886 ecode2 = SWIG_AsVal_int(obj1, &val2);
9887 if (!SWIG_IsOK(ecode2)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9889 }
9890 arg2 = static_cast< int >(val2);
9891 {
9892 arg3 = &temp3;
9893 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9894 }
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 resultobj = SWIG_Py_Void();
9902 return resultobj;
9903fail:
9904 return NULL;
9905}
9906
9907
9908SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj = 0;
9910 wxListBox *arg1 = (wxListBox *) 0 ;
9911 int arg2 ;
9912 wxFont *arg3 = 0 ;
9913 void *argp1 = 0 ;
9914 int res1 = 0 ;
9915 int val2 ;
9916 int ecode2 = 0 ;
9917 void *argp3 = 0 ;
9918 int res3 = 0 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 PyObject * obj2 = 0 ;
9922 char * kwnames[] = {
9923 (char *) "self",(char *) "item",(char *) "f", NULL
9924 };
9925
9926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9928 if (!SWIG_IsOK(res1)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 }
9931 arg1 = reinterpret_cast< wxListBox * >(argp1);
9932 ecode2 = SWIG_AsVal_int(obj1, &val2);
9933 if (!SWIG_IsOK(ecode2)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9935 }
9936 arg2 = static_cast< int >(val2);
9937 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9938 if (!SWIG_IsOK(res3)) {
9939 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9940 }
9941 if (!argp3) {
9942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 }
9944 arg3 = reinterpret_cast< wxFont * >(argp3);
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 resultobj = SWIG_Py_Void();
9952 return resultobj;
9953fail:
9954 return NULL;
9955}
9956
9957
9958SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj = 0;
9960 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9961 SwigValueWrapper<wxVisualAttributes > result;
9962 int val1 ;
9963 int ecode1 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 char * kwnames[] = {
9966 (char *) "variant", NULL
9967 };
9968
9969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9970 if (obj0) {
9971 ecode1 = SWIG_AsVal_int(obj0, &val1);
9972 if (!SWIG_IsOK(ecode1)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9974 }
9975 arg1 = static_cast< wxWindowVariant >(val1);
9976 }
9977 {
9978 if (!wxPyCheckForApp()) SWIG_fail;
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = wxListBox::GetClassDefaultAttributes(arg1);
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9985 return resultobj;
9986fail:
9987 return NULL;
9988}
9989
9990
9991SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9992 PyObject *obj;
9993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9994 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9995 return SWIG_Py_Void();
9996}
9997
9998SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9999 return SWIG_Python_InitShadowInstance(args);
10000}
10001
10002SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj = 0;
10004 wxWindow *arg1 = (wxWindow *) 0 ;
10005 int arg2 = (int) -1 ;
10006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10008 wxSize const &arg4_defvalue = wxDefaultSize ;
10009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10010 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10011 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10012 long arg6 = (long) 0 ;
10013 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10014 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10015 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10016 wxString *arg8 = (wxString *) &arg8_defvalue ;
10017 wxCheckListBox *result = 0 ;
10018 void *argp1 = 0 ;
10019 int res1 = 0 ;
10020 int val2 ;
10021 int ecode2 = 0 ;
10022 wxPoint temp3 ;
10023 wxSize temp4 ;
10024 bool temp5 = false ;
10025 long val6 ;
10026 int ecode6 = 0 ;
10027 void *argp7 = 0 ;
10028 int res7 = 0 ;
10029 bool temp8 = false ;
10030 PyObject * obj0 = 0 ;
10031 PyObject * obj1 = 0 ;
10032 PyObject * obj2 = 0 ;
10033 PyObject * obj3 = 0 ;
10034 PyObject * obj4 = 0 ;
10035 PyObject * obj5 = 0 ;
10036 PyObject * obj6 = 0 ;
10037 PyObject * obj7 = 0 ;
10038 char * kwnames[] = {
10039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10040 };
10041
10042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10044 if (!SWIG_IsOK(res1)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10046 }
10047 arg1 = reinterpret_cast< wxWindow * >(argp1);
10048 if (obj1) {
10049 ecode2 = SWIG_AsVal_int(obj1, &val2);
10050 if (!SWIG_IsOK(ecode2)) {
10051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10052 }
10053 arg2 = static_cast< int >(val2);
10054 }
10055 if (obj2) {
10056 {
10057 arg3 = &temp3;
10058 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
bfddbb17 10059 }
1bd55598
RD
10060 }
10061 if (obj3) {
10062 {
10063 arg4 = &temp4;
10064 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10065 }
1bd55598
RD
10066 }
10067 if (obj4) {
10068 {
10069 if (! PySequence_Check(obj4)) {
10070 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10071 SWIG_fail;
10072 }
10073 arg5 = new wxArrayString;
10074 temp5 = true;
10075 int i, len=PySequence_Length(obj4);
10076 for (i=0; i<len; i++) {
10077 PyObject* item = PySequence_GetItem(obj4, i);
10078 wxString* s = wxString_in_helper(item);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 arg5->Add(*s);
10081 delete s;
10082 Py_DECREF(item);
10083 }
d55e5bfc 10084 }
1bd55598
RD
10085 }
10086 if (obj5) {
10087 ecode6 = SWIG_AsVal_long(obj5, &val6);
10088 if (!SWIG_IsOK(ecode6)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10090 }
10091 arg6 = static_cast< long >(val6);
10092 }
10093 if (obj6) {
10094 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10095 if (!SWIG_IsOK(res7)) {
10096 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10097 }
1bd55598
RD
10098 if (!argp7) {
10099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10100 }
1bd55598
RD
10101 arg7 = reinterpret_cast< wxValidator * >(argp7);
10102 }
10103 if (obj7) {
10104 {
10105 arg8 = wxString_in_helper(obj7);
10106 if (arg8 == NULL) SWIG_fail;
10107 temp8 = true;
d55e5bfc 10108 }
1bd55598
RD
10109 }
10110 {
10111 if (!wxPyCheckForApp()) SWIG_fail;
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10118 {
10119 if (temp5) delete arg5;
10120 }
10121 {
10122 if (temp8)
10123 delete arg8;
10124 }
10125 return resultobj;
10126fail:
10127 {
10128 if (temp5) delete arg5;
10129 }
10130 {
10131 if (temp8)
10132 delete arg8;
10133 }
10134 return NULL;
10135}
10136
10137
10138SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10139 PyObject *resultobj = 0;
10140 wxCheckListBox *result = 0 ;
10141
10142 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10143 {
10144 if (!wxPyCheckForApp()) SWIG_fail;
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = (wxCheckListBox *)new wxCheckListBox();
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10151 return resultobj;
10152fail:
10153 return NULL;
10154}
10155
10156
10157SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10158 PyObject *resultobj = 0;
10159 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10160 wxWindow *arg2 = (wxWindow *) 0 ;
10161 int arg3 = (int) -1 ;
10162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10164 wxSize const &arg5_defvalue = wxDefaultSize ;
10165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10166 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10167 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10168 long arg7 = (long) 0 ;
10169 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10170 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10171 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10172 wxString *arg9 = (wxString *) &arg9_defvalue ;
10173 bool result;
10174 void *argp1 = 0 ;
10175 int res1 = 0 ;
10176 void *argp2 = 0 ;
10177 int res2 = 0 ;
10178 int val3 ;
10179 int ecode3 = 0 ;
10180 wxPoint temp4 ;
10181 wxSize temp5 ;
10182 bool temp6 = false ;
10183 long val7 ;
10184 int ecode7 = 0 ;
10185 void *argp8 = 0 ;
10186 int res8 = 0 ;
10187 bool temp9 = false ;
10188 PyObject * obj0 = 0 ;
10189 PyObject * obj1 = 0 ;
10190 PyObject * obj2 = 0 ;
10191 PyObject * obj3 = 0 ;
10192 PyObject * obj4 = 0 ;
10193 PyObject * obj5 = 0 ;
10194 PyObject * obj6 = 0 ;
10195 PyObject * obj7 = 0 ;
10196 PyObject * obj8 = 0 ;
10197 char * kwnames[] = {
10198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10199 };
10200
10201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10203 if (!SWIG_IsOK(res1)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10205 }
10206 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10208 if (!SWIG_IsOK(res2)) {
10209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10210 }
10211 arg2 = reinterpret_cast< wxWindow * >(argp2);
10212 if (obj2) {
10213 ecode3 = SWIG_AsVal_int(obj2, &val3);
10214 if (!SWIG_IsOK(ecode3)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10216 }
10217 arg3 = static_cast< int >(val3);
10218 }
10219 if (obj3) {
d55e5bfc 10220 {
1bd55598
RD
10221 arg4 = &temp4;
10222 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10223 }
1bd55598
RD
10224 }
10225 if (obj4) {
d55e5bfc 10226 {
1bd55598
RD
10227 arg5 = &temp5;
10228 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10229 }
1bd55598
RD
10230 }
10231 if (obj5) {
d55e5bfc 10232 {
1bd55598
RD
10233 if (! PySequence_Check(obj5)) {
10234 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10235 SWIG_fail;
10236 }
10237 arg6 = new wxArrayString;
10238 temp6 = true;
10239 int i, len=PySequence_Length(obj5);
10240 for (i=0; i<len; i++) {
10241 PyObject* item = PySequence_GetItem(obj5, i);
10242 wxString* s = wxString_in_helper(item);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 arg6->Add(*s);
10245 delete s;
10246 Py_DECREF(item);
10247 }
10248 }
10249 }
10250 if (obj6) {
10251 ecode7 = SWIG_AsVal_long(obj6, &val7);
10252 if (!SWIG_IsOK(ecode7)) {
10253 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10254 }
10255 arg7 = static_cast< long >(val7);
10256 }
10257 if (obj7) {
10258 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10259 if (!SWIG_IsOK(res8)) {
10260 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10261 }
10262 if (!argp8) {
10263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10264 }
1bd55598
RD
10265 arg8 = reinterpret_cast< wxValidator * >(argp8);
10266 }
10267 if (obj8) {
d55e5bfc 10268 {
1bd55598
RD
10269 arg9 = wxString_in_helper(obj8);
10270 if (arg9 == NULL) SWIG_fail;
10271 temp9 = true;
d55e5bfc 10272 }
1bd55598
RD
10273 }
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10282 }
10283 {
10284 if (temp6) delete arg6;
10285 }
10286 {
10287 if (temp9)
10288 delete arg9;
10289 }
10290 return resultobj;
10291fail:
10292 {
10293 if (temp6) delete arg6;
10294 }
10295 {
10296 if (temp9)
10297 delete arg9;
10298 }
10299 return NULL;
10300}
10301
10302
10303SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj = 0;
10305 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10306 unsigned int arg2 ;
1bd55598
RD
10307 bool result;
10308 void *argp1 = 0 ;
10309 int res1 = 0 ;
50f151d7 10310 unsigned int val2 ;
1bd55598
RD
10311 int ecode2 = 0 ;
10312 PyObject * obj0 = 0 ;
10313 PyObject * obj1 = 0 ;
10314 char * kwnames[] = {
10315 (char *) "self",(char *) "index", NULL
10316 };
10317
10318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10320 if (!SWIG_IsOK(res1)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10322 }
10323 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10324 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10325 if (!SWIG_IsOK(ecode2)) {
50f151d7 10326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10327 }
50f151d7 10328 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (bool)(arg1)->IsChecked(arg2);
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 {
10336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10337 }
10338 return resultobj;
10339fail:
10340 return NULL;
10341}
10342
10343
10344SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj = 0;
10346 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10347 unsigned int arg2 ;
1bd55598
RD
10348 int arg3 = (int) true ;
10349 void *argp1 = 0 ;
10350 int res1 = 0 ;
50f151d7 10351 unsigned int val2 ;
1bd55598
RD
10352 int ecode2 = 0 ;
10353 int val3 ;
10354 int ecode3 = 0 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 PyObject * obj2 = 0 ;
10358 char * kwnames[] = {
10359 (char *) "self",(char *) "index",(char *) "check", NULL
10360 };
10361
10362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10364 if (!SWIG_IsOK(res1)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10366 }
10367 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10368 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 10369 if (!SWIG_IsOK(ecode2)) {
50f151d7 10370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 10371 }
50f151d7 10372 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
10373 if (obj2) {
10374 ecode3 = SWIG_AsVal_int(obj2, &val3);
10375 if (!SWIG_IsOK(ecode3)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10377 }
10378 arg3 = static_cast< int >(val3);
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->Check(arg2,arg3);
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_Py_Void();
10387 return resultobj;
10388fail:
10389 return NULL;
d55e5bfc
RD
10390}
10391
10392
1bd55598
RD
10393SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10394 PyObject *obj;
10395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10396 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10397 return SWIG_Py_Void();
d55e5bfc
RD
10398}
10399
1bd55598
RD
10400SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10401 return SWIG_Python_InitShadowInstance(args);
10402}
d55e5bfc 10403
1bd55598
RD
10404SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10405 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10406 return 1;
d55e5bfc
RD
10407}
10408
10409
1bd55598
RD
10410SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10411 PyObject *pyobj = 0;
10412
10413 {
d55e5bfc 10414#if wxUSE_UNICODE
1bd55598 10415 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10416#else
1bd55598 10417 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
d55e5bfc 10418#endif
1bd55598
RD
10419 }
10420 return pyobj;
10421}
10422
10423
10424SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = 0;
10426 wxColour const &arg1_defvalue = wxNullColour ;
10427 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10428 wxColour const &arg2_defvalue = wxNullColour ;
10429 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10430 wxFont const &arg3_defvalue = wxNullFont ;
10431 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10432 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10433 wxTextAttr *result = 0 ;
10434 wxColour temp1 ;
10435 wxColour temp2 ;
10436 void *argp3 = 0 ;
10437 int res3 = 0 ;
10438 int val4 ;
10439 int ecode4 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 PyObject * obj2 = 0 ;
10443 PyObject * obj3 = 0 ;
10444 char * kwnames[] = {
10445 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10446 };
10447
10448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10449 if (obj0) {
d55e5bfc 10450 {
1bd55598
RD
10451 arg1 = &temp1;
10452 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10453 }
1bd55598
RD
10454 }
10455 if (obj1) {
d55e5bfc 10456 {
1bd55598
RD
10457 arg2 = &temp2;
10458 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10459 }
1bd55598
RD
10460 }
10461 if (obj2) {
10462 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10463 if (!SWIG_IsOK(res3)) {
10464 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10465 }
1bd55598
RD
10466 if (!argp3) {
10467 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10468 }
1bd55598
RD
10469 arg3 = reinterpret_cast< wxFont * >(argp3);
10470 }
10471 if (obj3) {
10472 ecode4 = SWIG_AsVal_int(obj3, &val4);
10473 if (!SWIG_IsOK(ecode4)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10475 }
10476 arg4 = static_cast< wxTextAttrAlignment >(val4);
10477 }
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10485 return resultobj;
10486fail:
10487 return NULL;
d55e5bfc
RD
10488}
10489
10490
1bd55598
RD
10491SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10492 PyObject *resultobj = 0;
10493 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10494 void *argp1 = 0 ;
10495 int res1 = 0 ;
10496 PyObject *swig_obj[1] ;
10497
10498 if (!args) SWIG_fail;
10499 swig_obj[0] = args;
10500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10501 if (!SWIG_IsOK(res1)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10503 }
10504 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 delete arg1;
d55e5bfc 10508
1bd55598
RD
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 resultobj = SWIG_Py_Void();
10513 return resultobj;
10514fail:
10515 return NULL;
d55e5bfc
RD
10516}
10517
10518
1bd55598
RD
10519SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10520 PyObject *resultobj = 0;
10521 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10522 void *argp1 = 0 ;
10523 int res1 = 0 ;
10524 PyObject *swig_obj[1] ;
10525
10526 if (!args) SWIG_fail;
10527 swig_obj[0] = args;
10528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10529 if (!SWIG_IsOK(res1)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10531 }
10532 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 (arg1)->Init();
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 resultobj = SWIG_Py_Void();
10540 return resultobj;
10541fail:
10542 return NULL;
10543}
10544
10545
2131d850
RD
10546SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj = 0;
10548 wxTextAttr *arg1 = 0 ;
10549 wxTextAttr *arg2 = 0 ;
10550 wxTextAttr result;
10551 void *argp1 = 0 ;
10552 int res1 = 0 ;
10553 void *argp2 = 0 ;
10554 int res2 = 0 ;
10555 PyObject * obj0 = 0 ;
10556 PyObject * obj1 = 0 ;
10557 char * kwnames[] = {
10558 (char *) "base",(char *) "overlay", NULL
10559 };
10560
10561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10562 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10563 if (!SWIG_IsOK(res1)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10565 }
10566 if (!argp1) {
10567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10568 }
10569 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10570 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10571 if (!SWIG_IsOK(res2)) {
10572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10573 }
10574 if (!argp2) {
10575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10576 }
10577 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10585 return resultobj;
10586fail:
10587 return NULL;
10588}
10589
10590
1bd55598
RD
10591SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj = 0;
10593 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10594 wxColour *arg2 = 0 ;
10595 void *argp1 = 0 ;
10596 int res1 = 0 ;
10597 wxColour temp2 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "self",(char *) "colText", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10606 if (!SWIG_IsOK(res1)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10608 }
10609 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10610 {
10611 arg2 = &temp2;
10612 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10613 }
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 (arg1)->SetTextColour((wxColour const &)*arg2);
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = SWIG_Py_Void();
10621 return resultobj;
10622fail:
10623 return NULL;
10624}
10625
10626
10627SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj = 0;
10629 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10630 wxColour *arg2 = 0 ;
10631 void *argp1 = 0 ;
10632 int res1 = 0 ;
10633 wxColour temp2 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636 char * kwnames[] = {
10637 (char *) "self",(char *) "colBack", NULL
10638 };
10639
10640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10642 if (!SWIG_IsOK(res1)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10644 }
10645 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10646 {
10647 arg2 = &temp2;
10648 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10649 }
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = SWIG_Py_Void();
10657 return resultobj;
10658fail:
10659 return NULL;
10660}
10661
10662
10663SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj = 0;
10665 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10666 wxFont *arg2 = 0 ;
10667 long arg3 = (long) wxTEXT_ATTR_FONT ;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 void *argp2 = 0 ;
10671 int res2 = 0 ;
10672 long val3 ;
10673 int ecode3 = 0 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 PyObject * obj2 = 0 ;
10677 char * kwnames[] = {
10678 (char *) "self",(char *) "font",(char *) "flags", NULL
10679 };
10680
10681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10685 }
10686 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10687 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10688 if (!SWIG_IsOK(res2)) {
10689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10690 }
10691 if (!argp2) {
10692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10693 }
10694 arg2 = reinterpret_cast< wxFont * >(argp2);
10695 if (obj2) {
10696 ecode3 = SWIG_AsVal_long(obj2, &val3);
10697 if (!SWIG_IsOK(ecode3)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10699 }
10700 arg3 = static_cast< long >(val3);
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 resultobj = SWIG_Py_Void();
10709 return resultobj;
10710fail:
10711 return NULL;
10712}
10713
10714
10715SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj = 0;
10717 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10718 wxTextAttrAlignment arg2 ;
10719 void *argp1 = 0 ;
10720 int res1 = 0 ;
10721 int val2 ;
10722 int ecode2 = 0 ;
10723 PyObject * obj0 = 0 ;
10724 PyObject * obj1 = 0 ;
10725 char * kwnames[] = {
10726 (char *) "self",(char *) "alignment", NULL
10727 };
10728
10729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10731 if (!SWIG_IsOK(res1)) {
10732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10733 }
10734 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10735 ecode2 = SWIG_AsVal_int(obj1, &val2);
10736 if (!SWIG_IsOK(ecode2)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10738 }
10739 arg2 = static_cast< wxTextAttrAlignment >(val2);
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 (arg1)->SetAlignment(arg2);
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 resultobj = SWIG_Py_Void();
10747 return resultobj;
10748fail:
10749 return NULL;
10750}
10751
10752
10753SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10754 PyObject *resultobj = 0;
10755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10756 wxArrayInt *arg2 = 0 ;
10757 void *argp1 = 0 ;
10758 int res1 = 0 ;
10759 bool temp2 = false ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 char * kwnames[] = {
10763 (char *) "self",(char *) "tabs", NULL
10764 };
10765
10766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10768 if (!SWIG_IsOK(res1)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10770 }
10771 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10772 {
10773 if (! PySequence_Check(obj1)) {
10774 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10775 SWIG_fail;
10776 }
10777 arg2 = new wxArrayInt;
10778 temp2 = true;
10779 int i, len=PySequence_Length(obj1);
10780 for (i=0; i<len; i++) {
10781 PyObject* item = PySequence_GetItem(obj1, i);
10782 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10783 if (!number) {
10784 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10785 SWIG_fail;
10786 }
1bd55598
RD
10787 arg2->Add(PyInt_AS_LONG(number));
10788 Py_DECREF(item);
10789 Py_DECREF(number);
d55e5bfc 10790 }
1bd55598
RD
10791 }
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 resultobj = SWIG_Py_Void();
10799 {
10800 if (temp2) delete arg2;
10801 }
10802 return resultobj;
10803fail:
10804 {
10805 if (temp2) delete arg2;
10806 }
10807 return NULL;
10808}
10809
10810
10811SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj = 0;
10813 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10814 int arg2 ;
10815 int arg3 = (int) 0 ;
10816 void *argp1 = 0 ;
10817 int res1 = 0 ;
10818 int val2 ;
10819 int ecode2 = 0 ;
10820 int val3 ;
10821 int ecode3 = 0 ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 PyObject * obj2 = 0 ;
10825 char * kwnames[] = {
10826 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10827 };
10828
10829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10831 if (!SWIG_IsOK(res1)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10833 }
10834 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10835 ecode2 = SWIG_AsVal_int(obj1, &val2);
10836 if (!SWIG_IsOK(ecode2)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10838 }
10839 arg2 = static_cast< int >(val2);
10840 if (obj2) {
10841 ecode3 = SWIG_AsVal_int(obj2, &val3);
10842 if (!SWIG_IsOK(ecode3)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10844 }
10845 arg3 = static_cast< int >(val3);
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->SetLeftIndent(arg2,arg3);
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = SWIG_Py_Void();
10854 return resultobj;
10855fail:
10856 return NULL;
10857}
10858
10859
10860SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj = 0;
10862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10863 int arg2 ;
10864 void *argp1 = 0 ;
10865 int res1 = 0 ;
10866 int val2 ;
10867 int ecode2 = 0 ;
10868 PyObject * obj0 = 0 ;
10869 PyObject * obj1 = 0 ;
10870 char * kwnames[] = {
10871 (char *) "self",(char *) "indent", NULL
10872 };
10873
10874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10876 if (!SWIG_IsOK(res1)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10878 }
10879 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10880 ecode2 = SWIG_AsVal_int(obj1, &val2);
10881 if (!SWIG_IsOK(ecode2)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10883 }
10884 arg2 = static_cast< int >(val2);
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 (arg1)->SetRightIndent(arg2);
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 resultobj = SWIG_Py_Void();
10892 return resultobj;
10893fail:
10894 return NULL;
10895}
10896
10897
10898SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj = 0;
10900 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10901 long arg2 ;
10902 void *argp1 = 0 ;
10903 int res1 = 0 ;
10904 long val2 ;
10905 int ecode2 = 0 ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char * kwnames[] = {
10909 (char *) "self",(char *) "flags", NULL
10910 };
10911
10912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10914 if (!SWIG_IsOK(res1)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10916 }
10917 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10918 ecode2 = SWIG_AsVal_long(obj1, &val2);
10919 if (!SWIG_IsOK(ecode2)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10921 }
10922 arg2 = static_cast< long >(val2);
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetFlags(arg2);
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = SWIG_Py_Void();
10930 return resultobj;
10931fail:
10932 return NULL;
d55e5bfc
RD
10933}
10934
10935
1bd55598
RD
10936SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10937 PyObject *resultobj = 0;
10938 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10939 bool result;
10940 void *argp1 = 0 ;
10941 int res1 = 0 ;
10942 PyObject *swig_obj[1] ;
10943
10944 if (!args) SWIG_fail;
10945 swig_obj[0] = args;
10946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10947 if (!SWIG_IsOK(res1)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10949 }
10950 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 {
10958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10959 }
10960 return resultobj;
10961fail:
10962 return NULL;
d55e5bfc
RD
10963}
10964
10965
1bd55598
RD
10966SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10967 PyObject *resultobj = 0;
10968 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 PyObject *swig_obj[1] ;
10973
10974 if (!args) SWIG_fail;
10975 swig_obj[0] = args;
10976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10977 if (!SWIG_IsOK(res1)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10979 }
10980 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 {
10988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10989 }
10990 return resultobj;
10991fail:
10992 return NULL;
d55e5bfc
RD
10993}
10994
10995
1bd55598
RD
10996SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10997 PyObject *resultobj = 0;
10998 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10999 bool result;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 PyObject *swig_obj[1] ;
11003
11004 if (!args) SWIG_fail;
11005 swig_obj[0] = args;
11006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11009 }
11010 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11019 }
11020 return resultobj;
11021fail:
11022 return NULL;
d55e5bfc
RD
11023}
11024
11025
1bd55598
RD
11026SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027 PyObject *resultobj = 0;
11028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11029 bool result;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 PyObject *swig_obj[1] ;
11033
11034 if (!args) SWIG_fail;
11035 swig_obj[0] = args;
11036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11037 if (!SWIG_IsOK(res1)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11039 }
11040 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051fail:
11052 return NULL;
d55e5bfc
RD
11053}
11054
11055
1bd55598
RD
11056SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081fail:
11082 return NULL;
d55e5bfc
RD
11083}
11084
11085
1bd55598
RD
11086SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11087 PyObject *resultobj = 0;
11088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11089 bool result;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 PyObject *swig_obj[1] ;
11093
11094 if (!args) SWIG_fail;
11095 swig_obj[0] = args;
11096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11099 }
11100 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 }
11110 return resultobj;
11111fail:
11112 return NULL;
d55e5bfc
RD
11113}
11114
11115
1bd55598
RD
11116SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11117 PyObject *resultobj = 0;
11118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11119 bool result;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 PyObject *swig_obj[1] ;
11123
11124 if (!args) SWIG_fail;
11125 swig_obj[0] = args;
11126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 }
11130 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
11140 return resultobj;
11141fail:
11142 return NULL;
11143}
11144
11145
11146SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11149 long arg2 ;
11150 bool result;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 long val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "flag", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11165 }
11166 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11167 ecode2 = SWIG_AsVal_long(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11170 }
11171 arg2 = static_cast< long >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182fail:
11183 return NULL;
d55e5bfc
RD
11184}
11185
11186
1bd55598
RD
11187SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11188 PyObject *resultobj = 0;
11189 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11190 wxColour *result = 0 ;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 PyObject *swig_obj[1] ;
11194
11195 if (!args) SWIG_fail;
11196 swig_obj[0] = args;
11197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11200 }
11201 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11204 {
1bd55598
RD
11205 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11206 result = (wxColour *) &_result_ref;
d55e5bfc 11207 }
1bd55598
RD
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11212 return resultobj;
11213fail:
11214 return NULL;
d55e5bfc
RD
11215}
11216
11217
1bd55598
RD
11218SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11219 PyObject *resultobj = 0;
11220 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11221 wxColour *result = 0 ;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 PyObject *swig_obj[1] ;
11225
11226 if (!args) SWIG_fail;
11227 swig_obj[0] = args;
11228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11229 if (!SWIG_IsOK(res1)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11231 }
11232 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11235 {
1bd55598
RD
11236 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11237 result = (wxColour *) &_result_ref;
d55e5bfc 11238 }
1bd55598
RD
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11243 return resultobj;
11244fail:
11245 return NULL;
d55e5bfc
RD
11246}
11247
11248
1bd55598
RD
11249SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11250 PyObject *resultobj = 0;
11251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11252 wxFont *result = 0 ;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 PyObject *swig_obj[1] ;
11256
11257 if (!args) SWIG_fail;
11258 swig_obj[0] = args;
11259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11260 if (!SWIG_IsOK(res1)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11262 }
11263 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11266 {
1bd55598
RD
11267 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11268 result = (wxFont *) &_result_ref;
d55e5bfc 11269 }
1bd55598
RD
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 {
11274 wxFont* resultptr = new wxFont(*result);
11275 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11276 }
11277 return resultobj;
11278fail:
11279 return NULL;
d55e5bfc
RD
11280}
11281
11282
1bd55598
RD
11283SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11284 PyObject *resultobj = 0;
11285 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11286 wxTextAttrAlignment result;
11287 void *argp1 = 0 ;
11288 int res1 = 0 ;
11289 PyObject *swig_obj[1] ;
11290
11291 if (!args) SWIG_fail;
11292 swig_obj[0] = args;
11293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11296 }
11297 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_From_int(static_cast< int >(result));
11305 return resultobj;
11306fail:
11307 return NULL;
d55e5bfc
RD
11308}
11309
11310
1bd55598
RD
11311SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11312 PyObject *resultobj = 0;
11313 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11314 wxArrayInt *result = 0 ;
11315 void *argp1 = 0 ;
11316 int res1 = 0 ;
11317 PyObject *swig_obj[1] ;
11318
11319 if (!args) SWIG_fail;
11320 swig_obj[0] = args;
11321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11322 if (!SWIG_IsOK(res1)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11324 }
11325 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11328 {
1bd55598
RD
11329 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11330 result = (wxArrayInt *) &_result_ref;
36ed4f51 11331 }
1bd55598
RD
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
b39fe951 11336 resultobj = wxArrayInt2PyList_helper(*result);
1bd55598
RD
11337 }
11338 return resultobj;
11339fail:
11340 return NULL;
d55e5bfc
RD
11341}
11342
11343
1bd55598
RD
11344SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11345 PyObject *resultobj = 0;
11346 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11347 long result;
11348 void *argp1 = 0 ;
11349 int res1 = 0 ;
11350 PyObject *swig_obj[1] ;
11351
11352 if (!args) SWIG_fail;
11353 swig_obj[0] = args;
11354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11355 if (!SWIG_IsOK(res1)) {
11356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11357 }
11358 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = SWIG_From_long(static_cast< long >(result));
11366 return resultobj;
11367fail:
11368 return NULL;
d55e5bfc
RD
11369}
11370
11371
1bd55598
RD
11372SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11373 PyObject *resultobj = 0;
11374 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11375 long result;
11376 void *argp1 = 0 ;
11377 int res1 = 0 ;
11378 PyObject *swig_obj[1] ;
11379
11380 if (!args) SWIG_fail;
11381 swig_obj[0] = args;
11382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11383 if (!SWIG_IsOK(res1)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 }
11386 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_From_long(static_cast< long >(result));
11394 return resultobj;
11395fail:
11396 return NULL;
d55e5bfc
RD
11397}
11398
11399
1bd55598
RD
11400SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11403 long result;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 }
11414 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_From_long(static_cast< long >(result));
11422 return resultobj;
11423fail:
11424 return NULL;
d55e5bfc
RD
11425}
11426
11427
1bd55598
RD
11428SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11431 long result;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 PyObject *swig_obj[1] ;
11435
11436 if (!args) SWIG_fail;
11437 swig_obj[0] = args;
11438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 }
11442 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_From_long(static_cast< long >(result));
11450 return resultobj;
11451fail:
11452 return NULL;
d55e5bfc
RD
11453}
11454
11455
1bd55598
RD
11456SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11457 PyObject *resultobj = 0;
11458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11459 bool result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 PyObject *swig_obj[1] ;
11463
11464 if (!args) SWIG_fail;
11465 swig_obj[0] = args;
11466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11467 if (!SWIG_IsOK(res1)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 }
11470 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 {
11478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11479 }
11480 return resultobj;
11481fail:
11482 return NULL;
11483}
11484
11485
11486SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj = 0;
11488 wxTextAttr *arg1 = 0 ;
11489 wxTextAttr *arg2 = 0 ;
11490 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11491 wxTextAttr result;
11492 void *argp1 = 0 ;
11493 int res1 = 0 ;
11494 void *argp2 = 0 ;
11495 int res2 = 0 ;
11496 void *argp3 = 0 ;
11497 int res3 = 0 ;
11498 PyObject * obj0 = 0 ;
11499 PyObject * obj1 = 0 ;
11500 PyObject * obj2 = 0 ;
11501 char * kwnames[] = {
11502 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11503 };
11504
11505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11506 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11507 if (!SWIG_IsOK(res1)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11509 }
11510 if (!argp1) {
11511 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11512 }
11513 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11515 if (!SWIG_IsOK(res2)) {
11516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11517 }
11518 if (!argp2) {
11519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11520 }
11521 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11522 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11523 if (!SWIG_IsOK(res3)) {
11524 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11525 }
11526 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11534 return resultobj;
11535fail:
11536 return NULL;
11537}
11538
11539
11540SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11541 PyObject *obj;
11542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11543 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11544 return SWIG_Py_Void();
11545}
11546
11547SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11548 return SWIG_Python_InitShadowInstance(args);
11549}
11550
11551SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj = 0;
11553 wxWindow *arg1 = (wxWindow *) 0 ;
11554 int arg2 = (int) -1 ;
11555 wxString const &arg3_defvalue = wxPyEmptyString ;
11556 wxString *arg3 = (wxString *) &arg3_defvalue ;
11557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11559 wxSize const &arg5_defvalue = wxDefaultSize ;
11560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11561 long arg6 = (long) 0 ;
11562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11564 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11565 wxString *arg8 = (wxString *) &arg8_defvalue ;
11566 wxTextCtrl *result = 0 ;
11567 void *argp1 = 0 ;
11568 int res1 = 0 ;
11569 int val2 ;
11570 int ecode2 = 0 ;
11571 bool temp3 = false ;
11572 wxPoint temp4 ;
11573 wxSize temp5 ;
11574 long val6 ;
11575 int ecode6 = 0 ;
11576 void *argp7 = 0 ;
11577 int res7 = 0 ;
11578 bool temp8 = false ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 PyObject * obj2 = 0 ;
11582 PyObject * obj3 = 0 ;
11583 PyObject * obj4 = 0 ;
11584 PyObject * obj5 = 0 ;
11585 PyObject * obj6 = 0 ;
11586 PyObject * obj7 = 0 ;
11587 char * kwnames[] = {
11588 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11589 };
11590
11591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11593 if (!SWIG_IsOK(res1)) {
11594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11595 }
11596 arg1 = reinterpret_cast< wxWindow * >(argp1);
11597 if (obj1) {
11598 ecode2 = SWIG_AsVal_int(obj1, &val2);
11599 if (!SWIG_IsOK(ecode2)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11601 }
11602 arg2 = static_cast< int >(val2);
11603 }
11604 if (obj2) {
36ed4f51 11605 {
1bd55598
RD
11606 arg3 = wxString_in_helper(obj2);
11607 if (arg3 == NULL) SWIG_fail;
11608 temp3 = true;
36ed4f51 11609 }
1bd55598
RD
11610 }
11611 if (obj3) {
36ed4f51 11612 {
1bd55598
RD
11613 arg4 = &temp4;
11614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11615 }
1bd55598
RD
11616 }
11617 if (obj4) {
d55e5bfc 11618 {
1bd55598
RD
11619 arg5 = &temp5;
11620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11621 }
1bd55598
RD
11622 }
11623 if (obj5) {
11624 ecode6 = SWIG_AsVal_long(obj5, &val6);
11625 if (!SWIG_IsOK(ecode6)) {
11626 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11627 }
11628 arg6 = static_cast< long >(val6);
11629 }
11630 if (obj6) {
11631 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11632 if (!SWIG_IsOK(res7)) {
11633 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11634 }
1bd55598
RD
11635 if (!argp7) {
11636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11637 }
1bd55598
RD
11638 arg7 = reinterpret_cast< wxValidator * >(argp7);
11639 }
11640 if (obj7) {
d55e5bfc 11641 {
1bd55598
RD
11642 arg8 = wxString_in_helper(obj7);
11643 if (arg8 == NULL) SWIG_fail;
11644 temp8 = true;
d55e5bfc 11645 }
1bd55598
RD
11646 }
11647 {
11648 if (!wxPyCheckForApp()) SWIG_fail;
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11655 {
11656 if (temp3)
11657 delete arg3;
11658 }
11659 {
11660 if (temp8)
11661 delete arg8;
11662 }
11663 return resultobj;
11664fail:
11665 {
11666 if (temp3)
11667 delete arg3;
11668 }
11669 {
11670 if (temp8)
11671 delete arg8;
11672 }
11673 return NULL;
d55e5bfc
RD
11674}
11675
11676
1bd55598
RD
11677SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11678 PyObject *resultobj = 0;
11679 wxTextCtrl *result = 0 ;
11680
11681 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11682 {
11683 if (!wxPyCheckForApp()) SWIG_fail;
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 result = (wxTextCtrl *)new wxTextCtrl();
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11690 return resultobj;
11691fail:
11692 return NULL;
11693}
11694
11695
11696SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj = 0;
11698 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11699 wxWindow *arg2 = (wxWindow *) 0 ;
11700 int arg3 = (int) -1 ;
11701 wxString const &arg4_defvalue = wxPyEmptyString ;
11702 wxString *arg4 = (wxString *) &arg4_defvalue ;
11703 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11704 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11705 wxSize const &arg6_defvalue = wxDefaultSize ;
11706 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11707 long arg7 = (long) 0 ;
11708 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11709 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11710 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11711 wxString *arg9 = (wxString *) &arg9_defvalue ;
11712 bool result;
11713 void *argp1 = 0 ;
11714 int res1 = 0 ;
11715 void *argp2 = 0 ;
11716 int res2 = 0 ;
11717 int val3 ;
11718 int ecode3 = 0 ;
11719 bool temp4 = false ;
11720 wxPoint temp5 ;
11721 wxSize temp6 ;
11722 long val7 ;
11723 int ecode7 = 0 ;
11724 void *argp8 = 0 ;
11725 int res8 = 0 ;
11726 bool temp9 = false ;
11727 PyObject * obj0 = 0 ;
11728 PyObject * obj1 = 0 ;
11729 PyObject * obj2 = 0 ;
11730 PyObject * obj3 = 0 ;
11731 PyObject * obj4 = 0 ;
11732 PyObject * obj5 = 0 ;
11733 PyObject * obj6 = 0 ;
11734 PyObject * obj7 = 0 ;
11735 PyObject * obj8 = 0 ;
11736 char * kwnames[] = {
11737 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11738 };
11739
11740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11742 if (!SWIG_IsOK(res1)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11744 }
11745 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11747 if (!SWIG_IsOK(res2)) {
11748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11749 }
11750 arg2 = reinterpret_cast< wxWindow * >(argp2);
11751 if (obj2) {
11752 ecode3 = SWIG_AsVal_int(obj2, &val3);
11753 if (!SWIG_IsOK(ecode3)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11755 }
11756 arg3 = static_cast< int >(val3);
11757 }
11758 if (obj3) {
d55e5bfc 11759 {
1bd55598
RD
11760 arg4 = wxString_in_helper(obj3);
11761 if (arg4 == NULL) SWIG_fail;
11762 temp4 = true;
d55e5bfc 11763 }
1bd55598
RD
11764 }
11765 if (obj4) {
d55e5bfc 11766 {
1bd55598
RD
11767 arg5 = &temp5;
11768 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11769 }
1bd55598
RD
11770 }
11771 if (obj5) {
d55e5bfc 11772 {
1bd55598
RD
11773 arg6 = &temp6;
11774 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11775 }
1bd55598
RD
11776 }
11777 if (obj6) {
11778 ecode7 = SWIG_AsVal_long(obj6, &val7);
11779 if (!SWIG_IsOK(ecode7)) {
11780 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11781 }
11782 arg7 = static_cast< long >(val7);
11783 }
11784 if (obj7) {
11785 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11786 if (!SWIG_IsOK(res8)) {
11787 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11788 }
1bd55598
RD
11789 if (!argp8) {
11790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11791 }
11792 arg8 = reinterpret_cast< wxValidator * >(argp8);
11793 }
11794 if (obj8) {
d55e5bfc 11795 {
1bd55598
RD
11796 arg9 = wxString_in_helper(obj8);
11797 if (arg9 == NULL) SWIG_fail;
11798 temp9 = true;
d55e5bfc 11799 }
1bd55598
RD
11800 }
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 {
11808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11809 }
11810 {
11811 if (temp4)
11812 delete arg4;
11813 }
11814 {
11815 if (temp9)
11816 delete arg9;
11817 }
11818 return resultobj;
11819fail:
11820 {
11821 if (temp4)
11822 delete arg4;
11823 }
11824 {
11825 if (temp9)
11826 delete arg9;
11827 }
11828 return NULL;
d55e5bfc
RD
11829}
11830
11831
1bd55598
RD
11832SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11833 PyObject *resultobj = 0;
11834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11835 wxString result;
11836 void *argp1 = 0 ;
11837 int res1 = 0 ;
11838 PyObject *swig_obj[1] ;
11839
11840 if (!args) SWIG_fail;
11841 swig_obj[0] = args;
11842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11845 }
11846 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = ((wxTextCtrl const *)arg1)->GetValue();
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854#if wxUSE_UNICODE
11855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11856#else
11857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11858#endif
11859 }
11860 return resultobj;
11861fail:
11862 return NULL;
11863}
11864
11865
11866SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj = 0;
11868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11869 wxString *arg2 = 0 ;
11870 void *argp1 = 0 ;
11871 int res1 = 0 ;
11872 bool temp2 = false ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 char * kwnames[] = {
11876 (char *) "self",(char *) "value", NULL
11877 };
11878
11879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11881 if (!SWIG_IsOK(res1)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11883 }
11884 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11885 {
11886 arg2 = wxString_in_helper(obj1);
11887 if (arg2 == NULL) SWIG_fail;
11888 temp2 = true;
11889 }
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 (arg1)->SetValue((wxString const &)*arg2);
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = SWIG_Py_Void();
11897 {
11898 if (temp2)
11899 delete arg2;
11900 }
11901 return resultobj;
11902fail:
11903 {
11904 if (temp2)
11905 delete arg2;
11906 }
11907 return NULL;
11908}
11909
11910
b39fe951
RD
11911SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11912 PyObject *resultobj = 0;
11913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11914 bool result;
11915 void *argp1 = 0 ;
11916 int res1 = 0 ;
11917 PyObject *swig_obj[1] ;
11918
11919 if (!args) SWIG_fail;
11920 swig_obj[0] = args;
11921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11922 if (!SWIG_IsOK(res1)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11924 }
11925 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 {
11933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11934 }
11935 return resultobj;
11936fail:
11937 return NULL;
11938}
11939
11940
11941SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj = 0;
11943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11944 wxString *arg2 = 0 ;
11945 void *argp1 = 0 ;
11946 int res1 = 0 ;
11947 bool temp2 = false ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 char * kwnames[] = {
11951 (char *) "self",(char *) "value", NULL
11952 };
11953
11954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
11955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11956 if (!SWIG_IsOK(res1)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11958 }
11959 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11960 {
11961 arg2 = wxString_in_helper(obj1);
11962 if (arg2 == NULL) SWIG_fail;
11963 temp2 = true;
11964 }
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 (arg1)->ChangeValue((wxString const &)*arg2);
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 resultobj = SWIG_Py_Void();
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 return resultobj;
11977fail:
11978 {
11979 if (temp2)
11980 delete arg2;
11981 }
11982 return NULL;
11983}
11984
11985
1bd55598
RD
11986SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11989 long arg2 ;
11990 long arg3 ;
11991 wxString result;
11992 void *argp1 = 0 ;
11993 int res1 = 0 ;
11994 long val2 ;
11995 int ecode2 = 0 ;
11996 long val3 ;
11997 int ecode3 = 0 ;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 PyObject * obj2 = 0 ;
12001 char * kwnames[] = {
2131d850 12002 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
12003 };
12004
12005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12007 if (!SWIG_IsOK(res1)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12009 }
12010 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12011 ecode2 = SWIG_AsVal_long(obj1, &val2);
12012 if (!SWIG_IsOK(ecode2)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12014 }
12015 arg2 = static_cast< long >(val2);
12016 ecode3 = SWIG_AsVal_long(obj2, &val3);
12017 if (!SWIG_IsOK(ecode3)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12019 }
12020 arg3 = static_cast< long >(val3);
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 {
12028#if wxUSE_UNICODE
12029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12030#else
12031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12032#endif
12033 }
12034 return resultobj;
12035fail:
12036 return NULL;
12037}
12038
12039
12040SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12043 long arg2 ;
12044 int result;
12045 void *argp1 = 0 ;
12046 int res1 = 0 ;
12047 long val2 ;
12048 int ecode2 = 0 ;
12049 PyObject * obj0 = 0 ;
12050 PyObject * obj1 = 0 ;
12051 char * kwnames[] = {
12052 (char *) "self",(char *) "lineNo", NULL
12053 };
12054
12055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12057 if (!SWIG_IsOK(res1)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12059 }
12060 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12061 ecode2 = SWIG_AsVal_long(obj1, &val2);
12062 if (!SWIG_IsOK(ecode2)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12064 }
12065 arg2 = static_cast< long >(val2);
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 resultobj = SWIG_From_int(static_cast< int >(result));
12073 return resultobj;
12074fail:
12075 return NULL;
12076}
12077
12078
12079SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj = 0;
12081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12082 long arg2 ;
12083 wxString result;
12084 void *argp1 = 0 ;
12085 int res1 = 0 ;
12086 long val2 ;
12087 int ecode2 = 0 ;
12088 PyObject * obj0 = 0 ;
12089 PyObject * obj1 = 0 ;
12090 char * kwnames[] = {
12091 (char *) "self",(char *) "lineNo", NULL
12092 };
12093
12094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12096 if (!SWIG_IsOK(res1)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12098 }
12099 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12100 ecode2 = SWIG_AsVal_long(obj1, &val2);
12101 if (!SWIG_IsOK(ecode2)) {
12102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12103 }
12104 arg2 = static_cast< long >(val2);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 {
12112#if wxUSE_UNICODE
12113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12114#else
12115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12116#endif
12117 }
12118 return resultobj;
12119fail:
12120 return NULL;
d55e5bfc
RD
12121}
12122
12123
1bd55598
RD
12124SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12125 PyObject *resultobj = 0;
12126 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12127 int result;
12128 void *argp1 = 0 ;
12129 int res1 = 0 ;
12130 PyObject *swig_obj[1] ;
12131
12132 if (!args) SWIG_fail;
12133 swig_obj[0] = args;
12134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12135 if (!SWIG_IsOK(res1)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12137 }
12138 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = SWIG_From_int(static_cast< int >(result));
12146 return resultobj;
12147fail:
12148 return NULL;
d55e5bfc
RD
12149}
12150
12151
1bd55598
RD
12152SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12153 PyObject *resultobj = 0;
12154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12155 bool result;
12156 void *argp1 = 0 ;
12157 int res1 = 0 ;
12158 PyObject *swig_obj[1] ;
12159
12160 if (!args) SWIG_fail;
12161 swig_obj[0] = args;
12162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12163 if (!SWIG_IsOK(res1)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12165 }
12166 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 {
12174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12175 }
12176 return resultobj;
12177fail:
12178 return NULL;
d55e5bfc
RD
12179}
12180
12181
1bd55598
RD
12182SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12183 PyObject *resultobj = 0;
12184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12185 bool result;
12186 void *argp1 = 0 ;
12187 int res1 = 0 ;
12188 PyObject *swig_obj[1] ;
12189
12190 if (!args) SWIG_fail;
12191 swig_obj[0] = args;
12192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12193 if (!SWIG_IsOK(res1)) {
12194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12195 }
12196 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12205 }
12206 return resultobj;
12207fail:
12208 return NULL;
d55e5bfc
RD
12209}
12210
12211
1bd55598
RD
12212SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12213 PyObject *resultobj = 0;
12214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12215 bool result;
12216 void *argp1 = 0 ;
12217 int res1 = 0 ;
12218 PyObject *swig_obj[1] ;
12219
12220 if (!args) SWIG_fail;
12221 swig_obj[0] = args;
12222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12223 if (!SWIG_IsOK(res1)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12225 }
12226 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 {
12234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12235 }
12236 return resultobj;
12237fail:
12238 return NULL;
d55e5bfc
RD
12239}
12240
12241
1bd55598
RD
12242SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12243 PyObject *resultobj = 0;
12244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12245 bool result;
12246 void *argp1 = 0 ;
12247 int res1 = 0 ;
12248 PyObject *swig_obj[1] ;
12249
12250 if (!args) SWIG_fail;
12251 swig_obj[0] = args;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12255 }
12256 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 {
12264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12265 }
12266 return resultobj;
12267fail:
12268 return NULL;
12269}
12270
12271
12272SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 long *arg2 = (long *) 0 ;
12276 long *arg3 = (long *) 0 ;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 long temp2 ;
12280 int res2 = SWIG_TMPOBJ ;
12281 long temp3 ;
12282 int res3 = SWIG_TMPOBJ ;
12283 PyObject *swig_obj[1] ;
12284
12285 arg2 = &temp2;
12286 arg3 = &temp3;
12287 if (!args) SWIG_fail;
12288 swig_obj[0] = args;
12289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12290 if (!SWIG_IsOK(res1)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12292 }
12293 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_Py_Void();
12301 if (SWIG_IsTmpObj(res2)) {
12302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12303 } else {
12304 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12306 }
12307 if (SWIG_IsTmpObj(res3)) {
12308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12309 } else {
12310 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12311 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12312 }
12313 return resultobj;
12314fail:
12315 return NULL;
d55e5bfc
RD
12316}
12317
12318
1bd55598
RD
12319SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12320 PyObject *resultobj = 0;
12321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12322 wxString result;
12323 void *argp1 = 0 ;
12324 int res1 = 0 ;
12325 PyObject *swig_obj[1] ;
12326
12327 if (!args) SWIG_fail;
12328 swig_obj[0] = args;
12329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12330 if (!SWIG_IsOK(res1)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12332 }
12333 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
d55e5bfc 12341#if wxUSE_UNICODE
1bd55598 12342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 12343#else
1bd55598 12344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 12345#endif
1bd55598
RD
12346 }
12347 return resultobj;
12348fail:
12349 return NULL;
d55e5bfc
RD
12350}
12351
12352
1bd55598
RD
12353SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12354 PyObject *resultobj = 0;
12355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12356 void *argp1 = 0 ;
12357 int res1 = 0 ;
12358 PyObject *swig_obj[1] ;
12359
12360 if (!args) SWIG_fail;
12361 swig_obj[0] = args;
12362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12363 if (!SWIG_IsOK(res1)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12365 }
12366 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 (arg1)->Clear();
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_Py_Void();
12374 return resultobj;
12375fail:
12376 return NULL;
12377}
12378
12379
12380SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj = 0;
12382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12383 long arg2 ;
12384 long arg3 ;
12385 wxString *arg4 = 0 ;
12386 void *argp1 = 0 ;
12387 int res1 = 0 ;
12388 long val2 ;
12389 int ecode2 = 0 ;
12390 long val3 ;
12391 int ecode3 = 0 ;
12392 bool temp4 = false ;
12393 PyObject * obj0 = 0 ;
12394 PyObject * obj1 = 0 ;
12395 PyObject * obj2 = 0 ;
12396 PyObject * obj3 = 0 ;
12397 char * kwnames[] = {
2131d850 12398 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
1bd55598
RD
12399 };
12400
12401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12403 if (!SWIG_IsOK(res1)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12405 }
12406 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12407 ecode2 = SWIG_AsVal_long(obj1, &val2);
12408 if (!SWIG_IsOK(ecode2)) {
12409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12410 }
12411 arg2 = static_cast< long >(val2);
12412 ecode3 = SWIG_AsVal_long(obj2, &val3);
12413 if (!SWIG_IsOK(ecode3)) {
12414 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12415 }
12416 arg3 = static_cast< long >(val3);
12417 {
12418 arg4 = wxString_in_helper(obj3);
12419 if (arg4 == NULL) SWIG_fail;
12420 temp4 = true;
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_Py_Void();
12429 {
12430 if (temp4)
12431 delete arg4;
12432 }
12433 return resultobj;
12434fail:
12435 {
12436 if (temp4)
12437 delete arg4;
12438 }
12439 return NULL;
12440}
12441
12442
12443SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = 0;
12445 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12446 long arg2 ;
12447 long arg3 ;
12448 void *argp1 = 0 ;
12449 int res1 = 0 ;
12450 long val2 ;
12451 int ecode2 = 0 ;
12452 long val3 ;
12453 int ecode3 = 0 ;
12454 PyObject * obj0 = 0 ;
12455 PyObject * obj1 = 0 ;
12456 PyObject * obj2 = 0 ;
12457 char * kwnames[] = {
2131d850 12458 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
12459 };
12460
12461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12463 if (!SWIG_IsOK(res1)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12465 }
12466 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12467 ecode2 = SWIG_AsVal_long(obj1, &val2);
12468 if (!SWIG_IsOK(ecode2)) {
12469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12470 }
12471 arg2 = static_cast< long >(val2);
12472 ecode3 = SWIG_AsVal_long(obj2, &val3);
12473 if (!SWIG_IsOK(ecode3)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12475 }
12476 arg3 = static_cast< long >(val3);
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 (arg1)->Remove(arg2,arg3);
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = SWIG_Py_Void();
12484 return resultobj;
12485fail:
12486 return NULL;
12487}
12488
12489
12490SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj = 0;
12492 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12493 wxString *arg2 = 0 ;
f5263701 12494 int arg3 = (int) wxTEXT_TYPE_ANY ;
1bd55598
RD
12495 bool result;
12496 void *argp1 = 0 ;
12497 int res1 = 0 ;
12498 bool temp2 = false ;
f5263701
RD
12499 int val3 ;
12500 int ecode3 = 0 ;
1bd55598
RD
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
f5263701 12503 PyObject * obj2 = 0 ;
1bd55598 12504 char * kwnames[] = {
f5263701 12505 (char *) "self",(char *) "file",(char *) "fileType", NULL
1bd55598
RD
12506 };
12507
f5263701 12508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
1bd55598
RD
12509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12510 if (!SWIG_IsOK(res1)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12512 }
12513 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12514 {
12515 arg2 = wxString_in_helper(obj1);
12516 if (arg2 == NULL) SWIG_fail;
12517 temp2 = true;
12518 }
f5263701
RD
12519 if (obj2) {
12520 ecode3 = SWIG_AsVal_int(obj2, &val3);
12521 if (!SWIG_IsOK(ecode3)) {
12522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12523 }
12524 arg3 = static_cast< int >(val3);
12525 }
1bd55598
RD
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12528 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
1bd55598
RD
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 {
12533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12534 }
12535 {
12536 if (temp2)
12537 delete arg2;
12538 }
12539 return resultobj;
12540fail:
12541 {
12542 if (temp2)
12543 delete arg2;
12544 }
12545 return NULL;
12546}
12547
12548
12549SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj = 0;
12551 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12552 wxString const &arg2_defvalue = wxPyEmptyString ;
12553 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12554 int arg3 = (int) wxTEXT_TYPE_ANY ;
1bd55598
RD
12555 bool result;
12556 void *argp1 = 0 ;
12557 int res1 = 0 ;
12558 bool temp2 = false ;
f5263701
RD
12559 int val3 ;
12560 int ecode3 = 0 ;
1bd55598
RD
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
f5263701 12563 PyObject * obj2 = 0 ;
1bd55598 12564 char * kwnames[] = {
f5263701 12565 (char *) "self",(char *) "file",(char *) "fileType", NULL
1bd55598
RD
12566 };
12567
f5263701 12568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
1bd55598
RD
12569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12570 if (!SWIG_IsOK(res1)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12572 }
12573 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12574 if (obj1) {
d55e5bfc 12575 {
1bd55598
RD
12576 arg2 = wxString_in_helper(obj1);
12577 if (arg2 == NULL) SWIG_fail;
12578 temp2 = true;
d55e5bfc 12579 }
1bd55598 12580 }
f5263701
RD
12581 if (obj2) {
12582 ecode3 = SWIG_AsVal_int(obj2, &val3);
12583 if (!SWIG_IsOK(ecode3)) {
12584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12585 }
12586 arg3 = static_cast< int >(val3);
12587 }
1bd55598
RD
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12590 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
1bd55598
RD
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 {
12595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12596 }
12597 {
12598 if (temp2)
12599 delete arg2;
12600 }
12601 return resultobj;
12602fail:
12603 {
12604 if (temp2)
12605 delete arg2;
12606 }
12607 return NULL;
d55e5bfc
RD
12608}
12609
12610
1bd55598
RD
12611SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12612 PyObject *resultobj = 0;
12613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12614 void *argp1 = 0 ;
12615 int res1 = 0 ;
12616 PyObject *swig_obj[1] ;
12617
12618 if (!args) SWIG_fail;
12619 swig_obj[0] = args;
12620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12621 if (!SWIG_IsOK(res1)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12623 }
12624 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 (arg1)->MarkDirty();
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 resultobj = SWIG_Py_Void();
12632 return resultobj;
12633fail:
12634 return NULL;
d55e5bfc
RD
12635}
12636
12637
1bd55598
RD
12638SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12639 PyObject *resultobj = 0;
12640 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12641 void *argp1 = 0 ;
12642 int res1 = 0 ;
12643 PyObject *swig_obj[1] ;
12644
12645 if (!args) SWIG_fail;
12646 swig_obj[0] = args;
12647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12648 if (!SWIG_IsOK(res1)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 }
12651 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->DiscardEdits();
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 resultobj = SWIG_Py_Void();
12659 return resultobj;
12660fail:
12661 return NULL;
12662}
12663
12664
b02396e8
RD
12665SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj = 0;
12667 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12668 bool arg2 ;
12669 void *argp1 = 0 ;
12670 int res1 = 0 ;
12671 bool val2 ;
12672 int ecode2 = 0 ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 char * kwnames[] = {
12676 (char *) "self",(char *) "modified", NULL
12677 };
12678
12679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12681 if (!SWIG_IsOK(res1)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12683 }
12684 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12686 if (!SWIG_IsOK(ecode2)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12688 }
12689 arg2 = static_cast< bool >(val2);
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 (arg1)->SetModified(arg2);
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 resultobj = SWIG_Py_Void();
12697 return resultobj;
12698fail:
12699 return NULL;
12700}
12701
12702
1bd55598
RD
12703SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12704 PyObject *resultobj = 0;
12705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12706 unsigned long arg2 ;
12707 void *argp1 = 0 ;
12708 int res1 = 0 ;
12709 unsigned long val2 ;
12710 int ecode2 = 0 ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 char * kwnames[] = {
12714 (char *) "self",(char *) "len", NULL
12715 };
12716
12717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12719 if (!SWIG_IsOK(res1)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 }
12722 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12723 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12724 if (!SWIG_IsOK(ecode2)) {
12725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12726 }
12727 arg2 = static_cast< unsigned long >(val2);
12728 {
12729 PyThreadState* __tstate = wxPyBeginAllowThreads();
12730 (arg1)->SetMaxLength(arg2);
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 resultobj = SWIG_Py_Void();
12735 return resultobj;
12736fail:
12737 return NULL;
12738}
12739
12740
12741SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj = 0;
12743 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12744 wxString *arg2 = 0 ;
12745 void *argp1 = 0 ;
12746 int res1 = 0 ;
12747 bool temp2 = false ;
12748 PyObject * obj0 = 0 ;
12749 PyObject * obj1 = 0 ;
12750 char * kwnames[] = {
12751 (char *) "self",(char *) "text", NULL
12752 };
12753
12754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12756 if (!SWIG_IsOK(res1)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12758 }
12759 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12760 {
12761 arg2 = wxString_in_helper(obj1);
12762 if (arg2 == NULL) SWIG_fail;
12763 temp2 = true;
12764 }
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 (arg1)->WriteText((wxString const &)*arg2);
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 resultobj = SWIG_Py_Void();
12772 {
12773 if (temp2)
12774 delete arg2;
12775 }
12776 return resultobj;
12777fail:
12778 {
12779 if (temp2)
12780 delete arg2;
12781 }
12782 return NULL;
d55e5bfc
RD
12783}
12784
12785
1bd55598
RD
12786SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj = 0;
12788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12789 wxString *arg2 = 0 ;
12790 void *argp1 = 0 ;
12791 int res1 = 0 ;
12792 bool temp2 = false ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char * kwnames[] = {
12796 (char *) "self",(char *) "text", NULL
12797 };
12798
12799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12801 if (!SWIG_IsOK(res1)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12803 }
12804 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12805 {
12806 arg2 = wxString_in_helper(obj1);
12807 if (arg2 == NULL) SWIG_fail;
12808 temp2 = true;
12809 }
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->AppendText((wxString const &)*arg2);
12813 wxPyEndAllowThreads(__tstate);
12814 if (PyErr_Occurred()) SWIG_fail;
12815 }
12816 resultobj = SWIG_Py_Void();
12817 {
12818 if (temp2)
12819 delete arg2;
12820 }
12821 return resultobj;
12822fail:
12823 {
12824 if (temp2)
12825 delete arg2;
12826 }
12827 return NULL;
12828}
12829
12830
12831SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj = 0;
12833 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12834 wxKeyEvent *arg2 = 0 ;
12835 bool result;
12836 void *argp1 = 0 ;
12837 int res1 = 0 ;
12838 void *argp2 = 0 ;
12839 int res2 = 0 ;
12840 PyObject * obj0 = 0 ;
12841 PyObject * obj1 = 0 ;
12842 char * kwnames[] = {
12843 (char *) "self",(char *) "event", NULL
12844 };
12845
12846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12848 if (!SWIG_IsOK(res1)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12850 }
12851 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12852 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12853 if (!SWIG_IsOK(res2)) {
12854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12855 }
12856 if (!argp2) {
12857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12858 }
12859 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 {
12867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12868 }
12869 return resultobj;
12870fail:
12871 return NULL;
12872}
12873
12874
12875SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12876 PyObject *resultobj = 0;
12877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12878 long arg2 ;
12879 long arg3 ;
12880 wxTextAttr *arg4 = 0 ;
12881 bool result;
12882 void *argp1 = 0 ;
12883 int res1 = 0 ;
12884 long val2 ;
12885 int ecode2 = 0 ;
12886 long val3 ;
12887 int ecode3 = 0 ;
12888 void *argp4 = 0 ;
12889 int res4 = 0 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 PyObject * obj2 = 0 ;
12893 PyObject * obj3 = 0 ;
12894 char * kwnames[] = {
12895 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12896 };
12897
12898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12902 }
12903 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12904 ecode2 = SWIG_AsVal_long(obj1, &val2);
12905 if (!SWIG_IsOK(ecode2)) {
12906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12907 }
12908 arg2 = static_cast< long >(val2);
12909 ecode3 = SWIG_AsVal_long(obj2, &val3);
12910 if (!SWIG_IsOK(ecode3)) {
12911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12912 }
12913 arg3 = static_cast< long >(val3);
12914 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12915 if (!SWIG_IsOK(res4)) {
12916 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12917 }
12918 if (!argp4) {
12919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12920 }
12921 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 {
12929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12930 }
12931 return resultobj;
12932fail:
12933 return NULL;
12934}
12935
12936
12937SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj = 0;
12939 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12940 long arg2 ;
12941 wxTextAttr *arg3 = 0 ;
12942 bool result;
12943 void *argp1 = 0 ;
12944 int res1 = 0 ;
12945 long val2 ;
12946 int ecode2 = 0 ;
12947 void *argp3 = 0 ;
12948 int res3 = 0 ;
12949 PyObject * obj0 = 0 ;
12950 PyObject * obj1 = 0 ;
12951 PyObject * obj2 = 0 ;
12952 char * kwnames[] = {
12953 (char *) "self",(char *) "position",(char *) "style", NULL
12954 };
12955
12956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12958 if (!SWIG_IsOK(res1)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12960 }
12961 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12962 ecode2 = SWIG_AsVal_long(obj1, &val2);
12963 if (!SWIG_IsOK(ecode2)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12965 }
12966 arg2 = static_cast< long >(val2);
12967 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12968 if (!SWIG_IsOK(res3)) {
12969 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12970 }
12971 if (!argp3) {
12972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12973 }
12974 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 {
12982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12983 }
12984 return resultobj;
12985fail:
12986 return NULL;
12987}
12988
12989
12990SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj = 0;
12992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12993 wxTextAttr *arg2 = 0 ;
12994 bool result;
12995 void *argp1 = 0 ;
12996 int res1 = 0 ;
12997 void *argp2 = 0 ;
12998 int res2 = 0 ;
12999 PyObject * obj0 = 0 ;
13000 PyObject * obj1 = 0 ;
13001 char * kwnames[] = {
13002 (char *) "self",(char *) "style", NULL
13003 };
13004
13005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13007 if (!SWIG_IsOK(res1)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13009 }
13010 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13012 if (!SWIG_IsOK(res2)) {
13013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13014 }
13015 if (!argp2) {
13016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13017 }
13018 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 {
13026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13027 }
13028 return resultobj;
13029fail:
13030 return NULL;
d55e5bfc
RD
13031}
13032
13033
1bd55598
RD
13034SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13035 PyObject *resultobj = 0;
13036 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13037 wxTextAttr *result = 0 ;
13038 void *argp1 = 0 ;
13039 int res1 = 0 ;
13040 PyObject *swig_obj[1] ;
13041
13042 if (!args) SWIG_fail;
13043 swig_obj[0] = args;
13044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13045 if (!SWIG_IsOK(res1)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13047 }
13048 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 13051 {
1bd55598
RD
13052 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13053 result = (wxTextAttr *) &_result_ref;
d55e5bfc 13054 }
1bd55598
RD
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13059 return resultobj;
13060fail:
13061 return NULL;
13062}
13063
13064
13065SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj = 0;
13067 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13068 long arg2 ;
13069 long arg3 ;
13070 long result;
13071 void *argp1 = 0 ;
13072 int res1 = 0 ;
13073 long val2 ;
13074 int ecode2 = 0 ;
13075 long val3 ;
13076 int ecode3 = 0 ;
13077 PyObject * obj0 = 0 ;
13078 PyObject * obj1 = 0 ;
13079 PyObject * obj2 = 0 ;
13080 char * kwnames[] = {
13081 (char *) "self",(char *) "x",(char *) "y", NULL
13082 };
13083
13084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13086 if (!SWIG_IsOK(res1)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13088 }
13089 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13090 ecode2 = SWIG_AsVal_long(obj1, &val2);
13091 if (!SWIG_IsOK(ecode2)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13093 }
13094 arg2 = static_cast< long >(val2);
13095 ecode3 = SWIG_AsVal_long(obj2, &val3);
13096 if (!SWIG_IsOK(ecode3)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13098 }
13099 arg3 = static_cast< long >(val3);
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
13102 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 resultobj = SWIG_From_long(static_cast< long >(result));
13107 return resultobj;
13108fail:
13109 return NULL;
13110}
13111
13112
13113SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj = 0;
13115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13116 long arg2 ;
13117 long *arg3 = (long *) 0 ;
13118 long *arg4 = (long *) 0 ;
13119 void *argp1 = 0 ;
13120 int res1 = 0 ;
13121 long val2 ;
13122 int ecode2 = 0 ;
13123 long temp3 ;
13124 int res3 = SWIG_TMPOBJ ;
13125 long temp4 ;
13126 int res4 = SWIG_TMPOBJ ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 char * kwnames[] = {
13130 (char *) "self",(char *) "pos", NULL
13131 };
13132
13133 arg3 = &temp3;
13134 arg4 = &temp4;
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13139 }
13140 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13141 ecode2 = SWIG_AsVal_long(obj1, &val2);
13142 if (!SWIG_IsOK(ecode2)) {
13143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13144 }
13145 arg2 = static_cast< long >(val2);
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 resultobj = SWIG_Py_Void();
13153 if (SWIG_IsTmpObj(res3)) {
13154 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13155 } else {
13156 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13157 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13158 }
13159 if (SWIG_IsTmpObj(res4)) {
13160 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13161 } else {
13162 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13163 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13164 }
13165 return resultobj;
13166fail:
13167 return NULL;
13168}
13169
13170
13171SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj = 0;
13173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13174 long arg2 ;
13175 void *argp1 = 0 ;
13176 int res1 = 0 ;
13177 long val2 ;
13178 int ecode2 = 0 ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char * kwnames[] = {
13182 (char *) "self",(char *) "pos", NULL
13183 };
13184
13185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13187 if (!SWIG_IsOK(res1)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13189 }
13190 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13191 ecode2 = SWIG_AsVal_long(obj1, &val2);
13192 if (!SWIG_IsOK(ecode2)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13194 }
13195 arg2 = static_cast< long >(val2);
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->ShowPosition(arg2);
13199 wxPyEndAllowThreads(__tstate);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 resultobj = SWIG_Py_Void();
13203 return resultobj;
13204fail:
13205 return NULL;
13206}
13207
13208
13209SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13210 PyObject *resultobj = 0;
13211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13212 wxPoint *arg2 = 0 ;
13213 long *arg3 = (long *) 0 ;
13214 long *arg4 = (long *) 0 ;
13215 wxTextCtrlHitTestResult result;
13216 void *argp1 = 0 ;
13217 int res1 = 0 ;
13218 wxPoint temp2 ;
13219 long temp3 ;
13220 int res3 = SWIG_TMPOBJ ;
13221 long temp4 ;
13222 int res4 = SWIG_TMPOBJ ;
13223 PyObject * obj0 = 0 ;
13224 PyObject * obj1 = 0 ;
13225 char * kwnames[] = {
13226 (char *) "self",(char *) "pt", NULL
13227 };
13228
13229 arg3 = &temp3;
13230 arg4 = &temp4;
13231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13233 if (!SWIG_IsOK(res1)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13235 }
13236 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13237 {
13238 arg2 = &temp2;
13239 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13240 }
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 resultobj = SWIG_From_int(static_cast< int >(result));
13248 if (SWIG_IsTmpObj(res3)) {
13249 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13250 } else {
13251 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13253 }
13254 if (SWIG_IsTmpObj(res4)) {
13255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13256 } else {
13257 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13259 }
13260 return resultobj;
13261fail:
13262 return NULL;
13263}
13264
13265
13266SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj = 0;
13268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13269 wxPoint *arg2 = 0 ;
13270 long *arg3 = (long *) 0 ;
13271 wxTextCtrlHitTestResult result;
13272 void *argp1 = 0 ;
13273 int res1 = 0 ;
13274 wxPoint temp2 ;
13275 long temp3 ;
13276 int res3 = SWIG_TMPOBJ ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char * kwnames[] = {
13280 (char *) "self",(char *) "pt", NULL
13281 };
13282
13283 arg3 = &temp3;
13284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13286 if (!SWIG_IsOK(res1)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13288 }
13289 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13290 {
13291 arg2 = &temp2;
13292 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13293 }
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13297 wxPyEndAllowThreads(__tstate);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
13300 resultobj = SWIG_From_int(static_cast< int >(result));
13301 if (SWIG_IsTmpObj(res3)) {
13302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13303 } else {
13304 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13306 }
13307 return resultobj;
13308fail:
13309 return NULL;
d55e5bfc
RD
13310}
13311
13312
1bd55598
RD
13313SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13314 PyObject *resultobj = 0;
13315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13316 void *argp1 = 0 ;
13317 int res1 = 0 ;
13318 PyObject *swig_obj[1] ;
13319
13320 if (!args) SWIG_fail;
13321 swig_obj[0] = args;
13322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13323 if (!SWIG_IsOK(res1)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13325 }
13326 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 (arg1)->Copy();
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 resultobj = SWIG_Py_Void();
13334 return resultobj;
13335fail:
13336 return NULL;
d55e5bfc
RD
13337}
13338
13339
1bd55598
RD
13340SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13341 PyObject *resultobj = 0;
13342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13343 void *argp1 = 0 ;
13344 int res1 = 0 ;
13345 PyObject *swig_obj[1] ;
13346
13347 if (!args) SWIG_fail;
13348 swig_obj[0] = args;
13349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13350 if (!SWIG_IsOK(res1)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13352 }
13353 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 (arg1)->Cut();
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_Py_Void();
13361 return resultobj;
13362fail:
13363 return NULL;
d55e5bfc
RD
13364}
13365
13366
1bd55598
RD
13367SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13368 PyObject *resultobj = 0;
13369 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13370 void *argp1 = 0 ;
13371 int res1 = 0 ;
13372 PyObject *swig_obj[1] ;
13373
13374 if (!args) SWIG_fail;
13375 swig_obj[0] = args;
13376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13377 if (!SWIG_IsOK(res1)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13379 }
13380 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->Paste();
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 resultobj = SWIG_Py_Void();
13388 return resultobj;
13389fail:
13390 return NULL;
d55e5bfc
RD
13391}
13392
13393
1bd55598
RD
13394SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13395 PyObject *resultobj = 0;
13396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13397 bool result;
13398 void *argp1 = 0 ;
13399 int res1 = 0 ;
13400 PyObject *swig_obj[1] ;
13401
13402 if (!args) SWIG_fail;
13403 swig_obj[0] = args;
13404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13405 if (!SWIG_IsOK(res1)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13407 }
13408 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 {
13416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13417 }
13418 return resultobj;
13419fail:
13420 return NULL;
d55e5bfc
RD
13421}
13422
13423
1bd55598
RD
13424SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13425 PyObject *resultobj = 0;
13426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13427 bool result;
13428 void *argp1 = 0 ;
13429 int res1 = 0 ;
13430 PyObject *swig_obj[1] ;
13431
13432 if (!args) SWIG_fail;
13433 swig_obj[0] = args;
13434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13437 }
13438 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13447 }
13448 return resultobj;
13449fail:
13450 return NULL;
d55e5bfc
RD
13451}
13452
13453
1bd55598
RD
13454SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *resultobj = 0;
13456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13457 bool result;
13458 void *argp1 = 0 ;
13459 int res1 = 0 ;
13460 PyObject *swig_obj[1] ;
13461
13462 if (!args) SWIG_fail;
13463 swig_obj[0] = args;
13464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13465 if (!SWIG_IsOK(res1)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13467 }
13468 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13477 }
13478 return resultobj;
13479fail:
13480 return NULL;
d55e5bfc
RD
13481}
13482
13483
1bd55598
RD
13484SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13487 void *argp1 = 0 ;
13488 int res1 = 0 ;
13489 PyObject *swig_obj[1] ;
13490
13491 if (!args) SWIG_fail;
13492 swig_obj[0] = args;
13493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13496 }
13497 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->Undo();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_Py_Void();
13505 return resultobj;
13506fail:
13507 return NULL;
d55e5bfc
RD
13508}
13509
13510
1bd55598
RD
13511SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *resultobj = 0;
13513 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13514 void *argp1 = 0 ;
13515 int res1 = 0 ;
13516 PyObject *swig_obj[1] ;
13517
13518 if (!args) SWIG_fail;
13519 swig_obj[0] = args;
13520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13521 if (!SWIG_IsOK(res1)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 }
13524 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->Redo();
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 return resultobj;
13533fail:
13534 return NULL;
d55e5bfc
RD
13535}
13536
13537
1bd55598
RD
13538SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13539 PyObject *resultobj = 0;
13540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13541 bool result;
13542 void *argp1 = 0 ;
13543 int res1 = 0 ;
13544 PyObject *swig_obj[1] ;
13545
13546 if (!args) SWIG_fail;
13547 swig_obj[0] = args;
13548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13549 if (!SWIG_IsOK(res1)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13551 }
13552 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 {
13560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13561 }
13562 return resultobj;
13563fail:
13564 return NULL;
d55e5bfc
RD
13565}
13566
13567
1bd55598
RD
13568SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13569 PyObject *resultobj = 0;
13570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13571 bool result;
13572 void *argp1 = 0 ;
13573 int res1 = 0 ;
13574 PyObject *swig_obj[1] ;
13575
13576 if (!args) SWIG_fail;
13577 swig_obj[0] = args;
13578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13579 if (!SWIG_IsOK(res1)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13581 }
13582 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13591 }
13592 return resultobj;
13593fail:
13594 return NULL;
13595}
13596
13597
13598SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj = 0;
13600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13601 long arg2 ;
13602 void *argp1 = 0 ;
13603 int res1 = 0 ;
13604 long val2 ;
13605 int ecode2 = 0 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char * kwnames[] = {
13609 (char *) "self",(char *) "pos", NULL
13610 };
13611
13612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13614 if (!SWIG_IsOK(res1)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13616 }
13617 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13618 ecode2 = SWIG_AsVal_long(obj1, &val2);
13619 if (!SWIG_IsOK(ecode2)) {
13620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13621 }
13622 arg2 = static_cast< long >(val2);
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 (arg1)->SetInsertionPoint(arg2);
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 resultobj = SWIG_Py_Void();
13630 return resultobj;
13631fail:
13632 return NULL;
d55e5bfc
RD
13633}
13634
13635
1bd55598
RD
13636SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13637 PyObject *resultobj = 0;
13638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13639 void *argp1 = 0 ;
13640 int res1 = 0 ;
13641 PyObject *swig_obj[1] ;
13642
13643 if (!args) SWIG_fail;
13644 swig_obj[0] = args;
13645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13646 if (!SWIG_IsOK(res1)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13648 }
13649 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 (arg1)->SetInsertionPointEnd();
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = SWIG_Py_Void();
13657 return resultobj;
13658fail:
13659 return NULL;
d55e5bfc
RD
13660}
13661
13662
1bd55598
RD
13663SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13664 PyObject *resultobj = 0;
13665 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13666 long result;
13667 void *argp1 = 0 ;
13668 int res1 = 0 ;
13669 PyObject *swig_obj[1] ;
13670
13671 if (!args) SWIG_fail;
13672 swig_obj[0] = args;
13673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13674 if (!SWIG_IsOK(res1)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13676 }
13677 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 resultobj = SWIG_From_long(static_cast< long >(result));
13685 return resultobj;
13686fail:
13687 return NULL;
d55e5bfc
RD
13688}
13689
13690
1bd55598
RD
13691SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13692 PyObject *resultobj = 0;
13693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13694 long result;
13695 void *argp1 = 0 ;
13696 int res1 = 0 ;
13697 PyObject *swig_obj[1] ;
13698
13699 if (!args) SWIG_fail;
13700 swig_obj[0] = args;
13701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13702 if (!SWIG_IsOK(res1)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13704 }
13705 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13706 {
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 resultobj = SWIG_From_long(static_cast< long >(result));
13713 return resultobj;
13714fail:
13715 return NULL;
13716}
13717
13718
13719SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj = 0;
13721 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13722 long arg2 ;
13723 long arg3 ;
13724 void *argp1 = 0 ;
13725 int res1 = 0 ;
13726 long val2 ;
13727 int ecode2 = 0 ;
13728 long val3 ;
13729 int ecode3 = 0 ;
13730 PyObject * obj0 = 0 ;
13731 PyObject * obj1 = 0 ;
13732 PyObject * obj2 = 0 ;
13733 char * kwnames[] = {
2131d850 13734 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13735 };
13736
13737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13739 if (!SWIG_IsOK(res1)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13741 }
13742 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13743 ecode2 = SWIG_AsVal_long(obj1, &val2);
13744 if (!SWIG_IsOK(ecode2)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13746 }
13747 arg2 = static_cast< long >(val2);
13748 ecode3 = SWIG_AsVal_long(obj2, &val3);
13749 if (!SWIG_IsOK(ecode3)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13751 }
13752 arg3 = static_cast< long >(val3);
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 (arg1)->SetSelection(arg2,arg3);
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 resultobj = SWIG_Py_Void();
13760 return resultobj;
13761fail:
13762 return NULL;
d55e5bfc
RD
13763}
13764
13765
1bd55598
RD
13766SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13767 PyObject *resultobj = 0;
13768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13769 void *argp1 = 0 ;
13770 int res1 = 0 ;
13771 PyObject *swig_obj[1] ;
13772
13773 if (!args) SWIG_fail;
13774 swig_obj[0] = args;
13775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13776 if (!SWIG_IsOK(res1)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13778 }
13779 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->SelectAll();
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 resultobj = SWIG_Py_Void();
13787 return resultobj;
13788fail:
13789 return NULL;
13790}
13791
13792
13793SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj = 0;
13795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13796 bool arg2 ;
13797 void *argp1 = 0 ;
13798 int res1 = 0 ;
13799 bool val2 ;
13800 int ecode2 = 0 ;
13801 PyObject * obj0 = 0 ;
13802 PyObject * obj1 = 0 ;
13803 char * kwnames[] = {
13804 (char *) "self",(char *) "editable", NULL
13805 };
13806
13807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13809 if (!SWIG_IsOK(res1)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13811 }
13812 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13813 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13814 if (!SWIG_IsOK(ecode2)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13816 }
13817 arg2 = static_cast< bool >(val2);
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 (arg1)->SetEditable(arg2);
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = SWIG_Py_Void();
13825 return resultobj;
13826fail:
13827 return NULL;
13828}
13829
13830
d7645bfd
VZ
13831SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj = 0;
13833 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13834 bool arg2 ;
13835 void *argp1 = 0 ;
13836 int res1 = 0 ;
13837 bool val2 ;
13838 int ecode2 = 0 ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 char * kwnames[] = {
13842 (char *) "self",(char *) "check", NULL
13843 };
13844
13845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13847 if (!SWIG_IsOK(res1)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13849 }
13850 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13851 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13852 if (!SWIG_IsOK(ecode2)) {
13853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13854 }
13855 arg2 = static_cast< bool >(val2);
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->MacCheckSpelling(arg2);
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 resultobj = SWIG_Py_Void();
13863 return resultobj;
13864fail:
13865 return NULL;
13866}
13867
13868
b39fe951
RD
13869SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13870 PyObject *resultobj = 0;
13871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13872 void *argp1 = 0 ;
13873 int res1 = 0 ;
13874 PyObject *swig_obj[1] ;
13875
13876 if (!args) SWIG_fail;
13877 swig_obj[0] = args;
13878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13879 if (!SWIG_IsOK(res1)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13881 }
13882 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 (arg1)->SendTextUpdatedEvent();
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = SWIG_Py_Void();
13890 return resultobj;
13891fail:
13892 return NULL;
13893}
13894
13895
1bd55598
RD
13896SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj = 0;
13898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13899 wxString *arg2 = 0 ;
13900 void *argp1 = 0 ;
13901 int res1 = 0 ;
13902 bool temp2 = false ;
13903 PyObject * obj0 = 0 ;
13904 PyObject * obj1 = 0 ;
13905 char * kwnames[] = {
13906 (char *) "self",(char *) "text", NULL
13907 };
13908
13909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13911 if (!SWIG_IsOK(res1)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13913 }
13914 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13915 {
13916 arg2 = wxString_in_helper(obj1);
13917 if (arg2 == NULL) SWIG_fail;
13918 temp2 = true;
13919 }
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = SWIG_Py_Void();
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return resultobj;
13932fail:
13933 {
13934 if (temp2)
13935 delete arg2;
13936 }
13937 return NULL;
13938}
13939
13940
13941SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj = 0;
13943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13944 long arg2 ;
13945 long arg3 ;
13946 wxString result;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 long val2 ;
13950 int ecode2 = 0 ;
13951 long val3 ;
13952 int ecode3 = 0 ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj1 = 0 ;
13955 PyObject * obj2 = 0 ;
13956 char * kwnames[] = {
2131d850 13957 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13958 };
13959
13960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13962 if (!SWIG_IsOK(res1)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13964 }
13965 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13966 ecode2 = SWIG_AsVal_long(obj1, &val2);
13967 if (!SWIG_IsOK(ecode2)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13969 }
13970 arg2 = static_cast< long >(val2);
13971 ecode3 = SWIG_AsVal_long(obj2, &val3);
13972 if (!SWIG_IsOK(ecode3)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13974 }
13975 arg3 = static_cast< long >(val3);
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 {
13983#if wxUSE_UNICODE
13984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13985#else
13986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13987#endif
13988 }
13989 return resultobj;
13990fail:
13991 return NULL;
d55e5bfc
RD
13992}
13993
13994
1bd55598
RD
13995SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj = 0;
13997 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13998 SwigValueWrapper<wxVisualAttributes > result;
13999 int val1 ;
14000 int ecode1 = 0 ;
14001 PyObject * obj0 = 0 ;
14002 char * kwnames[] = {
14003 (char *) "variant", NULL
14004 };
14005
14006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14007 if (obj0) {
14008 ecode1 = SWIG_AsVal_int(obj0, &val1);
14009 if (!SWIG_IsOK(ecode1)) {
14010 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14011 }
14012 arg1 = static_cast< wxWindowVariant >(val1);
14013 }
14014 {
14015 if (!wxPyCheckForApp()) SWIG_fail;
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14022 return resultobj;
14023fail:
14024 return NULL;
14025}
14026
14027
14028SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14029 PyObject *obj;
14030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14031 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14032 return SWIG_Py_Void();
14033}
14034
14035SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14036 return SWIG_Python_InitShadowInstance(args);
14037}
14038
14039SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj = 0;
14041 int arg1 ;
14042 wxMouseEvent *arg2 = 0 ;
14043 long arg3 ;
14044 long arg4 ;
14045 wxTextUrlEvent *result = 0 ;
14046 int val1 ;
14047 int ecode1 = 0 ;
14048 void *argp2 = 0 ;
14049 int res2 = 0 ;
14050 long val3 ;
14051 int ecode3 = 0 ;
14052 long val4 ;
14053 int ecode4 = 0 ;
14054 PyObject * obj0 = 0 ;
14055 PyObject * obj1 = 0 ;
14056 PyObject * obj2 = 0 ;
14057 PyObject * obj3 = 0 ;
14058 char * kwnames[] = {
14059 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14060 };
14061
14062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14063 ecode1 = SWIG_AsVal_int(obj0, &val1);
14064 if (!SWIG_IsOK(ecode1)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14066 }
14067 arg1 = static_cast< int >(val1);
14068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14069 if (!SWIG_IsOK(res2)) {
14070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14071 }
14072 if (!argp2) {
14073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14074 }
14075 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14076 ecode3 = SWIG_AsVal_long(obj2, &val3);
14077 if (!SWIG_IsOK(ecode3)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14079 }
14080 arg3 = static_cast< long >(val3);
14081 ecode4 = SWIG_AsVal_long(obj3, &val4);
14082 if (!SWIG_IsOK(ecode4)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14084 }
14085 arg4 = static_cast< long >(val4);
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14093 return resultobj;
14094fail:
14095 return NULL;
d55e5bfc
RD
14096}
14097
14098
1bd55598
RD
14099SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14100 PyObject *resultobj = 0;
14101 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14102 wxMouseEvent *result = 0 ;
14103 void *argp1 = 0 ;
14104 int res1 = 0 ;
14105 PyObject *swig_obj[1] ;
14106
14107 if (!args) SWIG_fail;
14108 swig_obj[0] = args;
14109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14110 if (!SWIG_IsOK(res1)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14112 }
14113 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 14116 {
1bd55598
RD
14117 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14118 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 14119 }
1bd55598
RD
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14124 return resultobj;
14125fail:
14126 return NULL;
d55e5bfc
RD
14127}
14128
14129
1bd55598
RD
14130SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14131 PyObject *resultobj = 0;
14132 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14133 long result;
14134 void *argp1 = 0 ;
14135 int res1 = 0 ;
14136 PyObject *swig_obj[1] ;
14137
14138 if (!args) SWIG_fail;
14139 swig_obj[0] = args;
14140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14141 if (!SWIG_IsOK(res1)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14143 }
14144 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = SWIG_From_long(static_cast< long >(result));
14152 return resultobj;
14153fail:
14154 return NULL;
d55e5bfc
RD
14155}
14156
14157
1bd55598
RD
14158SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14159 PyObject *resultobj = 0;
14160 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14161 long result;
14162 void *argp1 = 0 ;
14163 int res1 = 0 ;
14164 PyObject *swig_obj[1] ;
14165
14166 if (!args) SWIG_fail;
14167 swig_obj[0] = args;
14168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14169 if (!SWIG_IsOK(res1)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14171 }
14172 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 resultobj = SWIG_From_long(static_cast< long >(result));
14180 return resultobj;
14181fail:
14182 return NULL;
d55e5bfc
RD
14183}
14184
14185
1bd55598
RD
14186SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14187 PyObject *obj;
14188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14189 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14190 return SWIG_Py_Void();
68e533f8
RD
14191}
14192
1bd55598
RD
14193SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14194 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14195}
14196
1bd55598
RD
14197SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14198 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14199 return 1;
d55e5bfc
RD
14200}
14201
14202
1bd55598
RD
14203SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14204 PyObject *pyobj = 0;
14205
14206 {
14207#if wxUSE_UNICODE
14208 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14209#else
14210 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14211#endif
14212 }
14213 return pyobj;
14214}
14215
14216
14217SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj = 0;
14219 wxWindow *arg1 = (wxWindow *) 0 ;
14220 int arg2 = (int) -1 ;
14221 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14222 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14223 wxSize const &arg4_defvalue = wxDefaultSize ;
14224 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14225 long arg5 = (long) wxSB_HORIZONTAL ;
14226 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14227 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14228 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14229 wxString *arg7 = (wxString *) &arg7_defvalue ;
14230 wxScrollBar *result = 0 ;
14231 void *argp1 = 0 ;
14232 int res1 = 0 ;
14233 int val2 ;
14234 int ecode2 = 0 ;
14235 wxPoint temp3 ;
14236 wxSize temp4 ;
14237 long val5 ;
14238 int ecode5 = 0 ;
14239 void *argp6 = 0 ;
14240 int res6 = 0 ;
14241 bool temp7 = false ;
14242 PyObject * obj0 = 0 ;
14243 PyObject * obj1 = 0 ;
14244 PyObject * obj2 = 0 ;
14245 PyObject * obj3 = 0 ;
14246 PyObject * obj4 = 0 ;
14247 PyObject * obj5 = 0 ;
14248 PyObject * obj6 = 0 ;
14249 char * kwnames[] = {
14250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14251 };
14252
14253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14255 if (!SWIG_IsOK(res1)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14257 }
14258 arg1 = reinterpret_cast< wxWindow * >(argp1);
14259 if (obj1) {
14260 ecode2 = SWIG_AsVal_int(obj1, &val2);
14261 if (!SWIG_IsOK(ecode2)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14263 }
14264 arg2 = static_cast< int >(val2);
14265 }
14266 if (obj2) {
d55e5bfc 14267 {
1bd55598
RD
14268 arg3 = &temp3;
14269 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14270 }
1bd55598
RD
14271 }
14272 if (obj3) {
36ed4f51 14273 {
1bd55598
RD
14274 arg4 = &temp4;
14275 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14276 }
1bd55598
RD
14277 }
14278 if (obj4) {
14279 ecode5 = SWIG_AsVal_long(obj4, &val5);
14280 if (!SWIG_IsOK(ecode5)) {
14281 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14282 }
14283 arg5 = static_cast< long >(val5);
14284 }
14285 if (obj5) {
14286 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14287 if (!SWIG_IsOK(res6)) {
14288 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14289 }
1bd55598
RD
14290 if (!argp6) {
14291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14292 }
1bd55598
RD
14293 arg6 = reinterpret_cast< wxValidator * >(argp6);
14294 }
14295 if (obj6) {
d55e5bfc 14296 {
1bd55598
RD
14297 arg7 = wxString_in_helper(obj6);
14298 if (arg7 == NULL) SWIG_fail;
14299 temp7 = true;
d55e5bfc 14300 }
1bd55598
RD
14301 }
14302 {
14303 if (!wxPyCheckForApp()) SWIG_fail;
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14310 {
14311 if (temp7)
14312 delete arg7;
14313 }
14314 return resultobj;
14315fail:
14316 {
14317 if (temp7)
14318 delete arg7;
14319 }
14320 return NULL;
d55e5bfc
RD
14321}
14322
14323
1bd55598
RD
14324SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14325 PyObject *resultobj = 0;
14326 wxScrollBar *result = 0 ;
14327
14328 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14329 {
14330 if (!wxPyCheckForApp()) SWIG_fail;
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxScrollBar *)new wxScrollBar();
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14337 return resultobj;
14338fail:
14339 return NULL;
14340}
14341
14342
14343SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj = 0;
14345 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14346 wxWindow *arg2 = (wxWindow *) 0 ;
14347 int arg3 = (int) -1 ;
14348 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14349 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14350 wxSize const &arg5_defvalue = wxDefaultSize ;
14351 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14352 long arg6 = (long) wxSB_HORIZONTAL ;
14353 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14354 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14355 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14356 wxString *arg8 = (wxString *) &arg8_defvalue ;
14357 bool result;
14358 void *argp1 = 0 ;
14359 int res1 = 0 ;
14360 void *argp2 = 0 ;
14361 int res2 = 0 ;
14362 int val3 ;
14363 int ecode3 = 0 ;
14364 wxPoint temp4 ;
14365 wxSize temp5 ;
14366 long val6 ;
14367 int ecode6 = 0 ;
14368 void *argp7 = 0 ;
14369 int res7 = 0 ;
14370 bool temp8 = false ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 PyObject * obj3 = 0 ;
14375 PyObject * obj4 = 0 ;
14376 PyObject * obj5 = 0 ;
14377 PyObject * obj6 = 0 ;
14378 PyObject * obj7 = 0 ;
14379 char * kwnames[] = {
14380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14381 };
14382
14383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14385 if (!SWIG_IsOK(res1)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14387 }
14388 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14389 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14390 if (!SWIG_IsOK(res2)) {
14391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14392 }
14393 arg2 = reinterpret_cast< wxWindow * >(argp2);
14394 if (obj2) {
14395 ecode3 = SWIG_AsVal_int(obj2, &val3);
14396 if (!SWIG_IsOK(ecode3)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14398 }
14399 arg3 = static_cast< int >(val3);
14400 }
14401 if (obj3) {
d55e5bfc 14402 {
1bd55598
RD
14403 arg4 = &temp4;
14404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14405 }
1bd55598
RD
14406 }
14407 if (obj4) {
d55e5bfc 14408 {
1bd55598
RD
14409 arg5 = &temp5;
14410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14411 }
1bd55598
RD
14412 }
14413 if (obj5) {
14414 ecode6 = SWIG_AsVal_long(obj5, &val6);
14415 if (!SWIG_IsOK(ecode6)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14417 }
14418 arg6 = static_cast< long >(val6);
14419 }
14420 if (obj6) {
14421 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14422 if (!SWIG_IsOK(res7)) {
14423 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14424 }
1bd55598
RD
14425 if (!argp7) {
14426 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 14427 }
1bd55598
RD
14428 arg7 = reinterpret_cast< wxValidator * >(argp7);
14429 }
14430 if (obj7) {
d55e5bfc 14431 {
1bd55598
RD
14432 arg8 = wxString_in_helper(obj7);
14433 if (arg8 == NULL) SWIG_fail;
14434 temp8 = true;
d55e5bfc 14435 }
1bd55598
RD
14436 }
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14445 }
14446 {
14447 if (temp8)
14448 delete arg8;
14449 }
14450 return resultobj;
14451fail:
14452 {
14453 if (temp8)
14454 delete arg8;
14455 }
14456 return NULL;
d55e5bfc
RD
14457}
14458
14459
1bd55598
RD
14460SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14461 PyObject *resultobj = 0;
14462 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14463 int result;
14464 void *argp1 = 0 ;
14465 int res1 = 0 ;
14466 PyObject *swig_obj[1] ;
14467
14468 if (!args) SWIG_fail;
14469 swig_obj[0] = args;
14470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14471 if (!SWIG_IsOK(res1)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14473 }
14474 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 resultobj = SWIG_From_int(static_cast< int >(result));
14482 return resultobj;
14483fail:
14484 return NULL;
d55e5bfc
RD
14485}
14486
14487
1bd55598
RD
14488SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14489 PyObject *resultobj = 0;
14490 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14491 int result;
14492 void *argp1 = 0 ;
14493 int res1 = 0 ;
14494 PyObject *swig_obj[1] ;
14495
14496 if (!args) SWIG_fail;
14497 swig_obj[0] = args;
14498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14499 if (!SWIG_IsOK(res1)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14501 }
14502 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 resultobj = SWIG_From_int(static_cast< int >(result));
14510 return resultobj;
14511fail:
14512 return NULL;
d55e5bfc
RD
14513}
14514
14515
1bd55598
RD
14516SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14517 PyObject *resultobj = 0;
14518 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14519 int result;
14520 void *argp1 = 0 ;
14521 int res1 = 0 ;
14522 PyObject *swig_obj[1] ;
14523
14524 if (!args) SWIG_fail;
14525 swig_obj[0] = args;
14526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14527 if (!SWIG_IsOK(res1)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14529 }
14530 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
14537 resultobj = SWIG_From_int(static_cast< int >(result));
14538 return resultobj;
14539fail:
14540 return NULL;
d55e5bfc
RD
14541}
14542
14543
1bd55598
RD
14544SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14545 PyObject *resultobj = 0;
14546 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14547 int result;
14548 void *argp1 = 0 ;
14549 int res1 = 0 ;
14550 PyObject *swig_obj[1] ;
14551
14552 if (!args) SWIG_fail;
14553 swig_obj[0] = args;
14554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14555 if (!SWIG_IsOK(res1)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14557 }
14558 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (int)((wxScrollBar const *)arg1)->GetRange();
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 resultobj = SWIG_From_int(static_cast< int >(result));
14566 return resultobj;
14567fail:
14568 return NULL;
d55e5bfc
RD
14569}
14570
14571
1bd55598
RD
14572SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14573 PyObject *resultobj = 0;
14574 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14575 bool result;
14576 void *argp1 = 0 ;
14577 int res1 = 0 ;
14578 PyObject *swig_obj[1] ;
14579
14580 if (!args) SWIG_fail;
14581 swig_obj[0] = args;
14582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14583 if (!SWIG_IsOK(res1)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14585 }
14586 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14595 }
14596 return resultobj;
14597fail:
14598 return NULL;
14599}
14600
14601
14602SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14603 PyObject *resultobj = 0;
14604 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14605 int arg2 ;
14606 void *argp1 = 0 ;
14607 int res1 = 0 ;
14608 int val2 ;
14609 int ecode2 = 0 ;
14610 PyObject * obj0 = 0 ;
14611 PyObject * obj1 = 0 ;
14612 char * kwnames[] = {
14613 (char *) "self",(char *) "viewStart", NULL
14614 };
14615
14616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14618 if (!SWIG_IsOK(res1)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14620 }
14621 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14622 ecode2 = SWIG_AsVal_int(obj1, &val2);
14623 if (!SWIG_IsOK(ecode2)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14625 }
14626 arg2 = static_cast< int >(val2);
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 (arg1)->SetThumbPosition(arg2);
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = SWIG_Py_Void();
14634 return resultobj;
14635fail:
14636 return NULL;
14637}
14638
14639
14640SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj = 0;
14642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14643 SwigValueWrapper<wxVisualAttributes > result;
14644 int val1 ;
14645 int ecode1 = 0 ;
14646 PyObject * obj0 = 0 ;
14647 char * kwnames[] = {
14648 (char *) "variant", NULL
14649 };
14650
14651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14652 if (obj0) {
14653 ecode1 = SWIG_AsVal_int(obj0, &val1);
14654 if (!SWIG_IsOK(ecode1)) {
14655 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14656 }
14657 arg1 = static_cast< wxWindowVariant >(val1);
14658 }
14659 {
14660 if (!wxPyCheckForApp()) SWIG_fail;
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14667 return resultobj;
14668fail:
14669 return NULL;
d55e5bfc
RD
14670}
14671
14672
1bd55598
RD
14673SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14674 PyObject *obj;
14675 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14676 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14677 return SWIG_Py_Void();
d55e5bfc
RD
14678}
14679
1bd55598
RD
14680SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14681 return SWIG_Python_InitShadowInstance(args);
14682}
d55e5bfc 14683
1bd55598
RD
14684SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14685 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14686 return 1;
14687}
14688
14689
14690SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14691 PyObject *pyobj = 0;
14692
14693 {
d55e5bfc 14694#if wxUSE_UNICODE
1bd55598 14695 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14696#else
1bd55598 14697 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14698#endif
1bd55598
RD
14699 }
14700 return pyobj;
d55e5bfc
RD
14701}
14702
14703
1bd55598
RD
14704SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14705 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14706 return 1;
d55e5bfc
RD
14707}
14708
14709
1bd55598
RD
14710SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14711 PyObject *pyobj = 0;
14712
14713 {
14714#if wxUSE_UNICODE
14715 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14716#else
14717 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14718#endif
14719 }
14720 return pyobj;
14721}
14722
14723
14724SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj = 0;
14726 wxWindow *arg1 = (wxWindow *) 0 ;
14727 int arg2 = (int) -1 ;
14728 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14729 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14730 wxSize const &arg4_defvalue = wxDefaultSize ;
14731 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14732 long arg5 = (long) wxSP_HORIZONTAL ;
14733 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14734 wxString *arg6 = (wxString *) &arg6_defvalue ;
14735 wxSpinButton *result = 0 ;
14736 void *argp1 = 0 ;
14737 int res1 = 0 ;
14738 int val2 ;
14739 int ecode2 = 0 ;
14740 wxPoint temp3 ;
14741 wxSize temp4 ;
14742 long val5 ;
14743 int ecode5 = 0 ;
14744 bool temp6 = false ;
14745 PyObject * obj0 = 0 ;
14746 PyObject * obj1 = 0 ;
14747 PyObject * obj2 = 0 ;
14748 PyObject * obj3 = 0 ;
14749 PyObject * obj4 = 0 ;
14750 PyObject * obj5 = 0 ;
14751 char * kwnames[] = {
14752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14753 };
14754
14755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14757 if (!SWIG_IsOK(res1)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14759 }
14760 arg1 = reinterpret_cast< wxWindow * >(argp1);
14761 if (obj1) {
14762 ecode2 = SWIG_AsVal_int(obj1, &val2);
14763 if (!SWIG_IsOK(ecode2)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14765 }
14766 arg2 = static_cast< int >(val2);
14767 }
14768 if (obj2) {
d55e5bfc 14769 {
1bd55598
RD
14770 arg3 = &temp3;
14771 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14772 }
1bd55598
RD
14773 }
14774 if (obj3) {
d55e5bfc 14775 {
1bd55598
RD
14776 arg4 = &temp4;
14777 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14778 }
1bd55598
RD
14779 }
14780 if (obj4) {
14781 ecode5 = SWIG_AsVal_long(obj4, &val5);
14782 if (!SWIG_IsOK(ecode5)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14784 }
14785 arg5 = static_cast< long >(val5);
14786 }
14787 if (obj5) {
d55e5bfc 14788 {
1bd55598
RD
14789 arg6 = wxString_in_helper(obj5);
14790 if (arg6 == NULL) SWIG_fail;
14791 temp6 = true;
d55e5bfc 14792 }
1bd55598
RD
14793 }
14794 {
14795 if (!wxPyCheckForApp()) SWIG_fail;
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14802 {
14803 if (temp6)
14804 delete arg6;
14805 }
14806 return resultobj;
14807fail:
14808 {
14809 if (temp6)
14810 delete arg6;
14811 }
14812 return NULL;
d55e5bfc
RD
14813}
14814
14815
1bd55598
RD
14816SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14817 PyObject *resultobj = 0;
14818 wxSpinButton *result = 0 ;
14819
14820 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14821 {
14822 if (!wxPyCheckForApp()) SWIG_fail;
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (wxSpinButton *)new wxSpinButton();
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14829 return resultobj;
14830fail:
14831 return NULL;
14832}
14833
14834
14835SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj = 0;
14837 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14838 wxWindow *arg2 = (wxWindow *) 0 ;
14839 int arg3 = (int) -1 ;
14840 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14841 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14842 wxSize const &arg5_defvalue = wxDefaultSize ;
14843 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14844 long arg6 = (long) wxSP_HORIZONTAL ;
14845 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14846 wxString *arg7 = (wxString *) &arg7_defvalue ;
14847 bool result;
14848 void *argp1 = 0 ;
14849 int res1 = 0 ;
14850 void *argp2 = 0 ;
14851 int res2 = 0 ;
14852 int val3 ;
14853 int ecode3 = 0 ;
14854 wxPoint temp4 ;
14855 wxSize temp5 ;
14856 long val6 ;
14857 int ecode6 = 0 ;
14858 bool temp7 = false ;
14859 PyObject * obj0 = 0 ;
14860 PyObject * obj1 = 0 ;
14861 PyObject * obj2 = 0 ;
14862 PyObject * obj3 = 0 ;
14863 PyObject * obj4 = 0 ;
14864 PyObject * obj5 = 0 ;
14865 PyObject * obj6 = 0 ;
14866 char * kwnames[] = {
14867 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14868 };
14869
14870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14872 if (!SWIG_IsOK(res1)) {
14873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14874 }
14875 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14876 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14877 if (!SWIG_IsOK(res2)) {
14878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14879 }
14880 arg2 = reinterpret_cast< wxWindow * >(argp2);
14881 if (obj2) {
14882 ecode3 = SWIG_AsVal_int(obj2, &val3);
14883 if (!SWIG_IsOK(ecode3)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14885 }
14886 arg3 = static_cast< int >(val3);
14887 }
14888 if (obj3) {
d55e5bfc 14889 {
1bd55598
RD
14890 arg4 = &temp4;
14891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14892 }
1bd55598
RD
14893 }
14894 if (obj4) {
d55e5bfc 14895 {
1bd55598
RD
14896 arg5 = &temp5;
14897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14898 }
1bd55598
RD
14899 }
14900 if (obj5) {
14901 ecode6 = SWIG_AsVal_long(obj5, &val6);
14902 if (!SWIG_IsOK(ecode6)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14904 }
14905 arg6 = static_cast< long >(val6);
14906 }
14907 if (obj6) {
14908 {
14909 arg7 = wxString_in_helper(obj6);
14910 if (arg7 == NULL) SWIG_fail;
14911 temp7 = true;
14912 }
14913 }
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14917 wxPyEndAllowThreads(__tstate);
14918 if (PyErr_Occurred()) SWIG_fail;
14919 }
14920 {
14921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14922 }
14923 {
14924 if (temp7)
14925 delete arg7;
14926 }
14927 return resultobj;
14928fail:
14929 {
14930 if (temp7)
14931 delete arg7;
14932 }
14933 return NULL;
d55e5bfc
RD
14934}
14935
14936
1bd55598
RD
14937SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14938 PyObject *resultobj = 0;
14939 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14940 int result;
14941 void *argp1 = 0 ;
14942 int res1 = 0 ;
14943 PyObject *swig_obj[1] ;
14944
14945 if (!args) SWIG_fail;
14946 swig_obj[0] = args;
14947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14948 if (!SWIG_IsOK(res1)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14950 }
14951 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14952 {
14953 PyThreadState* __tstate = wxPyBeginAllowThreads();
14954 result = (int)((wxSpinButton const *)arg1)->GetValue();
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 resultobj = SWIG_From_int(static_cast< int >(result));
14959 return resultobj;
14960fail:
14961 return NULL;
d55e5bfc
RD
14962}
14963
14964
1bd55598
RD
14965SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14966 PyObject *resultobj = 0;
14967 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14968 int result;
14969 void *argp1 = 0 ;
14970 int res1 = 0 ;
14971 PyObject *swig_obj[1] ;
14972
14973 if (!args) SWIG_fail;
14974 swig_obj[0] = args;
14975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14978 }
14979 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (int)((wxSpinButton const *)arg1)->GetMin();
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 resultobj = SWIG_From_int(static_cast< int >(result));
14987 return resultobj;
14988fail:
14989 return NULL;
d55e5bfc
RD
14990}
14991
14992
1bd55598
RD
14993SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14994 PyObject *resultobj = 0;
14995 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14996 int result;
14997 void *argp1 = 0 ;
14998 int res1 = 0 ;
14999 PyObject *swig_obj[1] ;
15000
15001 if (!args) SWIG_fail;
15002 swig_obj[0] = args;
15003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15004 if (!SWIG_IsOK(res1)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15006 }
15007 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (int)((wxSpinButton const *)arg1)->GetMax();
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = SWIG_From_int(static_cast< int >(result));
15015 return resultobj;
15016fail:
15017 return NULL;
15018}
15019
15020
15021SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj = 0;
15023 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15024 int arg2 ;
15025 void *argp1 = 0 ;
15026 int res1 = 0 ;
15027 int val2 ;
15028 int ecode2 = 0 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char * kwnames[] = {
15032 (char *) "self",(char *) "val", NULL
15033 };
15034
15035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15037 if (!SWIG_IsOK(res1)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15039 }
15040 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15041 ecode2 = SWIG_AsVal_int(obj1, &val2);
15042 if (!SWIG_IsOK(ecode2)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15044 }
15045 arg2 = static_cast< int >(val2);
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 (arg1)->SetValue(arg2);
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 resultobj = SWIG_Py_Void();
15053 return resultobj;
15054fail:
15055 return NULL;
15056}
15057
15058
15059SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj = 0;
15061 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15062 int arg2 ;
15063 void *argp1 = 0 ;
15064 int res1 = 0 ;
15065 int val2 ;
15066 int ecode2 = 0 ;
15067 PyObject * obj0 = 0 ;
15068 PyObject * obj1 = 0 ;
15069 char * kwnames[] = {
15070 (char *) "self",(char *) "minVal", NULL
15071 };
15072
15073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15075 if (!SWIG_IsOK(res1)) {
15076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15077 }
15078 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15079 ecode2 = SWIG_AsVal_int(obj1, &val2);
15080 if (!SWIG_IsOK(ecode2)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15082 }
15083 arg2 = static_cast< int >(val2);
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 (arg1)->SetMin(arg2);
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 resultobj = SWIG_Py_Void();
15091 return resultobj;
15092fail:
15093 return NULL;
15094}
15095
15096
15097SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj = 0;
15099 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15100 int arg2 ;
15101 void *argp1 = 0 ;
15102 int res1 = 0 ;
15103 int val2 ;
15104 int ecode2 = 0 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "maxVal", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15115 }
15116 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15117 ecode2 = SWIG_AsVal_int(obj1, &val2);
15118 if (!SWIG_IsOK(ecode2)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15120 }
15121 arg2 = static_cast< int >(val2);
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 (arg1)->SetMax(arg2);
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 resultobj = SWIG_Py_Void();
15129 return resultobj;
15130fail:
15131 return NULL;
15132}
15133
15134
15135SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj = 0;
15137 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15138 int arg2 ;
15139 int arg3 ;
15140 void *argp1 = 0 ;
15141 int res1 = 0 ;
15142 int val2 ;
15143 int ecode2 = 0 ;
15144 int val3 ;
15145 int ecode3 = 0 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 PyObject * obj2 = 0 ;
15149 char * kwnames[] = {
15150 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15151 };
15152
15153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15155 if (!SWIG_IsOK(res1)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15157 }
15158 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15159 ecode2 = SWIG_AsVal_int(obj1, &val2);
15160 if (!SWIG_IsOK(ecode2)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15162 }
15163 arg2 = static_cast< int >(val2);
15164 ecode3 = SWIG_AsVal_int(obj2, &val3);
15165 if (!SWIG_IsOK(ecode3)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15167 }
15168 arg3 = static_cast< int >(val3);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetRange(arg2,arg3);
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_Py_Void();
15176 return resultobj;
15177fail:
15178 return NULL;
d55e5bfc
RD
15179}
15180
15181
1bd55598
RD
15182SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15183 PyObject *resultobj = 0;
15184 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15185 bool result;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 PyObject *swig_obj[1] ;
15189
15190 if (!args) SWIG_fail;
15191 swig_obj[0] = args;
15192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15193 if (!SWIG_IsOK(res1)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15195 }
15196 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 {
15204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15205 }
15206 return resultobj;
15207fail:
15208 return NULL;
d55e5bfc
RD
15209}
15210
15211
1bd55598
RD
15212SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj = 0;
15214 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15215 SwigValueWrapper<wxVisualAttributes > result;
15216 int val1 ;
15217 int ecode1 = 0 ;
15218 PyObject * obj0 = 0 ;
15219 char * kwnames[] = {
15220 (char *) "variant", NULL
15221 };
15222
15223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15224 if (obj0) {
15225 ecode1 = SWIG_AsVal_int(obj0, &val1);
15226 if (!SWIG_IsOK(ecode1)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15228 }
15229 arg1 = static_cast< wxWindowVariant >(val1);
15230 }
15231 {
15232 if (!wxPyCheckForApp()) SWIG_fail;
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15239 return resultobj;
15240fail:
15241 return NULL;
15242}
15243
15244
15245SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15246 PyObject *obj;
15247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15248 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15249 return SWIG_Py_Void();
15250}
15251
15252SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15253 return SWIG_Python_InitShadowInstance(args);
15254}
15255
15256SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj = 0;
15258 wxWindow *arg1 = (wxWindow *) 0 ;
15259 int arg2 = (int) -1 ;
15260 wxString const &arg3_defvalue = wxPyEmptyString ;
15261 wxString *arg3 = (wxString *) &arg3_defvalue ;
15262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15264 wxSize const &arg5_defvalue = wxDefaultSize ;
15265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15266 long arg6 = (long) wxSP_ARROW_KEYS ;
15267 int arg7 = (int) 0 ;
15268 int arg8 = (int) 100 ;
15269 int arg9 = (int) 0 ;
15270 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15271 wxString *arg10 = (wxString *) &arg10_defvalue ;
15272 wxSpinCtrl *result = 0 ;
15273 void *argp1 = 0 ;
15274 int res1 = 0 ;
15275 int val2 ;
15276 int ecode2 = 0 ;
15277 bool temp3 = false ;
15278 wxPoint temp4 ;
15279 wxSize temp5 ;
15280 long val6 ;
15281 int ecode6 = 0 ;
15282 int val7 ;
15283 int ecode7 = 0 ;
15284 int val8 ;
15285 int ecode8 = 0 ;
15286 int val9 ;
15287 int ecode9 = 0 ;
15288 bool temp10 = false ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 PyObject * obj3 = 0 ;
15293 PyObject * obj4 = 0 ;
15294 PyObject * obj5 = 0 ;
15295 PyObject * obj6 = 0 ;
15296 PyObject * obj7 = 0 ;
15297 PyObject * obj8 = 0 ;
15298 PyObject * obj9 = 0 ;
15299 char * kwnames[] = {
15300 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15301 };
15302
15303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15305 if (!SWIG_IsOK(res1)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15307 }
15308 arg1 = reinterpret_cast< wxWindow * >(argp1);
15309 if (obj1) {
15310 ecode2 = SWIG_AsVal_int(obj1, &val2);
15311 if (!SWIG_IsOK(ecode2)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15313 }
15314 arg2 = static_cast< int >(val2);
15315 }
15316 if (obj2) {
d55e5bfc 15317 {
1bd55598
RD
15318 arg3 = wxString_in_helper(obj2);
15319 if (arg3 == NULL) SWIG_fail;
15320 temp3 = true;
d55e5bfc 15321 }
1bd55598
RD
15322 }
15323 if (obj3) {
d55e5bfc 15324 {
1bd55598
RD
15325 arg4 = &temp4;
15326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15327 }
1bd55598
RD
15328 }
15329 if (obj4) {
d55e5bfc 15330 {
1bd55598
RD
15331 arg5 = &temp5;
15332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15333 }
1bd55598
RD
15334 }
15335 if (obj5) {
15336 ecode6 = SWIG_AsVal_long(obj5, &val6);
15337 if (!SWIG_IsOK(ecode6)) {
15338 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15339 }
15340 arg6 = static_cast< long >(val6);
15341 }
15342 if (obj6) {
15343 ecode7 = SWIG_AsVal_int(obj6, &val7);
15344 if (!SWIG_IsOK(ecode7)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15346 }
15347 arg7 = static_cast< int >(val7);
15348 }
15349 if (obj7) {
15350 ecode8 = SWIG_AsVal_int(obj7, &val8);
15351 if (!SWIG_IsOK(ecode8)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15353 }
15354 arg8 = static_cast< int >(val8);
15355 }
15356 if (obj8) {
15357 ecode9 = SWIG_AsVal_int(obj8, &val9);
15358 if (!SWIG_IsOK(ecode9)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15360 }
15361 arg9 = static_cast< int >(val9);
15362 }
15363 if (obj9) {
d55e5bfc 15364 {
1bd55598
RD
15365 arg10 = wxString_in_helper(obj9);
15366 if (arg10 == NULL) SWIG_fail;
15367 temp10 = true;
d55e5bfc 15368 }
1bd55598
RD
15369 }
15370 {
15371 if (!wxPyCheckForApp()) SWIG_fail;
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15378 {
15379 if (temp3)
15380 delete arg3;
15381 }
15382 {
15383 if (temp10)
15384 delete arg10;
15385 }
15386 return resultobj;
15387fail:
15388 {
15389 if (temp3)
15390 delete arg3;
15391 }
15392 {
15393 if (temp10)
15394 delete arg10;
15395 }
15396 return NULL;
d55e5bfc
RD
15397}
15398
15399
1bd55598
RD
15400SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15401 PyObject *resultobj = 0;
15402 wxSpinCtrl *result = 0 ;
15403
15404 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15405 {
15406 if (!wxPyCheckForApp()) SWIG_fail;
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (wxSpinCtrl *)new wxSpinCtrl();
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15413 return resultobj;
15414fail:
15415 return NULL;
15416}
15417
15418
15419SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj = 0;
15421 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15422 wxWindow *arg2 = (wxWindow *) 0 ;
15423 int arg3 = (int) -1 ;
15424 wxString const &arg4_defvalue = wxPyEmptyString ;
15425 wxString *arg4 = (wxString *) &arg4_defvalue ;
15426 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15427 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15428 wxSize const &arg6_defvalue = wxDefaultSize ;
15429 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15430 long arg7 = (long) wxSP_ARROW_KEYS ;
15431 int arg8 = (int) 0 ;
15432 int arg9 = (int) 100 ;
15433 int arg10 = (int) 0 ;
15434 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15435 wxString *arg11 = (wxString *) &arg11_defvalue ;
15436 bool result;
15437 void *argp1 = 0 ;
15438 int res1 = 0 ;
15439 void *argp2 = 0 ;
15440 int res2 = 0 ;
15441 int val3 ;
15442 int ecode3 = 0 ;
15443 bool temp4 = false ;
15444 wxPoint temp5 ;
15445 wxSize temp6 ;
15446 long val7 ;
15447 int ecode7 = 0 ;
15448 int val8 ;
15449 int ecode8 = 0 ;
15450 int val9 ;
15451 int ecode9 = 0 ;
15452 int val10 ;
15453 int ecode10 = 0 ;
15454 bool temp11 = false ;
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 PyObject * obj2 = 0 ;
15458 PyObject * obj3 = 0 ;
15459 PyObject * obj4 = 0 ;
15460 PyObject * obj5 = 0 ;
15461 PyObject * obj6 = 0 ;
15462 PyObject * obj7 = 0 ;
15463 PyObject * obj8 = 0 ;
15464 PyObject * obj9 = 0 ;
15465 PyObject * obj10 = 0 ;
15466 char * kwnames[] = {
15467 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15468 };
15469
15470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15472 if (!SWIG_IsOK(res1)) {
15473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15474 }
15475 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15476 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15477 if (!SWIG_IsOK(res2)) {
15478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15479 }
15480 arg2 = reinterpret_cast< wxWindow * >(argp2);
15481 if (obj2) {
15482 ecode3 = SWIG_AsVal_int(obj2, &val3);
15483 if (!SWIG_IsOK(ecode3)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15485 }
15486 arg3 = static_cast< int >(val3);
15487 }
15488 if (obj3) {
36ed4f51 15489 {
1bd55598
RD
15490 arg4 = wxString_in_helper(obj3);
15491 if (arg4 == NULL) SWIG_fail;
15492 temp4 = true;
36ed4f51 15493 }
1bd55598
RD
15494 }
15495 if (obj4) {
36ed4f51 15496 {
1bd55598
RD
15497 arg5 = &temp5;
15498 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 15499 }
1bd55598
RD
15500 }
15501 if (obj5) {
d55e5bfc 15502 {
1bd55598
RD
15503 arg6 = &temp6;
15504 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15505 }
1bd55598
RD
15506 }
15507 if (obj6) {
15508 ecode7 = SWIG_AsVal_long(obj6, &val7);
15509 if (!SWIG_IsOK(ecode7)) {
15510 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15511 }
15512 arg7 = static_cast< long >(val7);
15513 }
15514 if (obj7) {
15515 ecode8 = SWIG_AsVal_int(obj7, &val8);
15516 if (!SWIG_IsOK(ecode8)) {
15517 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15518 }
15519 arg8 = static_cast< int >(val8);
15520 }
15521 if (obj8) {
15522 ecode9 = SWIG_AsVal_int(obj8, &val9);
15523 if (!SWIG_IsOK(ecode9)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15525 }
15526 arg9 = static_cast< int >(val9);
15527 }
15528 if (obj9) {
15529 ecode10 = SWIG_AsVal_int(obj9, &val10);
15530 if (!SWIG_IsOK(ecode10)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15532 }
15533 arg10 = static_cast< int >(val10);
15534 }
15535 if (obj10) {
15536 {
15537 arg11 = wxString_in_helper(obj10);
15538 if (arg11 == NULL) SWIG_fail;
15539 temp11 = true;
15540 }
15541 }
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 {
15549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15550 }
15551 {
15552 if (temp4)
15553 delete arg4;
15554 }
15555 {
15556 if (temp11)
15557 delete arg11;
15558 }
15559 return resultobj;
15560fail:
15561 {
15562 if (temp4)
15563 delete arg4;
15564 }
15565 {
15566 if (temp11)
15567 delete arg11;
15568 }
15569 return NULL;
d55e5bfc
RD
15570}
15571
15572
1bd55598
RD
15573SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15574 PyObject *resultobj = 0;
15575 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15576 int result;
15577 void *argp1 = 0 ;
15578 int res1 = 0 ;
15579 PyObject *swig_obj[1] ;
15580
15581 if (!args) SWIG_fail;
15582 swig_obj[0] = args;
15583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15584 if (!SWIG_IsOK(res1)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15586 }
15587 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 resultobj = SWIG_From_int(static_cast< int >(result));
15595 return resultobj;
15596fail:
15597 return NULL;
15598}
15599
15600
15601SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj = 0;
15603 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15604 int arg2 ;
15605 void *argp1 = 0 ;
15606 int res1 = 0 ;
15607 int val2 ;
15608 int ecode2 = 0 ;
15609 PyObject * obj0 = 0 ;
15610 PyObject * obj1 = 0 ;
15611 char * kwnames[] = {
15612 (char *) "self",(char *) "value", NULL
15613 };
15614
15615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15617 if (!SWIG_IsOK(res1)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15619 }
15620 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15621 ecode2 = SWIG_AsVal_int(obj1, &val2);
15622 if (!SWIG_IsOK(ecode2)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15624 }
15625 arg2 = static_cast< int >(val2);
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetValue(arg2);
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 resultobj = SWIG_Py_Void();
15633 return resultobj;
15634fail:
15635 return NULL;
15636}
15637
15638
15639SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj = 0;
15641 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15642 wxString *arg2 = 0 ;
15643 void *argp1 = 0 ;
15644 int res1 = 0 ;
15645 bool temp2 = false ;
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 char * kwnames[] = {
15649 (char *) "self",(char *) "text", NULL
15650 };
15651
15652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15654 if (!SWIG_IsOK(res1)) {
15655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15656 }
15657 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
15661 temp2 = true;
15662 }
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->SetValue((wxString const &)*arg2);
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 resultobj = SWIG_Py_Void();
15670 {
15671 if (temp2)
15672 delete arg2;
15673 }
15674 return resultobj;
15675fail:
15676 {
15677 if (temp2)
15678 delete arg2;
15679 }
15680 return NULL;
15681}
15682
15683
15684SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj = 0;
15686 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15687 int arg2 ;
15688 int arg3 ;
15689 void *argp1 = 0 ;
15690 int res1 = 0 ;
15691 int val2 ;
15692 int ecode2 = 0 ;
15693 int val3 ;
15694 int ecode3 = 0 ;
15695 PyObject * obj0 = 0 ;
15696 PyObject * obj1 = 0 ;
15697 PyObject * obj2 = 0 ;
15698 char * kwnames[] = {
15699 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15700 };
15701
15702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15704 if (!SWIG_IsOK(res1)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15706 }
15707 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15708 ecode2 = SWIG_AsVal_int(obj1, &val2);
15709 if (!SWIG_IsOK(ecode2)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15711 }
15712 arg2 = static_cast< int >(val2);
15713 ecode3 = SWIG_AsVal_int(obj2, &val3);
15714 if (!SWIG_IsOK(ecode3)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15716 }
15717 arg3 = static_cast< int >(val3);
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 (arg1)->SetRange(arg2,arg3);
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 resultobj = SWIG_Py_Void();
15725 return resultobj;
15726fail:
15727 return NULL;
d55e5bfc
RD
15728}
15729
15730
1bd55598
RD
15731SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15732 PyObject *resultobj = 0;
15733 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15734 int result;
15735 void *argp1 = 0 ;
15736 int res1 = 0 ;
15737 PyObject *swig_obj[1] ;
15738
15739 if (!args) SWIG_fail;
15740 swig_obj[0] = args;
15741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15742 if (!SWIG_IsOK(res1)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15744 }
15745 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 resultobj = SWIG_From_int(static_cast< int >(result));
15753 return resultobj;
15754fail:
15755 return NULL;
d55e5bfc
RD
15756}
15757
15758
1bd55598
RD
15759SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15760 PyObject *resultobj = 0;
15761 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15762 int result;
15763 void *argp1 = 0 ;
15764 int res1 = 0 ;
15765 PyObject *swig_obj[1] ;
15766
15767 if (!args) SWIG_fail;
15768 swig_obj[0] = args;
15769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15770 if (!SWIG_IsOK(res1)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15772 }
15773 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 resultobj = SWIG_From_int(static_cast< int >(result));
15781 return resultobj;
15782fail:
15783 return NULL;
15784}
15785
15786
15787SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj = 0;
15789 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15790 long arg2 ;
15791 long arg3 ;
15792 void *argp1 = 0 ;
15793 int res1 = 0 ;
15794 long val2 ;
15795 int ecode2 = 0 ;
15796 long val3 ;
15797 int ecode3 = 0 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 PyObject * obj2 = 0 ;
15801 char * kwnames[] = {
2131d850 15802 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15803 };
15804
15805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15809 }
15810 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15811 ecode2 = SWIG_AsVal_long(obj1, &val2);
15812 if (!SWIG_IsOK(ecode2)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15814 }
15815 arg2 = static_cast< long >(val2);
15816 ecode3 = SWIG_AsVal_long(obj2, &val3);
15817 if (!SWIG_IsOK(ecode3)) {
15818 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15819 }
15820 arg3 = static_cast< long >(val3);
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 (arg1)->SetSelection(arg2,arg3);
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 resultobj = SWIG_Py_Void();
15828 return resultobj;
15829fail:
15830 return NULL;
15831}
15832
15833
15834SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj = 0;
15836 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15837 SwigValueWrapper<wxVisualAttributes > result;
15838 int val1 ;
15839 int ecode1 = 0 ;
15840 PyObject * obj0 = 0 ;
15841 char * kwnames[] = {
15842 (char *) "variant", NULL
15843 };
15844
15845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15846 if (obj0) {
15847 ecode1 = SWIG_AsVal_int(obj0, &val1);
15848 if (!SWIG_IsOK(ecode1)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15850 }
15851 arg1 = static_cast< wxWindowVariant >(val1);
15852 }
15853 {
15854 if (!wxPyCheckForApp()) SWIG_fail;
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15861 return resultobj;
15862fail:
15863 return NULL;
d55e5bfc
RD
15864}
15865
15866
1bd55598
RD
15867SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15868 PyObject *obj;
15869 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15871 return SWIG_Py_Void();
d55e5bfc
RD
15872}
15873
1bd55598
RD
15874SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15875 return SWIG_Python_InitShadowInstance(args);
15876}
d55e5bfc 15877
1bd55598
RD
15878SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15879 PyObject *resultobj = 0;
15880 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15881 int arg2 = (int) 0 ;
15882 wxSpinEvent *result = 0 ;
15883 int val1 ;
15884 int ecode1 = 0 ;
15885 int val2 ;
15886 int ecode2 = 0 ;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 char * kwnames[] = {
15890 (char *) "commandType",(char *) "winid", NULL
15891 };
15892
15893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15894 if (obj0) {
15895 ecode1 = SWIG_AsVal_int(obj0, &val1);
15896 if (!SWIG_IsOK(ecode1)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15898 }
15899 arg1 = static_cast< wxEventType >(val1);
15900 }
15901 if (obj1) {
15902 ecode2 = SWIG_AsVal_int(obj1, &val2);
15903 if (!SWIG_IsOK(ecode2)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15905 }
15906 arg2 = static_cast< int >(val2);
15907 }
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15915 return resultobj;
15916fail:
15917 return NULL;
d55e5bfc
RD
15918}
15919
15920
1bd55598
RD
15921SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15922 PyObject *resultobj = 0;
15923 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15924 int result;
15925 void *argp1 = 0 ;
15926 int res1 = 0 ;
15927 PyObject *swig_obj[1] ;
15928
15929 if (!args) SWIG_fail;
15930 swig_obj[0] = args;
15931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15932 if (!SWIG_IsOK(res1)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15934 }
15935 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 resultobj = SWIG_From_int(static_cast< int >(result));
15943 return resultobj;
15944fail:
15945 return NULL;
15946}
15947
15948
15949SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj = 0;
15951 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15952 int arg2 ;
15953 void *argp1 = 0 ;
15954 int res1 = 0 ;
15955 int val2 ;
15956 int ecode2 = 0 ;
15957 PyObject * obj0 = 0 ;
15958 PyObject * obj1 = 0 ;
15959 char * kwnames[] = {
15960 (char *) "self",(char *) "pos", NULL
15961 };
15962
15963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15965 if (!SWIG_IsOK(res1)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15967 }
15968 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15969 ecode2 = SWIG_AsVal_int(obj1, &val2);
15970 if (!SWIG_IsOK(ecode2)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15972 }
15973 arg2 = static_cast< int >(val2);
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 (arg1)->SetPosition(arg2);
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_Py_Void();
15981 return resultobj;
15982fail:
15983 return NULL;
d55e5bfc
RD
15984}
15985
15986
1bd55598
RD
15987SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15988 PyObject *obj;
15989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15991 return SWIG_Py_Void();
d55e5bfc
RD
15992}
15993
1bd55598
RD
15994SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995 return SWIG_Python_InitShadowInstance(args);
15996}
d55e5bfc 15997
1bd55598
RD
15998SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15999 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16000 return 1;
d55e5bfc
RD
16001}
16002
16003
1bd55598
RD
16004SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16005 PyObject *pyobj = 0;
16006
16007 {
16008#if wxUSE_UNICODE
16009 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16010#else
16011 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16012#endif
16013 }
16014 return pyobj;
d55e5bfc
RD
16015}
16016
16017
1bd55598
RD
16018SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16019 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16020 return 1;
16021}
16022
16023
16024SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16025 PyObject *pyobj = 0;
16026
16027 {
16028#if wxUSE_UNICODE
16029 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16030#else
16031 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16032#endif
16033 }
16034 return pyobj;
16035}
16036
16037
16038SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj = 0;
16040 wxWindow *arg1 = (wxWindow *) 0 ;
16041 int arg2 = (int) -1 ;
16042 wxString const &arg3_defvalue = wxPyEmptyString ;
16043 wxString *arg3 = (wxString *) &arg3_defvalue ;
16044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16046 wxSize const &arg5_defvalue = wxDefaultSize ;
16047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16048 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16049 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16050 int arg7 = (int) 0 ;
16051 long arg8 = (long) wxRA_HORIZONTAL ;
16052 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16053 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16054 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16055 wxString *arg10 = (wxString *) &arg10_defvalue ;
16056 wxRadioBox *result = 0 ;
16057 void *argp1 = 0 ;
16058 int res1 = 0 ;
16059 int val2 ;
16060 int ecode2 = 0 ;
16061 bool temp3 = false ;
16062 wxPoint temp4 ;
16063 wxSize temp5 ;
16064 bool temp6 = false ;
16065 int val7 ;
16066 int ecode7 = 0 ;
16067 long val8 ;
16068 int ecode8 = 0 ;
16069 void *argp9 = 0 ;
16070 int res9 = 0 ;
16071 bool temp10 = false ;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 PyObject * obj2 = 0 ;
16075 PyObject * obj3 = 0 ;
16076 PyObject * obj4 = 0 ;
16077 PyObject * obj5 = 0 ;
16078 PyObject * obj6 = 0 ;
16079 PyObject * obj7 = 0 ;
16080 PyObject * obj8 = 0 ;
16081 PyObject * obj9 = 0 ;
16082 char * kwnames[] = {
16083 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16084 };
16085
16086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16088 if (!SWIG_IsOK(res1)) {
16089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16090 }
16091 arg1 = reinterpret_cast< wxWindow * >(argp1);
16092 if (obj1) {
16093 ecode2 = SWIG_AsVal_int(obj1, &val2);
16094 if (!SWIG_IsOK(ecode2)) {
16095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16096 }
16097 arg2 = static_cast< int >(val2);
16098 }
16099 if (obj2) {
36ed4f51 16100 {
1bd55598
RD
16101 arg3 = wxString_in_helper(obj2);
16102 if (arg3 == NULL) SWIG_fail;
16103 temp3 = true;
36ed4f51 16104 }
1bd55598
RD
16105 }
16106 if (obj3) {
36ed4f51 16107 {
1bd55598
RD
16108 arg4 = &temp4;
16109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16110 }
1bd55598
RD
16111 }
16112 if (obj4) {
d55e5bfc 16113 {
1bd55598
RD
16114 arg5 = &temp5;
16115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16116 }
1bd55598
RD
16117 }
16118 if (obj5) {
d55e5bfc 16119 {
1bd55598
RD
16120 if (! PySequence_Check(obj5)) {
16121 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16122 SWIG_fail;
16123 }
16124 arg6 = new wxArrayString;
16125 temp6 = true;
16126 int i, len=PySequence_Length(obj5);
16127 for (i=0; i<len; i++) {
16128 PyObject* item = PySequence_GetItem(obj5, i);
16129 wxString* s = wxString_in_helper(item);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 arg6->Add(*s);
16132 delete s;
16133 Py_DECREF(item);
16134 }
d55e5bfc 16135 }
1bd55598
RD
16136 }
16137 if (obj6) {
16138 ecode7 = SWIG_AsVal_int(obj6, &val7);
16139 if (!SWIG_IsOK(ecode7)) {
16140 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16141 }
16142 arg7 = static_cast< int >(val7);
16143 }
16144 if (obj7) {
16145 ecode8 = SWIG_AsVal_long(obj7, &val8);
16146 if (!SWIG_IsOK(ecode8)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16148 }
16149 arg8 = static_cast< long >(val8);
16150 }
16151 if (obj8) {
16152 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16153 if (!SWIG_IsOK(res9)) {
16154 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16155 }
1bd55598
RD
16156 if (!argp9) {
16157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16158 }
1bd55598
RD
16159 arg9 = reinterpret_cast< wxValidator * >(argp9);
16160 }
16161 if (obj9) {
d55e5bfc 16162 {
1bd55598
RD
16163 arg10 = wxString_in_helper(obj9);
16164 if (arg10 == NULL) SWIG_fail;
16165 temp10 = true;
d55e5bfc 16166 }
1bd55598
RD
16167 }
16168 {
16169 if (!wxPyCheckForApp()) SWIG_fail;
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 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);
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16176 {
16177 if (temp3)
16178 delete arg3;
16179 }
16180 {
16181 if (temp6) delete arg6;
16182 }
16183 {
16184 if (temp10)
16185 delete arg10;
16186 }
16187 return resultobj;
16188fail:
16189 {
16190 if (temp3)
16191 delete arg3;
16192 }
16193 {
16194 if (temp6) delete arg6;
16195 }
16196 {
16197 if (temp10)
16198 delete arg10;
16199 }
16200 return NULL;
d55e5bfc
RD
16201}
16202
16203
1bd55598
RD
16204SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16205 PyObject *resultobj = 0;
16206 wxRadioBox *result = 0 ;
16207
16208 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16209 {
16210 if (!wxPyCheckForApp()) SWIG_fail;
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (wxRadioBox *)new wxRadioBox();
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16217 return resultobj;
16218fail:
16219 return NULL;
16220}
16221
16222
16223SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj = 0;
16225 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16226 wxWindow *arg2 = (wxWindow *) 0 ;
16227 int arg3 = (int) -1 ;
16228 wxString const &arg4_defvalue = wxPyEmptyString ;
16229 wxString *arg4 = (wxString *) &arg4_defvalue ;
16230 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16231 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16232 wxSize const &arg6_defvalue = wxDefaultSize ;
16233 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16234 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16235 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16236 int arg8 = (int) 0 ;
16237 long arg9 = (long) wxRA_HORIZONTAL ;
16238 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16239 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16240 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16241 wxString *arg11 = (wxString *) &arg11_defvalue ;
16242 bool result;
16243 void *argp1 = 0 ;
16244 int res1 = 0 ;
16245 void *argp2 = 0 ;
16246 int res2 = 0 ;
16247 int val3 ;
16248 int ecode3 = 0 ;
16249 bool temp4 = false ;
16250 wxPoint temp5 ;
16251 wxSize temp6 ;
16252 bool temp7 = false ;
16253 int val8 ;
16254 int ecode8 = 0 ;
16255 long val9 ;
16256 int ecode9 = 0 ;
16257 void *argp10 = 0 ;
16258 int res10 = 0 ;
16259 bool temp11 = false ;
16260 PyObject * obj0 = 0 ;
16261 PyObject * obj1 = 0 ;
16262 PyObject * obj2 = 0 ;
16263 PyObject * obj3 = 0 ;
16264 PyObject * obj4 = 0 ;
16265 PyObject * obj5 = 0 ;
16266 PyObject * obj6 = 0 ;
16267 PyObject * obj7 = 0 ;
16268 PyObject * obj8 = 0 ;
16269 PyObject * obj9 = 0 ;
16270 PyObject * obj10 = 0 ;
16271 char * kwnames[] = {
16272 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16273 };
16274
16275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16277 if (!SWIG_IsOK(res1)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16279 }
16280 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16281 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16282 if (!SWIG_IsOK(res2)) {
16283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16284 }
16285 arg2 = reinterpret_cast< wxWindow * >(argp2);
16286 if (obj2) {
16287 ecode3 = SWIG_AsVal_int(obj2, &val3);
16288 if (!SWIG_IsOK(ecode3)) {
16289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16290 }
16291 arg3 = static_cast< int >(val3);
16292 }
16293 if (obj3) {
36ed4f51 16294 {
1bd55598
RD
16295 arg4 = wxString_in_helper(obj3);
16296 if (arg4 == NULL) SWIG_fail;
16297 temp4 = true;
36ed4f51 16298 }
1bd55598
RD
16299 }
16300 if (obj4) {
36ed4f51 16301 {
1bd55598
RD
16302 arg5 = &temp5;
16303 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 16304 }
1bd55598
RD
16305 }
16306 if (obj5) {
d55e5bfc 16307 {
1bd55598
RD
16308 arg6 = &temp6;
16309 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16310 }
1bd55598
RD
16311 }
16312 if (obj6) {
36ed4f51 16313 {
1bd55598
RD
16314 if (! PySequence_Check(obj6)) {
16315 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16316 SWIG_fail;
16317 }
16318 arg7 = new wxArrayString;
16319 temp7 = true;
16320 int i, len=PySequence_Length(obj6);
16321 for (i=0; i<len; i++) {
16322 PyObject* item = PySequence_GetItem(obj6, i);
16323 wxString* s = wxString_in_helper(item);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 arg7->Add(*s);
16326 delete s;
16327 Py_DECREF(item);
16328 }
36ed4f51 16329 }
1bd55598
RD
16330 }
16331 if (obj7) {
16332 ecode8 = SWIG_AsVal_int(obj7, &val8);
16333 if (!SWIG_IsOK(ecode8)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16335 }
16336 arg8 = static_cast< int >(val8);
16337 }
16338 if (obj8) {
16339 ecode9 = SWIG_AsVal_long(obj8, &val9);
16340 if (!SWIG_IsOK(ecode9)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16342 }
16343 arg9 = static_cast< long >(val9);
16344 }
16345 if (obj9) {
16346 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16347 if (!SWIG_IsOK(res10)) {
16348 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16349 }
1bd55598
RD
16350 if (!argp10) {
16351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
36ed4f51 16352 }
1bd55598
RD
16353 arg10 = reinterpret_cast< wxValidator * >(argp10);
16354 }
16355 if (obj10) {
d55e5bfc 16356 {
1bd55598
RD
16357 arg11 = wxString_in_helper(obj10);
16358 if (arg11 == NULL) SWIG_fail;
16359 temp11 = true;
d55e5bfc 16360 }
1bd55598
RD
16361 }
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 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);
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 {
16369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16370 }
16371 {
16372 if (temp4)
16373 delete arg4;
16374 }
16375 {
16376 if (temp7) delete arg7;
16377 }
16378 {
16379 if (temp11)
16380 delete arg11;
16381 }
16382 return resultobj;
16383fail:
16384 {
16385 if (temp4)
16386 delete arg4;
16387 }
16388 {
16389 if (temp7) delete arg7;
16390 }
16391 {
16392 if (temp11)
16393 delete arg11;
16394 }
16395 return NULL;
16396}
16397
16398
16399SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj = 0;
16401 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16402 int arg2 ;
16403 void *argp1 = 0 ;
16404 int res1 = 0 ;
16405 int val2 ;
16406 int ecode2 = 0 ;
16407 PyObject * obj0 = 0 ;
16408 PyObject * obj1 = 0 ;
16409 char * kwnames[] = {
16410 (char *) "self",(char *) "n", NULL
16411 };
16412
16413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16415 if (!SWIG_IsOK(res1)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16417 }
16418 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16419 ecode2 = SWIG_AsVal_int(obj1, &val2);
16420 if (!SWIG_IsOK(ecode2)) {
16421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16422 }
16423 arg2 = static_cast< int >(val2);
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 (arg1)->SetSelection(arg2);
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 resultobj = SWIG_Py_Void();
16431 return resultobj;
16432fail:
16433 return NULL;
d55e5bfc
RD
16434}
16435
16436
1bd55598
RD
16437SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16438 PyObject *resultobj = 0;
16439 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16440 int result;
16441 void *argp1 = 0 ;
16442 int res1 = 0 ;
16443 PyObject *swig_obj[1] ;
16444
16445 if (!args) SWIG_fail;
16446 swig_obj[0] = args;
16447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16448 if (!SWIG_IsOK(res1)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16450 }
16451 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 resultobj = SWIG_From_int(static_cast< int >(result));
16459 return resultobj;
16460fail:
16461 return NULL;
d55e5bfc
RD
16462}
16463
16464
1bd55598
RD
16465SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16466 PyObject *resultobj = 0;
16467 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16468 wxString result;
16469 void *argp1 = 0 ;
16470 int res1 = 0 ;
16471 PyObject *swig_obj[1] ;
16472
16473 if (!args) SWIG_fail;
16474 swig_obj[0] = args;
16475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16476 if (!SWIG_IsOK(res1)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16478 }
16479 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 {
16487#if wxUSE_UNICODE
16488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16489#else
16490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16491#endif
16492 }
16493 return resultobj;
16494fail:
16495 return NULL;
16496}
16497
16498
16499SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj = 0;
16501 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16502 wxString *arg2 = 0 ;
16503 bool result;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 bool temp2 = false ;
16507 PyObject * obj0 = 0 ;
16508 PyObject * obj1 = 0 ;
16509 char * kwnames[] = {
16510 (char *) "self",(char *) "s", NULL
16511 };
16512
16513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16515 if (!SWIG_IsOK(res1)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16517 }
16518 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16519 {
16520 arg2 = wxString_in_helper(obj1);
16521 if (arg2 == NULL) SWIG_fail;
16522 temp2 = true;
16523 }
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16532 }
16533 {
16534 if (temp2)
16535 delete arg2;
16536 }
16537 return resultobj;
16538fail:
16539 {
16540 if (temp2)
16541 delete arg2;
16542 }
16543 return NULL;
4896ac9e
RD
16544}
16545
16546
1bd55598
RD
16547SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16548 PyObject *resultobj = 0;
16549 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16550 size_t result;
1bd55598
RD
16551 void *argp1 = 0 ;
16552 int res1 = 0 ;
16553 PyObject *swig_obj[1] ;
16554
16555 if (!args) SWIG_fail;
16556 swig_obj[0] = args;
16557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16558 if (!SWIG_IsOK(res1)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16560 }
16561 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16564 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
1bd55598
RD
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
1c71765a 16568 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
1bd55598
RD
16569 return resultobj;
16570fail:
16571 return NULL;
16572}
16573
16574
16575SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = 0;
16577 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16578 wxString *arg2 = 0 ;
16579 int result;
16580 void *argp1 = 0 ;
16581 int res1 = 0 ;
16582 bool temp2 = false ;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 char * kwnames[] = {
16586 (char *) "self",(char *) "s", NULL
16587 };
16588
16589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16591 if (!SWIG_IsOK(res1)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16593 }
16594 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16595 {
16596 arg2 = wxString_in_helper(obj1);
16597 if (arg2 == NULL) SWIG_fail;
16598 temp2 = true;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 resultobj = SWIG_From_int(static_cast< int >(result));
16607 {
16608 if (temp2)
16609 delete arg2;
16610 }
16611 return resultobj;
16612fail:
16613 {
16614 if (temp2)
16615 delete arg2;
16616 }
16617 return NULL;
16618}
16619
16620
16621SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj = 0;
16623 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16624 int arg2 ;
16625 wxString result;
16626 void *argp1 = 0 ;
16627 int res1 = 0 ;
16628 int val2 ;
16629 int ecode2 = 0 ;
16630 PyObject * obj0 = 0 ;
16631 PyObject * obj1 = 0 ;
16632 char * kwnames[] = {
16633 (char *) "self",(char *) "n", NULL
16634 };
16635
16636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16638 if (!SWIG_IsOK(res1)) {
16639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16640 }
16641 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16642 ecode2 = SWIG_AsVal_int(obj1, &val2);
16643 if (!SWIG_IsOK(ecode2)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16645 }
16646 arg2 = static_cast< int >(val2);
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654#if wxUSE_UNICODE
16655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16656#else
16657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16658#endif
16659 }
16660 return resultobj;
16661fail:
16662 return NULL;
16663}
16664
16665
16666SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj = 0;
16668 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16669 int arg2 ;
16670 wxString *arg3 = 0 ;
16671 void *argp1 = 0 ;
16672 int res1 = 0 ;
16673 int val2 ;
16674 int ecode2 = 0 ;
16675 bool temp3 = false ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 PyObject * obj2 = 0 ;
16679 char * kwnames[] = {
16680 (char *) "self",(char *) "n",(char *) "label", NULL
16681 };
16682
16683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16685 if (!SWIG_IsOK(res1)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16687 }
16688 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16689 ecode2 = SWIG_AsVal_int(obj1, &val2);
16690 if (!SWIG_IsOK(ecode2)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16692 }
16693 arg2 = static_cast< int >(val2);
16694 {
16695 arg3 = wxString_in_helper(obj2);
16696 if (arg3 == NULL) SWIG_fail;
16697 temp3 = true;
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 (arg1)->SetString(arg2,(wxString const &)*arg3);
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 resultobj = SWIG_Py_Void();
16706 {
16707 if (temp3)
16708 delete arg3;
16709 }
16710 return resultobj;
16711fail:
16712 {
16713 if (temp3)
16714 delete arg3;
16715 }
16716 return NULL;
16717}
16718
16719
16720SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj = 0;
16722 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16723 unsigned int arg2 ;
1bd55598
RD
16724 bool arg3 = (bool) true ;
16725 void *argp1 = 0 ;
16726 int res1 = 0 ;
50f151d7 16727 unsigned int val2 ;
1bd55598
RD
16728 int ecode2 = 0 ;
16729 bool val3 ;
16730 int ecode3 = 0 ;
16731 PyObject * obj0 = 0 ;
16732 PyObject * obj1 = 0 ;
16733 PyObject * obj2 = 0 ;
16734 char * kwnames[] = {
16735 (char *) "self",(char *) "n",(char *) "enable", NULL
16736 };
16737
16738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16740 if (!SWIG_IsOK(res1)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16742 }
16743 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16744 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16745 if (!SWIG_IsOK(ecode2)) {
50f151d7 16746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16747 }
50f151d7 16748 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16749 if (obj2) {
16750 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16751 if (!SWIG_IsOK(ecode3)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16753 }
16754 arg3 = static_cast< bool >(val3);
16755 }
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 (arg1)->Enable(arg2,arg3);
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_Py_Void();
16763 return resultobj;
16764fail:
16765 return NULL;
16766}
16767
16768
16769SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj = 0;
16771 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16772 unsigned int arg2 ;
1bd55598
RD
16773 bool arg3 = (bool) true ;
16774 void *argp1 = 0 ;
16775 int res1 = 0 ;
50f151d7 16776 unsigned int val2 ;
1bd55598
RD
16777 int ecode2 = 0 ;
16778 bool val3 ;
16779 int ecode3 = 0 ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 PyObject * obj2 = 0 ;
16783 char * kwnames[] = {
16784 (char *) "self",(char *) "n",(char *) "show", NULL
16785 };
16786
16787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16789 if (!SWIG_IsOK(res1)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16791 }
16792 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16793 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 16794 if (!SWIG_IsOK(ecode2)) {
50f151d7 16795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 16796 }
50f151d7 16797 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
16798 if (obj2) {
16799 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16800 if (!SWIG_IsOK(ecode3)) {
16801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16802 }
16803 arg3 = static_cast< bool >(val3);
16804 }
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 (arg1)->Show(arg2,arg3);
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_Py_Void();
16812 return resultobj;
16813fail:
16814 return NULL;
d55e5bfc
RD
16815}
16816
16817
50f151d7
RD
16818SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj = 0;
16820 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16821 unsigned int arg2 ;
16822 bool result;
16823 void *argp1 = 0 ;
16824 int res1 = 0 ;
16825 unsigned int val2 ;
16826 int ecode2 = 0 ;
16827 PyObject * obj0 = 0 ;
16828 PyObject * obj1 = 0 ;
16829 char * kwnames[] = {
16830 (char *) "self",(char *) "n", NULL
16831 };
16832
16833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16835 if (!SWIG_IsOK(res1)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16837 }
16838 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16839 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16840 if (!SWIG_IsOK(ecode2)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16842 }
16843 arg2 = static_cast< unsigned int >(val2);
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 {
16851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16852 }
16853 return resultobj;
16854fail:
16855 return NULL;
16856}
16857
16858
16859SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj = 0;
16861 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16862 unsigned int arg2 ;
16863 bool result;
16864 void *argp1 = 0 ;
16865 int res1 = 0 ;
16866 unsigned int val2 ;
16867 int ecode2 = 0 ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj1 = 0 ;
16870 char * kwnames[] = {
16871 (char *) "self",(char *) "n", NULL
16872 };
16873
16874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16876 if (!SWIG_IsOK(res1)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16878 }
16879 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16880 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16881 if (!SWIG_IsOK(ecode2)) {
16882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16883 }
16884 arg2 = static_cast< unsigned int >(val2);
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16893 }
16894 return resultobj;
16895fail:
16896 return NULL;
16897}
16898
16899
1bd55598
RD
16900SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16901 PyObject *resultobj = 0;
16902 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16903 unsigned int result;
1bd55598
RD
16904 void *argp1 = 0 ;
16905 int res1 = 0 ;
16906 PyObject *swig_obj[1] ;
16907
16908 if (!args) SWIG_fail;
16909 swig_obj[0] = args;
16910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16911 if (!SWIG_IsOK(res1)) {
16912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16913 }
16914 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16917 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
1bd55598
RD
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
50f151d7 16921 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16922 return resultobj;
16923fail:
16924 return NULL;
d55e5bfc
RD
16925}
16926
16927
1bd55598
RD
16928SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16929 PyObject *resultobj = 0;
16930 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16931 unsigned int result;
1bd55598
RD
16932 void *argp1 = 0 ;
16933 int res1 = 0 ;
16934 PyObject *swig_obj[1] ;
16935
16936 if (!args) SWIG_fail;
16937 swig_obj[0] = args;
16938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16939 if (!SWIG_IsOK(res1)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16941 }
16942 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16945 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
1bd55598
RD
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
50f151d7 16949 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
16950 return resultobj;
16951fail:
16952 return NULL;
16953}
16954
16955
16956SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16957 PyObject *resultobj = 0;
16958 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16959 int arg2 ;
16960 wxDirection arg3 ;
16961 long arg4 ;
16962 int result;
16963 void *argp1 = 0 ;
16964 int res1 = 0 ;
16965 int val2 ;
16966 int ecode2 = 0 ;
16967 int val3 ;
16968 int ecode3 = 0 ;
16969 long val4 ;
16970 int ecode4 = 0 ;
16971 PyObject * obj0 = 0 ;
16972 PyObject * obj1 = 0 ;
16973 PyObject * obj2 = 0 ;
16974 PyObject * obj3 = 0 ;
16975 char * kwnames[] = {
16976 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16977 };
16978
16979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16981 if (!SWIG_IsOK(res1)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16983 }
16984 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16985 ecode2 = SWIG_AsVal_int(obj1, &val2);
16986 if (!SWIG_IsOK(ecode2)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16988 }
16989 arg2 = static_cast< int >(val2);
16990 ecode3 = SWIG_AsVal_int(obj2, &val3);
16991 if (!SWIG_IsOK(ecode3)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16993 }
16994 arg3 = static_cast< wxDirection >(val3);
16995 ecode4 = SWIG_AsVal_long(obj3, &val4);
16996 if (!SWIG_IsOK(ecode4)) {
16997 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16998 }
16999 arg4 = static_cast< long >(val4);
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 resultobj = SWIG_From_int(static_cast< int >(result));
17007 return resultobj;
17008fail:
17009 return NULL;
17010}
17011
17012
2131d850
RD
17013SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17014 PyObject *resultobj = 0;
17015 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17016 unsigned int arg2 ;
17017 wxString *arg3 = 0 ;
17018 void *argp1 = 0 ;
17019 int res1 = 0 ;
17020 unsigned int val2 ;
17021 int ecode2 = 0 ;
17022 bool temp3 = false ;
17023 PyObject * obj0 = 0 ;
17024 PyObject * obj1 = 0 ;
17025 PyObject * obj2 = 0 ;
17026 char * kwnames[] = {
17027 (char *) "self",(char *) "item",(char *) "text", NULL
17028 };
17029
17030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17032 if (!SWIG_IsOK(res1)) {
17033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17034 }
17035 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17036 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17037 if (!SWIG_IsOK(ecode2)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17039 }
17040 arg2 = static_cast< unsigned int >(val2);
17041 {
17042 arg3 = wxString_in_helper(obj2);
17043 if (arg3 == NULL) SWIG_fail;
17044 temp3 = true;
17045 }
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = SWIG_Py_Void();
17053 {
17054 if (temp3)
17055 delete arg3;
17056 }
17057 return resultobj;
17058fail:
17059 {
17060 if (temp3)
17061 delete arg3;
17062 }
17063 return NULL;
17064}
17065
17066
17067SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj = 0;
17069 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17070 unsigned int arg2 ;
17071 wxToolTip *result = 0 ;
17072 void *argp1 = 0 ;
17073 int res1 = 0 ;
17074 unsigned int val2 ;
17075 int ecode2 = 0 ;
17076 PyObject * obj0 = 0 ;
17077 PyObject * obj1 = 0 ;
17078 char * kwnames[] = {
17079 (char *) "self",(char *) "item", NULL
17080 };
17081
17082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17084 if (!SWIG_IsOK(res1)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17086 }
17087 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17088 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17089 if (!SWIG_IsOK(ecode2)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17091 }
17092 arg2 = static_cast< unsigned int >(val2);
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 {
17100 resultobj = wxPyMake_wxObject(result, (bool)0);
17101 }
17102 return resultobj;
17103fail:
17104 return NULL;
17105}
17106
17107
b850e7f3
RD
17108SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj = 0;
17110 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17111 unsigned int arg2 ;
17112 wxString *arg3 = 0 ;
17113 void *argp1 = 0 ;
17114 int res1 = 0 ;
17115 unsigned int val2 ;
17116 int ecode2 = 0 ;
17117 bool temp3 = false ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 char * kwnames[] = {
17122 (char *) "self",(char *) "n",(char *) "helpText", NULL
17123 };
17124
17125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17127 if (!SWIG_IsOK(res1)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17129 }
17130 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17131 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17132 if (!SWIG_IsOK(ecode2)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17134 }
17135 arg2 = static_cast< unsigned int >(val2);
17136 {
17137 arg3 = wxString_in_helper(obj2);
17138 if (arg3 == NULL) SWIG_fail;
17139 temp3 = true;
17140 }
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 resultobj = SWIG_Py_Void();
17148 {
17149 if (temp3)
17150 delete arg3;
17151 }
17152 return resultobj;
17153fail:
17154 {
17155 if (temp3)
17156 delete arg3;
17157 }
17158 return NULL;
17159}
17160
17161
17162SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj = 0;
17164 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17165 unsigned int arg2 ;
17166 wxString result;
17167 void *argp1 = 0 ;
17168 int res1 = 0 ;
17169 unsigned int val2 ;
17170 int ecode2 = 0 ;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char * kwnames[] = {
17174 (char *) "self",(char *) "n", NULL
17175 };
17176
17177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17179 if (!SWIG_IsOK(res1)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17181 }
17182 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17183 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17184 if (!SWIG_IsOK(ecode2)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17186 }
17187 arg2 = static_cast< unsigned int >(val2);
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 {
17195#if wxUSE_UNICODE
17196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17197#else
17198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17199#endif
17200 }
17201 return resultobj;
17202fail:
17203 return NULL;
17204}
17205
17206
1bd55598
RD
17207SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj = 0;
17209 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17210 SwigValueWrapper<wxVisualAttributes > result;
17211 int val1 ;
17212 int ecode1 = 0 ;
17213 PyObject * obj0 = 0 ;
17214 char * kwnames[] = {
17215 (char *) "variant", NULL
17216 };
17217
17218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17219 if (obj0) {
17220 ecode1 = SWIG_AsVal_int(obj0, &val1);
17221 if (!SWIG_IsOK(ecode1)) {
17222 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17223 }
17224 arg1 = static_cast< wxWindowVariant >(val1);
17225 }
17226 {
17227 if (!wxPyCheckForApp()) SWIG_fail;
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17234 return resultobj;
17235fail:
17236 return NULL;
17237}
17238
17239
17240SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17241 PyObject *obj;
17242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17243 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17244 return SWIG_Py_Void();
17245}
17246
17247SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17248 return SWIG_Python_InitShadowInstance(args);
17249}
17250
17251SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj = 0;
17253 wxWindow *arg1 = (wxWindow *) 0 ;
17254 int arg2 = (int) -1 ;
17255 wxString const &arg3_defvalue = wxPyEmptyString ;
17256 wxString *arg3 = (wxString *) &arg3_defvalue ;
17257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17259 wxSize const &arg5_defvalue = wxDefaultSize ;
17260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17261 long arg6 = (long) 0 ;
17262 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17263 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17264 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17265 wxString *arg8 = (wxString *) &arg8_defvalue ;
17266 wxRadioButton *result = 0 ;
17267 void *argp1 = 0 ;
17268 int res1 = 0 ;
17269 int val2 ;
17270 int ecode2 = 0 ;
17271 bool temp3 = false ;
17272 wxPoint temp4 ;
17273 wxSize temp5 ;
17274 long val6 ;
17275 int ecode6 = 0 ;
17276 void *argp7 = 0 ;
17277 int res7 = 0 ;
17278 bool temp8 = false ;
17279 PyObject * obj0 = 0 ;
17280 PyObject * obj1 = 0 ;
17281 PyObject * obj2 = 0 ;
17282 PyObject * obj3 = 0 ;
17283 PyObject * obj4 = 0 ;
17284 PyObject * obj5 = 0 ;
17285 PyObject * obj6 = 0 ;
17286 PyObject * obj7 = 0 ;
17287 char * kwnames[] = {
17288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17289 };
17290
17291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17293 if (!SWIG_IsOK(res1)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17295 }
17296 arg1 = reinterpret_cast< wxWindow * >(argp1);
17297 if (obj1) {
17298 ecode2 = SWIG_AsVal_int(obj1, &val2);
17299 if (!SWIG_IsOK(ecode2)) {
17300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17301 }
17302 arg2 = static_cast< int >(val2);
17303 }
17304 if (obj2) {
d55e5bfc 17305 {
1bd55598
RD
17306 arg3 = wxString_in_helper(obj2);
17307 if (arg3 == NULL) SWIG_fail;
17308 temp3 = true;
d55e5bfc 17309 }
1bd55598
RD
17310 }
17311 if (obj3) {
d55e5bfc 17312 {
1bd55598
RD
17313 arg4 = &temp4;
17314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17315 }
1bd55598
RD
17316 }
17317 if (obj4) {
d55e5bfc 17318 {
1bd55598
RD
17319 arg5 = &temp5;
17320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17321 }
1bd55598
RD
17322 }
17323 if (obj5) {
17324 ecode6 = SWIG_AsVal_long(obj5, &val6);
17325 if (!SWIG_IsOK(ecode6)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17327 }
17328 arg6 = static_cast< long >(val6);
17329 }
17330 if (obj6) {
17331 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17332 if (!SWIG_IsOK(res7)) {
17333 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17334 }
1bd55598
RD
17335 if (!argp7) {
17336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17337 }
17338 arg7 = reinterpret_cast< wxValidator * >(argp7);
17339 }
17340 if (obj7) {
d55e5bfc 17341 {
1bd55598
RD
17342 arg8 = wxString_in_helper(obj7);
17343 if (arg8 == NULL) SWIG_fail;
17344 temp8 = true;
d55e5bfc 17345 }
1bd55598
RD
17346 }
17347 {
17348 if (!wxPyCheckForApp()) SWIG_fail;
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17355 {
17356 if (temp3)
17357 delete arg3;
17358 }
17359 {
17360 if (temp8)
17361 delete arg8;
17362 }
17363 return resultobj;
17364fail:
17365 {
17366 if (temp3)
17367 delete arg3;
17368 }
17369 {
17370 if (temp8)
17371 delete arg8;
17372 }
17373 return NULL;
d55e5bfc
RD
17374}
17375
17376
1bd55598
RD
17377SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17378 PyObject *resultobj = 0;
17379 wxRadioButton *result = 0 ;
17380
17381 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17382 {
17383 if (!wxPyCheckForApp()) SWIG_fail;
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (wxRadioButton *)new wxRadioButton();
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17390 return resultobj;
17391fail:
17392 return NULL;
17393}
17394
17395
17396SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj = 0;
17398 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17399 wxWindow *arg2 = (wxWindow *) 0 ;
17400 int arg3 = (int) -1 ;
17401 wxString const &arg4_defvalue = wxPyEmptyString ;
17402 wxString *arg4 = (wxString *) &arg4_defvalue ;
17403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17405 wxSize const &arg6_defvalue = wxDefaultSize ;
17406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17407 long arg7 = (long) 0 ;
17408 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17409 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17410 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17411 wxString *arg9 = (wxString *) &arg9_defvalue ;
17412 bool result;
17413 void *argp1 = 0 ;
17414 int res1 = 0 ;
17415 void *argp2 = 0 ;
17416 int res2 = 0 ;
17417 int val3 ;
17418 int ecode3 = 0 ;
17419 bool temp4 = false ;
17420 wxPoint temp5 ;
17421 wxSize temp6 ;
17422 long val7 ;
17423 int ecode7 = 0 ;
17424 void *argp8 = 0 ;
17425 int res8 = 0 ;
17426 bool temp9 = false ;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 PyObject * obj2 = 0 ;
17430 PyObject * obj3 = 0 ;
17431 PyObject * obj4 = 0 ;
17432 PyObject * obj5 = 0 ;
17433 PyObject * obj6 = 0 ;
17434 PyObject * obj7 = 0 ;
17435 PyObject * obj8 = 0 ;
17436 char * kwnames[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17438 };
17439
17440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17442 if (!SWIG_IsOK(res1)) {
17443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17444 }
17445 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17447 if (!SWIG_IsOK(res2)) {
17448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17449 }
17450 arg2 = reinterpret_cast< wxWindow * >(argp2);
17451 if (obj2) {
17452 ecode3 = SWIG_AsVal_int(obj2, &val3);
17453 if (!SWIG_IsOK(ecode3)) {
17454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17455 }
17456 arg3 = static_cast< int >(val3);
17457 }
17458 if (obj3) {
d55e5bfc 17459 {
1bd55598
RD
17460 arg4 = wxString_in_helper(obj3);
17461 if (arg4 == NULL) SWIG_fail;
17462 temp4 = true;
d55e5bfc 17463 }
1bd55598
RD
17464 }
17465 if (obj4) {
d55e5bfc 17466 {
1bd55598
RD
17467 arg5 = &temp5;
17468 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17469 }
1bd55598
RD
17470 }
17471 if (obj5) {
d55e5bfc 17472 {
1bd55598
RD
17473 arg6 = &temp6;
17474 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17475 }
1bd55598
RD
17476 }
17477 if (obj6) {
17478 ecode7 = SWIG_AsVal_long(obj6, &val7);
17479 if (!SWIG_IsOK(ecode7)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17481 }
17482 arg7 = static_cast< long >(val7);
17483 }
17484 if (obj7) {
17485 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17486 if (!SWIG_IsOK(res8)) {
17487 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17488 }
1bd55598
RD
17489 if (!argp8) {
17490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17491 }
1bd55598
RD
17492 arg8 = reinterpret_cast< wxValidator * >(argp8);
17493 }
17494 if (obj8) {
d55e5bfc 17495 {
1bd55598
RD
17496 arg9 = wxString_in_helper(obj8);
17497 if (arg9 == NULL) SWIG_fail;
17498 temp9 = true;
d55e5bfc 17499 }
1bd55598
RD
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 {
17508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17509 }
17510 {
17511 if (temp4)
17512 delete arg4;
17513 }
17514 {
17515 if (temp9)
17516 delete arg9;
17517 }
17518 return resultobj;
17519fail:
17520 {
17521 if (temp4)
17522 delete arg4;
17523 }
17524 {
17525 if (temp9)
17526 delete arg9;
17527 }
17528 return NULL;
d55e5bfc
RD
17529}
17530
17531
1bd55598
RD
17532SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17533 PyObject *resultobj = 0;
17534 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17535 bool result;
17536 void *argp1 = 0 ;
17537 int res1 = 0 ;
17538 PyObject *swig_obj[1] ;
17539
17540 if (!args) SWIG_fail;
17541 swig_obj[0] = args;
17542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17543 if (!SWIG_IsOK(res1)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17545 }
17546 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (bool)(arg1)->GetValue();
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 {
17554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17555 }
17556 return resultobj;
17557fail:
17558 return NULL;
17559}
17560
17561
17562SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj = 0;
17564 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17565 bool arg2 ;
17566 void *argp1 = 0 ;
17567 int res1 = 0 ;
17568 bool val2 ;
17569 int ecode2 = 0 ;
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 char * kwnames[] = {
17573 (char *) "self",(char *) "value", NULL
17574 };
17575
17576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17578 if (!SWIG_IsOK(res1)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17580 }
17581 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17582 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17583 if (!SWIG_IsOK(ecode2)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17585 }
17586 arg2 = static_cast< bool >(val2);
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 (arg1)->SetValue(arg2);
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 resultobj = SWIG_Py_Void();
17594 return resultobj;
17595fail:
17596 return NULL;
17597}
17598
17599
17600SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17601 PyObject *resultobj = 0;
17602 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17603 SwigValueWrapper<wxVisualAttributes > result;
17604 int val1 ;
17605 int ecode1 = 0 ;
17606 PyObject * obj0 = 0 ;
17607 char * kwnames[] = {
17608 (char *) "variant", NULL
17609 };
17610
17611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17612 if (obj0) {
17613 ecode1 = SWIG_AsVal_int(obj0, &val1);
17614 if (!SWIG_IsOK(ecode1)) {
17615 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17616 }
17617 arg1 = static_cast< wxWindowVariant >(val1);
17618 }
17619 {
17620 if (!wxPyCheckForApp()) SWIG_fail;
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17627 return resultobj;
17628fail:
17629 return NULL;
d55e5bfc
RD
17630}
17631
17632
1bd55598
RD
17633SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17634 PyObject *obj;
17635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17636 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17637 return SWIG_Py_Void();
d55e5bfc
RD
17638}
17639
1bd55598
RD
17640SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17641 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
17642}
17643
1bd55598
RD
17644SWIGINTERN int SliderNameStr_set(PyObject *) {
17645 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17646 return 1;
d55e5bfc
RD
17647}
17648
17649
1bd55598
RD
17650SWIGINTERN PyObject *SliderNameStr_get(void) {
17651 PyObject *pyobj = 0;
17652
17653 {
17654#if wxUSE_UNICODE
17655 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17656#else
17657 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17658#endif
17659 }
17660 return pyobj;
17661}
17662
17663
17664SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj = 0;
17666 wxWindow *arg1 = (wxWindow *) 0 ;
17667 int arg2 = (int) -1 ;
17668 int arg3 = (int) 0 ;
17669 int arg4 = (int) 0 ;
17670 int arg5 = (int) 100 ;
17671 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17672 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17673 wxSize const &arg7_defvalue = wxDefaultSize ;
17674 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17675 long arg8 = (long) wxSL_HORIZONTAL ;
17676 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17677 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17678 wxString const &arg10_defvalue = wxPySliderNameStr ;
17679 wxString *arg10 = (wxString *) &arg10_defvalue ;
17680 wxSlider *result = 0 ;
17681 void *argp1 = 0 ;
17682 int res1 = 0 ;
17683 int val2 ;
17684 int ecode2 = 0 ;
17685 int val3 ;
17686 int ecode3 = 0 ;
17687 int val4 ;
17688 int ecode4 = 0 ;
17689 int val5 ;
17690 int ecode5 = 0 ;
17691 wxPoint temp6 ;
17692 wxSize temp7 ;
17693 long val8 ;
17694 int ecode8 = 0 ;
17695 void *argp9 = 0 ;
17696 int res9 = 0 ;
17697 bool temp10 = false ;
17698 PyObject * obj0 = 0 ;
17699 PyObject * obj1 = 0 ;
17700 PyObject * obj2 = 0 ;
17701 PyObject * obj3 = 0 ;
17702 PyObject * obj4 = 0 ;
17703 PyObject * obj5 = 0 ;
17704 PyObject * obj6 = 0 ;
17705 PyObject * obj7 = 0 ;
17706 PyObject * obj8 = 0 ;
17707 PyObject * obj9 = 0 ;
17708 char * kwnames[] = {
17709 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17710 };
17711
17712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17714 if (!SWIG_IsOK(res1)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17716 }
17717 arg1 = reinterpret_cast< wxWindow * >(argp1);
17718 if (obj1) {
17719 ecode2 = SWIG_AsVal_int(obj1, &val2);
17720 if (!SWIG_IsOK(ecode2)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17722 }
17723 arg2 = static_cast< int >(val2);
17724 }
17725 if (obj2) {
17726 ecode3 = SWIG_AsVal_int(obj2, &val3);
17727 if (!SWIG_IsOK(ecode3)) {
17728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17729 }
17730 arg3 = static_cast< int >(val3);
17731 }
17732 if (obj3) {
17733 ecode4 = SWIG_AsVal_int(obj3, &val4);
17734 if (!SWIG_IsOK(ecode4)) {
17735 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17736 }
17737 arg4 = static_cast< int >(val4);
17738 }
17739 if (obj4) {
17740 ecode5 = SWIG_AsVal_int(obj4, &val5);
17741 if (!SWIG_IsOK(ecode5)) {
17742 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17743 }
17744 arg5 = static_cast< int >(val5);
17745 }
17746 if (obj5) {
36ed4f51 17747 {
1bd55598
RD
17748 arg6 = &temp6;
17749 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 17750 }
1bd55598
RD
17751 }
17752 if (obj6) {
36ed4f51 17753 {
1bd55598
RD
17754 arg7 = &temp7;
17755 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
36ed4f51 17756 }
1bd55598
RD
17757 }
17758 if (obj7) {
17759 ecode8 = SWIG_AsVal_long(obj7, &val8);
17760 if (!SWIG_IsOK(ecode8)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17762 }
17763 arg8 = static_cast< long >(val8);
17764 }
17765 if (obj8) {
17766 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17767 if (!SWIG_IsOK(res9)) {
17768 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
36ed4f51 17769 }
1bd55598
RD
17770 if (!argp9) {
17771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 17772 }
1bd55598
RD
17773 arg9 = reinterpret_cast< wxValidator * >(argp9);
17774 }
17775 if (obj9) {
d55e5bfc 17776 {
1bd55598
RD
17777 arg10 = wxString_in_helper(obj9);
17778 if (arg10 == NULL) SWIG_fail;
17779 temp10 = true;
d55e5bfc 17780 }
1bd55598
RD
17781 }
17782 {
17783 if (!wxPyCheckForApp()) SWIG_fail;
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17790 {
17791 if (temp10)
17792 delete arg10;
17793 }
17794 return resultobj;
17795fail:
17796 {
17797 if (temp10)
17798 delete arg10;
17799 }
17800 return NULL;
d55e5bfc
RD
17801}
17802
17803
1bd55598
RD
17804SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17805 PyObject *resultobj = 0;
17806 wxSlider *result = 0 ;
17807
17808 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17809 {
17810 if (!wxPyCheckForApp()) SWIG_fail;
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 result = (wxSlider *)new wxSlider();
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17817 return resultobj;
17818fail:
17819 return NULL;
17820}
17821
17822
17823SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj = 0;
17825 wxSlider *arg1 = (wxSlider *) 0 ;
17826 wxWindow *arg2 = (wxWindow *) 0 ;
17827 int arg3 = (int) -1 ;
17828 int arg4 = (int) 0 ;
17829 int arg5 = (int) 0 ;
17830 int arg6 = (int) 100 ;
17831 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17832 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17833 wxSize const &arg8_defvalue = wxDefaultSize ;
17834 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17835 long arg9 = (long) wxSL_HORIZONTAL ;
17836 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17837 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17838 wxString const &arg11_defvalue = wxPySliderNameStr ;
17839 wxString *arg11 = (wxString *) &arg11_defvalue ;
17840 bool result;
17841 void *argp1 = 0 ;
17842 int res1 = 0 ;
17843 void *argp2 = 0 ;
17844 int res2 = 0 ;
17845 int val3 ;
17846 int ecode3 = 0 ;
17847 int val4 ;
17848 int ecode4 = 0 ;
17849 int val5 ;
17850 int ecode5 = 0 ;
17851 int val6 ;
17852 int ecode6 = 0 ;
17853 wxPoint temp7 ;
17854 wxSize temp8 ;
17855 long val9 ;
17856 int ecode9 = 0 ;
17857 void *argp10 = 0 ;
17858 int res10 = 0 ;
17859 bool temp11 = false ;
17860 PyObject * obj0 = 0 ;
17861 PyObject * obj1 = 0 ;
17862 PyObject * obj2 = 0 ;
17863 PyObject * obj3 = 0 ;
17864 PyObject * obj4 = 0 ;
17865 PyObject * obj5 = 0 ;
17866 PyObject * obj6 = 0 ;
17867 PyObject * obj7 = 0 ;
17868 PyObject * obj8 = 0 ;
17869 PyObject * obj9 = 0 ;
17870 PyObject * obj10 = 0 ;
17871 char * kwnames[] = {
17872 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17873 };
17874
17875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17877 if (!SWIG_IsOK(res1)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17879 }
17880 arg1 = reinterpret_cast< wxSlider * >(argp1);
17881 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17882 if (!SWIG_IsOK(res2)) {
17883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17884 }
17885 arg2 = reinterpret_cast< wxWindow * >(argp2);
17886 if (obj2) {
17887 ecode3 = SWIG_AsVal_int(obj2, &val3);
17888 if (!SWIG_IsOK(ecode3)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17890 }
17891 arg3 = static_cast< int >(val3);
17892 }
17893 if (obj3) {
17894 ecode4 = SWIG_AsVal_int(obj3, &val4);
17895 if (!SWIG_IsOK(ecode4)) {
17896 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17897 }
17898 arg4 = static_cast< int >(val4);
17899 }
17900 if (obj4) {
17901 ecode5 = SWIG_AsVal_int(obj4, &val5);
17902 if (!SWIG_IsOK(ecode5)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17904 }
17905 arg5 = static_cast< int >(val5);
17906 }
17907 if (obj5) {
17908 ecode6 = SWIG_AsVal_int(obj5, &val6);
17909 if (!SWIG_IsOK(ecode6)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17911 }
17912 arg6 = static_cast< int >(val6);
17913 }
17914 if (obj6) {
d55e5bfc 17915 {
1bd55598
RD
17916 arg7 = &temp7;
17917 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17918 }
1bd55598
RD
17919 }
17920 if (obj7) {
d55e5bfc 17921 {
1bd55598
RD
17922 arg8 = &temp8;
17923 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d55e5bfc 17924 }
1bd55598
RD
17925 }
17926 if (obj8) {
17927 ecode9 = SWIG_AsVal_long(obj8, &val9);
17928 if (!SWIG_IsOK(ecode9)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17930 }
17931 arg9 = static_cast< long >(val9);
17932 }
17933 if (obj9) {
17934 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17935 if (!SWIG_IsOK(res10)) {
17936 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17937 }
1bd55598
RD
17938 if (!argp10) {
17939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 17940 }
1bd55598
RD
17941 arg10 = reinterpret_cast< wxValidator * >(argp10);
17942 }
17943 if (obj10) {
d55e5bfc 17944 {
1bd55598
RD
17945 arg11 = wxString_in_helper(obj10);
17946 if (arg11 == NULL) SWIG_fail;
17947 temp11 = true;
d55e5bfc 17948 }
1bd55598
RD
17949 }
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 {
17957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17958 }
17959 {
17960 if (temp11)
17961 delete arg11;
17962 }
17963 return resultobj;
17964fail:
17965 {
17966 if (temp11)
17967 delete arg11;
17968 }
17969 return NULL;
d55e5bfc
RD
17970}
17971
17972
1bd55598
RD
17973SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17974 PyObject *resultobj = 0;
17975 wxSlider *arg1 = (wxSlider *) 0 ;
17976 int result;
17977 void *argp1 = 0 ;
17978 int res1 = 0 ;
17979 PyObject *swig_obj[1] ;
17980
17981 if (!args) SWIG_fail;
17982 swig_obj[0] = args;
17983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17984 if (!SWIG_IsOK(res1)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17986 }
17987 arg1 = reinterpret_cast< wxSlider * >(argp1);
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = (int)((wxSlider const *)arg1)->GetValue();
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 resultobj = SWIG_From_int(static_cast< int >(result));
17995 return resultobj;
17996fail:
17997 return NULL;
17998}
17999
18000
18001SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj = 0;
18003 wxSlider *arg1 = (wxSlider *) 0 ;
18004 int arg2 ;
18005 void *argp1 = 0 ;
18006 int res1 = 0 ;
18007 int val2 ;
18008 int ecode2 = 0 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 char * kwnames[] = {
18012 (char *) "self",(char *) "value", NULL
18013 };
18014
18015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18017 if (!SWIG_IsOK(res1)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18019 }
18020 arg1 = reinterpret_cast< wxSlider * >(argp1);
18021 ecode2 = SWIG_AsVal_int(obj1, &val2);
18022 if (!SWIG_IsOK(ecode2)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18024 }
18025 arg2 = static_cast< int >(val2);
18026 {
18027 PyThreadState* __tstate = wxPyBeginAllowThreads();
18028 (arg1)->SetValue(arg2);
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = SWIG_Py_Void();
18033 return resultobj;
18034fail:
18035 return NULL;
18036}
18037
18038
18039SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj = 0;
18041 wxSlider *arg1 = (wxSlider *) 0 ;
18042 int arg2 ;
18043 int arg3 ;
18044 void *argp1 = 0 ;
18045 int res1 = 0 ;
18046 int val2 ;
18047 int ecode2 = 0 ;
18048 int val3 ;
18049 int ecode3 = 0 ;
18050 PyObject * obj0 = 0 ;
18051 PyObject * obj1 = 0 ;
18052 PyObject * obj2 = 0 ;
18053 char * kwnames[] = {
18054 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18055 };
18056
18057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18059 if (!SWIG_IsOK(res1)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18061 }
18062 arg1 = reinterpret_cast< wxSlider * >(argp1);
18063 ecode2 = SWIG_AsVal_int(obj1, &val2);
18064 if (!SWIG_IsOK(ecode2)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18066 }
18067 arg2 = static_cast< int >(val2);
18068 ecode3 = SWIG_AsVal_int(obj2, &val3);
18069 if (!SWIG_IsOK(ecode3)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18071 }
18072 arg3 = static_cast< int >(val3);
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 (arg1)->SetRange(arg2,arg3);
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 resultobj = SWIG_Py_Void();
18080 return resultobj;
18081fail:
18082 return NULL;
d55e5bfc
RD
18083}
18084
18085
1bd55598
RD
18086SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18087 PyObject *resultobj = 0;
18088 wxSlider *arg1 = (wxSlider *) 0 ;
18089 int result;
18090 void *argp1 = 0 ;
18091 int res1 = 0 ;
18092 PyObject *swig_obj[1] ;
18093
18094 if (!args) SWIG_fail;
18095 swig_obj[0] = args;
18096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18097 if (!SWIG_IsOK(res1)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18099 }
18100 arg1 = reinterpret_cast< wxSlider * >(argp1);
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (int)((wxSlider const *)arg1)->GetMin();
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = SWIG_From_int(static_cast< int >(result));
18108 return resultobj;
18109fail:
18110 return NULL;
f20a2e1f
RD
18111}
18112
18113
1bd55598
RD
18114SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18115 PyObject *resultobj = 0;
18116 wxSlider *arg1 = (wxSlider *) 0 ;
18117 int result;
18118 void *argp1 = 0 ;
18119 int res1 = 0 ;
18120 PyObject *swig_obj[1] ;
18121
18122 if (!args) SWIG_fail;
18123 swig_obj[0] = args;
18124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18125 if (!SWIG_IsOK(res1)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18127 }
18128 arg1 = reinterpret_cast< wxSlider * >(argp1);
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (int)((wxSlider const *)arg1)->GetMax();
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 resultobj = SWIG_From_int(static_cast< int >(result));
18136 return resultobj;
18137fail:
18138 return NULL;
18139}
18140
18141
18142SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj = 0;
18144 wxSlider *arg1 = (wxSlider *) 0 ;
18145 int arg2 ;
18146 void *argp1 = 0 ;
18147 int res1 = 0 ;
18148 int val2 ;
18149 int ecode2 = 0 ;
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152 char * kwnames[] = {
18153 (char *) "self",(char *) "minValue", NULL
18154 };
18155
18156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18160 }
18161 arg1 = reinterpret_cast< wxSlider * >(argp1);
18162 ecode2 = SWIG_AsVal_int(obj1, &val2);
18163 if (!SWIG_IsOK(ecode2)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18165 }
18166 arg2 = static_cast< int >(val2);
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 (arg1)->SetMin(arg2);
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 resultobj = SWIG_Py_Void();
18174 return resultobj;
18175fail:
18176 return NULL;
18177}
18178
18179
18180SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj = 0;
18182 wxSlider *arg1 = (wxSlider *) 0 ;
18183 int arg2 ;
18184 void *argp1 = 0 ;
18185 int res1 = 0 ;
18186 int val2 ;
18187 int ecode2 = 0 ;
18188 PyObject * obj0 = 0 ;
18189 PyObject * obj1 = 0 ;
18190 char * kwnames[] = {
18191 (char *) "self",(char *) "maxValue", NULL
18192 };
18193
18194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18196 if (!SWIG_IsOK(res1)) {
18197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18198 }
18199 arg1 = reinterpret_cast< wxSlider * >(argp1);
18200 ecode2 = SWIG_AsVal_int(obj1, &val2);
18201 if (!SWIG_IsOK(ecode2)) {
18202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18203 }
18204 arg2 = static_cast< int >(val2);
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 (arg1)->SetMax(arg2);
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = SWIG_Py_Void();
18212 return resultobj;
18213fail:
18214 return NULL;
18215}
18216
18217
18218SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj = 0;
18220 wxSlider *arg1 = (wxSlider *) 0 ;
18221 int arg2 ;
18222 void *argp1 = 0 ;
18223 int res1 = 0 ;
18224 int val2 ;
18225 int ecode2 = 0 ;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228 char * kwnames[] = {
18229 (char *) "self",(char *) "lineSize", NULL
18230 };
18231
18232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18234 if (!SWIG_IsOK(res1)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18236 }
18237 arg1 = reinterpret_cast< wxSlider * >(argp1);
18238 ecode2 = SWIG_AsVal_int(obj1, &val2);
18239 if (!SWIG_IsOK(ecode2)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18241 }
18242 arg2 = static_cast< int >(val2);
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 (arg1)->SetLineSize(arg2);
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 resultobj = SWIG_Py_Void();
18250 return resultobj;
18251fail:
18252 return NULL;
18253}
18254
18255
18256SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj = 0;
18258 wxSlider *arg1 = (wxSlider *) 0 ;
18259 int arg2 ;
18260 void *argp1 = 0 ;
18261 int res1 = 0 ;
18262 int val2 ;
18263 int ecode2 = 0 ;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 char * kwnames[] = {
18267 (char *) "self",(char *) "pageSize", NULL
18268 };
18269
18270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18272 if (!SWIG_IsOK(res1)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18274 }
18275 arg1 = reinterpret_cast< wxSlider * >(argp1);
18276 ecode2 = SWIG_AsVal_int(obj1, &val2);
18277 if (!SWIG_IsOK(ecode2)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18279 }
18280 arg2 = static_cast< int >(val2);
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 (arg1)->SetPageSize(arg2);
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = SWIG_Py_Void();
18288 return resultobj;
18289fail:
18290 return NULL;
d55e5bfc
RD
18291}
18292
18293
1bd55598
RD
18294SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18295 PyObject *resultobj = 0;
18296 wxSlider *arg1 = (wxSlider *) 0 ;
18297 int result;
18298 void *argp1 = 0 ;
18299 int res1 = 0 ;
18300 PyObject *swig_obj[1] ;
18301
18302 if (!args) SWIG_fail;
18303 swig_obj[0] = args;
18304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18305 if (!SWIG_IsOK(res1)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18307 }
18308 arg1 = reinterpret_cast< wxSlider * >(argp1);
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (int)((wxSlider const *)arg1)->GetLineSize();
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = SWIG_From_int(static_cast< int >(result));
18316 return resultobj;
18317fail:
18318 return NULL;
d55e5bfc
RD
18319}
18320
18321
1bd55598
RD
18322SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18323 PyObject *resultobj = 0;
18324 wxSlider *arg1 = (wxSlider *) 0 ;
18325 int result;
18326 void *argp1 = 0 ;
18327 int res1 = 0 ;
18328 PyObject *swig_obj[1] ;
18329
18330 if (!args) SWIG_fail;
18331 swig_obj[0] = args;
18332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18333 if (!SWIG_IsOK(res1)) {
18334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18335 }
18336 arg1 = reinterpret_cast< wxSlider * >(argp1);
18337 {
18338 PyThreadState* __tstate = wxPyBeginAllowThreads();
18339 result = (int)((wxSlider const *)arg1)->GetPageSize();
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 resultobj = SWIG_From_int(static_cast< int >(result));
18344 return resultobj;
18345fail:
18346 return NULL;
18347}
18348
18349
18350SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj = 0;
18352 wxSlider *arg1 = (wxSlider *) 0 ;
18353 int arg2 ;
18354 void *argp1 = 0 ;
18355 int res1 = 0 ;
18356 int val2 ;
18357 int ecode2 = 0 ;
18358 PyObject * obj0 = 0 ;
18359 PyObject * obj1 = 0 ;
18360 char * kwnames[] = {
18361 (char *) "self",(char *) "lenPixels", NULL
18362 };
18363
18364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18366 if (!SWIG_IsOK(res1)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18368 }
18369 arg1 = reinterpret_cast< wxSlider * >(argp1);
18370 ecode2 = SWIG_AsVal_int(obj1, &val2);
18371 if (!SWIG_IsOK(ecode2)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18373 }
18374 arg2 = static_cast< int >(val2);
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 (arg1)->SetThumbLength(arg2);
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 resultobj = SWIG_Py_Void();
18382 return resultobj;
18383fail:
18384 return NULL;
d55e5bfc
RD
18385}
18386
18387
1bd55598
RD
18388SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18389 PyObject *resultobj = 0;
18390 wxSlider *arg1 = (wxSlider *) 0 ;
18391 int result;
18392 void *argp1 = 0 ;
18393 int res1 = 0 ;
18394 PyObject *swig_obj[1] ;
18395
18396 if (!args) SWIG_fail;
18397 swig_obj[0] = args;
18398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18399 if (!SWIG_IsOK(res1)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18401 }
18402 arg1 = reinterpret_cast< wxSlider * >(argp1);
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 resultobj = SWIG_From_int(static_cast< int >(result));
18410 return resultobj;
18411fail:
18412 return NULL;
18413}
18414
18415
18416SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj = 0;
18418 wxSlider *arg1 = (wxSlider *) 0 ;
18419 int arg2 ;
18420 int arg3 = (int) 1 ;
18421 void *argp1 = 0 ;
18422 int res1 = 0 ;
18423 int val2 ;
18424 int ecode2 = 0 ;
18425 int val3 ;
18426 int ecode3 = 0 ;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 PyObject * obj2 = 0 ;
18430 char * kwnames[] = {
18431 (char *) "self",(char *) "n",(char *) "pos", NULL
18432 };
18433
18434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18436 if (!SWIG_IsOK(res1)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18438 }
18439 arg1 = reinterpret_cast< wxSlider * >(argp1);
18440 ecode2 = SWIG_AsVal_int(obj1, &val2);
18441 if (!SWIG_IsOK(ecode2)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18443 }
18444 arg2 = static_cast< int >(val2);
18445 if (obj2) {
18446 ecode3 = SWIG_AsVal_int(obj2, &val3);
18447 if (!SWIG_IsOK(ecode3)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18449 }
18450 arg3 = static_cast< int >(val3);
18451 }
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->SetTickFreq(arg2,arg3);
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_Py_Void();
18459 return resultobj;
18460fail:
18461 return NULL;
d55e5bfc
RD
18462}
18463
18464
1bd55598
RD
18465SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18466 PyObject *resultobj = 0;
18467 wxSlider *arg1 = (wxSlider *) 0 ;
18468 int result;
18469 void *argp1 = 0 ;
18470 int res1 = 0 ;
18471 PyObject *swig_obj[1] ;
18472
18473 if (!args) SWIG_fail;
18474 swig_obj[0] = args;
18475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18476 if (!SWIG_IsOK(res1)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18478 }
18479 arg1 = reinterpret_cast< wxSlider * >(argp1);
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 resultobj = SWIG_From_int(static_cast< int >(result));
18487 return resultobj;
18488fail:
18489 return NULL;
d55e5bfc
RD
18490}
18491
18492
1bd55598
RD
18493SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18494 PyObject *resultobj = 0;
18495 wxSlider *arg1 = (wxSlider *) 0 ;
18496 void *argp1 = 0 ;
18497 int res1 = 0 ;
18498 PyObject *swig_obj[1] ;
18499
18500 if (!args) SWIG_fail;
18501 swig_obj[0] = args;
18502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18503 if (!SWIG_IsOK(res1)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18505 }
18506 arg1 = reinterpret_cast< wxSlider * >(argp1);
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->ClearTicks();
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_Py_Void();
18514 return resultobj;
18515fail:
18516 return NULL;
18517}
18518
18519
18520SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj = 0;
18522 wxSlider *arg1 = (wxSlider *) 0 ;
18523 int arg2 ;
18524 void *argp1 = 0 ;
18525 int res1 = 0 ;
18526 int val2 ;
18527 int ecode2 = 0 ;
18528 PyObject * obj0 = 0 ;
18529 PyObject * obj1 = 0 ;
18530 char * kwnames[] = {
18531 (char *) "self",(char *) "tickPos", NULL
18532 };
18533
18534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18536 if (!SWIG_IsOK(res1)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18538 }
18539 arg1 = reinterpret_cast< wxSlider * >(argp1);
18540 ecode2 = SWIG_AsVal_int(obj1, &val2);
18541 if (!SWIG_IsOK(ecode2)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18543 }
18544 arg2 = static_cast< int >(val2);
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 (arg1)->SetTick(arg2);
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 resultobj = SWIG_Py_Void();
18552 return resultobj;
18553fail:
18554 return NULL;
d55e5bfc
RD
18555}
18556
18557
1bd55598
RD
18558SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18559 PyObject *resultobj = 0;
18560 wxSlider *arg1 = (wxSlider *) 0 ;
18561 void *argp1 = 0 ;
18562 int res1 = 0 ;
18563 PyObject *swig_obj[1] ;
18564
18565 if (!args) SWIG_fail;
18566 swig_obj[0] = args;
18567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18568 if (!SWIG_IsOK(res1)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18570 }
18571 arg1 = reinterpret_cast< wxSlider * >(argp1);
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->ClearSel();
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 resultobj = SWIG_Py_Void();
18579 return resultobj;
18580fail:
18581 return NULL;
d55e5bfc
RD
18582}
18583
18584
1bd55598
RD
18585SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18586 PyObject *resultobj = 0;
18587 wxSlider *arg1 = (wxSlider *) 0 ;
18588 int result;
18589 void *argp1 = 0 ;
18590 int res1 = 0 ;
18591 PyObject *swig_obj[1] ;
18592
18593 if (!args) SWIG_fail;
18594 swig_obj[0] = args;
18595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18596 if (!SWIG_IsOK(res1)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18598 }
18599 arg1 = reinterpret_cast< wxSlider * >(argp1);
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = SWIG_From_int(static_cast< int >(result));
18607 return resultobj;
18608fail:
18609 return NULL;
d55e5bfc
RD
18610}
18611
18612
1bd55598
RD
18613SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18614 PyObject *resultobj = 0;
18615 wxSlider *arg1 = (wxSlider *) 0 ;
18616 int result;
18617 void *argp1 = 0 ;
18618 int res1 = 0 ;
18619 PyObject *swig_obj[1] ;
18620
18621 if (!args) SWIG_fail;
18622 swig_obj[0] = args;
18623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18624 if (!SWIG_IsOK(res1)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18626 }
18627 arg1 = reinterpret_cast< wxSlider * >(argp1);
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = (int)((wxSlider const *)arg1)->GetSelStart();
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = SWIG_From_int(static_cast< int >(result));
18635 return resultobj;
18636fail:
18637 return NULL;
18638}
18639
18640
18641SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj = 0;
18643 wxSlider *arg1 = (wxSlider *) 0 ;
18644 int arg2 ;
18645 int arg3 ;
18646 void *argp1 = 0 ;
18647 int res1 = 0 ;
18648 int val2 ;
18649 int ecode2 = 0 ;
18650 int val3 ;
18651 int ecode3 = 0 ;
18652 PyObject * obj0 = 0 ;
18653 PyObject * obj1 = 0 ;
18654 PyObject * obj2 = 0 ;
18655 char * kwnames[] = {
18656 (char *) "self",(char *) "min",(char *) "max", NULL
18657 };
18658
18659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18661 if (!SWIG_IsOK(res1)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18663 }
18664 arg1 = reinterpret_cast< wxSlider * >(argp1);
18665 ecode2 = SWIG_AsVal_int(obj1, &val2);
18666 if (!SWIG_IsOK(ecode2)) {
18667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18668 }
18669 arg2 = static_cast< int >(val2);
18670 ecode3 = SWIG_AsVal_int(obj2, &val3);
18671 if (!SWIG_IsOK(ecode3)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18673 }
18674 arg3 = static_cast< int >(val3);
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->SetSelection(arg2,arg3);
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = SWIG_Py_Void();
18682 return resultobj;
18683fail:
18684 return NULL;
18685}
18686
18687
18688SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj = 0;
18690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18691 SwigValueWrapper<wxVisualAttributes > result;
18692 int val1 ;
18693 int ecode1 = 0 ;
18694 PyObject * obj0 = 0 ;
18695 char * kwnames[] = {
18696 (char *) "variant", NULL
18697 };
18698
18699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18700 if (obj0) {
18701 ecode1 = SWIG_AsVal_int(obj0, &val1);
18702 if (!SWIG_IsOK(ecode1)) {
18703 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18704 }
18705 arg1 = static_cast< wxWindowVariant >(val1);
18706 }
18707 {
18708 if (!wxPyCheckForApp()) SWIG_fail;
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = wxSlider::GetClassDefaultAttributes(arg1);
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18715 return resultobj;
18716fail:
18717 return NULL;
d55e5bfc
RD
18718}
18719
18720
1bd55598
RD
18721SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18722 PyObject *obj;
18723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18724 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18725 return SWIG_Py_Void();
d55e5bfc
RD
18726}
18727
1bd55598
RD
18728SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18729 return SWIG_Python_InitShadowInstance(args);
18730}
d55e5bfc 18731
1bd55598
RD
18732SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18733 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18734 return 1;
d55e5bfc
RD
18735}
18736
18737
1bd55598
RD
18738SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18739 PyObject *pyobj = 0;
18740
18741 {
18742#if wxUSE_UNICODE
18743 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18744#else
18745 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18746#endif
18747 }
18748 return pyobj;
18749}
18750
18751
18752SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj = 0;
18754 wxWindow *arg1 = (wxWindow *) 0 ;
18755 int arg2 = (int) -1 ;
18756 wxString const &arg3_defvalue = wxPyEmptyString ;
18757 wxString *arg3 = (wxString *) &arg3_defvalue ;
18758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18760 wxSize const &arg5_defvalue = wxDefaultSize ;
18761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18762 long arg6 = (long) 0 ;
18763 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18764 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18765 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18766 wxString *arg8 = (wxString *) &arg8_defvalue ;
18767 wxToggleButton *result = 0 ;
18768 void *argp1 = 0 ;
18769 int res1 = 0 ;
18770 int val2 ;
18771 int ecode2 = 0 ;
18772 bool temp3 = false ;
18773 wxPoint temp4 ;
18774 wxSize temp5 ;
18775 long val6 ;
18776 int ecode6 = 0 ;
18777 void *argp7 = 0 ;
18778 int res7 = 0 ;
18779 bool temp8 = false ;
18780 PyObject * obj0 = 0 ;
18781 PyObject * obj1 = 0 ;
18782 PyObject * obj2 = 0 ;
18783 PyObject * obj3 = 0 ;
18784 PyObject * obj4 = 0 ;
18785 PyObject * obj5 = 0 ;
18786 PyObject * obj6 = 0 ;
18787 PyObject * obj7 = 0 ;
18788 char * kwnames[] = {
18789 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18790 };
18791
18792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18794 if (!SWIG_IsOK(res1)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18796 }
18797 arg1 = reinterpret_cast< wxWindow * >(argp1);
18798 if (obj1) {
18799 ecode2 = SWIG_AsVal_int(obj1, &val2);
18800 if (!SWIG_IsOK(ecode2)) {
18801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18802 }
18803 arg2 = static_cast< int >(val2);
18804 }
18805 if (obj2) {
d55e5bfc 18806 {
1bd55598
RD
18807 arg3 = wxString_in_helper(obj2);
18808 if (arg3 == NULL) SWIG_fail;
18809 temp3 = true;
d55e5bfc 18810 }
1bd55598
RD
18811 }
18812 if (obj3) {
36ed4f51 18813 {
1bd55598
RD
18814 arg4 = &temp4;
18815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 18816 }
1bd55598
RD
18817 }
18818 if (obj4) {
d55e5bfc 18819 {
1bd55598
RD
18820 arg5 = &temp5;
18821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18822 }
1bd55598
RD
18823 }
18824 if (obj5) {
18825 ecode6 = SWIG_AsVal_long(obj5, &val6);
18826 if (!SWIG_IsOK(ecode6)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18828 }
18829 arg6 = static_cast< long >(val6);
18830 }
18831 if (obj6) {
18832 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18833 if (!SWIG_IsOK(res7)) {
18834 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18835 }
1bd55598
RD
18836 if (!argp7) {
18837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 18838 }
1bd55598
RD
18839 arg7 = reinterpret_cast< wxValidator * >(argp7);
18840 }
18841 if (obj7) {
d55e5bfc 18842 {
1bd55598
RD
18843 arg8 = wxString_in_helper(obj7);
18844 if (arg8 == NULL) SWIG_fail;
18845 temp8 = true;
d55e5bfc 18846 }
1bd55598
RD
18847 }
18848 {
18849 if (!wxPyCheckForApp()) SWIG_fail;
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18856 {
18857 if (temp3)
18858 delete arg3;
18859 }
18860 {
18861 if (temp8)
18862 delete arg8;
18863 }
18864 return resultobj;
18865fail:
18866 {
18867 if (temp3)
18868 delete arg3;
18869 }
18870 {
18871 if (temp8)
18872 delete arg8;
18873 }
18874 return NULL;
d55e5bfc
RD
18875}
18876
18877
1bd55598
RD
18878SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18879 PyObject *resultobj = 0;
18880 wxToggleButton *result = 0 ;
18881
18882 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18883 {
18884 if (!wxPyCheckForApp()) SWIG_fail;
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (wxToggleButton *)new wxToggleButton();
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18891 return resultobj;
18892fail:
18893 return NULL;
18894}
18895
18896
18897SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj = 0;
18899 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18900 wxWindow *arg2 = (wxWindow *) 0 ;
18901 int arg3 = (int) -1 ;
18902 wxString const &arg4_defvalue = wxPyEmptyString ;
18903 wxString *arg4 = (wxString *) &arg4_defvalue ;
18904 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18905 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18906 wxSize const &arg6_defvalue = wxDefaultSize ;
18907 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18908 long arg7 = (long) 0 ;
18909 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18910 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18911 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18912 wxString *arg9 = (wxString *) &arg9_defvalue ;
18913 bool result;
18914 void *argp1 = 0 ;
18915 int res1 = 0 ;
18916 void *argp2 = 0 ;
18917 int res2 = 0 ;
18918 int val3 ;
18919 int ecode3 = 0 ;
18920 bool temp4 = false ;
18921 wxPoint temp5 ;
18922 wxSize temp6 ;
18923 long val7 ;
18924 int ecode7 = 0 ;
18925 void *argp8 = 0 ;
18926 int res8 = 0 ;
18927 bool temp9 = false ;
18928 PyObject * obj0 = 0 ;
18929 PyObject * obj1 = 0 ;
18930 PyObject * obj2 = 0 ;
18931 PyObject * obj3 = 0 ;
18932 PyObject * obj4 = 0 ;
18933 PyObject * obj5 = 0 ;
18934 PyObject * obj6 = 0 ;
18935 PyObject * obj7 = 0 ;
18936 PyObject * obj8 = 0 ;
18937 char * kwnames[] = {
18938 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18939 };
18940
18941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18943 if (!SWIG_IsOK(res1)) {
18944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18945 }
18946 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18948 if (!SWIG_IsOK(res2)) {
18949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18950 }
18951 arg2 = reinterpret_cast< wxWindow * >(argp2);
18952 if (obj2) {
18953 ecode3 = SWIG_AsVal_int(obj2, &val3);
18954 if (!SWIG_IsOK(ecode3)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18956 }
18957 arg3 = static_cast< int >(val3);
18958 }
18959 if (obj3) {
36ed4f51 18960 {
1bd55598
RD
18961 arg4 = wxString_in_helper(obj3);
18962 if (arg4 == NULL) SWIG_fail;
18963 temp4 = true;
36ed4f51 18964 }
1bd55598
RD
18965 }
18966 if (obj4) {
36ed4f51 18967 {
1bd55598
RD
18968 arg5 = &temp5;
18969 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 18970 }
1bd55598
RD
18971 }
18972 if (obj5) {
36ed4f51 18973 {
1bd55598
RD
18974 arg6 = &temp6;
18975 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36ed4f51 18976 }
1bd55598
RD
18977 }
18978 if (obj6) {
18979 ecode7 = SWIG_AsVal_long(obj6, &val7);
18980 if (!SWIG_IsOK(ecode7)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18982 }
18983 arg7 = static_cast< long >(val7);
18984 }
18985 if (obj7) {
18986 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18987 if (!SWIG_IsOK(res8)) {
18988 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 18989 }
1bd55598
RD
18990 if (!argp8) {
18991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 18992 }
1bd55598
RD
18993 arg8 = reinterpret_cast< wxValidator * >(argp8);
18994 }
18995 if (obj8) {
d55e5bfc 18996 {
1bd55598
RD
18997 arg9 = wxString_in_helper(obj8);
18998 if (arg9 == NULL) SWIG_fail;
18999 temp9 = true;
d55e5bfc 19000 }
1bd55598
RD
19001 }
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 {
19009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19010 }
19011 {
19012 if (temp4)
19013 delete arg4;
19014 }
19015 {
19016 if (temp9)
19017 delete arg9;
19018 }
19019 return resultobj;
19020fail:
19021 {
19022 if (temp4)
19023 delete arg4;
19024 }
19025 {
19026 if (temp9)
19027 delete arg9;
19028 }
19029 return NULL;
19030}
19031
19032
19033SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj = 0;
19035 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19036 bool arg2 ;
19037 void *argp1 = 0 ;
19038 int res1 = 0 ;
19039 bool val2 ;
19040 int ecode2 = 0 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char * kwnames[] = {
19044 (char *) "self",(char *) "value", NULL
19045 };
19046
19047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19051 }
19052 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19053 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19054 if (!SWIG_IsOK(ecode2)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19056 }
19057 arg2 = static_cast< bool >(val2);
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->SetValue(arg2);
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 resultobj = SWIG_Py_Void();
19065 return resultobj;
19066fail:
19067 return NULL;
d55e5bfc
RD
19068}
19069
19070
1bd55598
RD
19071SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19072 PyObject *resultobj = 0;
19073 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19074 bool result;
19075 void *argp1 = 0 ;
19076 int res1 = 0 ;
19077 PyObject *swig_obj[1] ;
19078
19079 if (!args) SWIG_fail;
19080 swig_obj[0] = args;
19081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19082 if (!SWIG_IsOK(res1)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19084 }
19085 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 {
19093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19094 }
19095 return resultobj;
19096fail:
19097 return NULL;
f20a2e1f
RD
19098}
19099
19100
1bd55598
RD
19101SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj = 0;
19103 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19104 SwigValueWrapper<wxVisualAttributes > result;
19105 int val1 ;
19106 int ecode1 = 0 ;
19107 PyObject * obj0 = 0 ;
19108 char * kwnames[] = {
19109 (char *) "variant", NULL
19110 };
19111
19112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19113 if (obj0) {
19114 ecode1 = SWIG_AsVal_int(obj0, &val1);
19115 if (!SWIG_IsOK(ecode1)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19117 }
19118 arg1 = static_cast< wxWindowVariant >(val1);
19119 }
19120 {
19121 if (!wxPyCheckForApp()) SWIG_fail;
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19128 return resultobj;
19129fail:
19130 return NULL;
d55e5bfc
RD
19131}
19132
19133
1bd55598
RD
19134SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19135 PyObject *obj;
19136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19137 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19138 return SWIG_Py_Void();
d55e5bfc
RD
19139}
19140
1bd55598
RD
19141SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19142 return SWIG_Python_InitShadowInstance(args);
19143}
d55e5bfc 19144
1bd55598
RD
19145SWIGINTERN int NotebookNameStr_set(PyObject *) {
19146 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19147 return 1;
d55e5bfc
RD
19148}
19149
19150
1bd55598
RD
19151SWIGINTERN PyObject *NotebookNameStr_get(void) {
19152 PyObject *pyobj = 0;
19153
19154 {
d55e5bfc 19155#if wxUSE_UNICODE
1bd55598 19156 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19157#else
1bd55598 19158 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19159#endif
1bd55598
RD
19160 }
19161 return pyobj;
d55e5bfc
RD
19162}
19163
19164
1bd55598
RD
19165SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19166 PyObject *resultobj = 0;
19167 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19168 size_t result;
19169 void *argp1 = 0 ;
19170 int res1 = 0 ;
19171 PyObject *swig_obj[1] ;
19172
19173 if (!args) SWIG_fail;
19174 swig_obj[0] = args;
19175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19176 if (!SWIG_IsOK(res1)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19178 }
19179 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19187 return resultobj;
19188fail:
19189 return NULL;
19190}
19191
19192
19193SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19194 PyObject *resultobj = 0;
19195 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19196 size_t arg2 ;
19197 wxWindow *result = 0 ;
19198 void *argp1 = 0 ;
19199 int res1 = 0 ;
19200 size_t val2 ;
19201 int ecode2 = 0 ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char * kwnames[] = {
19205 (char *) "self",(char *) "n", NULL
19206 };
19207
19208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19210 if (!SWIG_IsOK(res1)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19212 }
19213 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19214 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19215 if (!SWIG_IsOK(ecode2)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19217 }
19218 arg2 = static_cast< size_t >(val2);
19219 {
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 result = (wxWindow *)(arg1)->GetPage(arg2);
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 {
19226 resultobj = wxPyMake_wxObject(result, 0);
19227 }
19228 return resultobj;
19229fail:
19230 return NULL;
d55e5bfc
RD
19231}
19232
19233
1bd55598
RD
19234SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19235 PyObject *resultobj = 0;
19236 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19237 wxWindow *result = 0 ;
19238 void *argp1 = 0 ;
19239 int res1 = 0 ;
19240 PyObject *swig_obj[1] ;
19241
19242 if (!args) SWIG_fail;
19243 swig_obj[0] = args;
19244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19245 if (!SWIG_IsOK(res1)) {
19246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19247 }
19248 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 {
19256 resultobj = wxPyMake_wxObject(result, 0);
19257 }
19258 return resultobj;
19259fail:
19260 return NULL;
d55e5bfc
RD
19261}
19262
19263
1bd55598
RD
19264SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19265 PyObject *resultobj = 0;
19266 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19267 int result;
19268 void *argp1 = 0 ;
19269 int res1 = 0 ;
19270 PyObject *swig_obj[1] ;
19271
19272 if (!args) SWIG_fail;
19273 swig_obj[0] = args;
19274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19275 if (!SWIG_IsOK(res1)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19277 }
19278 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 resultobj = SWIG_From_int(static_cast< int >(result));
19286 return resultobj;
19287fail:
19288 return NULL;
19289}
19290
19291
19292SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj = 0;
19294 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19295 size_t arg2 ;
19296 wxString *arg3 = 0 ;
19297 bool result;
19298 void *argp1 = 0 ;
19299 int res1 = 0 ;
19300 size_t val2 ;
19301 int ecode2 = 0 ;
19302 bool temp3 = false ;
19303 PyObject * obj0 = 0 ;
19304 PyObject * obj1 = 0 ;
19305 PyObject * obj2 = 0 ;
19306 char * kwnames[] = {
19307 (char *) "self",(char *) "n",(char *) "strText", NULL
19308 };
19309
19310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19312 if (!SWIG_IsOK(res1)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19314 }
19315 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19316 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19317 if (!SWIG_IsOK(ecode2)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19319 }
19320 arg2 = static_cast< size_t >(val2);
19321 {
19322 arg3 = wxString_in_helper(obj2);
19323 if (arg3 == NULL) SWIG_fail;
19324 temp3 = true;
19325 }
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 {
19333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19334 }
19335 {
19336 if (temp3)
19337 delete arg3;
19338 }
19339 return resultobj;
19340fail:
19341 {
19342 if (temp3)
19343 delete arg3;
19344 }
19345 return NULL;
19346}
19347
19348
19349SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj = 0;
19351 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19352 size_t arg2 ;
19353 wxString result;
19354 void *argp1 = 0 ;
19355 int res1 = 0 ;
19356 size_t val2 ;
19357 int ecode2 = 0 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char * kwnames[] = {
19361 (char *) "self",(char *) "n", NULL
19362 };
19363
19364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19366 if (!SWIG_IsOK(res1)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19368 }
19369 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19370 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19371 if (!SWIG_IsOK(ecode2)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19373 }
19374 arg2 = static_cast< size_t >(val2);
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 {
19382#if wxUSE_UNICODE
19383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19384#else
19385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19386#endif
19387 }
19388 return resultobj;
19389fail:
19390 return NULL;
19391}
19392
19393
19394SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj = 0;
19396 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19397 wxImageList *arg2 = (wxImageList *) 0 ;
19398 void *argp1 = 0 ;
19399 int res1 = 0 ;
19400 void *argp2 = 0 ;
19401 int res2 = 0 ;
19402 PyObject * obj0 = 0 ;
19403 PyObject * obj1 = 0 ;
19404 char * kwnames[] = {
19405 (char *) "self",(char *) "imageList", NULL
19406 };
19407
19408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19410 if (!SWIG_IsOK(res1)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19412 }
19413 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19414 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19415 if (!SWIG_IsOK(res2)) {
19416 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19417 }
19418 arg2 = reinterpret_cast< wxImageList * >(argp2);
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->SetImageList(arg2);
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 resultobj = SWIG_Py_Void();
19426 return resultobj;
19427fail:
19428 return NULL;
19429}
19430
19431
19432SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj = 0;
19434 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19435 wxImageList *arg2 = (wxImageList *) 0 ;
19436 void *argp1 = 0 ;
19437 int res1 = 0 ;
19438 int res2 = 0 ;
19439 PyObject * obj0 = 0 ;
19440 PyObject * obj1 = 0 ;
19441 char * kwnames[] = {
19442 (char *) "self",(char *) "imageList", NULL
19443 };
19444
19445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19447 if (!SWIG_IsOK(res1)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19449 }
19450 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19451 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19452 if (!SWIG_IsOK(res2)) {
19453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19454 }
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 (arg1)->AssignImageList(arg2);
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = SWIG_Py_Void();
19462 return resultobj;
19463fail:
19464 return NULL;
d55e5bfc
RD
19465}
19466
19467
1bd55598
RD
19468SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19469 PyObject *resultobj = 0;
19470 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19471 wxImageList *result = 0 ;
19472 void *argp1 = 0 ;
19473 int res1 = 0 ;
19474 PyObject *swig_obj[1] ;
19475
19476 if (!args) SWIG_fail;
19477 swig_obj[0] = args;
19478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19479 if (!SWIG_IsOK(res1)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19481 }
19482 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
3ecece7e
RD
19489 {
19490 resultobj = wxPyMake_wxObject(result, (bool)0);
19491 }
1bd55598
RD
19492 return resultobj;
19493fail:
19494 return NULL;
19495}
19496
19497
19498SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj = 0;
19500 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19501 size_t arg2 ;
19502 int result;
19503 void *argp1 = 0 ;
19504 int res1 = 0 ;
19505 size_t val2 ;
19506 int ecode2 = 0 ;
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 char * kwnames[] = {
19510 (char *) "self",(char *) "n", NULL
19511 };
19512
19513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19515 if (!SWIG_IsOK(res1)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19517 }
19518 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19519 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19520 if (!SWIG_IsOK(ecode2)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19522 }
19523 arg2 = static_cast< size_t >(val2);
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 resultobj = SWIG_From_int(static_cast< int >(result));
19531 return resultobj;
19532fail:
19533 return NULL;
19534}
19535
19536
19537SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj = 0;
19539 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19540 size_t arg2 ;
19541 int arg3 ;
19542 bool result;
19543 void *argp1 = 0 ;
19544 int res1 = 0 ;
19545 size_t val2 ;
19546 int ecode2 = 0 ;
19547 int val3 ;
19548 int ecode3 = 0 ;
19549 PyObject * obj0 = 0 ;
19550 PyObject * obj1 = 0 ;
19551 PyObject * obj2 = 0 ;
19552 char * kwnames[] = {
19553 (char *) "self",(char *) "n",(char *) "imageId", NULL
19554 };
19555
19556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19558 if (!SWIG_IsOK(res1)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19560 }
19561 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19562 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19563 if (!SWIG_IsOK(ecode2)) {
19564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19565 }
19566 arg2 = static_cast< size_t >(val2);
19567 ecode3 = SWIG_AsVal_int(obj2, &val3);
19568 if (!SWIG_IsOK(ecode3)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19570 }
19571 arg3 = static_cast< int >(val3);
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 {
19579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19580 }
19581 return resultobj;
19582fail:
19583 return NULL;
19584}
19585
19586
19587SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj = 0;
19589 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19590 wxSize *arg2 = 0 ;
19591 void *argp1 = 0 ;
19592 int res1 = 0 ;
19593 wxSize temp2 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char * kwnames[] = {
19597 (char *) "self",(char *) "size", NULL
19598 };
19599
19600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19602 if (!SWIG_IsOK(res1)) {
19603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19604 }
19605 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19606 {
19607 arg2 = &temp2;
19608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19609 }
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 (arg1)->SetPageSize((wxSize const &)*arg2);
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 resultobj = SWIG_Py_Void();
19617 return resultobj;
19618fail:
19619 return NULL;
19620}
19621
19622
19623SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19624 PyObject *resultobj = 0;
19625 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19626 wxSize *arg2 = 0 ;
19627 wxSize result;
19628 void *argp1 = 0 ;
19629 int res1 = 0 ;
19630 wxSize temp2 ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char * kwnames[] = {
19634 (char *) "self",(char *) "sizePage", NULL
19635 };
19636
19637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19639 if (!SWIG_IsOK(res1)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19641 }
19642 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19643 {
19644 arg2 = &temp2;
19645 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19646 }
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19654 return resultobj;
19655fail:
19656 return NULL;
d55e5bfc
RD
19657}
19658
19659
1bd55598
RD
19660SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19661 PyObject *resultobj = 0;
19662 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19663 unsigned int result;
1bd55598
RD
19664 void *argp1 = 0 ;
19665 int res1 = 0 ;
19666 PyObject *swig_obj[1] ;
19667
19668 if (!args) SWIG_fail;
19669 swig_obj[0] = args;
19670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19671 if (!SWIG_IsOK(res1)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19673 }
19674 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19677 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
1bd55598
RD
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
e9d6f3a4 19681 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
19682 return resultobj;
19683fail:
19684 return NULL;
19685}
19686
19687
19688SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj = 0;
19690 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19691 unsigned int arg2 ;
1bd55598
RD
19692 void *argp1 = 0 ;
19693 int res1 = 0 ;
e9d6f3a4 19694 unsigned int val2 ;
1bd55598
RD
19695 int ecode2 = 0 ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char * kwnames[] = {
19699 (char *) "self",(char *) "internalBorder", NULL
19700 };
19701
19702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19704 if (!SWIG_IsOK(res1)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19706 }
19707 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19708 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
1bd55598 19709 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
1bd55598 19711 }
e9d6f3a4 19712 arg2 = static_cast< unsigned int >(val2);
1bd55598
RD
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 (arg1)->SetInternalBorder(arg2);
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_Py_Void();
19720 return resultobj;
19721fail:
19722 return NULL;
d55e5bfc
RD
19723}
19724
19725
1bd55598
RD
19726SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19727 PyObject *resultobj = 0;
19728 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19729 bool result;
19730 void *argp1 = 0 ;
19731 int res1 = 0 ;
19732 PyObject *swig_obj[1] ;
19733
19734 if (!args) SWIG_fail;
19735 swig_obj[0] = args;
19736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19737 if (!SWIG_IsOK(res1)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19739 }
19740 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 {
19748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19749 }
19750 return resultobj;
19751fail:
19752 return NULL;
19753}
19754
19755
e9d6f3a4
RD
19756SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj = 0;
19758 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19759 int arg2 ;
19760 void *argp1 = 0 ;
19761 int res1 = 0 ;
19762 int val2 ;
19763 int ecode2 = 0 ;
19764 PyObject * obj0 = 0 ;
19765 PyObject * obj1 = 0 ;
19766 char * kwnames[] = {
19767 (char *) "self",(char *) "margin", NULL
19768 };
19769
19770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19772 if (!SWIG_IsOK(res1)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19774 }
19775 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19776 ecode2 = SWIG_AsVal_int(obj1, &val2);
19777 if (!SWIG_IsOK(ecode2)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19779 }
19780 arg2 = static_cast< int >(val2);
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 (arg1)->SetControlMargin(arg2);
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = SWIG_Py_Void();
19788 return resultobj;
19789fail:
19790 return NULL;
19791}
19792
19793
19794SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19795 PyObject *resultobj = 0;
19796 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19797 int result;
19798 void *argp1 = 0 ;
19799 int res1 = 0 ;
19800 PyObject *swig_obj[1] ;
19801
19802 if (!args) SWIG_fail;
19803 swig_obj[0] = args;
19804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19805 if (!SWIG_IsOK(res1)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19807 }
19808 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_From_int(static_cast< int >(result));
19816 return resultobj;
19817fail:
19818 return NULL;
19819}
19820
19821
1bd55598
RD
19822SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj = 0;
19824 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19825 bool arg2 ;
19826 void *argp1 = 0 ;
19827 int res1 = 0 ;
19828 bool val2 ;
19829 int ecode2 = 0 ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char * kwnames[] = {
19833 (char *) "self",(char *) "fit", NULL
19834 };
19835
19836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19838 if (!SWIG_IsOK(res1)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19840 }
19841 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19842 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19843 if (!SWIG_IsOK(ecode2)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19845 }
19846 arg2 = static_cast< bool >(val2);
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 (arg1)->SetFitToCurrentPage(arg2);
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 resultobj = SWIG_Py_Void();
19854 return resultobj;
19855fail:
19856 return NULL;
d55e5bfc
RD
19857}
19858
19859
1bd55598
RD
19860SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19861 PyObject *resultobj = 0;
19862 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19863 bool result;
19864 void *argp1 = 0 ;
19865 int res1 = 0 ;
19866 PyObject *swig_obj[1] ;
19867
19868 if (!args) SWIG_fail;
19869 swig_obj[0] = args;
19870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19871 if (!SWIG_IsOK(res1)) {
19872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19873 }
19874 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19878 wxPyEndAllowThreads(__tstate);
19879 if (PyErr_Occurred()) SWIG_fail;
19880 }
19881 {
19882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19883 }
19884 return resultobj;
19885fail:
19886 return NULL;
19887}
19888
19889
e9d6f3a4
RD
19890SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19891 PyObject *resultobj = 0;
19892 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19893 wxSizer *result = 0 ;
19894 void *argp1 = 0 ;
19895 int res1 = 0 ;
19896 PyObject *swig_obj[1] ;
19897
19898 if (!args) SWIG_fail;
19899 swig_obj[0] = args;
19900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19901 if (!SWIG_IsOK(res1)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19903 }
19904 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 {
19912 resultobj = wxPyMake_wxObject(result, (bool)0);
19913 }
19914 return resultobj;
19915fail:
19916 return NULL;
19917}
19918
19919
1bd55598
RD
19920SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj = 0;
19922 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19923 size_t arg2 ;
19924 bool result;
19925 void *argp1 = 0 ;
19926 int res1 = 0 ;
19927 size_t val2 ;
19928 int ecode2 = 0 ;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 char * kwnames[] = {
19932 (char *) "self",(char *) "n", NULL
19933 };
19934
19935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19937 if (!SWIG_IsOK(res1)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19939 }
19940 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19941 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19942 if (!SWIG_IsOK(ecode2)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19944 }
19945 arg2 = static_cast< size_t >(val2);
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (bool)(arg1)->DeletePage(arg2);
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 {
19953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19954 }
19955 return resultobj;
19956fail:
19957 return NULL;
19958}
19959
19960
19961SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj = 0;
19963 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19964 size_t arg2 ;
19965 bool result;
19966 void *argp1 = 0 ;
19967 int res1 = 0 ;
19968 size_t val2 ;
19969 int ecode2 = 0 ;
19970 PyObject * obj0 = 0 ;
19971 PyObject * obj1 = 0 ;
19972 char * kwnames[] = {
19973 (char *) "self",(char *) "n", NULL
19974 };
19975
19976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19978 if (!SWIG_IsOK(res1)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19980 }
19981 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19982 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19983 if (!SWIG_IsOK(ecode2)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19985 }
19986 arg2 = static_cast< size_t >(val2);
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = (bool)(arg1)->RemovePage(arg2);
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 {
19994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19995 }
19996 return resultobj;
19997fail:
19998 return NULL;
f20a2e1f
RD
19999}
20000
20001
1bd55598
RD
20002SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20003 PyObject *resultobj = 0;
20004 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20005 bool result;
20006 void *argp1 = 0 ;
20007 int res1 = 0 ;
20008 PyObject *swig_obj[1] ;
20009
20010 if (!args) SWIG_fail;
20011 swig_obj[0] = args;
20012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20013 if (!SWIG_IsOK(res1)) {
20014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20015 }
20016 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (bool)(arg1)->DeleteAllPages();
20020 wxPyEndAllowThreads(__tstate);
20021 if (PyErr_Occurred()) SWIG_fail;
20022 }
20023 {
20024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20025 }
20026 return resultobj;
20027fail:
20028 return NULL;
20029}
20030
20031
20032SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj = 0;
20034 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20035 wxWindow *arg2 = (wxWindow *) 0 ;
20036 wxString *arg3 = 0 ;
20037 bool arg4 = (bool) false ;
20038 int arg5 = (int) -1 ;
20039 bool result;
20040 void *argp1 = 0 ;
20041 int res1 = 0 ;
20042 void *argp2 = 0 ;
20043 int res2 = 0 ;
20044 bool temp3 = false ;
20045 bool val4 ;
20046 int ecode4 = 0 ;
20047 int val5 ;
20048 int ecode5 = 0 ;
20049 PyObject * obj0 = 0 ;
20050 PyObject * obj1 = 0 ;
20051 PyObject * obj2 = 0 ;
20052 PyObject * obj3 = 0 ;
20053 PyObject * obj4 = 0 ;
20054 char * kwnames[] = {
20055 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20056 };
20057
20058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20060 if (!SWIG_IsOK(res1)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20062 }
20063 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20065 if (!SWIG_IsOK(res2)) {
20066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20067 }
20068 arg2 = reinterpret_cast< wxWindow * >(argp2);
20069 {
20070 arg3 = wxString_in_helper(obj2);
20071 if (arg3 == NULL) SWIG_fail;
20072 temp3 = true;
20073 }
20074 if (obj3) {
20075 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20076 if (!SWIG_IsOK(ecode4)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20078 }
20079 arg4 = static_cast< bool >(val4);
20080 }
20081 if (obj4) {
20082 ecode5 = SWIG_AsVal_int(obj4, &val5);
20083 if (!SWIG_IsOK(ecode5)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20085 }
20086 arg5 = static_cast< int >(val5);
20087 }
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20096 }
20097 {
20098 if (temp3)
20099 delete arg3;
20100 }
20101 return resultobj;
20102fail:
20103 {
20104 if (temp3)
20105 delete arg3;
20106 }
20107 return NULL;
20108}
20109
20110
20111SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj = 0;
20113 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20114 size_t arg2 ;
20115 wxWindow *arg3 = (wxWindow *) 0 ;
20116 wxString *arg4 = 0 ;
20117 bool arg5 = (bool) false ;
20118 int arg6 = (int) -1 ;
20119 bool result;
20120 void *argp1 = 0 ;
20121 int res1 = 0 ;
20122 size_t val2 ;
20123 int ecode2 = 0 ;
20124 void *argp3 = 0 ;
20125 int res3 = 0 ;
20126 bool temp4 = false ;
20127 bool val5 ;
20128 int ecode5 = 0 ;
20129 int val6 ;
20130 int ecode6 = 0 ;
20131 PyObject * obj0 = 0 ;
20132 PyObject * obj1 = 0 ;
20133 PyObject * obj2 = 0 ;
20134 PyObject * obj3 = 0 ;
20135 PyObject * obj4 = 0 ;
20136 PyObject * obj5 = 0 ;
20137 char * kwnames[] = {
20138 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20139 };
20140
20141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20143 if (!SWIG_IsOK(res1)) {
20144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20145 }
20146 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20147 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20148 if (!SWIG_IsOK(ecode2)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20150 }
20151 arg2 = static_cast< size_t >(val2);
20152 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20153 if (!SWIG_IsOK(res3)) {
20154 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20155 }
20156 arg3 = reinterpret_cast< wxWindow * >(argp3);
20157 {
20158 arg4 = wxString_in_helper(obj3);
20159 if (arg4 == NULL) SWIG_fail;
20160 temp4 = true;
20161 }
20162 if (obj4) {
20163 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20164 if (!SWIG_IsOK(ecode5)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20166 }
20167 arg5 = static_cast< bool >(val5);
20168 }
20169 if (obj5) {
20170 ecode6 = SWIG_AsVal_int(obj5, &val6);
20171 if (!SWIG_IsOK(ecode6)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20173 }
20174 arg6 = static_cast< int >(val6);
20175 }
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 {
20183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20184 }
20185 {
20186 if (temp4)
20187 delete arg4;
20188 }
20189 return resultobj;
20190fail:
20191 {
20192 if (temp4)
20193 delete arg4;
20194 }
20195 return NULL;
20196}
20197
20198
20199SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj = 0;
20201 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20202 size_t arg2 ;
20203 int result;
20204 void *argp1 = 0 ;
20205 int res1 = 0 ;
20206 size_t val2 ;
20207 int ecode2 = 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char * kwnames[] = {
20211 (char *) "self",(char *) "n", NULL
20212 };
20213
20214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20216 if (!SWIG_IsOK(res1)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20218 }
20219 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20220 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20221 if (!SWIG_IsOK(ecode2)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20223 }
20224 arg2 = static_cast< size_t >(val2);
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (int)(arg1)->SetSelection(arg2);
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 resultobj = SWIG_From_int(static_cast< int >(result));
20232 return resultobj;
20233fail:
20234 return NULL;
20235}
20236
20237
b39fe951
RD
20238SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj = 0;
20240 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20241 size_t arg2 ;
20242 int result;
20243 void *argp1 = 0 ;
20244 int res1 = 0 ;
20245 size_t val2 ;
20246 int ecode2 = 0 ;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 char * kwnames[] = {
20250 (char *) "self",(char *) "n", NULL
20251 };
20252
20253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20255 if (!SWIG_IsOK(res1)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20257 }
20258 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20259 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20260 if (!SWIG_IsOK(ecode2)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20262 }
20263 arg2 = static_cast< size_t >(val2);
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (int)(arg1)->ChangeSelection(arg2);
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 resultobj = SWIG_From_int(static_cast< int >(result));
20271 return resultobj;
20272fail:
20273 return NULL;
20274}
20275
20276
1bd55598
RD
20277SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj = 0;
20279 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20280 bool arg2 = (bool) true ;
20281 void *argp1 = 0 ;
20282 int res1 = 0 ;
20283 bool val2 ;
20284 int ecode2 = 0 ;
20285 PyObject * obj0 = 0 ;
20286 PyObject * obj1 = 0 ;
20287 char * kwnames[] = {
20288 (char *) "self",(char *) "forward", NULL
20289 };
20290
20291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20293 if (!SWIG_IsOK(res1)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20295 }
20296 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20297 if (obj1) {
20298 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20299 if (!SWIG_IsOK(ecode2)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20301 }
20302 arg2 = static_cast< bool >(val2);
20303 }
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->AdvanceSelection(arg2);
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = SWIG_Py_Void();
20311 return resultobj;
20312fail:
20313 return NULL;
20314}
20315
20316
704eda0c
RD
20317SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj = 0;
20319 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20320 wxPoint *arg2 = 0 ;
20321 long *arg3 = (long *) 0 ;
20322 int result;
20323 void *argp1 = 0 ;
20324 int res1 = 0 ;
20325 wxPoint temp2 ;
20326 long temp3 ;
20327 int res3 = SWIG_TMPOBJ ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char * kwnames[] = {
20331 (char *) "self",(char *) "pt", NULL
20332 };
20333
20334 arg3 = &temp3;
20335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20337 if (!SWIG_IsOK(res1)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20339 }
20340 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20341 {
20342 arg2 = &temp2;
20343 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20344 }
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = SWIG_From_int(static_cast< int >(result));
20352 if (SWIG_IsTmpObj(res3)) {
20353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20354 } else {
20355 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20357 }
20358 return resultobj;
20359fail:
20360 return NULL;
20361}
20362
20363
1bd55598
RD
20364SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj = 0;
20366 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20367 SwigValueWrapper<wxVisualAttributes > result;
20368 int val1 ;
20369 int ecode1 = 0 ;
20370 PyObject * obj0 = 0 ;
20371 char * kwnames[] = {
20372 (char *) "variant", NULL
20373 };
20374
20375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20376 if (obj0) {
20377 ecode1 = SWIG_AsVal_int(obj0, &val1);
20378 if (!SWIG_IsOK(ecode1)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20380 }
20381 arg1 = static_cast< wxWindowVariant >(val1);
20382 }
20383 {
20384 if (!wxPyCheckForApp()) SWIG_fail;
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20391 return resultobj;
20392fail:
20393 return NULL;
20394}
20395
20396
20397SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20398 PyObject *obj;
20399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20400 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20401 return SWIG_Py_Void();
20402}
20403
20404SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj = 0;
20406 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20407 int arg2 = (int) 0 ;
20408 int arg3 = (int) -1 ;
20409 int arg4 = (int) -1 ;
20410 wxBookCtrlBaseEvent *result = 0 ;
20411 int val1 ;
20412 int ecode1 = 0 ;
20413 int val2 ;
20414 int ecode2 = 0 ;
20415 int val3 ;
20416 int ecode3 = 0 ;
20417 int val4 ;
20418 int ecode4 = 0 ;
20419 PyObject * obj0 = 0 ;
20420 PyObject * obj1 = 0 ;
20421 PyObject * obj2 = 0 ;
20422 PyObject * obj3 = 0 ;
20423 char * kwnames[] = {
20424 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20425 };
20426
20427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20428 if (obj0) {
20429 ecode1 = SWIG_AsVal_int(obj0, &val1);
20430 if (!SWIG_IsOK(ecode1)) {
20431 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20432 }
20433 arg1 = static_cast< wxEventType >(val1);
20434 }
20435 if (obj1) {
20436 ecode2 = SWIG_AsVal_int(obj1, &val2);
20437 if (!SWIG_IsOK(ecode2)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20439 }
20440 arg2 = static_cast< int >(val2);
20441 }
20442 if (obj2) {
20443 ecode3 = SWIG_AsVal_int(obj2, &val3);
20444 if (!SWIG_IsOK(ecode3)) {
20445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20446 }
20447 arg3 = static_cast< int >(val3);
20448 }
20449 if (obj3) {
20450 ecode4 = SWIG_AsVal_int(obj3, &val4);
20451 if (!SWIG_IsOK(ecode4)) {
20452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20453 }
20454 arg4 = static_cast< int >(val4);
20455 }
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20463 return resultobj;
20464fail:
20465 return NULL;
d55e5bfc
RD
20466}
20467
20468
1bd55598
RD
20469SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20470 PyObject *resultobj = 0;
20471 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20472 int result;
20473 void *argp1 = 0 ;
20474 int res1 = 0 ;
20475 PyObject *swig_obj[1] ;
20476
20477 if (!args) SWIG_fail;
20478 swig_obj[0] = args;
20479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20480 if (!SWIG_IsOK(res1)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20482 }
20483 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 resultobj = SWIG_From_int(static_cast< int >(result));
20491 return resultobj;
20492fail:
20493 return NULL;
20494}
20495
20496
20497SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj = 0;
20499 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20500 int arg2 ;
20501 void *argp1 = 0 ;
20502 int res1 = 0 ;
20503 int val2 ;
20504 int ecode2 = 0 ;
20505 PyObject * obj0 = 0 ;
20506 PyObject * obj1 = 0 ;
20507 char * kwnames[] = {
20508 (char *) "self",(char *) "nSel", NULL
20509 };
20510
20511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20513 if (!SWIG_IsOK(res1)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20515 }
20516 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20517 ecode2 = SWIG_AsVal_int(obj1, &val2);
20518 if (!SWIG_IsOK(ecode2)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20520 }
20521 arg2 = static_cast< int >(val2);
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 (arg1)->SetSelection(arg2);
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 resultobj = SWIG_Py_Void();
20529 return resultobj;
20530fail:
20531 return NULL;
d55e5bfc
RD
20532}
20533
20534
1bd55598
RD
20535SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20536 PyObject *resultobj = 0;
20537 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20538 int result;
20539 void *argp1 = 0 ;
20540 int res1 = 0 ;
20541 PyObject *swig_obj[1] ;
20542
20543 if (!args) SWIG_fail;
20544 swig_obj[0] = args;
20545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20546 if (!SWIG_IsOK(res1)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20548 }
20549 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 resultobj = SWIG_From_int(static_cast< int >(result));
20557 return resultobj;
20558fail:
20559 return NULL;
20560}
20561
20562
20563SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj = 0;
20565 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20566 int arg2 ;
20567 void *argp1 = 0 ;
20568 int res1 = 0 ;
20569 int val2 ;
20570 int ecode2 = 0 ;
20571 PyObject * obj0 = 0 ;
20572 PyObject * obj1 = 0 ;
20573 char * kwnames[] = {
20574 (char *) "self",(char *) "nOldSel", NULL
20575 };
20576
20577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20579 if (!SWIG_IsOK(res1)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20581 }
20582 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20583 ecode2 = SWIG_AsVal_int(obj1, &val2);
20584 if (!SWIG_IsOK(ecode2)) {
20585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20586 }
20587 arg2 = static_cast< int >(val2);
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 (arg1)->SetOldSelection(arg2);
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 resultobj = SWIG_Py_Void();
20595 return resultobj;
20596fail:
20597 return NULL;
20598}
20599
20600
20601SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20602 PyObject *obj;
20603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20604 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20605 return SWIG_Py_Void();
20606}
20607
20608SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 return SWIG_Python_InitShadowInstance(args);
20610}
20611
20612SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj = 0;
20614 wxWindow *arg1 = (wxWindow *) 0 ;
20615 int arg2 = (int) -1 ;
20616 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20617 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20618 wxSize const &arg4_defvalue = wxDefaultSize ;
20619 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20620 long arg5 = (long) 0 ;
20621 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20622 wxString *arg6 = (wxString *) &arg6_defvalue ;
20623 wxNotebook *result = 0 ;
20624 void *argp1 = 0 ;
20625 int res1 = 0 ;
20626 int val2 ;
20627 int ecode2 = 0 ;
20628 wxPoint temp3 ;
20629 wxSize temp4 ;
20630 long val5 ;
20631 int ecode5 = 0 ;
20632 bool temp6 = false ;
20633 PyObject * obj0 = 0 ;
20634 PyObject * obj1 = 0 ;
20635 PyObject * obj2 = 0 ;
20636 PyObject * obj3 = 0 ;
20637 PyObject * obj4 = 0 ;
20638 PyObject * obj5 = 0 ;
20639 char * kwnames[] = {
20640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20641 };
20642
20643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20647 }
20648 arg1 = reinterpret_cast< wxWindow * >(argp1);
20649 if (obj1) {
20650 ecode2 = SWIG_AsVal_int(obj1, &val2);
20651 if (!SWIG_IsOK(ecode2)) {
20652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20653 }
20654 arg2 = static_cast< int >(val2);
20655 }
20656 if (obj2) {
20657 {
20658 arg3 = &temp3;
20659 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 20660 }
1bd55598
RD
20661 }
20662 if (obj3) {
d55e5bfc 20663 {
1bd55598
RD
20664 arg4 = &temp4;
20665 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20666 }
1bd55598
RD
20667 }
20668 if (obj4) {
20669 ecode5 = SWIG_AsVal_long(obj4, &val5);
20670 if (!SWIG_IsOK(ecode5)) {
20671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20672 }
20673 arg5 = static_cast< long >(val5);
20674 }
20675 if (obj5) {
d55e5bfc 20676 {
1bd55598
RD
20677 arg6 = wxString_in_helper(obj5);
20678 if (arg6 == NULL) SWIG_fail;
20679 temp6 = true;
d55e5bfc 20680 }
1bd55598
RD
20681 }
20682 {
20683 if (!wxPyCheckForApp()) SWIG_fail;
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20690 {
20691 if (temp6)
20692 delete arg6;
20693 }
20694 return resultobj;
20695fail:
20696 {
20697 if (temp6)
20698 delete arg6;
20699 }
20700 return NULL;
20701}
20702
20703
20704SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20705 PyObject *resultobj = 0;
20706 wxNotebook *result = 0 ;
20707
20708 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20709 {
20710 if (!wxPyCheckForApp()) SWIG_fail;
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (wxNotebook *)new wxNotebook();
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20717 return resultobj;
20718fail:
20719 return NULL;
20720}
20721
20722
20723SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj = 0;
20725 wxNotebook *arg1 = (wxNotebook *) 0 ;
20726 wxWindow *arg2 = (wxWindow *) 0 ;
20727 int arg3 = (int) -1 ;
20728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20730 wxSize const &arg5_defvalue = wxDefaultSize ;
20731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20732 long arg6 = (long) 0 ;
20733 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20734 wxString *arg7 = (wxString *) &arg7_defvalue ;
20735 bool result;
20736 void *argp1 = 0 ;
20737 int res1 = 0 ;
20738 void *argp2 = 0 ;
20739 int res2 = 0 ;
20740 int val3 ;
20741 int ecode3 = 0 ;
20742 wxPoint temp4 ;
20743 wxSize temp5 ;
20744 long val6 ;
20745 int ecode6 = 0 ;
20746 bool temp7 = false ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 PyObject * obj2 = 0 ;
20750 PyObject * obj3 = 0 ;
20751 PyObject * obj4 = 0 ;
20752 PyObject * obj5 = 0 ;
20753 PyObject * obj6 = 0 ;
20754 char * kwnames[] = {
20755 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20756 };
20757
20758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20762 }
20763 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20764 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20765 if (!SWIG_IsOK(res2)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20767 }
20768 arg2 = reinterpret_cast< wxWindow * >(argp2);
20769 if (obj2) {
20770 ecode3 = SWIG_AsVal_int(obj2, &val3);
20771 if (!SWIG_IsOK(ecode3)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20773 }
20774 arg3 = static_cast< int >(val3);
20775 }
20776 if (obj3) {
d55e5bfc 20777 {
1bd55598
RD
20778 arg4 = &temp4;
20779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20780 }
1bd55598
RD
20781 }
20782 if (obj4) {
d55e5bfc 20783 {
1bd55598
RD
20784 arg5 = &temp5;
20785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20786 }
1bd55598
RD
20787 }
20788 if (obj5) {
20789 ecode6 = SWIG_AsVal_long(obj5, &val6);
20790 if (!SWIG_IsOK(ecode6)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20792 }
20793 arg6 = static_cast< long >(val6);
20794 }
20795 if (obj6) {
d55e5bfc 20796 {
1bd55598
RD
20797 arg7 = wxString_in_helper(obj6);
20798 if (arg7 == NULL) SWIG_fail;
20799 temp7 = true;
d55e5bfc 20800 }
1bd55598
RD
20801 }
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 {
20809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20810 }
20811 {
20812 if (temp7)
20813 delete arg7;
20814 }
20815 return resultobj;
20816fail:
20817 {
20818 if (temp7)
20819 delete arg7;
20820 }
20821 return NULL;
d55e5bfc
RD
20822}
20823
20824
1bd55598
RD
20825SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20826 PyObject *resultobj = 0;
20827 wxNotebook *arg1 = (wxNotebook *) 0 ;
20828 int result;
20829 void *argp1 = 0 ;
20830 int res1 = 0 ;
20831 PyObject *swig_obj[1] ;
20832
20833 if (!args) SWIG_fail;
20834 swig_obj[0] = args;
20835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20836 if (!SWIG_IsOK(res1)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20838 }
20839 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 resultobj = SWIG_From_int(static_cast< int >(result));
20847 return resultobj;
20848fail:
20849 return NULL;
20850}
20851
20852
20853SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj = 0;
20855 wxNotebook *arg1 = (wxNotebook *) 0 ;
20856 wxSize *arg2 = 0 ;
20857 void *argp1 = 0 ;
20858 int res1 = 0 ;
20859 wxSize temp2 ;
20860 PyObject * obj0 = 0 ;
20861 PyObject * obj1 = 0 ;
20862 char * kwnames[] = {
20863 (char *) "self",(char *) "padding", NULL
20864 };
20865
20866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20868 if (!SWIG_IsOK(res1)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20870 }
20871 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20872 {
20873 arg2 = &temp2;
20874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20875 }
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 (arg1)->SetPadding((wxSize const &)*arg2);
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = SWIG_Py_Void();
20883 return resultobj;
20884fail:
20885 return NULL;
20886}
20887
20888
20889SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj = 0;
20891 wxNotebook *arg1 = (wxNotebook *) 0 ;
20892 wxSize *arg2 = 0 ;
20893 void *argp1 = 0 ;
20894 int res1 = 0 ;
20895 wxSize temp2 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char * kwnames[] = {
20899 (char *) "self",(char *) "sz", NULL
20900 };
20901
20902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20904 if (!SWIG_IsOK(res1)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20906 }
20907 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20908 {
20909 arg2 = &temp2;
20910 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20911 }
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 (arg1)->SetTabSize((wxSize const &)*arg2);
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_Py_Void();
20919 return resultobj;
20920fail:
20921 return NULL;
20922}
20923
20924
1bd55598
RD
20925SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20926 PyObject *resultobj = 0;
20927 wxNotebook *arg1 = (wxNotebook *) 0 ;
20928 wxColour result;
20929 void *argp1 = 0 ;
20930 int res1 = 0 ;
20931 PyObject *swig_obj[1] ;
20932
20933 if (!args) SWIG_fail;
20934 swig_obj[0] = args;
20935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20936 if (!SWIG_IsOK(res1)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20938 }
20939 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20947 return resultobj;
20948fail:
20949 return NULL;
20950}
20951
20952
20953SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj = 0;
20955 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20956 SwigValueWrapper<wxVisualAttributes > result;
20957 int val1 ;
20958 int ecode1 = 0 ;
20959 PyObject * obj0 = 0 ;
20960 char * kwnames[] = {
20961 (char *) "variant", NULL
20962 };
20963
20964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20965 if (obj0) {
20966 ecode1 = SWIG_AsVal_int(obj0, &val1);
20967 if (!SWIG_IsOK(ecode1)) {
20968 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20969 }
20970 arg1 = static_cast< wxWindowVariant >(val1);
20971 }
20972 {
20973 if (!wxPyCheckForApp()) SWIG_fail;
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = wxNotebook::GetClassDefaultAttributes(arg1);
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20980 return resultobj;
20981fail:
20982 return NULL;
20983}
20984
20985
b39fe951
RD
20986SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj = 0;
20988 wxNotebook *arg1 = (wxNotebook *) 0 ;
20989 int arg2 ;
20990 bool result;
20991 void *argp1 = 0 ;
20992 int res1 = 0 ;
20993 int val2 ;
20994 int ecode2 = 0 ;
20995 PyObject * obj0 = 0 ;
20996 PyObject * obj1 = 0 ;
20997 char * kwnames[] = {
20998 (char *) "self",(char *) "nPage", NULL
20999 };
21000
21001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21003 if (!SWIG_IsOK(res1)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21005 }
21006 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21007 ecode2 = SWIG_AsVal_int(obj1, &val2);
21008 if (!SWIG_IsOK(ecode2)) {
21009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21010 }
21011 arg2 = static_cast< int >(val2);
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21020 }
21021 return resultobj;
21022fail:
21023 return NULL;
21024}
21025
21026
21027SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj = 0;
21029 wxNotebook *arg1 = (wxNotebook *) 0 ;
21030 int arg2 ;
21031 int arg3 = (int) -1 ;
21032 void *argp1 = 0 ;
21033 int res1 = 0 ;
21034 int val2 ;
21035 int ecode2 = 0 ;
21036 int val3 ;
21037 int ecode3 = 0 ;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 PyObject * obj2 = 0 ;
21041 char * kwnames[] = {
21042 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21043 };
21044
21045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21047 if (!SWIG_IsOK(res1)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21049 }
21050 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21051 ecode2 = SWIG_AsVal_int(obj1, &val2);
21052 if (!SWIG_IsOK(ecode2)) {
21053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21054 }
21055 arg2 = static_cast< int >(val2);
21056 if (obj2) {
21057 ecode3 = SWIG_AsVal_int(obj2, &val3);
21058 if (!SWIG_IsOK(ecode3)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21060 }
21061 arg3 = static_cast< int >(val3);
21062 }
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 (arg1)->SendPageChangedEvent(arg2,arg3);
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_Py_Void();
21070 return resultobj;
21071fail:
21072 return NULL;
21073}
21074
21075
1bd55598
RD
21076SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21077 PyObject *obj;
21078 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21079 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21080 return SWIG_Py_Void();
21081}
21082
21083SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21084 return SWIG_Python_InitShadowInstance(args);
21085}
21086
21087SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21088 PyObject *resultobj = 0;
21089 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21090 int arg2 = (int) 0 ;
21091 int arg3 = (int) -1 ;
21092 int arg4 = (int) -1 ;
21093 wxNotebookEvent *result = 0 ;
21094 int val1 ;
21095 int ecode1 = 0 ;
21096 int val2 ;
21097 int ecode2 = 0 ;
21098 int val3 ;
21099 int ecode3 = 0 ;
21100 int val4 ;
21101 int ecode4 = 0 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 PyObject * obj2 = 0 ;
21105 PyObject * obj3 = 0 ;
21106 char * kwnames[] = {
21107 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21108 };
21109
21110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21111 if (obj0) {
21112 ecode1 = SWIG_AsVal_int(obj0, &val1);
21113 if (!SWIG_IsOK(ecode1)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21115 }
21116 arg1 = static_cast< wxEventType >(val1);
21117 }
21118 if (obj1) {
21119 ecode2 = SWIG_AsVal_int(obj1, &val2);
21120 if (!SWIG_IsOK(ecode2)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21122 }
21123 arg2 = static_cast< int >(val2);
21124 }
21125 if (obj2) {
21126 ecode3 = SWIG_AsVal_int(obj2, &val3);
21127 if (!SWIG_IsOK(ecode3)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21129 }
21130 arg3 = static_cast< int >(val3);
21131 }
21132 if (obj3) {
21133 ecode4 = SWIG_AsVal_int(obj3, &val4);
21134 if (!SWIG_IsOK(ecode4)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21136 }
21137 arg4 = static_cast< int >(val4);
21138 }
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21146 return resultobj;
21147fail:
21148 return NULL;
21149}
21150
21151
21152SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21153 PyObject *obj;
21154 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21155 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21156 return SWIG_Py_Void();
21157}
21158
21159SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21160 return SWIG_Python_InitShadowInstance(args);
21161}
21162
21163SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj = 0;
21165 wxWindow *arg1 = (wxWindow *) 0 ;
21166 int arg2 = (int) -1 ;
21167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21169 wxSize const &arg4_defvalue = wxDefaultSize ;
21170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21171 long arg5 = (long) 0 ;
21172 wxString const &arg6_defvalue = wxPyEmptyString ;
21173 wxString *arg6 = (wxString *) &arg6_defvalue ;
21174 wxListbook *result = 0 ;
21175 void *argp1 = 0 ;
21176 int res1 = 0 ;
21177 int val2 ;
21178 int ecode2 = 0 ;
21179 wxPoint temp3 ;
21180 wxSize temp4 ;
21181 long val5 ;
21182 int ecode5 = 0 ;
21183 bool temp6 = false ;
21184 PyObject * obj0 = 0 ;
21185 PyObject * obj1 = 0 ;
21186 PyObject * obj2 = 0 ;
21187 PyObject * obj3 = 0 ;
21188 PyObject * obj4 = 0 ;
21189 PyObject * obj5 = 0 ;
21190 char * kwnames[] = {
21191 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21192 };
21193
21194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21196 if (!SWIG_IsOK(res1)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21198 }
21199 arg1 = reinterpret_cast< wxWindow * >(argp1);
21200 if (obj1) {
21201 ecode2 = SWIG_AsVal_int(obj1, &val2);
21202 if (!SWIG_IsOK(ecode2)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21204 }
21205 arg2 = static_cast< int >(val2);
21206 }
21207 if (obj2) {
d55e5bfc 21208 {
1bd55598
RD
21209 arg3 = &temp3;
21210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21211 }
1bd55598
RD
21212 }
21213 if (obj3) {
d55e5bfc 21214 {
1bd55598
RD
21215 arg4 = &temp4;
21216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21217 }
1bd55598
RD
21218 }
21219 if (obj4) {
21220 ecode5 = SWIG_AsVal_long(obj4, &val5);
21221 if (!SWIG_IsOK(ecode5)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21223 }
21224 arg5 = static_cast< long >(val5);
21225 }
21226 if (obj5) {
d55e5bfc 21227 {
1bd55598
RD
21228 arg6 = wxString_in_helper(obj5);
21229 if (arg6 == NULL) SWIG_fail;
21230 temp6 = true;
d55e5bfc 21231 }
1bd55598
RD
21232 }
21233 {
21234 if (!wxPyCheckForApp()) SWIG_fail;
21235 PyThreadState* __tstate = wxPyBeginAllowThreads();
21236 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21241 {
21242 if (temp6)
21243 delete arg6;
21244 }
21245 return resultobj;
21246fail:
21247 {
21248 if (temp6)
21249 delete arg6;
21250 }
21251 return NULL;
21252}
21253
21254
21255SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21256 PyObject *resultobj = 0;
21257 wxListbook *result = 0 ;
21258
21259 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21260 {
21261 if (!wxPyCheckForApp()) SWIG_fail;
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (wxListbook *)new wxListbook();
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21268 return resultobj;
21269fail:
21270 return NULL;
21271}
21272
21273
21274SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj = 0;
21276 wxListbook *arg1 = (wxListbook *) 0 ;
21277 wxWindow *arg2 = (wxWindow *) 0 ;
21278 int arg3 = (int) -1 ;
21279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21281 wxSize const &arg5_defvalue = wxDefaultSize ;
21282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21283 long arg6 = (long) 0 ;
21284 wxString const &arg7_defvalue = wxPyEmptyString ;
21285 wxString *arg7 = (wxString *) &arg7_defvalue ;
21286 bool result;
21287 void *argp1 = 0 ;
21288 int res1 = 0 ;
21289 void *argp2 = 0 ;
21290 int res2 = 0 ;
21291 int val3 ;
21292 int ecode3 = 0 ;
21293 wxPoint temp4 ;
21294 wxSize temp5 ;
21295 long val6 ;
21296 int ecode6 = 0 ;
21297 bool temp7 = false ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 PyObject * obj2 = 0 ;
21301 PyObject * obj3 = 0 ;
21302 PyObject * obj4 = 0 ;
21303 PyObject * obj5 = 0 ;
21304 PyObject * obj6 = 0 ;
21305 char * kwnames[] = {
21306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21307 };
21308
21309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21311 if (!SWIG_IsOK(res1)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21313 }
21314 arg1 = reinterpret_cast< wxListbook * >(argp1);
21315 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21316 if (!SWIG_IsOK(res2)) {
21317 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21318 }
21319 arg2 = reinterpret_cast< wxWindow * >(argp2);
21320 if (obj2) {
21321 ecode3 = SWIG_AsVal_int(obj2, &val3);
21322 if (!SWIG_IsOK(ecode3)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21324 }
21325 arg3 = static_cast< int >(val3);
21326 }
21327 if (obj3) {
d55e5bfc 21328 {
1bd55598
RD
21329 arg4 = &temp4;
21330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21331 }
1bd55598
RD
21332 }
21333 if (obj4) {
d55e5bfc 21334 {
1bd55598
RD
21335 arg5 = &temp5;
21336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21337 }
1bd55598
RD
21338 }
21339 if (obj5) {
21340 ecode6 = SWIG_AsVal_long(obj5, &val6);
21341 if (!SWIG_IsOK(ecode6)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21343 }
21344 arg6 = static_cast< long >(val6);
21345 }
21346 if (obj6) {
d55e5bfc 21347 {
1bd55598
RD
21348 arg7 = wxString_in_helper(obj6);
21349 if (arg7 == NULL) SWIG_fail;
21350 temp7 = true;
d55e5bfc 21351 }
1bd55598
RD
21352 }
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21361 }
21362 {
21363 if (temp7)
21364 delete arg7;
21365 }
21366 return resultobj;
21367fail:
21368 {
21369 if (temp7)
21370 delete arg7;
21371 }
21372 return NULL;
d55e5bfc
RD
21373}
21374
21375
1bd55598
RD
21376SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21377 PyObject *resultobj = 0;
21378 wxListbook *arg1 = (wxListbook *) 0 ;
21379 wxListView *result = 0 ;
21380 void *argp1 = 0 ;
21381 int res1 = 0 ;
21382 PyObject *swig_obj[1] ;
21383
21384 if (!args) SWIG_fail;
21385 swig_obj[0] = args;
21386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21387 if (!SWIG_IsOK(res1)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21389 }
21390 arg1 = reinterpret_cast< wxListbook * >(argp1);
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (wxListView *)(arg1)->GetListView();
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21398 return resultobj;
21399fail:
21400 return NULL;
21401}
21402
21403
21404SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21405 PyObject *obj;
21406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21407 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21408 return SWIG_Py_Void();
21409}
21410
21411SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21412 return SWIG_Python_InitShadowInstance(args);
21413}
21414
21415SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj = 0;
21417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21418 int arg2 = (int) 0 ;
21419 int arg3 = (int) -1 ;
21420 int arg4 = (int) -1 ;
21421 wxListbookEvent *result = 0 ;
21422 int val1 ;
21423 int ecode1 = 0 ;
21424 int val2 ;
21425 int ecode2 = 0 ;
21426 int val3 ;
21427 int ecode3 = 0 ;
21428 int val4 ;
21429 int ecode4 = 0 ;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 PyObject * obj2 = 0 ;
21433 PyObject * obj3 = 0 ;
21434 char * kwnames[] = {
21435 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21436 };
21437
21438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21439 if (obj0) {
21440 ecode1 = SWIG_AsVal_int(obj0, &val1);
21441 if (!SWIG_IsOK(ecode1)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21443 }
21444 arg1 = static_cast< wxEventType >(val1);
21445 }
21446 if (obj1) {
21447 ecode2 = SWIG_AsVal_int(obj1, &val2);
21448 if (!SWIG_IsOK(ecode2)) {
21449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21450 }
21451 arg2 = static_cast< int >(val2);
21452 }
21453 if (obj2) {
21454 ecode3 = SWIG_AsVal_int(obj2, &val3);
21455 if (!SWIG_IsOK(ecode3)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21457 }
21458 arg3 = static_cast< int >(val3);
21459 }
21460 if (obj3) {
21461 ecode4 = SWIG_AsVal_int(obj3, &val4);
21462 if (!SWIG_IsOK(ecode4)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21464 }
21465 arg4 = static_cast< int >(val4);
21466 }
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21474 return resultobj;
21475fail:
21476 return NULL;
21477}
21478
21479
21480SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21481 PyObject *obj;
21482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21483 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21484 return SWIG_Py_Void();
21485}
21486
21487SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21488 return SWIG_Python_InitShadowInstance(args);
21489}
21490
21491SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj = 0;
21493 wxWindow *arg1 = (wxWindow *) 0 ;
21494 int arg2 ;
21495 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21496 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21497 wxSize const &arg4_defvalue = wxDefaultSize ;
21498 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21499 long arg5 = (long) 0 ;
21500 wxString const &arg6_defvalue = wxPyEmptyString ;
21501 wxString *arg6 = (wxString *) &arg6_defvalue ;
21502 wxChoicebook *result = 0 ;
21503 void *argp1 = 0 ;
21504 int res1 = 0 ;
21505 int val2 ;
21506 int ecode2 = 0 ;
21507 wxPoint temp3 ;
21508 wxSize temp4 ;
21509 long val5 ;
21510 int ecode5 = 0 ;
21511 bool temp6 = false ;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 PyObject * obj2 = 0 ;
21515 PyObject * obj3 = 0 ;
21516 PyObject * obj4 = 0 ;
21517 PyObject * obj5 = 0 ;
21518 char * kwnames[] = {
21519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21520 };
21521
21522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21524 if (!SWIG_IsOK(res1)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21526 }
21527 arg1 = reinterpret_cast< wxWindow * >(argp1);
21528 ecode2 = SWIG_AsVal_int(obj1, &val2);
21529 if (!SWIG_IsOK(ecode2)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21531 }
21532 arg2 = static_cast< int >(val2);
21533 if (obj2) {
36ed4f51 21534 {
1bd55598
RD
21535 arg3 = &temp3;
21536 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21537 }
1bd55598
RD
21538 }
21539 if (obj3) {
36ed4f51 21540 {
1bd55598
RD
21541 arg4 = &temp4;
21542 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21543 }
1bd55598
RD
21544 }
21545 if (obj4) {
21546 ecode5 = SWIG_AsVal_long(obj4, &val5);
21547 if (!SWIG_IsOK(ecode5)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21549 }
21550 arg5 = static_cast< long >(val5);
21551 }
21552 if (obj5) {
d55e5bfc 21553 {
1bd55598
RD
21554 arg6 = wxString_in_helper(obj5);
21555 if (arg6 == NULL) SWIG_fail;
21556 temp6 = true;
d55e5bfc 21557 }
1bd55598
RD
21558 }
21559 {
21560 if (!wxPyCheckForApp()) SWIG_fail;
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21567 {
21568 if (temp6)
21569 delete arg6;
21570 }
21571 return resultobj;
21572fail:
21573 {
21574 if (temp6)
21575 delete arg6;
21576 }
21577 return NULL;
d55e5bfc
RD
21578}
21579
21580
1bd55598
RD
21581SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21582 PyObject *resultobj = 0;
21583 wxChoicebook *result = 0 ;
21584
21585 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21586 {
21587 if (!wxPyCheckForApp()) SWIG_fail;
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 result = (wxChoicebook *)new wxChoicebook();
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21594 return resultobj;
21595fail:
21596 return NULL;
21597}
21598
21599
21600SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj = 0;
21602 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21603 wxWindow *arg2 = (wxWindow *) 0 ;
21604 int arg3 ;
21605 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21606 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21607 wxSize const &arg5_defvalue = wxDefaultSize ;
21608 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21609 long arg6 = (long) 0 ;
21610 wxString const &arg7_defvalue = wxPyEmptyString ;
21611 wxString *arg7 = (wxString *) &arg7_defvalue ;
21612 bool result;
21613 void *argp1 = 0 ;
21614 int res1 = 0 ;
21615 void *argp2 = 0 ;
21616 int res2 = 0 ;
21617 int val3 ;
21618 int ecode3 = 0 ;
21619 wxPoint temp4 ;
21620 wxSize temp5 ;
21621 long val6 ;
21622 int ecode6 = 0 ;
21623 bool temp7 = false ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 PyObject * obj2 = 0 ;
21627 PyObject * obj3 = 0 ;
21628 PyObject * obj4 = 0 ;
21629 PyObject * obj5 = 0 ;
21630 PyObject * obj6 = 0 ;
21631 char * kwnames[] = {
21632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21633 };
21634
21635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21637 if (!SWIG_IsOK(res1)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21639 }
21640 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21642 if (!SWIG_IsOK(res2)) {
21643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21644 }
21645 arg2 = reinterpret_cast< wxWindow * >(argp2);
21646 ecode3 = SWIG_AsVal_int(obj2, &val3);
21647 if (!SWIG_IsOK(ecode3)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21649 }
21650 arg3 = static_cast< int >(val3);
21651 if (obj3) {
d55e5bfc 21652 {
1bd55598
RD
21653 arg4 = &temp4;
21654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21655 }
1bd55598
RD
21656 }
21657 if (obj4) {
d55e5bfc 21658 {
1bd55598
RD
21659 arg5 = &temp5;
21660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21661 }
1bd55598
RD
21662 }
21663 if (obj5) {
21664 ecode6 = SWIG_AsVal_long(obj5, &val6);
21665 if (!SWIG_IsOK(ecode6)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21667 }
21668 arg6 = static_cast< long >(val6);
21669 }
21670 if (obj6) {
d55e5bfc 21671 {
1bd55598
RD
21672 arg7 = wxString_in_helper(obj6);
21673 if (arg7 == NULL) SWIG_fail;
21674 temp7 = true;
d55e5bfc 21675 }
1bd55598
RD
21676 }
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 {
21684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21685 }
21686 {
21687 if (temp7)
21688 delete arg7;
21689 }
21690 return resultobj;
21691fail:
21692 {
21693 if (temp7)
21694 delete arg7;
21695 }
21696 return NULL;
d55e5bfc
RD
21697}
21698
21699
1bd55598
RD
21700SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21701 PyObject *resultobj = 0;
21702 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21703 wxChoice *result = 0 ;
21704 void *argp1 = 0 ;
21705 int res1 = 0 ;
21706 PyObject *swig_obj[1] ;
21707
21708 if (!args) SWIG_fail;
21709 swig_obj[0] = args;
21710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21711 if (!SWIG_IsOK(res1)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21713 }
21714 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21722 return resultobj;
21723fail:
21724 return NULL;
21725}
21726
21727
21728SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21729 PyObject *obj;
21730 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21731 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21732 return SWIG_Py_Void();
21733}
21734
21735SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21736 return SWIG_Python_InitShadowInstance(args);
21737}
21738
21739SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj = 0;
21741 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21742 int arg2 = (int) 0 ;
21743 int arg3 = (int) -1 ;
21744 int arg4 = (int) -1 ;
21745 wxChoicebookEvent *result = 0 ;
21746 int val1 ;
21747 int ecode1 = 0 ;
21748 int val2 ;
21749 int ecode2 = 0 ;
21750 int val3 ;
21751 int ecode3 = 0 ;
21752 int val4 ;
21753 int ecode4 = 0 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 PyObject * obj2 = 0 ;
21757 PyObject * obj3 = 0 ;
21758 char * kwnames[] = {
21759 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21760 };
21761
21762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21763 if (obj0) {
21764 ecode1 = SWIG_AsVal_int(obj0, &val1);
21765 if (!SWIG_IsOK(ecode1)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21767 }
21768 arg1 = static_cast< wxEventType >(val1);
21769 }
21770 if (obj1) {
21771 ecode2 = SWIG_AsVal_int(obj1, &val2);
21772 if (!SWIG_IsOK(ecode2)) {
21773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21774 }
21775 arg2 = static_cast< int >(val2);
21776 }
21777 if (obj2) {
21778 ecode3 = SWIG_AsVal_int(obj2, &val3);
21779 if (!SWIG_IsOK(ecode3)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21781 }
21782 arg3 = static_cast< int >(val3);
21783 }
21784 if (obj3) {
21785 ecode4 = SWIG_AsVal_int(obj3, &val4);
21786 if (!SWIG_IsOK(ecode4)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21788 }
21789 arg4 = static_cast< int >(val4);
21790 }
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21798 return resultobj;
21799fail:
21800 return NULL;
21801}
21802
21803
21804SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21805 PyObject *obj;
21806 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21807 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21808 return SWIG_Py_Void();
21809}
21810
21811SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21812 return SWIG_Python_InitShadowInstance(args);
21813}
21814
21815SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj = 0;
21817 wxWindow *arg1 = (wxWindow *) 0 ;
21818 int arg2 ;
21819 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21820 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21821 wxSize const &arg4_defvalue = wxDefaultSize ;
21822 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21823 long arg5 = (long) wxBK_DEFAULT ;
21824 wxString const &arg6_defvalue = wxPyEmptyString ;
21825 wxString *arg6 = (wxString *) &arg6_defvalue ;
21826 wxTreebook *result = 0 ;
21827 void *argp1 = 0 ;
21828 int res1 = 0 ;
21829 int val2 ;
21830 int ecode2 = 0 ;
21831 wxPoint temp3 ;
21832 wxSize temp4 ;
21833 long val5 ;
21834 int ecode5 = 0 ;
21835 bool temp6 = false ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 PyObject * obj2 = 0 ;
21839 PyObject * obj3 = 0 ;
21840 PyObject * obj4 = 0 ;
21841 PyObject * obj5 = 0 ;
21842 char * kwnames[] = {
21843 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21844 };
21845
21846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21848 if (!SWIG_IsOK(res1)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21850 }
21851 arg1 = reinterpret_cast< wxWindow * >(argp1);
21852 ecode2 = SWIG_AsVal_int(obj1, &val2);
21853 if (!SWIG_IsOK(ecode2)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21855 }
21856 arg2 = static_cast< int >(val2);
21857 if (obj2) {
36ed4f51 21858 {
1bd55598
RD
21859 arg3 = &temp3;
21860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 21861 }
1bd55598
RD
21862 }
21863 if (obj3) {
36ed4f51 21864 {
1bd55598
RD
21865 arg4 = &temp4;
21866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21867 }
1bd55598
RD
21868 }
21869 if (obj4) {
21870 ecode5 = SWIG_AsVal_long(obj4, &val5);
21871 if (!SWIG_IsOK(ecode5)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21873 }
21874 arg5 = static_cast< long >(val5);
21875 }
21876 if (obj5) {
d55e5bfc 21877 {
1bd55598
RD
21878 arg6 = wxString_in_helper(obj5);
21879 if (arg6 == NULL) SWIG_fail;
21880 temp6 = true;
d55e5bfc 21881 }
1bd55598
RD
21882 }
21883 {
21884 if (!wxPyCheckForApp()) SWIG_fail;
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21891 {
21892 if (temp6)
21893 delete arg6;
21894 }
21895 return resultobj;
21896fail:
21897 {
21898 if (temp6)
21899 delete arg6;
21900 }
21901 return NULL;
d55e5bfc
RD
21902}
21903
21904
1bd55598
RD
21905SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21906 PyObject *resultobj = 0;
21907 wxTreebook *result = 0 ;
21908
21909 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21910 {
21911 if (!wxPyCheckForApp()) SWIG_fail;
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (wxTreebook *)new wxTreebook();
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21918 return resultobj;
21919fail:
21920 return NULL;
21921}
21922
21923
21924SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj = 0;
21926 wxTreebook *arg1 = (wxTreebook *) 0 ;
21927 wxWindow *arg2 = (wxWindow *) 0 ;
21928 int arg3 ;
21929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21931 wxSize const &arg5_defvalue = wxDefaultSize ;
21932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21933 long arg6 = (long) wxBK_DEFAULT ;
21934 wxString const &arg7_defvalue = wxPyEmptyString ;
21935 wxString *arg7 = (wxString *) &arg7_defvalue ;
21936 bool result;
21937 void *argp1 = 0 ;
21938 int res1 = 0 ;
21939 void *argp2 = 0 ;
21940 int res2 = 0 ;
21941 int val3 ;
21942 int ecode3 = 0 ;
21943 wxPoint temp4 ;
21944 wxSize temp5 ;
21945 long val6 ;
21946 int ecode6 = 0 ;
21947 bool temp7 = false ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 PyObject * obj2 = 0 ;
21951 PyObject * obj3 = 0 ;
21952 PyObject * obj4 = 0 ;
21953 PyObject * obj5 = 0 ;
21954 PyObject * obj6 = 0 ;
21955 char * kwnames[] = {
21956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21957 };
21958
21959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21961 if (!SWIG_IsOK(res1)) {
21962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21963 }
21964 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21965 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21966 if (!SWIG_IsOK(res2)) {
21967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21968 }
21969 arg2 = reinterpret_cast< wxWindow * >(argp2);
21970 ecode3 = SWIG_AsVal_int(obj2, &val3);
21971 if (!SWIG_IsOK(ecode3)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21973 }
21974 arg3 = static_cast< int >(val3);
21975 if (obj3) {
36ed4f51 21976 {
1bd55598
RD
21977 arg4 = &temp4;
21978 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 21979 }
1bd55598
RD
21980 }
21981 if (obj4) {
d55e5bfc 21982 {
1bd55598
RD
21983 arg5 = &temp5;
21984 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21985 }
1bd55598
RD
21986 }
21987 if (obj5) {
21988 ecode6 = SWIG_AsVal_long(obj5, &val6);
21989 if (!SWIG_IsOK(ecode6)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21991 }
21992 arg6 = static_cast< long >(val6);
21993 }
21994 if (obj6) {
36ed4f51 21995 {
1bd55598
RD
21996 arg7 = wxString_in_helper(obj6);
21997 if (arg7 == NULL) SWIG_fail;
21998 temp7 = true;
36ed4f51 21999 }
1bd55598
RD
22000 }
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 {
22008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22009 }
22010 {
22011 if (temp7)
22012 delete arg7;
22013 }
22014 return resultobj;
22015fail:
22016 {
22017 if (temp7)
22018 delete arg7;
22019 }
22020 return NULL;
22021}
22022
22023
22024SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = 0;
22026 wxTreebook *arg1 = (wxTreebook *) 0 ;
22027 size_t arg2 ;
22028 wxWindow *arg3 = (wxWindow *) 0 ;
22029 wxString *arg4 = 0 ;
22030 bool arg5 = (bool) false ;
22031 int arg6 = (int) wxNOT_FOUND ;
22032 bool result;
22033 void *argp1 = 0 ;
22034 int res1 = 0 ;
22035 size_t val2 ;
22036 int ecode2 = 0 ;
22037 void *argp3 = 0 ;
22038 int res3 = 0 ;
22039 bool temp4 = false ;
22040 bool val5 ;
22041 int ecode5 = 0 ;
22042 int val6 ;
22043 int ecode6 = 0 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 PyObject * obj2 = 0 ;
22047 PyObject * obj3 = 0 ;
22048 PyObject * obj4 = 0 ;
22049 PyObject * obj5 = 0 ;
22050 char * kwnames[] = {
22051 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22052 };
22053
22054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22056 if (!SWIG_IsOK(res1)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22058 }
22059 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22060 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22061 if (!SWIG_IsOK(ecode2)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22063 }
22064 arg2 = static_cast< size_t >(val2);
22065 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22066 if (!SWIG_IsOK(res3)) {
22067 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22068 }
22069 arg3 = reinterpret_cast< wxWindow * >(argp3);
22070 {
22071 arg4 = wxString_in_helper(obj3);
22072 if (arg4 == NULL) SWIG_fail;
22073 temp4 = true;
22074 }
22075 if (obj4) {
22076 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22077 if (!SWIG_IsOK(ecode5)) {
22078 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22079 }
22080 arg5 = static_cast< bool >(val5);
22081 }
22082 if (obj5) {
22083 ecode6 = SWIG_AsVal_int(obj5, &val6);
22084 if (!SWIG_IsOK(ecode6)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22086 }
22087 arg6 = static_cast< int >(val6);
22088 }
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
22095 {
22096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22097 }
22098 {
22099 if (temp4)
22100 delete arg4;
22101 }
22102 return resultobj;
22103fail:
22104 {
22105 if (temp4)
22106 delete arg4;
22107 }
22108 return NULL;
22109}
22110
22111
22112SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22113 PyObject *resultobj = 0;
22114 wxTreebook *arg1 = (wxTreebook *) 0 ;
22115 wxWindow *arg2 = (wxWindow *) 0 ;
22116 wxString *arg3 = 0 ;
22117 bool arg4 = (bool) false ;
22118 int arg5 = (int) wxNOT_FOUND ;
22119 bool result;
22120 void *argp1 = 0 ;
22121 int res1 = 0 ;
22122 void *argp2 = 0 ;
22123 int res2 = 0 ;
22124 bool temp3 = false ;
22125 bool val4 ;
22126 int ecode4 = 0 ;
22127 int val5 ;
22128 int ecode5 = 0 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 PyObject * obj2 = 0 ;
22132 PyObject * obj3 = 0 ;
22133 PyObject * obj4 = 0 ;
22134 char * kwnames[] = {
22135 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22136 };
22137
22138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22140 if (!SWIG_IsOK(res1)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22142 }
22143 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22144 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22145 if (!SWIG_IsOK(res2)) {
22146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22147 }
22148 arg2 = reinterpret_cast< wxWindow * >(argp2);
22149 {
22150 arg3 = wxString_in_helper(obj2);
22151 if (arg3 == NULL) SWIG_fail;
22152 temp3 = true;
22153 }
22154 if (obj3) {
22155 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22156 if (!SWIG_IsOK(ecode4)) {
22157 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22158 }
22159 arg4 = static_cast< bool >(val4);
22160 }
22161 if (obj4) {
22162 ecode5 = SWIG_AsVal_int(obj4, &val5);
22163 if (!SWIG_IsOK(ecode5)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22165 }
22166 arg5 = static_cast< int >(val5);
22167 }
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22176 }
22177 {
22178 if (temp3)
22179 delete arg3;
22180 }
22181 return resultobj;
22182fail:
22183 {
22184 if (temp3)
22185 delete arg3;
22186 }
22187 return NULL;
22188}
22189
22190
22191SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj = 0;
22193 wxTreebook *arg1 = (wxTreebook *) 0 ;
22194 size_t arg2 ;
22195 bool result;
22196 void *argp1 = 0 ;
22197 int res1 = 0 ;
22198 size_t val2 ;
22199 int ecode2 = 0 ;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 char * kwnames[] = {
22203 (char *) "self",(char *) "pos", NULL
22204 };
22205
22206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22208 if (!SWIG_IsOK(res1)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22210 }
22211 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22212 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22213 if (!SWIG_IsOK(ecode2)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22215 }
22216 arg2 = static_cast< size_t >(val2);
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
22226 return resultobj;
22227fail:
22228 return NULL;
22229}
22230
22231
22232SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj = 0;
22234 wxTreebook *arg1 = (wxTreebook *) 0 ;
22235 size_t arg2 ;
22236 bool arg3 = (bool) true ;
22237 bool result;
22238 void *argp1 = 0 ;
22239 int res1 = 0 ;
22240 size_t val2 ;
22241 int ecode2 = 0 ;
22242 bool val3 ;
22243 int ecode3 = 0 ;
22244 PyObject * obj0 = 0 ;
22245 PyObject * obj1 = 0 ;
22246 PyObject * obj2 = 0 ;
22247 char * kwnames[] = {
22248 (char *) "self",(char *) "pos",(char *) "expand", NULL
22249 };
22250
22251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22253 if (!SWIG_IsOK(res1)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22255 }
22256 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22257 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22258 if (!SWIG_IsOK(ecode2)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22260 }
22261 arg2 = static_cast< size_t >(val2);
22262 if (obj2) {
22263 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22264 if (!SWIG_IsOK(ecode3)) {
22265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22266 }
22267 arg3 = static_cast< bool >(val3);
22268 }
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 {
22276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22277 }
22278 return resultobj;
22279fail:
22280 return NULL;
22281}
22282
22283
22284SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj = 0;
22286 wxTreebook *arg1 = (wxTreebook *) 0 ;
22287 size_t arg2 ;
22288 bool result;
22289 void *argp1 = 0 ;
22290 int res1 = 0 ;
22291 size_t val2 ;
22292 int ecode2 = 0 ;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 char * kwnames[] = {
22296 (char *) "self",(char *) "pos", NULL
22297 };
22298
22299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22301 if (!SWIG_IsOK(res1)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22303 }
22304 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22305 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22306 if (!SWIG_IsOK(ecode2)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22308 }
22309 arg2 = static_cast< size_t >(val2);
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (bool)(arg1)->CollapseNode(arg2);
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 {
22317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22318 }
22319 return resultobj;
22320fail:
22321 return NULL;
22322}
22323
22324
22325SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22326 PyObject *resultobj = 0;
22327 wxTreebook *arg1 = (wxTreebook *) 0 ;
22328 size_t arg2 ;
22329 int result;
22330 void *argp1 = 0 ;
22331 int res1 = 0 ;
22332 size_t val2 ;
22333 int ecode2 = 0 ;
22334 PyObject * obj0 = 0 ;
22335 PyObject * obj1 = 0 ;
22336 char * kwnames[] = {
22337 (char *) "self",(char *) "pos", NULL
22338 };
22339
22340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22342 if (!SWIG_IsOK(res1)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22344 }
22345 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22346 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22347 if (!SWIG_IsOK(ecode2)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22349 }
22350 arg2 = static_cast< size_t >(val2);
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 resultobj = SWIG_From_int(static_cast< int >(result));
22358 return resultobj;
22359fail:
22360 return NULL;
d55e5bfc
RD
22361}
22362
22363
1bd55598
RD
22364SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22365 PyObject *resultobj = 0;
22366 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22367 wxPyTreeCtrl *result = 0 ;
1bd55598
RD
22368 void *argp1 = 0 ;
22369 int res1 = 0 ;
22370 PyObject *swig_obj[1] ;
22371
22372 if (!args) SWIG_fail;
22373 swig_obj[0] = args;
22374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22375 if (!SWIG_IsOK(res1)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22377 }
22378 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22381 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
1bd55598
RD
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
10044bf1
RD
22385 {
22386 resultobj = wxPyMake_wxObject(result, (bool)0);
22387 }
1bd55598
RD
22388 return resultobj;
22389fail:
22390 return NULL;
22391}
22392
22393
22394SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22395 PyObject *obj;
22396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22397 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22398 return SWIG_Py_Void();
22399}
22400
22401SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22402 return SWIG_Python_InitShadowInstance(args);
22403}
22404
22405SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj = 0;
22407 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22408 int arg2 = (int) 0 ;
22409 int arg3 = (int) wxNOT_FOUND ;
22410 int arg4 = (int) wxNOT_FOUND ;
22411 wxTreebookEvent *result = 0 ;
22412 int val1 ;
22413 int ecode1 = 0 ;
22414 int val2 ;
22415 int ecode2 = 0 ;
22416 int val3 ;
22417 int ecode3 = 0 ;
22418 int val4 ;
22419 int ecode4 = 0 ;
22420 PyObject * obj0 = 0 ;
22421 PyObject * obj1 = 0 ;
22422 PyObject * obj2 = 0 ;
22423 PyObject * obj3 = 0 ;
22424 char * kwnames[] = {
22425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22426 };
22427
22428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22429 if (obj0) {
22430 ecode1 = SWIG_AsVal_int(obj0, &val1);
22431 if (!SWIG_IsOK(ecode1)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22433 }
22434 arg1 = static_cast< wxEventType >(val1);
22435 }
22436 if (obj1) {
22437 ecode2 = SWIG_AsVal_int(obj1, &val2);
22438 if (!SWIG_IsOK(ecode2)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22440 }
22441 arg2 = static_cast< int >(val2);
22442 }
22443 if (obj2) {
22444 ecode3 = SWIG_AsVal_int(obj2, &val3);
22445 if (!SWIG_IsOK(ecode3)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22447 }
22448 arg3 = static_cast< int >(val3);
22449 }
22450 if (obj3) {
22451 ecode4 = SWIG_AsVal_int(obj3, &val4);
22452 if (!SWIG_IsOK(ecode4)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22454 }
22455 arg4 = static_cast< int >(val4);
22456 }
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22464 return resultobj;
22465fail:
22466 return NULL;
22467}
22468
22469
22470SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22471 PyObject *obj;
22472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22473 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22474 return SWIG_Py_Void();
22475}
22476
22477SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22478 return SWIG_Python_InitShadowInstance(args);
22479}
22480
22481SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj = 0;
22483 wxWindow *arg1 = (wxWindow *) 0 ;
22484 int arg2 ;
22485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22487 wxSize const &arg4_defvalue = wxDefaultSize ;
22488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22489 long arg5 = (long) wxBK_DEFAULT ;
22490 wxString const &arg6_defvalue = wxPyEmptyString ;
22491 wxString *arg6 = (wxString *) &arg6_defvalue ;
22492 wxToolbook *result = 0 ;
22493 void *argp1 = 0 ;
22494 int res1 = 0 ;
22495 int val2 ;
22496 int ecode2 = 0 ;
22497 wxPoint temp3 ;
22498 wxSize temp4 ;
22499 long val5 ;
22500 int ecode5 = 0 ;
22501 bool temp6 = false ;
22502 PyObject * obj0 = 0 ;
22503 PyObject * obj1 = 0 ;
22504 PyObject * obj2 = 0 ;
22505 PyObject * obj3 = 0 ;
22506 PyObject * obj4 = 0 ;
22507 PyObject * obj5 = 0 ;
22508 char * kwnames[] = {
22509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22510 };
22511
22512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22514 if (!SWIG_IsOK(res1)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22516 }
22517 arg1 = reinterpret_cast< wxWindow * >(argp1);
22518 ecode2 = SWIG_AsVal_int(obj1, &val2);
22519 if (!SWIG_IsOK(ecode2)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22521 }
22522 arg2 = static_cast< int >(val2);
22523 if (obj2) {
36ed4f51 22524 {
1bd55598
RD
22525 arg3 = &temp3;
22526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 22527 }
1bd55598
RD
22528 }
22529 if (obj3) {
36ed4f51 22530 {
1bd55598
RD
22531 arg4 = &temp4;
22532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 22533 }
1bd55598
RD
22534 }
22535 if (obj4) {
22536 ecode5 = SWIG_AsVal_long(obj4, &val5);
22537 if (!SWIG_IsOK(ecode5)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22539 }
22540 arg5 = static_cast< long >(val5);
22541 }
22542 if (obj5) {
d55e5bfc 22543 {
1bd55598
RD
22544 arg6 = wxString_in_helper(obj5);
22545 if (arg6 == NULL) SWIG_fail;
22546 temp6 = true;
d55e5bfc 22547 }
1bd55598
RD
22548 }
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22556 {
22557 if (temp6)
22558 delete arg6;
22559 }
22560 return resultobj;
22561fail:
22562 {
22563 if (temp6)
22564 delete arg6;
22565 }
22566 return NULL;
d55e5bfc
RD
22567}
22568
22569
1bd55598
RD
22570SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxToolbook *result = 0 ;
22573
22574 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 result = (wxToolbook *)new wxToolbook();
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22582 return resultobj;
22583fail:
22584 return NULL;
22585}
22586
22587
22588SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj = 0;
22590 wxToolbook *arg1 = (wxToolbook *) 0 ;
22591 wxWindow *arg2 = (wxWindow *) 0 ;
22592 int arg3 ;
22593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22595 wxSize const &arg5_defvalue = wxDefaultSize ;
22596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22597 long arg6 = (long) 0 ;
22598 wxString const &arg7_defvalue = wxEmptyString ;
22599 wxString *arg7 = (wxString *) &arg7_defvalue ;
22600 bool result;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 void *argp2 = 0 ;
22604 int res2 = 0 ;
22605 int val3 ;
22606 int ecode3 = 0 ;
22607 wxPoint temp4 ;
22608 wxSize temp5 ;
22609 long val6 ;
22610 int ecode6 = 0 ;
22611 bool temp7 = false ;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 PyObject * obj2 = 0 ;
22615 PyObject * obj3 = 0 ;
22616 PyObject * obj4 = 0 ;
22617 PyObject * obj5 = 0 ;
22618 PyObject * obj6 = 0 ;
22619 char * kwnames[] = {
22620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22621 };
22622
22623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22625 if (!SWIG_IsOK(res1)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22627 }
22628 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22630 if (!SWIG_IsOK(res2)) {
22631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22632 }
22633 arg2 = reinterpret_cast< wxWindow * >(argp2);
22634 ecode3 = SWIG_AsVal_int(obj2, &val3);
22635 if (!SWIG_IsOK(ecode3)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22637 }
22638 arg3 = static_cast< int >(val3);
22639 if (obj3) {
22640 {
22641 arg4 = &temp4;
22642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 22643 }
1bd55598
RD
22644 }
22645 if (obj4) {
f20a2e1f 22646 {
1bd55598
RD
22647 arg5 = &temp5;
22648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 22649 }
1bd55598
RD
22650 }
22651 if (obj5) {
22652 ecode6 = SWIG_AsVal_long(obj5, &val6);
22653 if (!SWIG_IsOK(ecode6)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22655 }
22656 arg6 = static_cast< long >(val6);
22657 }
22658 if (obj6) {
f20a2e1f 22659 {
1bd55598
RD
22660 arg7 = wxString_in_helper(obj6);
22661 if (arg7 == NULL) SWIG_fail;
22662 temp7 = true;
f20a2e1f 22663 }
1bd55598
RD
22664 }
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 {
22672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22673 }
22674 {
22675 if (temp7)
22676 delete arg7;
22677 }
22678 return resultobj;
22679fail:
22680 {
22681 if (temp7)
22682 delete arg7;
22683 }
22684 return NULL;
f20a2e1f
RD
22685}
22686
22687
1bd55598
RD
22688SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22689 PyObject *resultobj = 0;
22690 wxToolbook *arg1 = (wxToolbook *) 0 ;
22691 wxToolBarBase *result = 0 ;
22692 void *argp1 = 0 ;
22693 int res1 = 0 ;
22694 PyObject *swig_obj[1] ;
22695
22696 if (!args) SWIG_fail;
22697 swig_obj[0] = args;
22698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22699 if (!SWIG_IsOK(res1)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22701 }
22702 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 resultobj = wxPyMake_wxObject(result, (bool)0);
22711 }
22712 return resultobj;
22713fail:
22714 return NULL;
d55e5bfc
RD
22715}
22716
22717
1bd55598
RD
22718SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22719 PyObject *resultobj = 0;
22720 wxToolbook *arg1 = (wxToolbook *) 0 ;
22721 void *argp1 = 0 ;
22722 int res1 = 0 ;
22723 PyObject *swig_obj[1] ;
22724
22725 if (!args) SWIG_fail;
22726 swig_obj[0] = args;
22727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22728 if (!SWIG_IsOK(res1)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22730 }
22731 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 (arg1)->Realize();
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 resultobj = SWIG_Py_Void();
22739 return resultobj;
22740fail:
22741 return NULL;
22742}
22743
22744
22745SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22746 PyObject *obj;
22747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22748 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22749 return SWIG_Py_Void();
22750}
22751
22752SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22753 return SWIG_Python_InitShadowInstance(args);
22754}
22755
22756SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22757 PyObject *resultobj = 0;
22758 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22759 int arg2 = (int) 0 ;
22760 int arg3 = (int) wxNOT_FOUND ;
22761 int arg4 = (int) wxNOT_FOUND ;
22762 wxToolbookEvent *result = 0 ;
22763 int val1 ;
22764 int ecode1 = 0 ;
22765 int val2 ;
22766 int ecode2 = 0 ;
22767 int val3 ;
22768 int ecode3 = 0 ;
22769 int val4 ;
22770 int ecode4 = 0 ;
22771 PyObject * obj0 = 0 ;
22772 PyObject * obj1 = 0 ;
22773 PyObject * obj2 = 0 ;
22774 PyObject * obj3 = 0 ;
22775 char * kwnames[] = {
22776 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22777 };
22778
22779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22780 if (obj0) {
22781 ecode1 = SWIG_AsVal_int(obj0, &val1);
22782 if (!SWIG_IsOK(ecode1)) {
22783 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22784 }
22785 arg1 = static_cast< wxEventType >(val1);
22786 }
22787 if (obj1) {
22788 ecode2 = SWIG_AsVal_int(obj1, &val2);
22789 if (!SWIG_IsOK(ecode2)) {
22790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22791 }
22792 arg2 = static_cast< int >(val2);
22793 }
22794 if (obj2) {
22795 ecode3 = SWIG_AsVal_int(obj2, &val3);
22796 if (!SWIG_IsOK(ecode3)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22798 }
22799 arg3 = static_cast< int >(val3);
22800 }
22801 if (obj3) {
22802 ecode4 = SWIG_AsVal_int(obj3, &val4);
22803 if (!SWIG_IsOK(ecode4)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22805 }
22806 arg4 = static_cast< int >(val4);
22807 }
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22815 return resultobj;
22816fail:
22817 return NULL;
d55e5bfc
RD
22818}
22819
22820
1bd55598
RD
22821SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22822 PyObject *obj;
22823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22824 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22825 return SWIG_Py_Void();
d55e5bfc
RD
22826}
22827
1bd55598
RD
22828SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22829 return SWIG_Python_InitShadowInstance(args);
22830}
d55e5bfc 22831
1bd55598
RD
22832SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22833 PyObject *resultobj = 0;
22834 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22835 int result;
22836 void *argp1 = 0 ;
22837 int res1 = 0 ;
22838 PyObject *swig_obj[1] ;
22839
22840 if (!args) SWIG_fail;
22841 swig_obj[0] = args;
22842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22843 if (!SWIG_IsOK(res1)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22845 }
22846 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 result = (int)(arg1)->GetId();
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 resultobj = SWIG_From_int(static_cast< int >(result));
22854 return resultobj;
22855fail:
22856 return NULL;
d55e5bfc 22857}
1bd55598
RD
22858
22859
22860SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22861 PyObject *resultobj = 0;
22862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22863 wxControl *result = 0 ;
22864 void *argp1 = 0 ;
22865 int res1 = 0 ;
22866 PyObject *swig_obj[1] ;
22867
22868 if (!args) SWIG_fail;
22869 swig_obj[0] = args;
22870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22871 if (!SWIG_IsOK(res1)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22873 }
22874 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (wxControl *)(arg1)->GetControl();
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 {
22882 resultobj = wxPyMake_wxObject(result, 0);
22883 }
22884 return resultobj;
22885fail:
22886 return NULL;
d55e5bfc
RD
22887}
22888
22889
1bd55598
RD
22890SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22891 PyObject *resultobj = 0;
22892 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22893 wxToolBarBase *result = 0 ;
22894 void *argp1 = 0 ;
22895 int res1 = 0 ;
22896 PyObject *swig_obj[1] ;
22897
22898 if (!args) SWIG_fail;
22899 swig_obj[0] = args;
22900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22901 if (!SWIG_IsOK(res1)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22903 }
22904 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (wxToolBarBase *)(arg1)->GetToolBar();
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
22911 {
22912 resultobj = wxPyMake_wxObject(result, (bool)0);
22913 }
22914 return resultobj;
22915fail:
22916 return NULL;
d55e5bfc
RD
22917}
22918
22919
1bd55598
RD
22920SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22921 PyObject *resultobj = 0;
22922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22923 int result;
22924 void *argp1 = 0 ;
22925 int res1 = 0 ;
22926 PyObject *swig_obj[1] ;
22927
22928 if (!args) SWIG_fail;
22929 swig_obj[0] = args;
22930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22933 }
22934 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 result = (int)(arg1)->IsButton();
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 resultobj = SWIG_From_int(static_cast< int >(result));
22942 return resultobj;
22943fail:
22944 return NULL;
d55e5bfc
RD
22945}
22946
22947
1bd55598
RD
22948SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22949 PyObject *resultobj = 0;
22950 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22951 int result;
22952 void *argp1 = 0 ;
22953 int res1 = 0 ;
22954 PyObject *swig_obj[1] ;
22955
22956 if (!args) SWIG_fail;
22957 swig_obj[0] = args;
22958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22959 if (!SWIG_IsOK(res1)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22961 }
22962 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 result = (int)(arg1)->IsControl();
22966 wxPyEndAllowThreads(__tstate);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 }
22969 resultobj = SWIG_From_int(static_cast< int >(result));
22970 return resultobj;
22971fail:
22972 return NULL;
d55e5bfc
RD
22973}
22974
22975
1bd55598
RD
22976SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22977 PyObject *resultobj = 0;
22978 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22979 int result;
22980 void *argp1 = 0 ;
22981 int res1 = 0 ;
22982 PyObject *swig_obj[1] ;
22983
22984 if (!args) SWIG_fail;
22985 swig_obj[0] = args;
22986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22987 if (!SWIG_IsOK(res1)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 }
22990 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 result = (int)(arg1)->IsSeparator();
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 resultobj = SWIG_From_int(static_cast< int >(result));
22998 return resultobj;
22999fail:
23000 return NULL;
d55e5bfc
RD
23001}
23002
23003
1bd55598
RD
23004SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23005 PyObject *resultobj = 0;
23006 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23007 int result;
23008 void *argp1 = 0 ;
23009 int res1 = 0 ;
23010 PyObject *swig_obj[1] ;
23011
23012 if (!args) SWIG_fail;
23013 swig_obj[0] = args;
23014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23015 if (!SWIG_IsOK(res1)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23017 }
23018 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 result = (int)(arg1)->GetStyle();
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 resultobj = SWIG_From_int(static_cast< int >(result));
23026 return resultobj;
23027fail:
23028 return NULL;
d55e5bfc
RD
23029}
23030
23031
1bd55598
RD
23032SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23033 PyObject *resultobj = 0;
23034 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23035 wxItemKind result;
23036 void *argp1 = 0 ;
23037 int res1 = 0 ;
23038 PyObject *swig_obj[1] ;
23039
23040 if (!args) SWIG_fail;
23041 swig_obj[0] = args;
23042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23043 if (!SWIG_IsOK(res1)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23045 }
23046 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 result = (wxItemKind)(arg1)->GetKind();
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 resultobj = SWIG_From_int(static_cast< int >(result));
23054 return resultobj;
23055fail:
23056 return NULL;
d55e5bfc
RD
23057}
23058
23059
1bd55598
RD
23060SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23061 PyObject *resultobj = 0;
23062 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23063 bool result;
23064 void *argp1 = 0 ;
23065 int res1 = 0 ;
23066 PyObject *swig_obj[1] ;
23067
23068 if (!args) SWIG_fail;
23069 swig_obj[0] = args;
23070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23071 if (!SWIG_IsOK(res1)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23073 }
23074 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 result = (bool)(arg1)->IsEnabled();
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 {
23082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23083 }
23084 return resultobj;
23085fail:
23086 return NULL;
d55e5bfc
RD
23087}
23088
23089
1bd55598
RD
23090SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23091 PyObject *resultobj = 0;
23092 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23093 bool result;
23094 void *argp1 = 0 ;
23095 int res1 = 0 ;
23096 PyObject *swig_obj[1] ;
23097
23098 if (!args) SWIG_fail;
23099 swig_obj[0] = args;
23100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23101 if (!SWIG_IsOK(res1)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23103 }
23104 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23105 {
23106 PyThreadState* __tstate = wxPyBeginAllowThreads();
23107 result = (bool)(arg1)->IsToggled();
23108 wxPyEndAllowThreads(__tstate);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 }
23111 {
23112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23113 }
23114 return resultobj;
23115fail:
23116 return NULL;
d55e5bfc
RD
23117}
23118
23119
1bd55598
RD
23120SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23121 PyObject *resultobj = 0;
23122 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23123 bool result;
23124 void *argp1 = 0 ;
23125 int res1 = 0 ;
23126 PyObject *swig_obj[1] ;
23127
23128 if (!args) SWIG_fail;
23129 swig_obj[0] = args;
23130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23131 if (!SWIG_IsOK(res1)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 }
23134 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 result = (bool)(arg1)->CanBeToggled();
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 {
23142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23143 }
23144 return resultobj;
23145fail:
23146 return NULL;
d55e5bfc
RD
23147}
23148
23149
1bd55598
RD
23150SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23151 PyObject *resultobj = 0;
23152 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23153 wxBitmap *result = 0 ;
23154 void *argp1 = 0 ;
23155 int res1 = 0 ;
23156 PyObject *swig_obj[1] ;
23157
23158 if (!args) SWIG_fail;
23159 swig_obj[0] = args;
23160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23161 if (!SWIG_IsOK(res1)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23163 }
23164 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 23167 {
1bd55598
RD
23168 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23169 result = (wxBitmap *) &_result_ref;
36ed4f51 23170 }
1bd55598
RD
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 {
23175 wxBitmap* resultptr = new wxBitmap(*result);
23176 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23177 }
23178 return resultobj;
23179fail:
23180 return NULL;
d55e5bfc
RD
23181}
23182
23183
1bd55598
RD
23184SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23185 PyObject *resultobj = 0;
23186 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23187 wxBitmap *result = 0 ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 PyObject *swig_obj[1] ;
23191
23192 if (!args) SWIG_fail;
23193 swig_obj[0] = args;
23194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23195 if (!SWIG_IsOK(res1)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23197 }
23198 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23201 {
1bd55598
RD
23202 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23203 result = (wxBitmap *) &_result_ref;
d55e5bfc 23204 }
1bd55598
RD
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 {
23209 wxBitmap* resultptr = new wxBitmap(*result);
23210 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23211 }
23212 return resultobj;
23213fail:
23214 return NULL;
d55e5bfc
RD
23215}
23216
23217
1bd55598
RD
23218SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23219 PyObject *resultobj = 0;
23220 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23221 wxBitmap result;
23222 void *argp1 = 0 ;
23223 int res1 = 0 ;
23224 PyObject *swig_obj[1] ;
23225
23226 if (!args) SWIG_fail;
23227 swig_obj[0] = args;
23228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23229 if (!SWIG_IsOK(res1)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23231 }
23232 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 result = (arg1)->GetBitmap();
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23240 return resultobj;
23241fail:
23242 return NULL;
d55e5bfc
RD
23243}
23244
23245
1bd55598
RD
23246SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23247 PyObject *resultobj = 0;
23248 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23249 wxString result;
23250 void *argp1 = 0 ;
23251 int res1 = 0 ;
23252 PyObject *swig_obj[1] ;
23253
23254 if (!args) SWIG_fail;
23255 swig_obj[0] = args;
23256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23257 if (!SWIG_IsOK(res1)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23259 }
23260 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 result = (arg1)->GetLabel();
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 {
23268#if wxUSE_UNICODE
23269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23270#else
23271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23272#endif
23273 }
23274 return resultobj;
23275fail:
23276 return NULL;
d55e5bfc
RD
23277}
23278
23279
1bd55598
RD
23280SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23281 PyObject *resultobj = 0;
23282 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23283 wxString result;
23284 void *argp1 = 0 ;
23285 int res1 = 0 ;
23286 PyObject *swig_obj[1] ;
23287
23288 if (!args) SWIG_fail;
23289 swig_obj[0] = args;
23290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23291 if (!SWIG_IsOK(res1)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23293 }
23294 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (arg1)->GetShortHelp();
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 {
23302#if wxUSE_UNICODE
23303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23304#else
23305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23306#endif
23307 }
23308 return resultobj;
23309fail:
23310 return NULL;
d55e5bfc
RD
23311}
23312
23313
1bd55598
RD
23314SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23315 PyObject *resultobj = 0;
23316 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23317 wxString result;
23318 void *argp1 = 0 ;
23319 int res1 = 0 ;
23320 PyObject *swig_obj[1] ;
23321
23322 if (!args) SWIG_fail;
23323 swig_obj[0] = args;
23324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23325 if (!SWIG_IsOK(res1)) {
23326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23327 }
23328 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 result = (arg1)->GetLongHelp();
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 {
23336#if wxUSE_UNICODE
23337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23338#else
23339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23340#endif
23341 }
23342 return resultobj;
23343fail:
23344 return NULL;
23345}
23346
23347
23348SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj = 0;
23350 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23351 bool arg2 ;
23352 bool result;
23353 void *argp1 = 0 ;
23354 int res1 = 0 ;
23355 bool val2 ;
23356 int ecode2 = 0 ;
23357 PyObject * obj0 = 0 ;
23358 PyObject * obj1 = 0 ;
23359 char * kwnames[] = {
23360 (char *) "self",(char *) "enable", NULL
23361 };
23362
23363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23365 if (!SWIG_IsOK(res1)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23367 }
23368 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23369 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23370 if (!SWIG_IsOK(ecode2)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23372 }
23373 arg2 = static_cast< bool >(val2);
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (bool)(arg1)->Enable(arg2);
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 {
23381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23382 }
23383 return resultobj;
23384fail:
23385 return NULL;
d55e5bfc
RD
23386}
23387
23388
1bd55598
RD
23389SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23390 PyObject *resultobj = 0;
23391 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23392 void *argp1 = 0 ;
23393 int res1 = 0 ;
23394 PyObject *swig_obj[1] ;
23395
23396 if (!args) SWIG_fail;
23397 swig_obj[0] = args;
23398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23399 if (!SWIG_IsOK(res1)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23401 }
23402 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 (arg1)->Toggle();
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_Py_Void();
23410 return resultobj;
23411fail:
23412 return NULL;
23413}
23414
23415
23416SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj = 0;
23418 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23419 bool arg2 ;
23420 bool result;
23421 void *argp1 = 0 ;
23422 int res1 = 0 ;
23423 bool val2 ;
23424 int ecode2 = 0 ;
23425 PyObject * obj0 = 0 ;
23426 PyObject * obj1 = 0 ;
23427 char * kwnames[] = {
23428 (char *) "self",(char *) "toggle", NULL
23429 };
23430
23431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23433 if (!SWIG_IsOK(res1)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23435 }
23436 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23437 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23438 if (!SWIG_IsOK(ecode2)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23440 }
23441 arg2 = static_cast< bool >(val2);
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (bool)(arg1)->SetToggle(arg2);
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 {
23449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23450 }
23451 return resultobj;
23452fail:
23453 return NULL;
23454}
23455
23456
23457SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23458 PyObject *resultobj = 0;
23459 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23460 wxString *arg2 = 0 ;
23461 bool result;
23462 void *argp1 = 0 ;
23463 int res1 = 0 ;
23464 bool temp2 = false ;
23465 PyObject * obj0 = 0 ;
23466 PyObject * obj1 = 0 ;
23467 char * kwnames[] = {
23468 (char *) "self",(char *) "help", NULL
23469 };
23470
23471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23473 if (!SWIG_IsOK(res1)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23475 }
23476 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23477 {
23478 arg2 = wxString_in_helper(obj1);
23479 if (arg2 == NULL) SWIG_fail;
23480 temp2 = true;
23481 }
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 {
23489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23490 }
23491 {
23492 if (temp2)
23493 delete arg2;
23494 }
23495 return resultobj;
23496fail:
23497 {
23498 if (temp2)
23499 delete arg2;
23500 }
23501 return NULL;
23502}
23503
23504
23505SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj = 0;
23507 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23508 wxString *arg2 = 0 ;
23509 bool result;
23510 void *argp1 = 0 ;
23511 int res1 = 0 ;
23512 bool temp2 = false ;
23513 PyObject * obj0 = 0 ;
23514 PyObject * obj1 = 0 ;
23515 char * kwnames[] = {
23516 (char *) "self",(char *) "help", NULL
23517 };
23518
23519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23521 if (!SWIG_IsOK(res1)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23523 }
23524 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23525 {
23526 arg2 = wxString_in_helper(obj1);
23527 if (arg2 == NULL) SWIG_fail;
23528 temp2 = true;
23529 }
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 {
23537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23538 }
23539 {
23540 if (temp2)
23541 delete arg2;
23542 }
23543 return resultobj;
23544fail:
23545 {
23546 if (temp2)
23547 delete arg2;
23548 }
23549 return NULL;
23550}
23551
23552
23553SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj = 0;
23555 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23556 wxBitmap *arg2 = 0 ;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 void *argp2 = 0 ;
23560 int res2 = 0 ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char * kwnames[] = {
23564 (char *) "self",(char *) "bmp", NULL
23565 };
23566
23567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23569 if (!SWIG_IsOK(res1)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23571 }
23572 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23574 if (!SWIG_IsOK(res2)) {
23575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23576 }
23577 if (!argp2) {
23578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23579 }
23580 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 resultobj = SWIG_Py_Void();
23588 return resultobj;
23589fail:
23590 return NULL;
23591}
23592
23593
23594SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj = 0;
23596 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23597 wxBitmap *arg2 = 0 ;
23598 void *argp1 = 0 ;
23599 int res1 = 0 ;
23600 void *argp2 = 0 ;
23601 int res2 = 0 ;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 char * kwnames[] = {
23605 (char *) "self",(char *) "bmp", NULL
23606 };
23607
23608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23610 if (!SWIG_IsOK(res1)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23612 }
23613 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23615 if (!SWIG_IsOK(res2)) {
23616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23617 }
23618 if (!argp2) {
23619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23620 }
23621 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
23628 resultobj = SWIG_Py_Void();
23629 return resultobj;
23630fail:
23631 return NULL;
23632}
23633
23634
23635SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj = 0;
23637 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23638 wxString *arg2 = 0 ;
23639 void *argp1 = 0 ;
23640 int res1 = 0 ;
23641 bool temp2 = false ;
23642 PyObject * obj0 = 0 ;
23643 PyObject * obj1 = 0 ;
23644 char * kwnames[] = {
23645 (char *) "self",(char *) "label", NULL
23646 };
23647
23648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23650 if (!SWIG_IsOK(res1)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23652 }
23653 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23654 {
23655 arg2 = wxString_in_helper(obj1);
23656 if (arg2 == NULL) SWIG_fail;
23657 temp2 = true;
23658 }
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 (arg1)->SetLabel((wxString const &)*arg2);
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 resultobj = SWIG_Py_Void();
23666 {
23667 if (temp2)
23668 delete arg2;
23669 }
23670 return resultobj;
23671fail:
23672 {
23673 if (temp2)
23674 delete arg2;
23675 }
23676 return NULL;
d55e5bfc
RD
23677}
23678
23679
1bd55598
RD
23680SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23681 PyObject *resultobj = 0;
23682 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23683 void *argp1 = 0 ;
23684 int res1 = 0 ;
23685 PyObject *swig_obj[1] ;
23686
23687 if (!args) SWIG_fail;
23688 swig_obj[0] = args;
23689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23690 if (!SWIG_IsOK(res1)) {
23691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23692 }
23693 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 (arg1)->Detach();
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 resultobj = SWIG_Py_Void();
23701 return resultobj;
23702fail:
23703 return NULL;
23704}
23705
23706
23707SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj = 0;
23709 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23710 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23711 void *argp1 = 0 ;
23712 int res1 = 0 ;
23713 void *argp2 = 0 ;
23714 int res2 = 0 ;
23715 PyObject * obj0 = 0 ;
23716 PyObject * obj1 = 0 ;
23717 char * kwnames[] = {
23718 (char *) "self",(char *) "tbar", NULL
23719 };
23720
23721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23723 if (!SWIG_IsOK(res1)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23725 }
23726 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23728 if (!SWIG_IsOK(res2)) {
23729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23730 }
23731 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 (arg1)->Attach(arg2);
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_Py_Void();
23739 return resultobj;
23740fail:
23741 return NULL;
d55e5bfc
RD
23742}
23743
23744
1bd55598
RD
23745SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23746 PyObject *resultobj = 0;
23747 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23748 PyObject *result = 0 ;
23749 void *argp1 = 0 ;
23750 int res1 = 0 ;
23751 PyObject *swig_obj[1] ;
23752
23753 if (!args) SWIG_fail;
23754 swig_obj[0] = args;
23755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23756 if (!SWIG_IsOK(res1)) {
23757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23758 }
23759 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 resultobj = result;
23767 return resultobj;
23768fail:
23769 return NULL;
23770}
23771
23772
23773SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj = 0;
23775 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23776 PyObject *arg2 = (PyObject *) 0 ;
23777 void *argp1 = 0 ;
23778 int res1 = 0 ;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char * kwnames[] = {
23782 (char *) "self",(char *) "clientData", NULL
23783 };
23784
23785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23789 }
23790 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23791 arg2 = obj1;
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 wxToolBarToolBase_SetClientData(arg1,arg2);
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = SWIG_Py_Void();
23799 return resultobj;
23800fail:
23801 return NULL;
23802}
23803
23804
23805SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23806 PyObject *obj;
23807 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23808 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23809 return SWIG_Py_Void();
23810}
23811
23812SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj = 0;
23814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23815 int arg2 ;
23816 wxString *arg3 = 0 ;
23817 wxBitmap *arg4 = 0 ;
23818 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23819 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23820 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23821 wxString const &arg7_defvalue = wxPyEmptyString ;
23822 wxString *arg7 = (wxString *) &arg7_defvalue ;
23823 wxString const &arg8_defvalue = wxPyEmptyString ;
23824 wxString *arg8 = (wxString *) &arg8_defvalue ;
23825 PyObject *arg9 = (PyObject *) NULL ;
23826 wxToolBarToolBase *result = 0 ;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 int val2 ;
23830 int ecode2 = 0 ;
23831 bool temp3 = false ;
23832 void *argp4 = 0 ;
23833 int res4 = 0 ;
23834 void *argp5 = 0 ;
23835 int res5 = 0 ;
23836 int val6 ;
23837 int ecode6 = 0 ;
23838 bool temp7 = false ;
23839 bool temp8 = false ;
23840 PyObject * obj0 = 0 ;
23841 PyObject * obj1 = 0 ;
23842 PyObject * obj2 = 0 ;
23843 PyObject * obj3 = 0 ;
23844 PyObject * obj4 = 0 ;
23845 PyObject * obj5 = 0 ;
23846 PyObject * obj6 = 0 ;
23847 PyObject * obj7 = 0 ;
23848 PyObject * obj8 = 0 ;
23849 char * kwnames[] = {
23850 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23851 };
23852
23853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23855 if (!SWIG_IsOK(res1)) {
23856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23857 }
23858 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23859 ecode2 = SWIG_AsVal_int(obj1, &val2);
23860 if (!SWIG_IsOK(ecode2)) {
23861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23862 }
23863 arg2 = static_cast< int >(val2);
23864 {
23865 arg3 = wxString_in_helper(obj2);
23866 if (arg3 == NULL) SWIG_fail;
23867 temp3 = true;
23868 }
23869 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23870 if (!SWIG_IsOK(res4)) {
23871 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23872 }
23873 if (!argp4) {
23874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23875 }
23876 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23877 if (obj4) {
23878 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23879 if (!SWIG_IsOK(res5)) {
23880 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
36ed4f51 23881 }
1bd55598
RD
23882 if (!argp5) {
23883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
f20a2e1f 23884 }
1bd55598
RD
23885 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23886 }
23887 if (obj5) {
23888 ecode6 = SWIG_AsVal_int(obj5, &val6);
23889 if (!SWIG_IsOK(ecode6)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23891 }
23892 arg6 = static_cast< wxItemKind >(val6);
23893 }
23894 if (obj6) {
f20a2e1f 23895 {
1bd55598
RD
23896 arg7 = wxString_in_helper(obj6);
23897 if (arg7 == NULL) SWIG_fail;
23898 temp7 = true;
f20a2e1f 23899 }
1bd55598
RD
23900 }
23901 if (obj7) {
f20a2e1f 23902 {
1bd55598
RD
23903 arg8 = wxString_in_helper(obj7);
23904 if (arg8 == NULL) SWIG_fail;
23905 temp8 = true;
d55e5bfc 23906 }
1bd55598
RD
23907 }
23908 if (obj8) {
23909 arg9 = obj8;
23910 }
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 resultobj = wxPyMake_wxObject(result, (bool)0);
23919 }
23920 {
23921 if (temp3)
23922 delete arg3;
23923 }
23924 {
23925 if (temp7)
23926 delete arg7;
23927 }
23928 {
23929 if (temp8)
23930 delete arg8;
23931 }
23932 return resultobj;
23933fail:
23934 {
23935 if (temp3)
23936 delete arg3;
23937 }
23938 {
23939 if (temp7)
23940 delete arg7;
23941 }
23942 {
23943 if (temp8)
23944 delete arg8;
23945 }
23946 return NULL;
23947}
23948
23949
23950SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23951 PyObject *resultobj = 0;
23952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23953 size_t arg2 ;
23954 int arg3 ;
23955 wxString *arg4 = 0 ;
23956 wxBitmap *arg5 = 0 ;
23957 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23958 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23959 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23960 wxString const &arg8_defvalue = wxPyEmptyString ;
23961 wxString *arg8 = (wxString *) &arg8_defvalue ;
23962 wxString const &arg9_defvalue = wxPyEmptyString ;
23963 wxString *arg9 = (wxString *) &arg9_defvalue ;
23964 PyObject *arg10 = (PyObject *) NULL ;
23965 wxToolBarToolBase *result = 0 ;
23966 void *argp1 = 0 ;
23967 int res1 = 0 ;
23968 size_t val2 ;
23969 int ecode2 = 0 ;
23970 int val3 ;
23971 int ecode3 = 0 ;
23972 bool temp4 = false ;
23973 void *argp5 = 0 ;
23974 int res5 = 0 ;
23975 void *argp6 = 0 ;
23976 int res6 = 0 ;
23977 int val7 ;
23978 int ecode7 = 0 ;
23979 bool temp8 = false ;
23980 bool temp9 = false ;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 PyObject * obj2 = 0 ;
23984 PyObject * obj3 = 0 ;
23985 PyObject * obj4 = 0 ;
23986 PyObject * obj5 = 0 ;
23987 PyObject * obj6 = 0 ;
23988 PyObject * obj7 = 0 ;
23989 PyObject * obj8 = 0 ;
23990 PyObject * obj9 = 0 ;
23991 char * kwnames[] = {
23992 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23993 };
23994
23995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23997 if (!SWIG_IsOK(res1)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23999 }
24000 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24001 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24002 if (!SWIG_IsOK(ecode2)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24004 }
24005 arg2 = static_cast< size_t >(val2);
24006 ecode3 = SWIG_AsVal_int(obj2, &val3);
24007 if (!SWIG_IsOK(ecode3)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24009 }
24010 arg3 = static_cast< int >(val3);
24011 {
24012 arg4 = wxString_in_helper(obj3);
24013 if (arg4 == NULL) SWIG_fail;
24014 temp4 = true;
24015 }
24016 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24017 if (!SWIG_IsOK(res5)) {
24018 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24019 }
24020 if (!argp5) {
24021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24022 }
24023 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24024 if (obj5) {
24025 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24026 if (!SWIG_IsOK(res6)) {
24027 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24028 }
1bd55598
RD
24029 if (!argp6) {
24030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24031 }
1bd55598
RD
24032 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24033 }
24034 if (obj6) {
24035 ecode7 = SWIG_AsVal_int(obj6, &val7);
24036 if (!SWIG_IsOK(ecode7)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24038 }
24039 arg7 = static_cast< wxItemKind >(val7);
24040 }
24041 if (obj7) {
d55e5bfc 24042 {
1bd55598
RD
24043 arg8 = wxString_in_helper(obj7);
24044 if (arg8 == NULL) SWIG_fail;
24045 temp8 = true;
d55e5bfc 24046 }
1bd55598
RD
24047 }
24048 if (obj8) {
d55e5bfc 24049 {
1bd55598
RD
24050 arg9 = wxString_in_helper(obj8);
24051 if (arg9 == NULL) SWIG_fail;
24052 temp9 = true;
d55e5bfc 24053 }
1bd55598
RD
24054 }
24055 if (obj9) {
24056 arg10 = obj9;
24057 }
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 {
24065 resultobj = wxPyMake_wxObject(result, (bool)0);
24066 }
24067 {
24068 if (temp4)
24069 delete arg4;
24070 }
24071 {
24072 if (temp8)
24073 delete arg8;
24074 }
24075 {
24076 if (temp9)
24077 delete arg9;
24078 }
24079 return resultobj;
24080fail:
24081 {
24082 if (temp4)
24083 delete arg4;
24084 }
24085 {
24086 if (temp8)
24087 delete arg8;
24088 }
24089 {
24090 if (temp9)
24091 delete arg9;
24092 }
24093 return NULL;
24094}
24095
24096
24097SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj = 0;
24099 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24100 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24101 wxToolBarToolBase *result = 0 ;
24102 void *argp1 = 0 ;
24103 int res1 = 0 ;
24104 void *argp2 = 0 ;
24105 int res2 = 0 ;
24106 PyObject * obj0 = 0 ;
24107 PyObject * obj1 = 0 ;
24108 char * kwnames[] = {
24109 (char *) "self",(char *) "tool", NULL
24110 };
24111
24112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24114 if (!SWIG_IsOK(res1)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24116 }
24117 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24119 if (!SWIG_IsOK(res2)) {
24120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24121 }
24122 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 {
24130 resultobj = wxPyMake_wxObject(result, (bool)0);
24131 }
24132 return resultobj;
24133fail:
24134 return NULL;
24135}
24136
24137
24138SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj = 0;
24140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24141 size_t arg2 ;
24142 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24143 wxToolBarToolBase *result = 0 ;
24144 void *argp1 = 0 ;
24145 int res1 = 0 ;
24146 size_t val2 ;
24147 int ecode2 = 0 ;
24148 void *argp3 = 0 ;
24149 int res3 = 0 ;
24150 PyObject * obj0 = 0 ;
24151 PyObject * obj1 = 0 ;
24152 PyObject * obj2 = 0 ;
24153 char * kwnames[] = {
24154 (char *) "self",(char *) "pos",(char *) "tool", NULL
24155 };
24156
24157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24159 if (!SWIG_IsOK(res1)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24161 }
24162 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24163 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24164 if (!SWIG_IsOK(ecode2)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24166 }
24167 arg2 = static_cast< size_t >(val2);
24168 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24169 if (!SWIG_IsOK(res3)) {
24170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24171 }
24172 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 {
24180 resultobj = wxPyMake_wxObject(result, (bool)0);
24181 }
24182 return resultobj;
24183fail:
24184 return NULL;
24185}
24186
24187
24188SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj = 0;
24190 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24191 wxControl *arg2 = (wxControl *) 0 ;
24192 wxToolBarToolBase *result = 0 ;
24193 void *argp1 = 0 ;
24194 int res1 = 0 ;
24195 void *argp2 = 0 ;
24196 int res2 = 0 ;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 char * kwnames[] = {
24200 (char *) "self",(char *) "control", NULL
24201 };
24202
24203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24205 if (!SWIG_IsOK(res1)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24207 }
24208 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24210 if (!SWIG_IsOK(res2)) {
24211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24212 }
24213 arg2 = reinterpret_cast< wxControl * >(argp2);
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 {
24221 resultobj = wxPyMake_wxObject(result, (bool)0);
24222 }
24223 return resultobj;
24224fail:
24225 return NULL;
24226}
24227
24228
24229SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj = 0;
24231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24232 size_t arg2 ;
24233 wxControl *arg3 = (wxControl *) 0 ;
24234 wxToolBarToolBase *result = 0 ;
24235 void *argp1 = 0 ;
24236 int res1 = 0 ;
24237 size_t val2 ;
24238 int ecode2 = 0 ;
24239 void *argp3 = 0 ;
24240 int res3 = 0 ;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 PyObject * obj2 = 0 ;
24244 char * kwnames[] = {
24245 (char *) "self",(char *) "pos",(char *) "control", NULL
24246 };
24247
24248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24250 if (!SWIG_IsOK(res1)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24252 }
24253 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24254 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24255 if (!SWIG_IsOK(ecode2)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24257 }
24258 arg2 = static_cast< size_t >(val2);
24259 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24260 if (!SWIG_IsOK(res3)) {
24261 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24262 }
24263 arg3 = reinterpret_cast< wxControl * >(argp3);
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 {
24271 resultobj = wxPyMake_wxObject(result, (bool)0);
24272 }
24273 return resultobj;
24274fail:
24275 return NULL;
24276}
24277
24278
24279SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj = 0;
24281 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24282 int arg2 ;
24283 wxControl *result = 0 ;
24284 void *argp1 = 0 ;
24285 int res1 = 0 ;
24286 int val2 ;
24287 int ecode2 = 0 ;
24288 PyObject * obj0 = 0 ;
24289 PyObject * obj1 = 0 ;
24290 char * kwnames[] = {
24291 (char *) "self",(char *) "id", NULL
24292 };
24293
24294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24296 if (!SWIG_IsOK(res1)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24298 }
24299 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24300 ecode2 = SWIG_AsVal_int(obj1, &val2);
24301 if (!SWIG_IsOK(ecode2)) {
24302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24303 }
24304 arg2 = static_cast< int >(val2);
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 result = (wxControl *)(arg1)->FindControl(arg2);
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 resultobj = wxPyMake_wxObject(result, 0);
24313 }
24314 return resultobj;
24315fail:
24316 return NULL;
d55e5bfc
RD
24317}
24318
24319
1bd55598
RD
24320SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24321 PyObject *resultobj = 0;
24322 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24323 wxToolBarToolBase *result = 0 ;
24324 void *argp1 = 0 ;
24325 int res1 = 0 ;
24326 PyObject *swig_obj[1] ;
24327
24328 if (!args) SWIG_fail;
24329 swig_obj[0] = args;
24330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24331 if (!SWIG_IsOK(res1)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24333 }
24334 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
24342 resultobj = wxPyMake_wxObject(result, (bool)0);
24343 }
24344 return resultobj;
24345fail:
24346 return NULL;
24347}
24348
24349
24350SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24353 size_t arg2 ;
24354 wxToolBarToolBase *result = 0 ;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 size_t val2 ;
24358 int ecode2 = 0 ;
24359 PyObject * obj0 = 0 ;
24360 PyObject * obj1 = 0 ;
24361 char * kwnames[] = {
24362 (char *) "self",(char *) "pos", NULL
24363 };
24364
24365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24367 if (!SWIG_IsOK(res1)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24369 }
24370 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24371 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24372 if (!SWIG_IsOK(ecode2)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24374 }
24375 arg2 = static_cast< size_t >(val2);
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 {
24383 resultobj = wxPyMake_wxObject(result, (bool)0);
24384 }
24385 return resultobj;
24386fail:
24387 return NULL;
24388}
24389
24390
24391SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj = 0;
24393 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24394 int arg2 ;
24395 wxToolBarToolBase *result = 0 ;
24396 void *argp1 = 0 ;
24397 int res1 = 0 ;
24398 int val2 ;
24399 int ecode2 = 0 ;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 char * kwnames[] = {
24403 (char *) "self",(char *) "id", NULL
24404 };
24405
24406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24408 if (!SWIG_IsOK(res1)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24410 }
24411 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24412 ecode2 = SWIG_AsVal_int(obj1, &val2);
24413 if (!SWIG_IsOK(ecode2)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24415 }
24416 arg2 = static_cast< int >(val2);
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 {
24424 resultobj = wxPyMake_wxObject(result, (bool)0);
24425 }
24426 return resultobj;
24427fail:
24428 return NULL;
24429}
24430
24431
24432SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj = 0;
24434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24435 size_t arg2 ;
24436 bool result;
24437 void *argp1 = 0 ;
24438 int res1 = 0 ;
24439 size_t val2 ;
24440 int ecode2 = 0 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char * kwnames[] = {
24444 (char *) "self",(char *) "pos", NULL
24445 };
24446
24447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24449 if (!SWIG_IsOK(res1)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24451 }
24452 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24453 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24454 if (!SWIG_IsOK(ecode2)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24456 }
24457 arg2 = static_cast< size_t >(val2);
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 result = (bool)(arg1)->DeleteToolByPos(arg2);
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 {
24465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24466 }
24467 return resultobj;
24468fail:
24469 return NULL;
24470}
24471
24472
24473SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24474 PyObject *resultobj = 0;
24475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24476 int arg2 ;
24477 bool result;
24478 void *argp1 = 0 ;
24479 int res1 = 0 ;
24480 int val2 ;
24481 int ecode2 = 0 ;
24482 PyObject * obj0 = 0 ;
24483 PyObject * obj1 = 0 ;
24484 char * kwnames[] = {
24485 (char *) "self",(char *) "id", NULL
24486 };
24487
24488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24490 if (!SWIG_IsOK(res1)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24492 }
24493 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24494 ecode2 = SWIG_AsVal_int(obj1, &val2);
24495 if (!SWIG_IsOK(ecode2)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24497 }
24498 arg2 = static_cast< int >(val2);
24499 {
24500 PyThreadState* __tstate = wxPyBeginAllowThreads();
24501 result = (bool)(arg1)->DeleteTool(arg2);
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24507 }
24508 return resultobj;
24509fail:
24510 return NULL;
d55e5bfc
RD
24511}
24512
24513
1bd55598
RD
24514SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24515 PyObject *resultobj = 0;
24516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24517 void *argp1 = 0 ;
24518 int res1 = 0 ;
24519 PyObject *swig_obj[1] ;
24520
24521 if (!args) SWIG_fail;
24522 swig_obj[0] = args;
24523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24524 if (!SWIG_IsOK(res1)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24526 }
24527 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 (arg1)->ClearTools();
24531 wxPyEndAllowThreads(__tstate);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 resultobj = SWIG_Py_Void();
24535 return resultobj;
24536fail:
24537 return NULL;
d55e5bfc
RD
24538}
24539
24540
1bd55598
RD
24541SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 PyObject *resultobj = 0;
24543 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24544 bool result;
24545 void *argp1 = 0 ;
24546 int res1 = 0 ;
24547 PyObject *swig_obj[1] ;
24548
24549 if (!args) SWIG_fail;
24550 swig_obj[0] = args;
24551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24552 if (!SWIG_IsOK(res1)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24554 }
24555 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = (bool)(arg1)->Realize();
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 {
24563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24564 }
24565 return resultobj;
24566fail:
24567 return NULL;
24568}
24569
24570
24571SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24572 PyObject *resultobj = 0;
24573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24574 int arg2 ;
24575 bool arg3 ;
24576 void *argp1 = 0 ;
24577 int res1 = 0 ;
24578 int val2 ;
24579 int ecode2 = 0 ;
24580 bool val3 ;
24581 int ecode3 = 0 ;
24582 PyObject * obj0 = 0 ;
24583 PyObject * obj1 = 0 ;
24584 PyObject * obj2 = 0 ;
24585 char * kwnames[] = {
24586 (char *) "self",(char *) "id",(char *) "enable", NULL
24587 };
24588
24589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24591 if (!SWIG_IsOK(res1)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24593 }
24594 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24595 ecode2 = SWIG_AsVal_int(obj1, &val2);
24596 if (!SWIG_IsOK(ecode2)) {
24597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24598 }
24599 arg2 = static_cast< int >(val2);
24600 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24601 if (!SWIG_IsOK(ecode3)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24603 }
24604 arg3 = static_cast< bool >(val3);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->EnableTool(arg2,arg3);
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_Py_Void();
24612 return resultobj;
24613fail:
24614 return NULL;
24615}
24616
24617
24618SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj = 0;
24620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24621 int arg2 ;
24622 bool arg3 ;
24623 void *argp1 = 0 ;
24624 int res1 = 0 ;
24625 int val2 ;
24626 int ecode2 = 0 ;
24627 bool val3 ;
24628 int ecode3 = 0 ;
24629 PyObject * obj0 = 0 ;
24630 PyObject * obj1 = 0 ;
24631 PyObject * obj2 = 0 ;
24632 char * kwnames[] = {
24633 (char *) "self",(char *) "id",(char *) "toggle", NULL
24634 };
24635
24636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24638 if (!SWIG_IsOK(res1)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24640 }
24641 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24642 ecode2 = SWIG_AsVal_int(obj1, &val2);
24643 if (!SWIG_IsOK(ecode2)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24645 }
24646 arg2 = static_cast< int >(val2);
24647 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24648 if (!SWIG_IsOK(ecode3)) {
24649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24650 }
24651 arg3 = static_cast< bool >(val3);
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 (arg1)->ToggleTool(arg2,arg3);
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 resultobj = SWIG_Py_Void();
24659 return resultobj;
24660fail:
24661 return NULL;
24662}
24663
24664
24665SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj = 0;
24667 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24668 int arg2 ;
24669 bool arg3 ;
24670 void *argp1 = 0 ;
24671 int res1 = 0 ;
24672 int val2 ;
24673 int ecode2 = 0 ;
24674 bool val3 ;
24675 int ecode3 = 0 ;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 PyObject * obj2 = 0 ;
24679 char * kwnames[] = {
24680 (char *) "self",(char *) "id",(char *) "toggle", NULL
24681 };
24682
24683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24685 if (!SWIG_IsOK(res1)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24687 }
24688 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24689 ecode2 = SWIG_AsVal_int(obj1, &val2);
24690 if (!SWIG_IsOK(ecode2)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24692 }
24693 arg2 = static_cast< int >(val2);
24694 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24695 if (!SWIG_IsOK(ecode3)) {
24696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24697 }
24698 arg3 = static_cast< bool >(val3);
24699 {
24700 PyThreadState* __tstate = wxPyBeginAllowThreads();
24701 (arg1)->SetToggle(arg2,arg3);
24702 wxPyEndAllowThreads(__tstate);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 resultobj = SWIG_Py_Void();
24706 return resultobj;
24707fail:
24708 return NULL;
24709}
24710
24711
24712SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj = 0;
24714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24715 int arg2 ;
24716 PyObject *result = 0 ;
24717 void *argp1 = 0 ;
24718 int res1 = 0 ;
24719 int val2 ;
24720 int ecode2 = 0 ;
24721 PyObject * obj0 = 0 ;
24722 PyObject * obj1 = 0 ;
24723 char * kwnames[] = {
24724 (char *) "self",(char *) "id", NULL
24725 };
24726
24727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24729 if (!SWIG_IsOK(res1)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24731 }
24732 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24733 ecode2 = SWIG_AsVal_int(obj1, &val2);
24734 if (!SWIG_IsOK(ecode2)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24736 }
24737 arg2 = static_cast< int >(val2);
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24741 wxPyEndAllowThreads(__tstate);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
24744 resultobj = result;
24745 return resultobj;
24746fail:
24747 return NULL;
24748}
24749
24750
24751SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24752 PyObject *resultobj = 0;
24753 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24754 int arg2 ;
24755 PyObject *arg3 = (PyObject *) 0 ;
24756 void *argp1 = 0 ;
24757 int res1 = 0 ;
24758 int val2 ;
24759 int ecode2 = 0 ;
24760 PyObject * obj0 = 0 ;
24761 PyObject * obj1 = 0 ;
24762 PyObject * obj2 = 0 ;
24763 char * kwnames[] = {
24764 (char *) "self",(char *) "id",(char *) "clientData", NULL
24765 };
24766
24767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24769 if (!SWIG_IsOK(res1)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24771 }
24772 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24773 ecode2 = SWIG_AsVal_int(obj1, &val2);
24774 if (!SWIG_IsOK(ecode2)) {
24775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24776 }
24777 arg2 = static_cast< int >(val2);
24778 arg3 = obj2;
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 resultobj = SWIG_Py_Void();
24786 return resultobj;
24787fail:
24788 return NULL;
24789}
24790
24791
24792SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj = 0;
24794 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24795 int arg2 ;
24796 int result;
24797 void *argp1 = 0 ;
24798 int res1 = 0 ;
24799 int val2 ;
24800 int ecode2 = 0 ;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 char * kwnames[] = {
24804 (char *) "self",(char *) "id", NULL
24805 };
24806
24807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24809 if (!SWIG_IsOK(res1)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24811 }
24812 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24813 ecode2 = SWIG_AsVal_int(obj1, &val2);
24814 if (!SWIG_IsOK(ecode2)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24816 }
24817 arg2 = static_cast< int >(val2);
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 resultobj = SWIG_From_int(static_cast< int >(result));
24825 return resultobj;
24826fail:
24827 return NULL;
24828}
24829
24830
24831SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj = 0;
24833 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24834 int arg2 ;
24835 bool result;
24836 void *argp1 = 0 ;
24837 int res1 = 0 ;
24838 int val2 ;
24839 int ecode2 = 0 ;
24840 PyObject * obj0 = 0 ;
24841 PyObject * obj1 = 0 ;
24842 char * kwnames[] = {
24843 (char *) "self",(char *) "id", NULL
24844 };
24845
24846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24848 if (!SWIG_IsOK(res1)) {
24849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24850 }
24851 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24852 ecode2 = SWIG_AsVal_int(obj1, &val2);
24853 if (!SWIG_IsOK(ecode2)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24855 }
24856 arg2 = static_cast< int >(val2);
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 result = (bool)(arg1)->GetToolState(arg2);
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 {
24864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24865 }
24866 return resultobj;
24867fail:
24868 return NULL;
24869}
24870
24871
24872SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24873 PyObject *resultobj = 0;
24874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24875 int arg2 ;
24876 bool result;
24877 void *argp1 = 0 ;
24878 int res1 = 0 ;
24879 int val2 ;
24880 int ecode2 = 0 ;
24881 PyObject * obj0 = 0 ;
24882 PyObject * obj1 = 0 ;
24883 char * kwnames[] = {
24884 (char *) "self",(char *) "id", NULL
24885 };
24886
24887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24889 if (!SWIG_IsOK(res1)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24891 }
24892 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24893 ecode2 = SWIG_AsVal_int(obj1, &val2);
24894 if (!SWIG_IsOK(ecode2)) {
24895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24896 }
24897 arg2 = static_cast< int >(val2);
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = (bool)(arg1)->GetToolEnabled(arg2);
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 {
24905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24906 }
24907 return resultobj;
24908fail:
24909 return NULL;
24910}
24911
24912
24913SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj = 0;
24915 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24916 int arg2 ;
24917 wxString *arg3 = 0 ;
24918 void *argp1 = 0 ;
24919 int res1 = 0 ;
24920 int val2 ;
24921 int ecode2 = 0 ;
24922 bool temp3 = false ;
24923 PyObject * obj0 = 0 ;
24924 PyObject * obj1 = 0 ;
24925 PyObject * obj2 = 0 ;
24926 char * kwnames[] = {
24927 (char *) "self",(char *) "id",(char *) "helpString", NULL
24928 };
24929
24930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24932 if (!SWIG_IsOK(res1)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24934 }
24935 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24936 ecode2 = SWIG_AsVal_int(obj1, &val2);
24937 if (!SWIG_IsOK(ecode2)) {
24938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24939 }
24940 arg2 = static_cast< int >(val2);
24941 {
24942 arg3 = wxString_in_helper(obj2);
24943 if (arg3 == NULL) SWIG_fail;
24944 temp3 = true;
24945 }
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 resultobj = SWIG_Py_Void();
24953 {
24954 if (temp3)
24955 delete arg3;
24956 }
24957 return resultobj;
24958fail:
24959 {
24960 if (temp3)
24961 delete arg3;
24962 }
24963 return NULL;
24964}
24965
24966
24967SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24968 PyObject *resultobj = 0;
24969 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24970 int arg2 ;
24971 wxString result;
24972 void *argp1 = 0 ;
24973 int res1 = 0 ;
24974 int val2 ;
24975 int ecode2 = 0 ;
24976 PyObject * obj0 = 0 ;
24977 PyObject * obj1 = 0 ;
24978 char * kwnames[] = {
24979 (char *) "self",(char *) "id", NULL
24980 };
24981
24982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24984 if (!SWIG_IsOK(res1)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24986 }
24987 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24988 ecode2 = SWIG_AsVal_int(obj1, &val2);
24989 if (!SWIG_IsOK(ecode2)) {
24990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24991 }
24992 arg2 = static_cast< int >(val2);
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 result = (arg1)->GetToolShortHelp(arg2);
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 {
25000#if wxUSE_UNICODE
25001 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25002#else
25003 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25004#endif
25005 }
25006 return resultobj;
25007fail:
25008 return NULL;
25009}
25010
25011
25012SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25013 PyObject *resultobj = 0;
25014 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25015 int arg2 ;
25016 wxString *arg3 = 0 ;
25017 void *argp1 = 0 ;
25018 int res1 = 0 ;
25019 int val2 ;
25020 int ecode2 = 0 ;
25021 bool temp3 = false ;
25022 PyObject * obj0 = 0 ;
25023 PyObject * obj1 = 0 ;
25024 PyObject * obj2 = 0 ;
25025 char * kwnames[] = {
25026 (char *) "self",(char *) "id",(char *) "helpString", NULL
25027 };
25028
25029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25031 if (!SWIG_IsOK(res1)) {
25032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25033 }
25034 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25035 ecode2 = SWIG_AsVal_int(obj1, &val2);
25036 if (!SWIG_IsOK(ecode2)) {
25037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25038 }
25039 arg2 = static_cast< int >(val2);
25040 {
25041 arg3 = wxString_in_helper(obj2);
25042 if (arg3 == NULL) SWIG_fail;
25043 temp3 = true;
25044 }
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 resultobj = SWIG_Py_Void();
25052 {
25053 if (temp3)
25054 delete arg3;
25055 }
25056 return resultobj;
25057fail:
25058 {
25059 if (temp3)
25060 delete arg3;
25061 }
25062 return NULL;
25063}
25064
25065
25066SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25067 PyObject *resultobj = 0;
25068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25069 int arg2 ;
25070 wxString result;
25071 void *argp1 = 0 ;
25072 int res1 = 0 ;
25073 int val2 ;
25074 int ecode2 = 0 ;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 char * kwnames[] = {
25078 (char *) "self",(char *) "id", NULL
25079 };
25080
25081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25083 if (!SWIG_IsOK(res1)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25085 }
25086 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25087 ecode2 = SWIG_AsVal_int(obj1, &val2);
25088 if (!SWIG_IsOK(ecode2)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25090 }
25091 arg2 = static_cast< int >(val2);
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = (arg1)->GetToolLongHelp(arg2);
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 {
25099#if wxUSE_UNICODE
25100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25101#else
25102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25103#endif
25104 }
25105 return resultobj;
25106fail:
25107 return NULL;
25108}
25109
25110
25111SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25112 PyObject *resultobj = 0;
25113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25114 int arg2 ;
25115 int arg3 ;
25116 void *argp1 = 0 ;
25117 int res1 = 0 ;
25118 int val2 ;
25119 int ecode2 = 0 ;
25120 int val3 ;
25121 int ecode3 = 0 ;
25122 PyObject * obj0 = 0 ;
25123 PyObject * obj1 = 0 ;
25124 PyObject * obj2 = 0 ;
25125 char * kwnames[] = {
25126 (char *) "self",(char *) "x",(char *) "y", NULL
25127 };
25128
25129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25131 if (!SWIG_IsOK(res1)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 }
25134 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25135 ecode2 = SWIG_AsVal_int(obj1, &val2);
25136 if (!SWIG_IsOK(ecode2)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25138 }
25139 arg2 = static_cast< int >(val2);
25140 ecode3 = SWIG_AsVal_int(obj2, &val3);
25141 if (!SWIG_IsOK(ecode3)) {
25142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25143 }
25144 arg3 = static_cast< int >(val3);
25145 {
25146 PyThreadState* __tstate = wxPyBeginAllowThreads();
25147 (arg1)->SetMargins(arg2,arg3);
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 resultobj = SWIG_Py_Void();
25152 return resultobj;
25153fail:
25154 return NULL;
25155}
25156
25157
25158SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25159 PyObject *resultobj = 0;
25160 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25161 wxSize *arg2 = 0 ;
25162 void *argp1 = 0 ;
25163 int res1 = 0 ;
25164 wxSize temp2 ;
25165 PyObject * obj0 = 0 ;
25166 PyObject * obj1 = 0 ;
25167 char * kwnames[] = {
25168 (char *) "self",(char *) "size", NULL
25169 };
25170
25171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25173 if (!SWIG_IsOK(res1)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25175 }
25176 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25177 {
25178 arg2 = &temp2;
25179 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25180 }
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 (arg1)->SetMargins((wxSize const &)*arg2);
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 resultobj = SWIG_Py_Void();
25188 return resultobj;
25189fail:
25190 return NULL;
25191}
25192
25193
25194SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25195 PyObject *resultobj = 0;
25196 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25197 int arg2 ;
25198 void *argp1 = 0 ;
25199 int res1 = 0 ;
25200 int val2 ;
25201 int ecode2 = 0 ;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 char * kwnames[] = {
25205 (char *) "self",(char *) "packing", NULL
25206 };
25207
25208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25212 }
25213 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25214 ecode2 = SWIG_AsVal_int(obj1, &val2);
25215 if (!SWIG_IsOK(ecode2)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25217 }
25218 arg2 = static_cast< int >(val2);
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 (arg1)->SetToolPacking(arg2);
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 resultobj = SWIG_Py_Void();
25226 return resultobj;
25227fail:
25228 return NULL;
25229}
25230
25231
25232SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj = 0;
25234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25235 int arg2 ;
25236 void *argp1 = 0 ;
25237 int res1 = 0 ;
25238 int val2 ;
25239 int ecode2 = 0 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char * kwnames[] = {
25243 (char *) "self",(char *) "separation", NULL
25244 };
25245
25246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25248 if (!SWIG_IsOK(res1)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25250 }
25251 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25252 ecode2 = SWIG_AsVal_int(obj1, &val2);
25253 if (!SWIG_IsOK(ecode2)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25255 }
25256 arg2 = static_cast< int >(val2);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->SetToolSeparation(arg2);
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_Py_Void();
25264 return resultobj;
25265fail:
25266 return NULL;
d55e5bfc
RD
25267}
25268
25269
1bd55598
RD
25270SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25271 PyObject *resultobj = 0;
25272 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25273 wxSize result;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 PyObject *swig_obj[1] ;
25277
25278 if (!args) SWIG_fail;
25279 swig_obj[0] = args;
25280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25283 }
25284 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (arg1)->GetToolMargins();
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25292 return resultobj;
25293fail:
25294 return NULL;
d55e5bfc
RD
25295}
25296
25297
1bd55598
RD
25298SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25299 PyObject *resultobj = 0;
25300 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25301 wxSize result;
25302 void *argp1 = 0 ;
25303 int res1 = 0 ;
25304 PyObject *swig_obj[1] ;
25305
25306 if (!args) SWIG_fail;
25307 swig_obj[0] = args;
25308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25309 if (!SWIG_IsOK(res1)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25311 }
25312 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (arg1)->GetMargins();
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25320 return resultobj;
25321fail:
25322 return NULL;
d55e5bfc
RD
25323}
25324
25325
1bd55598
RD
25326SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25327 PyObject *resultobj = 0;
25328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25329 int result;
25330 void *argp1 = 0 ;
25331 int res1 = 0 ;
25332 PyObject *swig_obj[1] ;
25333
25334 if (!args) SWIG_fail;
25335 swig_obj[0] = args;
25336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25337 if (!SWIG_IsOK(res1)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25339 }
25340 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = (int)(arg1)->GetToolPacking();
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_From_int(static_cast< int >(result));
25348 return resultobj;
25349fail:
25350 return NULL;
d55e5bfc
RD
25351}
25352
25353
1bd55598
RD
25354SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25357 int result;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25367 }
25368 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (int)(arg1)->GetToolSeparation();
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_From_int(static_cast< int >(result));
25376 return resultobj;
25377fail:
25378 return NULL;
25379}
25380
25381
25382SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj = 0;
25384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25385 int arg2 ;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 int val2 ;
25389 int ecode2 = 0 ;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 char * kwnames[] = {
25393 (char *) "self",(char *) "nRows", NULL
25394 };
25395
25396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25398 if (!SWIG_IsOK(res1)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25400 }
25401 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25402 ecode2 = SWIG_AsVal_int(obj1, &val2);
25403 if (!SWIG_IsOK(ecode2)) {
25404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25405 }
25406 arg2 = static_cast< int >(val2);
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 (arg1)->SetRows(arg2);
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 resultobj = SWIG_Py_Void();
25414 return resultobj;
25415fail:
25416 return NULL;
25417}
25418
25419
25420SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj = 0;
25422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25423 int arg2 ;
25424 int arg3 ;
25425 void *argp1 = 0 ;
25426 int res1 = 0 ;
25427 int val2 ;
25428 int ecode2 = 0 ;
25429 int val3 ;
25430 int ecode3 = 0 ;
25431 PyObject * obj0 = 0 ;
25432 PyObject * obj1 = 0 ;
25433 PyObject * obj2 = 0 ;
25434 char * kwnames[] = {
25435 (char *) "self",(char *) "rows",(char *) "cols", NULL
25436 };
25437
25438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25440 if (!SWIG_IsOK(res1)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25442 }
25443 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25444 ecode2 = SWIG_AsVal_int(obj1, &val2);
25445 if (!SWIG_IsOK(ecode2)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25447 }
25448 arg2 = static_cast< int >(val2);
25449 ecode3 = SWIG_AsVal_int(obj2, &val3);
25450 if (!SWIG_IsOK(ecode3)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25452 }
25453 arg3 = static_cast< int >(val3);
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 (arg1)->SetMaxRowsCols(arg2,arg3);
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 resultobj = SWIG_Py_Void();
25461 return resultobj;
25462fail:
25463 return NULL;
d55e5bfc
RD
25464}
25465
25466
1bd55598
RD
25467SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25468 PyObject *resultobj = 0;
25469 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25470 int result;
25471 void *argp1 = 0 ;
25472 int res1 = 0 ;
25473 PyObject *swig_obj[1] ;
25474
25475 if (!args) SWIG_fail;
25476 swig_obj[0] = args;
25477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25478 if (!SWIG_IsOK(res1)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25480 }
25481 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 result = (int)(arg1)->GetMaxRows();
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 resultobj = SWIG_From_int(static_cast< int >(result));
25489 return resultobj;
25490fail:
25491 return NULL;
d55e5bfc
RD
25492}
25493
25494
1bd55598
RD
25495SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25496 PyObject *resultobj = 0;
25497 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25498 int result;
25499 void *argp1 = 0 ;
25500 int res1 = 0 ;
25501 PyObject *swig_obj[1] ;
25502
25503 if (!args) SWIG_fail;
25504 swig_obj[0] = args;
25505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25506 if (!SWIG_IsOK(res1)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25508 }
25509 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (int)(arg1)->GetMaxCols();
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 resultobj = SWIG_From_int(static_cast< int >(result));
25517 return resultobj;
25518fail:
25519 return NULL;
25520}
25521
25522
25523SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25524 PyObject *resultobj = 0;
25525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25526 wxSize *arg2 = 0 ;
25527 void *argp1 = 0 ;
25528 int res1 = 0 ;
25529 wxSize temp2 ;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char * kwnames[] = {
25533 (char *) "self",(char *) "size", NULL
25534 };
25535
25536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25538 if (!SWIG_IsOK(res1)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25540 }
25541 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25542 {
25543 arg2 = &temp2;
25544 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 resultobj = SWIG_Py_Void();
25553 return resultobj;
25554fail:
25555 return NULL;
d55e5bfc
RD
25556}
25557
25558
1bd55598
RD
25559SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25560 PyObject *resultobj = 0;
25561 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25562 wxSize result;
25563 void *argp1 = 0 ;
25564 int res1 = 0 ;
25565 PyObject *swig_obj[1] ;
25566
25567 if (!args) SWIG_fail;
25568 swig_obj[0] = args;
25569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25572 }
25573 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (arg1)->GetToolBitmapSize();
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25581 return resultobj;
25582fail:
25583 return NULL;
d55e5bfc
RD
25584}
25585
25586
1bd55598
RD
25587SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25588 PyObject *resultobj = 0;
25589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25590 wxSize result;
25591 void *argp1 = 0 ;
25592 int res1 = 0 ;
25593 PyObject *swig_obj[1] ;
25594
25595 if (!args) SWIG_fail;
25596 swig_obj[0] = args;
25597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25600 }
25601 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = (arg1)->GetToolSize();
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25609 return resultobj;
25610fail:
25611 return NULL;
25612}
25613
25614
25615SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25616 PyObject *resultobj = 0;
25617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25618 int arg2 ;
25619 int arg3 ;
25620 wxToolBarToolBase *result = 0 ;
25621 void *argp1 = 0 ;
25622 int res1 = 0 ;
25623 int val2 ;
25624 int ecode2 = 0 ;
25625 int val3 ;
25626 int ecode3 = 0 ;
25627 PyObject * obj0 = 0 ;
25628 PyObject * obj1 = 0 ;
25629 PyObject * obj2 = 0 ;
25630 char * kwnames[] = {
25631 (char *) "self",(char *) "x",(char *) "y", NULL
25632 };
25633
25634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25636 if (!SWIG_IsOK(res1)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25638 }
25639 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25640 ecode2 = SWIG_AsVal_int(obj1, &val2);
25641 if (!SWIG_IsOK(ecode2)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25643 }
25644 arg2 = static_cast< int >(val2);
25645 ecode3 = SWIG_AsVal_int(obj2, &val3);
25646 if (!SWIG_IsOK(ecode3)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25648 }
25649 arg3 = static_cast< int >(val3);
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 {
25657 resultobj = wxPyMake_wxObject(result, (bool)0);
25658 }
25659 return resultobj;
25660fail:
25661 return NULL;
25662}
25663
25664
25665SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25666 PyObject *resultobj = 0;
25667 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25668 int arg2 ;
25669 wxToolBarToolBase *result = 0 ;
25670 void *argp1 = 0 ;
25671 int res1 = 0 ;
25672 int val2 ;
25673 int ecode2 = 0 ;
25674 PyObject * obj0 = 0 ;
25675 PyObject * obj1 = 0 ;
25676 char * kwnames[] = {
25677 (char *) "self",(char *) "toolid", NULL
25678 };
25679
25680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25682 if (!SWIG_IsOK(res1)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25684 }
25685 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25686 ecode2 = SWIG_AsVal_int(obj1, &val2);
25687 if (!SWIG_IsOK(ecode2)) {
25688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25689 }
25690 arg2 = static_cast< int >(val2);
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25694 wxPyEndAllowThreads(__tstate);
25695 if (PyErr_Occurred()) SWIG_fail;
25696 }
25697 {
25698 resultobj = wxPyMake_wxObject(result, (bool)0);
25699 }
25700 return resultobj;
25701fail:
25702 return NULL;
d55e5bfc
RD
25703}
25704
25705
1bd55598
RD
25706SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25707 PyObject *resultobj = 0;
25708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25709 bool result;
25710 void *argp1 = 0 ;
25711 int res1 = 0 ;
25712 PyObject *swig_obj[1] ;
25713
25714 if (!args) SWIG_fail;
25715 swig_obj[0] = args;
25716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25717 if (!SWIG_IsOK(res1)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25719 }
25720 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 result = (bool)(arg1)->IsVertical();
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 {
25728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25729 }
25730 return resultobj;
25731fail:
25732 return NULL;
d55e5bfc
RD
25733}
25734
25735
1bd55598
RD
25736SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25737 PyObject *resultobj = 0;
25738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25739 size_t result;
25740 void *argp1 = 0 ;
25741 int res1 = 0 ;
25742 PyObject *swig_obj[1] ;
25743
25744 if (!args) SWIG_fail;
25745 swig_obj[0] = args;
25746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25747 if (!SWIG_IsOK(res1)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25749 }
25750 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25758 return resultobj;
25759fail:
25760 return NULL;
25761}
25762
25763
25764SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 PyObject *obj;
25766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25767 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25768 return SWIG_Py_Void();
25769}
25770
25771SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj = 0;
25773 wxWindow *arg1 = (wxWindow *) 0 ;
25774 int arg2 = (int) -1 ;
25775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25777 wxSize const &arg4_defvalue = wxDefaultSize ;
25778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25779 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25780 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25781 wxString *arg6 = (wxString *) &arg6_defvalue ;
25782 wxToolBar *result = 0 ;
25783 void *argp1 = 0 ;
25784 int res1 = 0 ;
25785 int val2 ;
25786 int ecode2 = 0 ;
25787 wxPoint temp3 ;
25788 wxSize temp4 ;
25789 long val5 ;
25790 int ecode5 = 0 ;
25791 bool temp6 = false ;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 PyObject * obj2 = 0 ;
25795 PyObject * obj3 = 0 ;
25796 PyObject * obj4 = 0 ;
25797 PyObject * obj5 = 0 ;
25798 char * kwnames[] = {
25799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25800 };
25801
25802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25804 if (!SWIG_IsOK(res1)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25806 }
25807 arg1 = reinterpret_cast< wxWindow * >(argp1);
25808 if (obj1) {
25809 ecode2 = SWIG_AsVal_int(obj1, &val2);
25810 if (!SWIG_IsOK(ecode2)) {
25811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25812 }
25813 arg2 = static_cast< int >(val2);
25814 }
25815 if (obj2) {
d55e5bfc 25816 {
1bd55598
RD
25817 arg3 = &temp3;
25818 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25819 }
1bd55598
RD
25820 }
25821 if (obj3) {
d55e5bfc 25822 {
1bd55598
RD
25823 arg4 = &temp4;
25824 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25825 }
1bd55598
RD
25826 }
25827 if (obj4) {
25828 ecode5 = SWIG_AsVal_long(obj4, &val5);
25829 if (!SWIG_IsOK(ecode5)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25831 }
25832 arg5 = static_cast< long >(val5);
25833 }
25834 if (obj5) {
36ed4f51 25835 {
1bd55598
RD
25836 arg6 = wxString_in_helper(obj5);
25837 if (arg6 == NULL) SWIG_fail;
25838 temp6 = true;
36ed4f51 25839 }
1bd55598
RD
25840 }
25841 {
25842 if (!wxPyCheckForApp()) SWIG_fail;
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25849 {
25850 if (temp6)
25851 delete arg6;
25852 }
25853 return resultobj;
25854fail:
25855 {
25856 if (temp6)
25857 delete arg6;
25858 }
25859 return NULL;
d55e5bfc
RD
25860}
25861
25862
1bd55598
RD
25863SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25864 PyObject *resultobj = 0;
25865 wxToolBar *result = 0 ;
25866
25867 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25868 {
25869 if (!wxPyCheckForApp()) SWIG_fail;
25870 PyThreadState* __tstate = wxPyBeginAllowThreads();
25871 result = (wxToolBar *)new wxToolBar();
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25876 return resultobj;
25877fail:
25878 return NULL;
25879}
25880
25881
25882SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj = 0;
25884 wxToolBar *arg1 = (wxToolBar *) 0 ;
25885 wxWindow *arg2 = (wxWindow *) 0 ;
25886 int arg3 = (int) -1 ;
25887 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25888 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25889 wxSize const &arg5_defvalue = wxDefaultSize ;
25890 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25891 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25892 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25893 wxString *arg7 = (wxString *) &arg7_defvalue ;
25894 bool result;
25895 void *argp1 = 0 ;
25896 int res1 = 0 ;
25897 void *argp2 = 0 ;
25898 int res2 = 0 ;
25899 int val3 ;
25900 int ecode3 = 0 ;
25901 wxPoint temp4 ;
25902 wxSize temp5 ;
25903 long val6 ;
25904 int ecode6 = 0 ;
25905 bool temp7 = false ;
25906 PyObject * obj0 = 0 ;
25907 PyObject * obj1 = 0 ;
25908 PyObject * obj2 = 0 ;
25909 PyObject * obj3 = 0 ;
25910 PyObject * obj4 = 0 ;
25911 PyObject * obj5 = 0 ;
25912 PyObject * obj6 = 0 ;
25913 char * kwnames[] = {
25914 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25915 };
25916
25917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25919 if (!SWIG_IsOK(res1)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25921 }
25922 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25923 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25924 if (!SWIG_IsOK(res2)) {
25925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25926 }
25927 arg2 = reinterpret_cast< wxWindow * >(argp2);
25928 if (obj2) {
25929 ecode3 = SWIG_AsVal_int(obj2, &val3);
25930 if (!SWIG_IsOK(ecode3)) {
25931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25932 }
25933 arg3 = static_cast< int >(val3);
25934 }
25935 if (obj3) {
d55e5bfc 25936 {
1bd55598
RD
25937 arg4 = &temp4;
25938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25939 }
1bd55598
RD
25940 }
25941 if (obj4) {
d55e5bfc 25942 {
1bd55598
RD
25943 arg5 = &temp5;
25944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 25945 }
1bd55598
RD
25946 }
25947 if (obj5) {
25948 ecode6 = SWIG_AsVal_long(obj5, &val6);
25949 if (!SWIG_IsOK(ecode6)) {
25950 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25951 }
25952 arg6 = static_cast< long >(val6);
25953 }
25954 if (obj6) {
36ed4f51 25955 {
1bd55598
RD
25956 arg7 = wxString_in_helper(obj6);
25957 if (arg7 == NULL) SWIG_fail;
25958 temp7 = true;
36ed4f51 25959 }
1bd55598
RD
25960 }
25961 {
25962 PyThreadState* __tstate = wxPyBeginAllowThreads();
25963 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
25967 {
25968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25969 }
25970 {
25971 if (temp7)
25972 delete arg7;
25973 }
25974 return resultobj;
25975fail:
25976 {
25977 if (temp7)
25978 delete arg7;
25979 }
25980 return NULL;
25981}
25982
25983
1bd55598
RD
25984SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25985 PyObject *resultobj = 0;
25986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25987 SwigValueWrapper<wxVisualAttributes > result;
25988 int val1 ;
25989 int ecode1 = 0 ;
25990 PyObject * obj0 = 0 ;
25991 char * kwnames[] = {
25992 (char *) "variant", NULL
25993 };
25994
25995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25996 if (obj0) {
25997 ecode1 = SWIG_AsVal_int(obj0, &val1);
25998 if (!SWIG_IsOK(ecode1)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26000 }
26001 arg1 = static_cast< wxWindowVariant >(val1);
26002 }
26003 {
26004 if (!wxPyCheckForApp()) SWIG_fail;
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 result = wxToolBar::GetClassDefaultAttributes(arg1);
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26011 return resultobj;
26012fail:
26013 return NULL;
d55e5bfc
RD
26014}
26015
26016
1bd55598
RD
26017SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26018 PyObject *obj;
26019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26020 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26021 return SWIG_Py_Void();
d55e5bfc
RD
26022}
26023
1bd55598
RD
26024SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26025 return SWIG_Python_InitShadowInstance(args);
26026}
d55e5bfc 26027
1bd55598
RD
26028SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26029 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26030 return 1;
d55e5bfc
RD
26031}
26032
26033
1bd55598
RD
26034SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26035 PyObject *pyobj = 0;
26036
26037 {
26038#if wxUSE_UNICODE
26039 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26040#else
26041 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26042#endif
26043 }
26044 return pyobj;
26045}
26046
26047
26048SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj = 0;
26050 wxColour const &arg1_defvalue = wxNullColour ;
26051 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26052 wxColour const &arg2_defvalue = wxNullColour ;
26053 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26054 wxFont const &arg3_defvalue = wxNullFont ;
26055 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26056 wxListItemAttr *result = 0 ;
26057 wxColour temp1 ;
26058 wxColour temp2 ;
26059 void *argp3 = 0 ;
26060 int res3 = 0 ;
26061 PyObject * obj0 = 0 ;
26062 PyObject * obj1 = 0 ;
26063 PyObject * obj2 = 0 ;
26064 char * kwnames[] = {
26065 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26066 };
26067
26068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26069 if (obj0) {
d55e5bfc 26070 {
1bd55598
RD
26071 arg1 = &temp1;
26072 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 26073 }
1bd55598
RD
26074 }
26075 if (obj1) {
36ed4f51 26076 {
1bd55598
RD
26077 arg2 = &temp2;
26078 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36ed4f51 26079 }
1bd55598
RD
26080 }
26081 if (obj2) {
26082 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26083 if (!SWIG_IsOK(res3)) {
26084 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 26085 }
1bd55598
RD
26086 if (!argp3) {
26087 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
36ed4f51 26088 }
1bd55598
RD
26089 arg3 = reinterpret_cast< wxFont * >(argp3);
26090 }
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26098 return resultobj;
26099fail:
26100 return NULL;
d55e5bfc
RD
26101}
26102
26103
1bd55598
RD
26104SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26105 PyObject *resultobj = 0;
26106 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26107 void *argp1 = 0 ;
26108 int res1 = 0 ;
26109 PyObject *swig_obj[1] ;
26110
26111 if (!args) SWIG_fail;
26112 swig_obj[0] = args;
26113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26114 if (!SWIG_IsOK(res1)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26116 }
26117 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26118 {
26119 PyThreadState* __tstate = wxPyBeginAllowThreads();
26120 delete arg1;
d55e5bfc 26121
1bd55598
RD
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 resultobj = SWIG_Py_Void();
26126 return resultobj;
26127fail:
26128 return NULL;
26129}
26130
26131
26132SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26133 PyObject *resultobj = 0;
26134 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26135 wxColour *arg2 = 0 ;
26136 void *argp1 = 0 ;
26137 int res1 = 0 ;
26138 wxColour temp2 ;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 char * kwnames[] = {
26142 (char *) "self",(char *) "colText", NULL
26143 };
26144
26145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26147 if (!SWIG_IsOK(res1)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26149 }
26150 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26151 {
26152 arg2 = &temp2;
26153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26154 }
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 (arg1)->SetTextColour((wxColour const &)*arg2);
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
26161 resultobj = SWIG_Py_Void();
26162 return resultobj;
26163fail:
26164 return NULL;
26165}
26166
26167
26168SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26169 PyObject *resultobj = 0;
26170 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26171 wxColour *arg2 = 0 ;
26172 void *argp1 = 0 ;
26173 int res1 = 0 ;
26174 wxColour temp2 ;
26175 PyObject * obj0 = 0 ;
26176 PyObject * obj1 = 0 ;
26177 char * kwnames[] = {
26178 (char *) "self",(char *) "colBack", NULL
26179 };
26180
26181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26183 if (!SWIG_IsOK(res1)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26185 }
26186 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26187 {
26188 arg2 = &temp2;
26189 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26190 }
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 resultobj = SWIG_Py_Void();
26198 return resultobj;
26199fail:
26200 return NULL;
26201}
26202
26203
26204SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26205 PyObject *resultobj = 0;
26206 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26207 wxFont *arg2 = 0 ;
26208 void *argp1 = 0 ;
26209 int res1 = 0 ;
26210 void *argp2 = 0 ;
26211 int res2 = 0 ;
26212 PyObject * obj0 = 0 ;
26213 PyObject * obj1 = 0 ;
26214 char * kwnames[] = {
26215 (char *) "self",(char *) "font", NULL
26216 };
26217
26218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26220 if (!SWIG_IsOK(res1)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26222 }
26223 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26224 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26225 if (!SWIG_IsOK(res2)) {
26226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26227 }
26228 if (!argp2) {
26229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26230 }
26231 arg2 = reinterpret_cast< wxFont * >(argp2);
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->SetFont((wxFont const &)*arg2);
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 resultobj = SWIG_Py_Void();
26239 return resultobj;
26240fail:
26241 return NULL;
d55e5bfc
RD
26242}
26243
26244
1bd55598
RD
26245SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26246 PyObject *resultobj = 0;
26247 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26248 bool result;
26249 void *argp1 = 0 ;
26250 int res1 = 0 ;
26251 PyObject *swig_obj[1] ;
26252
26253 if (!args) SWIG_fail;
26254 swig_obj[0] = args;
26255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26256 if (!SWIG_IsOK(res1)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26258 }
26259 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 result = (bool)(arg1)->HasTextColour();
26263 wxPyEndAllowThreads(__tstate);
26264 if (PyErr_Occurred()) SWIG_fail;
26265 }
26266 {
26267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26268 }
26269 return resultobj;
26270fail:
26271 return NULL;
f20a2e1f
RD
26272}
26273
26274
1bd55598
RD
26275SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26276 PyObject *resultobj = 0;
26277 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26278 bool result;
26279 void *argp1 = 0 ;
26280 int res1 = 0 ;
26281 PyObject *swig_obj[1] ;
26282
26283 if (!args) SWIG_fail;
26284 swig_obj[0] = args;
26285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26288 }
26289 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 result = (bool)(arg1)->HasBackgroundColour();
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 {
26297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26298 }
26299 return resultobj;
26300fail:
26301 return NULL;
d55e5bfc 26302}
1bd55598
RD
26303
26304
26305SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26306 PyObject *resultobj = 0;
26307 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26308 bool result;
26309 void *argp1 = 0 ;
26310 int res1 = 0 ;
26311 PyObject *swig_obj[1] ;
26312
26313 if (!args) SWIG_fail;
26314 swig_obj[0] = args;
26315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26316 if (!SWIG_IsOK(res1)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26318 }
26319 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = (bool)(arg1)->HasFont();
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 {
26327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26328 }
26329 return resultobj;
26330fail:
26331 return NULL;
d55e5bfc
RD
26332}
26333
26334
1bd55598
RD
26335SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26336 PyObject *resultobj = 0;
26337 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26338 wxColour result;
26339 void *argp1 = 0 ;
26340 int res1 = 0 ;
26341 PyObject *swig_obj[1] ;
26342
26343 if (!args) SWIG_fail;
26344 swig_obj[0] = args;
26345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26346 if (!SWIG_IsOK(res1)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26348 }
26349 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (arg1)->GetTextColour();
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26357 return resultobj;
26358fail:
26359 return NULL;
d55e5bfc
RD
26360}
26361
26362
1bd55598
RD
26363SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26364 PyObject *resultobj = 0;
26365 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26366 wxColour result;
26367 void *argp1 = 0 ;
26368 int res1 = 0 ;
26369 PyObject *swig_obj[1] ;
26370
26371 if (!args) SWIG_fail;
26372 swig_obj[0] = args;
26373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26374 if (!SWIG_IsOK(res1)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26376 }
26377 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 result = (arg1)->GetBackgroundColour();
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26385 return resultobj;
26386fail:
26387 return NULL;
d55e5bfc
RD
26388}
26389
26390
1bd55598
RD
26391SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26392 PyObject *resultobj = 0;
26393 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26394 wxFont result;
26395 void *argp1 = 0 ;
26396 int res1 = 0 ;
26397 PyObject *swig_obj[1] ;
26398
26399 if (!args) SWIG_fail;
26400 swig_obj[0] = args;
26401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26402 if (!SWIG_IsOK(res1)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26404 }
26405 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (arg1)->GetFont();
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26413 return resultobj;
26414fail:
26415 return NULL;
26416}
26417
26418
26419SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26420 PyObject *resultobj = 0;
26421 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26422 wxListItemAttr *arg2 = 0 ;
26423 void *argp1 = 0 ;
26424 int res1 = 0 ;
26425 void *argp2 = 0 ;
26426 int res2 = 0 ;
26427 PyObject * obj0 = 0 ;
26428 PyObject * obj1 = 0 ;
26429 char * kwnames[] = {
26430 (char *) "self",(char *) "source", NULL
26431 };
26432
26433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26435 if (!SWIG_IsOK(res1)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26437 }
26438 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26439 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26440 if (!SWIG_IsOK(res2)) {
26441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26442 }
26443 if (!argp2) {
26444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26445 }
26446 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 resultobj = SWIG_Py_Void();
26454 return resultobj;
26455fail:
26456 return NULL;
121b9a67
RD
26457}
26458
26459
1bd55598
RD
26460SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26461 PyObject *resultobj = 0;
26462 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26463 void *argp1 = 0 ;
26464 int res1 = 0 ;
26465 PyObject *swig_obj[1] ;
26466
26467 if (!args) SWIG_fail;
26468 swig_obj[0] = args;
26469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26470 if (!SWIG_IsOK(res1)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26472 }
26473 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 wxListItemAttr_Destroy(arg1);
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 resultobj = SWIG_Py_Void();
26481 return resultobj;
26482fail:
26483 return NULL;
121b9a67
RD
26484}
26485
26486
1bd55598
RD
26487SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26488 PyObject *obj;
26489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26490 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26491 return SWIG_Py_Void();
121b9a67
RD
26492}
26493
1bd55598
RD
26494SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26495 return SWIG_Python_InitShadowInstance(args);
26496}
121b9a67 26497
1bd55598
RD
26498SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26499 PyObject *resultobj = 0;
26500 wxListItem *result = 0 ;
26501
26502 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = (wxListItem *)new wxListItem();
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
3ecece7e 26509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
1bd55598
RD
26510 return resultobj;
26511fail:
26512 return NULL;
121b9a67
RD
26513}
26514
26515
1bd55598
RD
26516SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26517 PyObject *resultobj = 0;
26518 wxListItem *arg1 = (wxListItem *) 0 ;
26519 void *argp1 = 0 ;
26520 int res1 = 0 ;
26521 PyObject *swig_obj[1] ;
26522
26523 if (!args) SWIG_fail;
26524 swig_obj[0] = args;
26525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26526 if (!SWIG_IsOK(res1)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26528 }
26529 arg1 = reinterpret_cast< wxListItem * >(argp1);
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 delete arg1;
f20a2e1f 26533
1bd55598
RD
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 resultobj = SWIG_Py_Void();
26538 return resultobj;
26539fail:
26540 return NULL;
f20a2e1f
RD
26541}
26542
26543
1bd55598
RD
26544SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26545 PyObject *resultobj = 0;
26546 wxListItem *arg1 = (wxListItem *) 0 ;
26547 void *argp1 = 0 ;
26548 int res1 = 0 ;
26549 PyObject *swig_obj[1] ;
26550
26551 if (!args) SWIG_fail;
26552 swig_obj[0] = args;
26553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26554 if (!SWIG_IsOK(res1)) {
26555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26556 }
26557 arg1 = reinterpret_cast< wxListItem * >(argp1);
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 (arg1)->Clear();
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_Py_Void();
26565 return resultobj;
26566fail:
26567 return NULL;
d55e5bfc 26568}
1bd55598
RD
26569
26570
26571SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572 PyObject *resultobj = 0;
26573 wxListItem *arg1 = (wxListItem *) 0 ;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 PyObject *swig_obj[1] ;
26577
26578 if (!args) SWIG_fail;
26579 swig_obj[0] = args;
26580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26581 if (!SWIG_IsOK(res1)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26583 }
26584 arg1 = reinterpret_cast< wxListItem * >(argp1);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->ClearAttributes();
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593fail:
26594 return NULL;
26595}
26596
26597
26598SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxListItem *arg1 = (wxListItem *) 0 ;
26601 long arg2 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 long val2 ;
26605 int ecode2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "mask", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26616 }
26617 arg1 = reinterpret_cast< wxListItem * >(argp1);
26618 ecode2 = SWIG_AsVal_long(obj1, &val2);
26619 if (!SWIG_IsOK(ecode2)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26621 }
26622 arg2 = static_cast< long >(val2);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 (arg1)->SetMask(arg2);
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_Py_Void();
26630 return resultobj;
26631fail:
26632 return NULL;
26633}
26634
26635
26636SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj = 0;
26638 wxListItem *arg1 = (wxListItem *) 0 ;
26639 long arg2 ;
26640 void *argp1 = 0 ;
26641 int res1 = 0 ;
26642 long val2 ;
26643 int ecode2 = 0 ;
26644 PyObject * obj0 = 0 ;
26645 PyObject * obj1 = 0 ;
26646 char * kwnames[] = {
26647 (char *) "self",(char *) "id", NULL
26648 };
26649
26650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26652 if (!SWIG_IsOK(res1)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26654 }
26655 arg1 = reinterpret_cast< wxListItem * >(argp1);
26656 ecode2 = SWIG_AsVal_long(obj1, &val2);
26657 if (!SWIG_IsOK(ecode2)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26659 }
26660 arg2 = static_cast< long >(val2);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->SetId(arg2);
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 resultobj = SWIG_Py_Void();
26668 return resultobj;
26669fail:
26670 return NULL;
26671}
26672
26673
26674SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26675 PyObject *resultobj = 0;
26676 wxListItem *arg1 = (wxListItem *) 0 ;
26677 int arg2 ;
26678 void *argp1 = 0 ;
26679 int res1 = 0 ;
26680 int val2 ;
26681 int ecode2 = 0 ;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 char * kwnames[] = {
26685 (char *) "self",(char *) "col", NULL
26686 };
26687
26688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26690 if (!SWIG_IsOK(res1)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26692 }
26693 arg1 = reinterpret_cast< wxListItem * >(argp1);
26694 ecode2 = SWIG_AsVal_int(obj1, &val2);
26695 if (!SWIG_IsOK(ecode2)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26697 }
26698 arg2 = static_cast< int >(val2);
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 (arg1)->SetColumn(arg2);
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 resultobj = SWIG_Py_Void();
26706 return resultobj;
26707fail:
26708 return NULL;
26709}
26710
26711
26712SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj = 0;
26714 wxListItem *arg1 = (wxListItem *) 0 ;
26715 long arg2 ;
26716 void *argp1 = 0 ;
26717 int res1 = 0 ;
26718 long val2 ;
26719 int ecode2 = 0 ;
26720 PyObject * obj0 = 0 ;
26721 PyObject * obj1 = 0 ;
26722 char * kwnames[] = {
26723 (char *) "self",(char *) "state", NULL
26724 };
26725
26726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26728 if (!SWIG_IsOK(res1)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26730 }
26731 arg1 = reinterpret_cast< wxListItem * >(argp1);
26732 ecode2 = SWIG_AsVal_long(obj1, &val2);
26733 if (!SWIG_IsOK(ecode2)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26735 }
26736 arg2 = static_cast< long >(val2);
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 (arg1)->SetState(arg2);
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 resultobj = SWIG_Py_Void();
26744 return resultobj;
26745fail:
26746 return NULL;
26747}
26748
26749
26750SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj = 0;
26752 wxListItem *arg1 = (wxListItem *) 0 ;
26753 long arg2 ;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 long val2 ;
26757 int ecode2 = 0 ;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 char * kwnames[] = {
26761 (char *) "self",(char *) "stateMask", NULL
26762 };
26763
26764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26766 if (!SWIG_IsOK(res1)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26768 }
26769 arg1 = reinterpret_cast< wxListItem * >(argp1);
26770 ecode2 = SWIG_AsVal_long(obj1, &val2);
26771 if (!SWIG_IsOK(ecode2)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26773 }
26774 arg2 = static_cast< long >(val2);
26775 {
26776 PyThreadState* __tstate = wxPyBeginAllowThreads();
26777 (arg1)->SetStateMask(arg2);
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 resultobj = SWIG_Py_Void();
26782 return resultobj;
26783fail:
26784 return NULL;
26785}
26786
26787
26788SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj = 0;
26790 wxListItem *arg1 = (wxListItem *) 0 ;
26791 wxString *arg2 = 0 ;
26792 void *argp1 = 0 ;
26793 int res1 = 0 ;
26794 bool temp2 = false ;
26795 PyObject * obj0 = 0 ;
26796 PyObject * obj1 = 0 ;
26797 char * kwnames[] = {
26798 (char *) "self",(char *) "text", NULL
26799 };
26800
26801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26803 if (!SWIG_IsOK(res1)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26805 }
26806 arg1 = reinterpret_cast< wxListItem * >(argp1);
26807 {
26808 arg2 = wxString_in_helper(obj1);
26809 if (arg2 == NULL) SWIG_fail;
26810 temp2 = true;
26811 }
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 (arg1)->SetText((wxString const &)*arg2);
26815 wxPyEndAllowThreads(__tstate);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 }
26818 resultobj = SWIG_Py_Void();
26819 {
26820 if (temp2)
26821 delete arg2;
26822 }
26823 return resultobj;
26824fail:
26825 {
26826 if (temp2)
26827 delete arg2;
26828 }
26829 return NULL;
26830}
26831
26832
26833SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj = 0;
26835 wxListItem *arg1 = (wxListItem *) 0 ;
26836 int arg2 ;
26837 void *argp1 = 0 ;
26838 int res1 = 0 ;
26839 int val2 ;
26840 int ecode2 = 0 ;
26841 PyObject * obj0 = 0 ;
26842 PyObject * obj1 = 0 ;
26843 char * kwnames[] = {
26844 (char *) "self",(char *) "image", NULL
26845 };
26846
26847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26849 if (!SWIG_IsOK(res1)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26851 }
26852 arg1 = reinterpret_cast< wxListItem * >(argp1);
26853 ecode2 = SWIG_AsVal_int(obj1, &val2);
26854 if (!SWIG_IsOK(ecode2)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26856 }
26857 arg2 = static_cast< int >(val2);
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 (arg1)->SetImage(arg2);
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 resultobj = SWIG_Py_Void();
26865 return resultobj;
26866fail:
26867 return NULL;
26868}
26869
26870
26871SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj = 0;
26873 wxListItem *arg1 = (wxListItem *) 0 ;
26874 long arg2 ;
26875 void *argp1 = 0 ;
26876 int res1 = 0 ;
26877 long val2 ;
26878 int ecode2 = 0 ;
26879 PyObject * obj0 = 0 ;
26880 PyObject * obj1 = 0 ;
26881 char * kwnames[] = {
26882 (char *) "self",(char *) "data", NULL
26883 };
26884
26885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26887 if (!SWIG_IsOK(res1)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26889 }
26890 arg1 = reinterpret_cast< wxListItem * >(argp1);
26891 ecode2 = SWIG_AsVal_long(obj1, &val2);
26892 if (!SWIG_IsOK(ecode2)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26894 }
26895 arg2 = static_cast< long >(val2);
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 (arg1)->SetData(arg2);
26899 wxPyEndAllowThreads(__tstate);
26900 if (PyErr_Occurred()) SWIG_fail;
26901 }
26902 resultobj = SWIG_Py_Void();
26903 return resultobj;
26904fail:
26905 return NULL;
26906}
26907
26908
26909SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26910 PyObject *resultobj = 0;
26911 wxListItem *arg1 = (wxListItem *) 0 ;
26912 int arg2 ;
26913 void *argp1 = 0 ;
26914 int res1 = 0 ;
26915 int val2 ;
26916 int ecode2 = 0 ;
26917 PyObject * obj0 = 0 ;
26918 PyObject * obj1 = 0 ;
26919 char * kwnames[] = {
26920 (char *) "self",(char *) "width", NULL
26921 };
26922
26923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26925 if (!SWIG_IsOK(res1)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26927 }
26928 arg1 = reinterpret_cast< wxListItem * >(argp1);
26929 ecode2 = SWIG_AsVal_int(obj1, &val2);
26930 if (!SWIG_IsOK(ecode2)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26932 }
26933 arg2 = static_cast< int >(val2);
26934 {
26935 PyThreadState* __tstate = wxPyBeginAllowThreads();
26936 (arg1)->SetWidth(arg2);
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 resultobj = SWIG_Py_Void();
26941 return resultobj;
26942fail:
26943 return NULL;
26944}
26945
26946
26947SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26948 PyObject *resultobj = 0;
26949 wxListItem *arg1 = (wxListItem *) 0 ;
26950 wxListColumnFormat arg2 ;
26951 void *argp1 = 0 ;
26952 int res1 = 0 ;
26953 int val2 ;
26954 int ecode2 = 0 ;
26955 PyObject * obj0 = 0 ;
26956 PyObject * obj1 = 0 ;
26957 char * kwnames[] = {
26958 (char *) "self",(char *) "align", NULL
26959 };
26960
26961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26963 if (!SWIG_IsOK(res1)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26965 }
26966 arg1 = reinterpret_cast< wxListItem * >(argp1);
26967 ecode2 = SWIG_AsVal_int(obj1, &val2);
26968 if (!SWIG_IsOK(ecode2)) {
26969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26970 }
26971 arg2 = static_cast< wxListColumnFormat >(val2);
26972 {
26973 PyThreadState* __tstate = wxPyBeginAllowThreads();
26974 (arg1)->SetAlign(arg2);
26975 wxPyEndAllowThreads(__tstate);
26976 if (PyErr_Occurred()) SWIG_fail;
26977 }
26978 resultobj = SWIG_Py_Void();
26979 return resultobj;
26980fail:
26981 return NULL;
26982}
26983
26984
26985SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26986 PyObject *resultobj = 0;
26987 wxListItem *arg1 = (wxListItem *) 0 ;
26988 wxColour *arg2 = 0 ;
26989 void *argp1 = 0 ;
26990 int res1 = 0 ;
26991 wxColour temp2 ;
26992 PyObject * obj0 = 0 ;
26993 PyObject * obj1 = 0 ;
26994 char * kwnames[] = {
26995 (char *) "self",(char *) "colText", NULL
26996 };
26997
26998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27000 if (!SWIG_IsOK(res1)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27002 }
27003 arg1 = reinterpret_cast< wxListItem * >(argp1);
27004 {
27005 arg2 = &temp2;
27006 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27007 }
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 (arg1)->SetTextColour((wxColour const &)*arg2);
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 resultobj = SWIG_Py_Void();
27015 return resultobj;
27016fail:
27017 return NULL;
27018}
27019
27020
27021SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj = 0;
27023 wxListItem *arg1 = (wxListItem *) 0 ;
27024 wxColour *arg2 = 0 ;
27025 void *argp1 = 0 ;
27026 int res1 = 0 ;
27027 wxColour temp2 ;
27028 PyObject * obj0 = 0 ;
27029 PyObject * obj1 = 0 ;
27030 char * kwnames[] = {
27031 (char *) "self",(char *) "colBack", NULL
27032 };
27033
27034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27036 if (!SWIG_IsOK(res1)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27038 }
27039 arg1 = reinterpret_cast< wxListItem * >(argp1);
27040 {
27041 arg2 = &temp2;
27042 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27043 }
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
27046 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
27050 resultobj = SWIG_Py_Void();
27051 return resultobj;
27052fail:
27053 return NULL;
27054}
27055
27056
27057SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27058 PyObject *resultobj = 0;
27059 wxListItem *arg1 = (wxListItem *) 0 ;
27060 wxFont *arg2 = 0 ;
27061 void *argp1 = 0 ;
27062 int res1 = 0 ;
27063 void *argp2 = 0 ;
27064 int res2 = 0 ;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char * kwnames[] = {
27068 (char *) "self",(char *) "font", NULL
27069 };
27070
27071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27073 if (!SWIG_IsOK(res1)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27075 }
27076 arg1 = reinterpret_cast< wxListItem * >(argp1);
27077 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27078 if (!SWIG_IsOK(res2)) {
27079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27080 }
27081 if (!argp2) {
27082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27083 }
27084 arg2 = reinterpret_cast< wxFont * >(argp2);
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 (arg1)->SetFont((wxFont const &)*arg2);
27088 wxPyEndAllowThreads(__tstate);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 resultobj = SWIG_Py_Void();
27092 return resultobj;
27093fail:
27094 return NULL;
d55e5bfc
RD
27095}
27096
27097
1bd55598
RD
27098SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27099 PyObject *resultobj = 0;
27100 wxListItem *arg1 = (wxListItem *) 0 ;
27101 long result;
27102 void *argp1 = 0 ;
27103 int res1 = 0 ;
27104 PyObject *swig_obj[1] ;
27105
27106 if (!args) SWIG_fail;
27107 swig_obj[0] = args;
27108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27109 if (!SWIG_IsOK(res1)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27111 }
27112 arg1 = reinterpret_cast< wxListItem * >(argp1);
27113 {
27114 PyThreadState* __tstate = wxPyBeginAllowThreads();
27115 result = (long)(arg1)->GetMask();
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 resultobj = SWIG_From_long(static_cast< long >(result));
27120 return resultobj;
27121fail:
27122 return NULL;
d55e5bfc
RD
27123}
27124
27125
1bd55598
RD
27126SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27127 PyObject *resultobj = 0;
27128 wxListItem *arg1 = (wxListItem *) 0 ;
27129 long result;
27130 void *argp1 = 0 ;
27131 int res1 = 0 ;
27132 PyObject *swig_obj[1] ;
27133
27134 if (!args) SWIG_fail;
27135 swig_obj[0] = args;
27136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27137 if (!SWIG_IsOK(res1)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27139 }
27140 arg1 = reinterpret_cast< wxListItem * >(argp1);
27141 {
27142 PyThreadState* __tstate = wxPyBeginAllowThreads();
27143 result = (long)(arg1)->GetId();
27144 wxPyEndAllowThreads(__tstate);
27145 if (PyErr_Occurred()) SWIG_fail;
27146 }
27147 resultobj = SWIG_From_long(static_cast< long >(result));
27148 return resultobj;
27149fail:
27150 return NULL;
d55e5bfc
RD
27151}
27152
27153
1bd55598
RD
27154SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27155 PyObject *resultobj = 0;
27156 wxListItem *arg1 = (wxListItem *) 0 ;
27157 int result;
27158 void *argp1 = 0 ;
27159 int res1 = 0 ;
27160 PyObject *swig_obj[1] ;
27161
27162 if (!args) SWIG_fail;
27163 swig_obj[0] = args;
27164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27165 if (!SWIG_IsOK(res1)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27167 }
27168 arg1 = reinterpret_cast< wxListItem * >(argp1);
27169 {
27170 PyThreadState* __tstate = wxPyBeginAllowThreads();
27171 result = (int)(arg1)->GetColumn();
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 resultobj = SWIG_From_int(static_cast< int >(result));
27176 return resultobj;
27177fail:
27178 return NULL;
d55e5bfc
RD
27179}
27180
27181
1bd55598
RD
27182SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27183 PyObject *resultobj = 0;
27184 wxListItem *arg1 = (wxListItem *) 0 ;
27185 long result;
27186 void *argp1 = 0 ;
27187 int res1 = 0 ;
27188 PyObject *swig_obj[1] ;
27189
27190 if (!args) SWIG_fail;
27191 swig_obj[0] = args;
27192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27193 if (!SWIG_IsOK(res1)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27195 }
27196 arg1 = reinterpret_cast< wxListItem * >(argp1);
27197 {
27198 PyThreadState* __tstate = wxPyBeginAllowThreads();
27199 result = (long)(arg1)->GetState();
27200 wxPyEndAllowThreads(__tstate);
27201 if (PyErr_Occurred()) SWIG_fail;
27202 }
27203 resultobj = SWIG_From_long(static_cast< long >(result));
27204 return resultobj;
27205fail:
27206 return NULL;
8fb0e70a
RD
27207}
27208
27209
1bd55598
RD
27210SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27211 PyObject *resultobj = 0;
27212 wxListItem *arg1 = (wxListItem *) 0 ;
27213 wxString *result = 0 ;
27214 void *argp1 = 0 ;
27215 int res1 = 0 ;
27216 PyObject *swig_obj[1] ;
27217
27218 if (!args) SWIG_fail;
27219 swig_obj[0] = args;
27220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27221 if (!SWIG_IsOK(res1)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27223 }
27224 arg1 = reinterpret_cast< wxListItem * >(argp1);
27225 {
27226 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27227 {
1bd55598
RD
27228 wxString const &_result_ref = (arg1)->GetText();
27229 result = (wxString *) &_result_ref;
36ed4f51 27230 }
1bd55598
RD
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 {
27235#if wxUSE_UNICODE
27236 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27237#else
27238 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27239#endif
27240 }
27241 return resultobj;
27242fail:
27243 return NULL;
d55e5bfc
RD
27244}
27245
27246
1bd55598
RD
27247SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27248 PyObject *resultobj = 0;
27249 wxListItem *arg1 = (wxListItem *) 0 ;
27250 int result;
27251 void *argp1 = 0 ;
27252 int res1 = 0 ;
27253 PyObject *swig_obj[1] ;
27254
27255 if (!args) SWIG_fail;
27256 swig_obj[0] = args;
27257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27258 if (!SWIG_IsOK(res1)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27260 }
27261 arg1 = reinterpret_cast< wxListItem * >(argp1);
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 result = (int)(arg1)->GetImage();
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = SWIG_From_int(static_cast< int >(result));
27269 return resultobj;
27270fail:
27271 return NULL;
d55e5bfc
RD
27272}
27273
27274
1bd55598
RD
27275SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27276 PyObject *resultobj = 0;
27277 wxListItem *arg1 = (wxListItem *) 0 ;
27278 long result;
27279 void *argp1 = 0 ;
27280 int res1 = 0 ;
27281 PyObject *swig_obj[1] ;
27282
27283 if (!args) SWIG_fail;
27284 swig_obj[0] = args;
27285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27286 if (!SWIG_IsOK(res1)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 }
27289 arg1 = reinterpret_cast< wxListItem * >(argp1);
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 result = (long)(arg1)->GetData();
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 resultobj = SWIG_From_long(static_cast< long >(result));
27297 return resultobj;
27298fail:
27299 return NULL;
d55e5bfc
RD
27300}
27301
27302
1bd55598
RD
27303SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27304 PyObject *resultobj = 0;
27305 wxListItem *arg1 = (wxListItem *) 0 ;
27306 int result;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 PyObject *swig_obj[1] ;
27310
27311 if (!args) SWIG_fail;
27312 swig_obj[0] = args;
27313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27316 }
27317 arg1 = reinterpret_cast< wxListItem * >(argp1);
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 result = (int)(arg1)->GetWidth();
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 resultobj = SWIG_From_int(static_cast< int >(result));
27325 return resultobj;
27326fail:
27327 return NULL;
d55e5bfc
RD
27328}
27329
27330
1bd55598
RD
27331SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27332 PyObject *resultobj = 0;
27333 wxListItem *arg1 = (wxListItem *) 0 ;
27334 wxListColumnFormat result;
27335 void *argp1 = 0 ;
27336 int res1 = 0 ;
27337 PyObject *swig_obj[1] ;
27338
27339 if (!args) SWIG_fail;
27340 swig_obj[0] = args;
27341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27342 if (!SWIG_IsOK(res1)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27344 }
27345 arg1 = reinterpret_cast< wxListItem * >(argp1);
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 result = (wxListColumnFormat)(arg1)->GetAlign();
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 resultobj = SWIG_From_int(static_cast< int >(result));
27353 return resultobj;
27354fail:
27355 return NULL;
d55e5bfc
RD
27356}
27357
27358
1bd55598
RD
27359SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27360 PyObject *resultobj = 0;
27361 wxListItem *arg1 = (wxListItem *) 0 ;
27362 wxListItemAttr *result = 0 ;
27363 void *argp1 = 0 ;
27364 int res1 = 0 ;
27365 PyObject *swig_obj[1] ;
27366
27367 if (!args) SWIG_fail;
27368 swig_obj[0] = args;
27369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27370 if (!SWIG_IsOK(res1)) {
27371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27372 }
27373 arg1 = reinterpret_cast< wxListItem * >(argp1);
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = (wxListItemAttr *)(arg1)->GetAttributes();
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27381 return resultobj;
27382fail:
27383 return NULL;
d55e5bfc
RD
27384}
27385
27386
1bd55598
RD
27387SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27388 PyObject *resultobj = 0;
27389 wxListItem *arg1 = (wxListItem *) 0 ;
27390 bool result;
27391 void *argp1 = 0 ;
27392 int res1 = 0 ;
27393 PyObject *swig_obj[1] ;
27394
27395 if (!args) SWIG_fail;
27396 swig_obj[0] = args;
27397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27398 if (!SWIG_IsOK(res1)) {
27399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27400 }
27401 arg1 = reinterpret_cast< wxListItem * >(argp1);
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 result = (bool)(arg1)->HasAttributes();
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 {
27409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27410 }
27411 return resultobj;
27412fail:
27413 return NULL;
d55e5bfc
RD
27414}
27415
27416
1bd55598
RD
27417SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27418 PyObject *resultobj = 0;
27419 wxListItem *arg1 = (wxListItem *) 0 ;
27420 wxColour result;
27421 void *argp1 = 0 ;
27422 int res1 = 0 ;
27423 PyObject *swig_obj[1] ;
27424
27425 if (!args) SWIG_fail;
27426 swig_obj[0] = args;
27427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27428 if (!SWIG_IsOK(res1)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27430 }
27431 arg1 = reinterpret_cast< wxListItem * >(argp1);
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 result = ((wxListItem const *)arg1)->GetTextColour();
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27439 return resultobj;
27440fail:
27441 return NULL;
d55e5bfc
RD
27442}
27443
27444
1bd55598
RD
27445SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27446 PyObject *resultobj = 0;
27447 wxListItem *arg1 = (wxListItem *) 0 ;
27448 wxColour result;
27449 void *argp1 = 0 ;
27450 int res1 = 0 ;
27451 PyObject *swig_obj[1] ;
27452
27453 if (!args) SWIG_fail;
27454 swig_obj[0] = args;
27455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27456 if (!SWIG_IsOK(res1)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27458 }
27459 arg1 = reinterpret_cast< wxListItem * >(argp1);
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27467 return resultobj;
27468fail:
27469 return NULL;
d55e5bfc
RD
27470}
27471
27472
1bd55598
RD
27473SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27474 PyObject *resultobj = 0;
27475 wxListItem *arg1 = (wxListItem *) 0 ;
27476 wxFont result;
27477 void *argp1 = 0 ;
27478 int res1 = 0 ;
27479 PyObject *swig_obj[1] ;
27480
27481 if (!args) SWIG_fail;
27482 swig_obj[0] = args;
27483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27484 if (!SWIG_IsOK(res1)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27486 }
27487 arg1 = reinterpret_cast< wxListItem * >(argp1);
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 result = ((wxListItem const *)arg1)->GetFont();
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27495 return resultobj;
27496fail:
27497 return NULL;
27498}
27499
27500
27501SWIGINTERN PyObject *_wrap_ListItem_m_mask_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_mask_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_mask_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_mask_set" "', expected argument " "2"" of type '" "long""'");
27520 }
27521 arg2 = static_cast< long >(val2);
27522 if (arg1) (arg1)->m_mask = arg2;
27523
27524 resultobj = SWIG_Py_Void();
27525 return resultobj;
27526fail:
27527 return NULL;
d55e5bfc
RD
27528}
27529
27530
1bd55598
RD
27531SWIGINTERN PyObject *_wrap_ListItem_m_mask_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_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 }
27545 arg1 = reinterpret_cast< wxListItem * >(argp1);
27546 result = (long) ((arg1)->m_mask);
27547 resultobj = SWIG_From_long(static_cast< long >(result));
27548 return resultobj;
27549fail:
27550 return NULL;
27551}
27552
27553
27554SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27555 PyObject *resultobj = 0;
27556 wxListItem *arg1 = (wxListItem *) 0 ;
27557 long arg2 ;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 long val2 ;
27561 int ecode2 = 0 ;
27562 PyObject *swig_obj[2] ;
27563
27564 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_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_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27568 }
27569 arg1 = reinterpret_cast< wxListItem * >(argp1);
27570 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27571 if (!SWIG_IsOK(ecode2)) {
27572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27573 }
27574 arg2 = static_cast< long >(val2);
27575 if (arg1) (arg1)->m_itemId = 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_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27585 PyObject *resultobj = 0;
27586 wxListItem *arg1 = (wxListItem *) 0 ;
27587 long 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_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27597 }
27598 arg1 = reinterpret_cast< wxListItem * >(argp1);
27599 result = (long) ((arg1)->m_itemId);
27600 resultobj = SWIG_From_long(static_cast< long >(result));
27601 return resultobj;
27602fail:
27603 return NULL;
27604}
27605
27606
27607SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27608 PyObject *resultobj = 0;
27609 wxListItem *arg1 = (wxListItem *) 0 ;
27610 int arg2 ;
27611 void *argp1 = 0 ;
27612 int res1 = 0 ;
27613 int val2 ;
27614 int ecode2 = 0 ;
27615 PyObject *swig_obj[2] ;
27616
27617 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_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_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27621 }
27622 arg1 = reinterpret_cast< wxListItem * >(argp1);
27623 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27624 if (!SWIG_IsOK(ecode2)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27626 }
27627 arg2 = static_cast< int >(val2);
27628 if (arg1) (arg1)->m_col = 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_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27638 PyObject *resultobj = 0;
27639 wxListItem *arg1 = (wxListItem *) 0 ;
27640 int 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_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27650 }
27651 arg1 = reinterpret_cast< wxListItem * >(argp1);
27652 result = (int) ((arg1)->m_col);
27653 resultobj = SWIG_From_int(static_cast< int >(result));
27654 return resultobj;
27655fail:
27656 return NULL;
27657}
27658
27659
27660SWIGINTERN PyObject *_wrap_ListItem_m_state_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_state_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_state_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_state_set" "', expected argument " "2"" of type '" "long""'");
27679 }
27680 arg2 = static_cast< long >(val2);
27681 if (arg1) (arg1)->m_state = 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_state_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_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27703 }
27704 arg1 = reinterpret_cast< wxListItem * >(argp1);
27705 result = (long) ((arg1)->m_state);
27706 resultobj = SWIG_From_long(static_cast< long >(result));
27707 return resultobj;
27708fail:
27709 return NULL;
27710}
27711
27712
27713SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27714 PyObject *resultobj = 0;
27715 wxListItem *arg1 = (wxListItem *) 0 ;
27716 long arg2 ;
27717 void *argp1 = 0 ;
27718 int res1 = 0 ;
27719 long val2 ;
27720 int ecode2 = 0 ;
27721 PyObject *swig_obj[2] ;
27722
27723 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27725 if (!SWIG_IsOK(res1)) {
27726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27727 }
27728 arg1 = reinterpret_cast< wxListItem * >(argp1);
27729 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27730 if (!SWIG_IsOK(ecode2)) {
27731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27732 }
27733 arg2 = static_cast< long >(val2);
27734 if (arg1) (arg1)->m_stateMask = arg2;
27735
27736 resultobj = SWIG_Py_Void();
27737 return resultobj;
27738fail:
27739 return NULL;
7e08d4ef
RD
27740}
27741
27742
1bd55598
RD
27743SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27744 PyObject *resultobj = 0;
27745 wxListItem *arg1 = (wxListItem *) 0 ;
27746 long result;
27747 void *argp1 = 0 ;
27748 int res1 = 0 ;
27749 PyObject *swig_obj[1] ;
27750
27751 if (!args) SWIG_fail;
27752 swig_obj[0] = args;
27753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27754 if (!SWIG_IsOK(res1)) {
27755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27756 }
27757 arg1 = reinterpret_cast< wxListItem * >(argp1);
27758 result = (long) ((arg1)->m_stateMask);
27759 resultobj = SWIG_From_long(static_cast< long >(result));
27760 return resultobj;
27761fail:
27762 return NULL;
27763}
27764
27765
27766SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27767 PyObject *resultobj = 0;
27768 wxListItem *arg1 = (wxListItem *) 0 ;
27769 wxString *arg2 = (wxString *) 0 ;
27770 void *argp1 = 0 ;
27771 int res1 = 0 ;
27772 bool temp2 = false ;
27773 PyObject *swig_obj[2] ;
27774
27775 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27777 if (!SWIG_IsOK(res1)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27779 }
27780 arg1 = reinterpret_cast< wxListItem * >(argp1);
27781 {
27782 arg2 = wxString_in_helper(swig_obj[1]);
27783 if (arg2 == NULL) SWIG_fail;
27784 temp2 = true;
27785 }
27786 if (arg1) (arg1)->m_text = *arg2;
27787
27788 resultobj = SWIG_Py_Void();
27789 {
27790 if (temp2)
27791 delete arg2;
27792 }
27793 return resultobj;
27794fail:
27795 {
27796 if (temp2)
27797 delete arg2;
27798 }
27799 return NULL;
7e08d4ef
RD
27800}
27801
27802
1bd55598
RD
27803SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27804 PyObject *resultobj = 0;
27805 wxListItem *arg1 = (wxListItem *) 0 ;
27806 wxString *result = 0 ;
27807 void *argp1 = 0 ;
27808 int res1 = 0 ;
27809 PyObject *swig_obj[1] ;
27810
27811 if (!args) SWIG_fail;
27812 swig_obj[0] = args;
27813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27814 if (!SWIG_IsOK(res1)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27816 }
27817 arg1 = reinterpret_cast< wxListItem * >(argp1);
27818 result = (wxString *)& ((arg1)->m_text);
27819 {
27820#if wxUSE_UNICODE
27821 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27822#else
27823 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27824#endif
27825 }
27826 return resultobj;
27827fail:
27828 return NULL;
d55e5bfc
RD
27829}
27830
27831
1bd55598
RD
27832SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27833 PyObject *resultobj = 0;
27834 wxListItem *arg1 = (wxListItem *) 0 ;
27835 int arg2 ;
27836 void *argp1 = 0 ;
27837 int res1 = 0 ;
27838 int val2 ;
27839 int ecode2 = 0 ;
27840 PyObject *swig_obj[2] ;
27841
27842 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_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_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27846 }
27847 arg1 = reinterpret_cast< wxListItem * >(argp1);
27848 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27849 if (!SWIG_IsOK(ecode2)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27851 }
27852 arg2 = static_cast< int >(val2);
27853 if (arg1) (arg1)->m_image = 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_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27863 PyObject *resultobj = 0;
27864 wxListItem *arg1 = (wxListItem *) 0 ;
27865 int 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_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27875 }
27876 arg1 = reinterpret_cast< wxListItem * >(argp1);
27877 result = (int) ((arg1)->m_image);
27878 resultobj = SWIG_From_int(static_cast< int >(result));
27879 return resultobj;
27880fail:
27881 return NULL;
27882}
27883
27884
27885SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27886 PyObject *resultobj = 0;
27887 wxListItem *arg1 = (wxListItem *) 0 ;
27888 long arg2 ;
27889 void *argp1 = 0 ;
27890 int res1 = 0 ;
27891 long val2 ;
27892 int ecode2 = 0 ;
27893 PyObject *swig_obj[2] ;
27894
27895 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_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_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27899 }
27900 arg1 = reinterpret_cast< wxListItem * >(argp1);
27901 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27902 if (!SWIG_IsOK(ecode2)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27904 }
27905 arg2 = static_cast< long >(val2);
27906 if (arg1) (arg1)->m_data = 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_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27916 PyObject *resultobj = 0;
27917 wxListItem *arg1 = (wxListItem *) 0 ;
27918 long 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_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27928 }
27929 arg1 = reinterpret_cast< wxListItem * >(argp1);
27930 result = (long) ((arg1)->m_data);
27931 resultobj = SWIG_From_long(static_cast< long >(result));
27932 return resultobj;
27933fail:
27934 return NULL;
27935}
27936
27937
27938SWIGINTERN PyObject *_wrap_ListItem_m_format_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_format_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_format_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_format_set" "', expected argument " "2"" of type '" "int""'");
27957 }
27958 arg2 = static_cast< int >(val2);
27959 if (arg1) (arg1)->m_format = 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_format_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_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27981 }
27982 arg1 = reinterpret_cast< wxListItem * >(argp1);
27983 result = (int) ((arg1)->m_format);
27984 resultobj = SWIG_From_int(static_cast< int >(result));
27985 return resultobj;
27986fail:
27987 return NULL;
27988}
27989
27990
27991SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27992 PyObject *resultobj = 0;
27993 wxListItem *arg1 = (wxListItem *) 0 ;
27994 int arg2 ;
27995 void *argp1 = 0 ;
27996 int res1 = 0 ;
27997 int val2 ;
27998 int ecode2 = 0 ;
27999 PyObject *swig_obj[2] ;
28000
28001 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28003 if (!SWIG_IsOK(res1)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28005 }
28006 arg1 = reinterpret_cast< wxListItem * >(argp1);
28007 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28008 if (!SWIG_IsOK(ecode2)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28010 }
28011 arg2 = static_cast< int >(val2);
28012 if (arg1) (arg1)->m_width = arg2;
28013
28014 resultobj = SWIG_Py_Void();
28015 return resultobj;
28016fail:
28017 return NULL;
d55e5bfc
RD
28018}
28019
28020
1bd55598
RD
28021SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxListItem *arg1 = (wxListItem *) 0 ;
28024 int result;
28025 void *argp1 = 0 ;
28026 int res1 = 0 ;
28027 PyObject *swig_obj[1] ;
28028
28029 if (!args) SWIG_fail;
28030 swig_obj[0] = args;
28031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28032 if (!SWIG_IsOK(res1)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28034 }
28035 arg1 = reinterpret_cast< wxListItem * >(argp1);
28036 result = (int) ((arg1)->m_width);
28037 resultobj = SWIG_From_int(static_cast< int >(result));
28038 return resultobj;
28039fail:
28040 return NULL;
28041}
28042
28043
28044SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28045 PyObject *obj;
28046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28047 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28048 return SWIG_Py_Void();
28049}
28050
28051SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28052 return SWIG_Python_InitShadowInstance(args);
28053}
28054
28055SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28056 PyObject *resultobj = 0;
28057 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28058 int arg2 = (int) 0 ;
28059 wxListEvent *result = 0 ;
28060 int val1 ;
28061 int ecode1 = 0 ;
28062 int val2 ;
28063 int ecode2 = 0 ;
28064 PyObject * obj0 = 0 ;
28065 PyObject * obj1 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "commandType",(char *) "id", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28071 if (obj0) {
28072 ecode1 = SWIG_AsVal_int(obj0, &val1);
28073 if (!SWIG_IsOK(ecode1)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28075 }
28076 arg1 = static_cast< wxEventType >(val1);
28077 }
28078 if (obj1) {
28079 ecode2 = SWIG_AsVal_int(obj1, &val2);
28080 if (!SWIG_IsOK(ecode2)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28082 }
28083 arg2 = static_cast< int >(val2);
28084 }
28085 {
28086 PyThreadState* __tstate = wxPyBeginAllowThreads();
28087 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28092 return resultobj;
28093fail:
28094 return NULL;
28095}
28096
28097
28098SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28099 PyObject *resultobj = 0;
28100 wxListEvent *arg1 = (wxListEvent *) 0 ;
28101 int arg2 ;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 int val2 ;
28105 int ecode2 = 0 ;
28106 PyObject *swig_obj[2] ;
28107
28108 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_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_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28112 }
28113 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28114 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28115 if (!SWIG_IsOK(ecode2)) {
28116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28117 }
28118 arg2 = static_cast< int >(val2);
28119 if (arg1) (arg1)->m_code = 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_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28129 PyObject *resultobj = 0;
28130 wxListEvent *arg1 = (wxListEvent *) 0 ;
28131 int 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_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28141 }
28142 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28143 result = (int) ((arg1)->m_code);
28144 resultobj = SWIG_From_int(static_cast< int >(result));
28145 return resultobj;
28146fail:
28147 return NULL;
28148}
28149
28150
28151SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_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_oldItemIndex_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_oldItemIndex_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_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28170 }
28171 arg2 = static_cast< long >(val2);
28172 if (arg1) (arg1)->m_oldItemIndex = arg2;
28173
28174 resultobj = SWIG_Py_Void();
28175 return resultobj;
28176fail:
28177 return NULL;
d55e5bfc
RD
28178}
28179
28180
1bd55598
RD
28181SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_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_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28194 }
28195 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28196 result = (long) ((arg1)->m_oldItemIndex);
28197 resultobj = SWIG_From_long(static_cast< long >(result));
28198 return resultobj;
28199fail:
28200 return NULL;
28201}
28202
28203
28204SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28205 PyObject *resultobj = 0;
28206 wxListEvent *arg1 = (wxListEvent *) 0 ;
28207 long arg2 ;
28208 void *argp1 = 0 ;
28209 int res1 = 0 ;
28210 long val2 ;
28211 int ecode2 = 0 ;
28212 PyObject *swig_obj[2] ;
28213
28214 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_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_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28218 }
28219 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28220 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28221 if (!SWIG_IsOK(ecode2)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28223 }
28224 arg2 = static_cast< long >(val2);
28225 if (arg1) (arg1)->m_itemIndex = arg2;
28226
28227 resultobj = SWIG_Py_Void();
28228 return resultobj;
28229fail:
28230 return NULL;
f20a2e1f
RD
28231}
28232
28233
1bd55598
RD
28234SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28235 PyObject *resultobj = 0;
28236 wxListEvent *arg1 = (wxListEvent *) 0 ;
28237 long 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_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28247 }
28248 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28249 result = (long) ((arg1)->m_itemIndex);
28250 resultobj = SWIG_From_long(static_cast< long >(result));
28251 return resultobj;
28252fail:
28253 return NULL;
28254}
28255
28256
28257SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28258 PyObject *resultobj = 0;
28259 wxListEvent *arg1 = (wxListEvent *) 0 ;
28260 int arg2 ;
28261 void *argp1 = 0 ;
28262 int res1 = 0 ;
28263 int val2 ;
28264 int ecode2 = 0 ;
28265 PyObject *swig_obj[2] ;
28266
28267 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_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_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28271 }
28272 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28273 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28274 if (!SWIG_IsOK(ecode2)) {
28275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28276 }
28277 arg2 = static_cast< int >(val2);
28278 if (arg1) (arg1)->m_col = 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_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28288 PyObject *resultobj = 0;
28289 wxListEvent *arg1 = (wxListEvent *) 0 ;
28290 int result;
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_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28300 }
28301 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28302 result = (int) ((arg1)->m_col);
28303 resultobj = SWIG_From_int(static_cast< int >(result));
28304 return resultobj;
28305fail:
28306 return NULL;
28307}
28308
28309
28310SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28311 PyObject *resultobj = 0;
28312 wxListEvent *arg1 = (wxListEvent *) 0 ;
28313 wxPoint *arg2 = (wxPoint *) 0 ;
28314 void *argp1 = 0 ;
28315 int res1 = 0 ;
28316 void *argp2 = 0 ;
28317 int res2 = 0 ;
28318 PyObject *swig_obj[2] ;
28319
28320 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28322 if (!SWIG_IsOK(res1)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28324 }
28325 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28326 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28327 if (!SWIG_IsOK(res2)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28329 }
28330 arg2 = reinterpret_cast< wxPoint * >(argp2);
28331 if (arg1) (arg1)->m_pointDrag = *arg2;
28332
28333 resultobj = SWIG_Py_Void();
28334 return resultobj;
28335fail:
28336 return NULL;
d55e5bfc
RD
28337}
28338
28339
1bd55598
RD
28340SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28341 PyObject *resultobj = 0;
28342 wxListEvent *arg1 = (wxListEvent *) 0 ;
28343 wxPoint *result = 0 ;
28344 void *argp1 = 0 ;
28345 int res1 = 0 ;
28346 PyObject *swig_obj[1] ;
28347
28348 if (!args) SWIG_fail;
28349 swig_obj[0] = args;
28350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28351 if (!SWIG_IsOK(res1)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28353 }
28354 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28355 result = (wxPoint *)& ((arg1)->m_pointDrag);
28356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28357 return resultobj;
28358fail:
28359 return NULL;
28360}
28361
28362
28363SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28364 PyObject *resultobj = 0;
28365 wxListEvent *arg1 = (wxListEvent *) 0 ;
28366 wxListItem *result = 0 ;
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_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28376 }
28377 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28378 result = (wxListItem *)& ((arg1)->m_item);
28379 {
3ecece7e 28380 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
28381 }
28382 return resultobj;
28383fail:
28384 return NULL;
d55e5bfc
RD
28385}
28386
28387
1bd55598
RD
28388SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28389 PyObject *resultobj = 0;
28390 wxListEvent *arg1 = (wxListEvent *) 0 ;
28391 int result;
28392 void *argp1 = 0 ;
28393 int res1 = 0 ;
28394 PyObject *swig_obj[1] ;
28395
28396 if (!args) SWIG_fail;
28397 swig_obj[0] = args;
28398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28399 if (!SWIG_IsOK(res1)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28401 }
28402 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 result = (int)(arg1)->GetKeyCode();
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 resultobj = SWIG_From_int(static_cast< int >(result));
28410 return resultobj;
28411fail:
28412 return NULL;
d55e5bfc
RD
28413}
28414
28415
1bd55598
RD
28416SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28417 PyObject *resultobj = 0;
28418 wxListEvent *arg1 = (wxListEvent *) 0 ;
28419 long result;
28420 void *argp1 = 0 ;
28421 int res1 = 0 ;
28422 PyObject *swig_obj[1] ;
28423
28424 if (!args) SWIG_fail;
28425 swig_obj[0] = args;
28426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28427 if (!SWIG_IsOK(res1)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28429 }
28430 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28431 {
28432 PyThreadState* __tstate = wxPyBeginAllowThreads();
28433 result = (long)(arg1)->GetIndex();
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 resultobj = SWIG_From_long(static_cast< long >(result));
28438 return resultobj;
28439fail:
28440 return NULL;
d55e5bfc
RD
28441}
28442
28443
1bd55598
RD
28444SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28445 PyObject *resultobj = 0;
28446 wxListEvent *arg1 = (wxListEvent *) 0 ;
28447 int result;
28448 void *argp1 = 0 ;
28449 int res1 = 0 ;
28450 PyObject *swig_obj[1] ;
28451
28452 if (!args) SWIG_fail;
28453 swig_obj[0] = args;
28454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28455 if (!SWIG_IsOK(res1)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28457 }
28458 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 result = (int)(arg1)->GetColumn();
28462 wxPyEndAllowThreads(__tstate);
28463 if (PyErr_Occurred()) SWIG_fail;
28464 }
28465 resultobj = SWIG_From_int(static_cast< int >(result));
28466 return resultobj;
28467fail:
28468 return NULL;
d55e5bfc
RD
28469}
28470
28471
1bd55598
RD
28472SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28473 PyObject *resultobj = 0;
28474 wxListEvent *arg1 = (wxListEvent *) 0 ;
28475 wxPoint result;
28476 void *argp1 = 0 ;
28477 int res1 = 0 ;
28478 PyObject *swig_obj[1] ;
28479
28480 if (!args) SWIG_fail;
28481 swig_obj[0] = args;
28482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28483 if (!SWIG_IsOK(res1)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28485 }
28486 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = (arg1)->GetPoint();
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28494 return resultobj;
28495fail:
28496 return NULL;
d55e5bfc
RD
28497}
28498
28499
1bd55598
RD
28500SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28501 PyObject *resultobj = 0;
28502 wxListEvent *arg1 = (wxListEvent *) 0 ;
28503 wxString *result = 0 ;
28504 void *argp1 = 0 ;
28505 int res1 = 0 ;
28506 PyObject *swig_obj[1] ;
28507
28508 if (!args) SWIG_fail;
28509 swig_obj[0] = args;
28510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28511 if (!SWIG_IsOK(res1)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28513 }
28514 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28517 {
1bd55598
RD
28518 wxString const &_result_ref = (arg1)->GetLabel();
28519 result = (wxString *) &_result_ref;
d55e5bfc 28520 }
1bd55598
RD
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 {
28525#if wxUSE_UNICODE
28526 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28527#else
28528 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28529#endif
28530 }
28531 return resultobj;
28532fail:
28533 return NULL;
d55e5bfc
RD
28534}
28535
28536
1bd55598
RD
28537SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28538 PyObject *resultobj = 0;
28539 wxListEvent *arg1 = (wxListEvent *) 0 ;
28540 wxString *result = 0 ;
28541 void *argp1 = 0 ;
28542 int res1 = 0 ;
28543 PyObject *swig_obj[1] ;
28544
28545 if (!args) SWIG_fail;
28546 swig_obj[0] = args;
28547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28548 if (!SWIG_IsOK(res1)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28550 }
28551 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28552 {
28553 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 28554 {
1bd55598
RD
28555 wxString const &_result_ref = (arg1)->GetText();
28556 result = (wxString *) &_result_ref;
36ed4f51 28557 }
1bd55598
RD
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
28561 {
28562#if wxUSE_UNICODE
28563 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28564#else
28565 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28566#endif
28567 }
28568 return resultobj;
28569fail:
28570 return NULL;
d55e5bfc
RD
28571}
28572
28573
1bd55598
RD
28574SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28575 PyObject *resultobj = 0;
28576 wxListEvent *arg1 = (wxListEvent *) 0 ;
28577 int result;
28578 void *argp1 = 0 ;
28579 int res1 = 0 ;
28580 PyObject *swig_obj[1] ;
28581
28582 if (!args) SWIG_fail;
28583 swig_obj[0] = args;
28584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28585 if (!SWIG_IsOK(res1)) {
28586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28587 }
28588 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28589 {
28590 PyThreadState* __tstate = wxPyBeginAllowThreads();
28591 result = (int)(arg1)->GetImage();
28592 wxPyEndAllowThreads(__tstate);
28593 if (PyErr_Occurred()) SWIG_fail;
28594 }
28595 resultobj = SWIG_From_int(static_cast< int >(result));
28596 return resultobj;
28597fail:
28598 return NULL;
d55e5bfc
RD
28599}
28600
28601
1bd55598
RD
28602SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28603 PyObject *resultobj = 0;
28604 wxListEvent *arg1 = (wxListEvent *) 0 ;
28605 long result;
28606 void *argp1 = 0 ;
28607 int res1 = 0 ;
28608 PyObject *swig_obj[1] ;
28609
28610 if (!args) SWIG_fail;
28611 swig_obj[0] = args;
28612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28613 if (!SWIG_IsOK(res1)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28615 }
28616 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28617 {
28618 PyThreadState* __tstate = wxPyBeginAllowThreads();
28619 result = (long)(arg1)->GetData();
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
28623 resultobj = SWIG_From_long(static_cast< long >(result));
28624 return resultobj;
28625fail:
28626 return NULL;
d55e5bfc
RD
28627}
28628
28629
1bd55598
RD
28630SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28631 PyObject *resultobj = 0;
28632 wxListEvent *arg1 = (wxListEvent *) 0 ;
28633 long result;
28634 void *argp1 = 0 ;
28635 int res1 = 0 ;
28636 PyObject *swig_obj[1] ;
28637
28638 if (!args) SWIG_fail;
28639 swig_obj[0] = args;
28640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28641 if (!SWIG_IsOK(res1)) {
28642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28643 }
28644 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28645 {
28646 PyThreadState* __tstate = wxPyBeginAllowThreads();
28647 result = (long)(arg1)->GetMask();
28648 wxPyEndAllowThreads(__tstate);
28649 if (PyErr_Occurred()) SWIG_fail;
28650 }
28651 resultobj = SWIG_From_long(static_cast< long >(result));
28652 return resultobj;
28653fail:
28654 return NULL;
d55e5bfc
RD
28655}
28656
28657
1bd55598
RD
28658SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28659 PyObject *resultobj = 0;
28660 wxListEvent *arg1 = (wxListEvent *) 0 ;
28661 wxListItem *result = 0 ;
28662 void *argp1 = 0 ;
28663 int res1 = 0 ;
28664 PyObject *swig_obj[1] ;
28665
28666 if (!args) SWIG_fail;
28667 swig_obj[0] = args;
28668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28669 if (!SWIG_IsOK(res1)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28671 }
28672 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28673 {
28674 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28675 {
1bd55598
RD
28676 wxListItem const &_result_ref = (arg1)->GetItem();
28677 result = (wxListItem *) &_result_ref;
d55e5bfc 28678 }
1bd55598
RD
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28683 return resultobj;
28684fail:
28685 return NULL;
d55e5bfc
RD
28686}
28687
28688
1bd55598
RD
28689SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28690 PyObject *resultobj = 0;
28691 wxListEvent *arg1 = (wxListEvent *) 0 ;
28692 long result;
28693 void *argp1 = 0 ;
28694 int res1 = 0 ;
28695 PyObject *swig_obj[1] ;
28696
28697 if (!args) SWIG_fail;
28698 swig_obj[0] = args;
28699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28700 if (!SWIG_IsOK(res1)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28702 }
28703 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28704 {
28705 PyThreadState* __tstate = wxPyBeginAllowThreads();
28706 result = (long)(arg1)->GetCacheFrom();
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 resultobj = SWIG_From_long(static_cast< long >(result));
28711 return resultobj;
28712fail:
28713 return NULL;
d55e5bfc
RD
28714}
28715
28716
1bd55598
RD
28717SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28718 PyObject *resultobj = 0;
28719 wxListEvent *arg1 = (wxListEvent *) 0 ;
28720 long result;
28721 void *argp1 = 0 ;
28722 int res1 = 0 ;
28723 PyObject *swig_obj[1] ;
28724
28725 if (!args) SWIG_fail;
28726 swig_obj[0] = args;
28727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28728 if (!SWIG_IsOK(res1)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28730 }
28731 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28732 {
28733 PyThreadState* __tstate = wxPyBeginAllowThreads();
28734 result = (long)(arg1)->GetCacheTo();
28735 wxPyEndAllowThreads(__tstate);
28736 if (PyErr_Occurred()) SWIG_fail;
28737 }
28738 resultobj = SWIG_From_long(static_cast< long >(result));
28739 return resultobj;
28740fail:
28741 return NULL;
7e08d4ef
RD
28742}
28743
28744
1bd55598
RD
28745SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28746 PyObject *resultobj = 0;
28747 wxListEvent *arg1 = (wxListEvent *) 0 ;
28748 bool result;
28749 void *argp1 = 0 ;
28750 int res1 = 0 ;
28751 PyObject *swig_obj[1] ;
28752
28753 if (!args) SWIG_fail;
28754 swig_obj[0] = args;
28755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28758 }
28759 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28763 wxPyEndAllowThreads(__tstate);
28764 if (PyErr_Occurred()) SWIG_fail;
28765 }
28766 {
28767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28768 }
28769 return resultobj;
28770fail:
28771 return NULL;
28772}
28773
28774
28775SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28776 PyObject *resultobj = 0;
28777 wxListEvent *arg1 = (wxListEvent *) 0 ;
28778 bool arg2 ;
28779 void *argp1 = 0 ;
28780 int res1 = 0 ;
28781 bool val2 ;
28782 int ecode2 = 0 ;
28783 PyObject * obj0 = 0 ;
28784 PyObject * obj1 = 0 ;
28785 char * kwnames[] = {
28786 (char *) "self",(char *) "editCancelled", NULL
28787 };
28788
28789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28791 if (!SWIG_IsOK(res1)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28793 }
28794 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28796 if (!SWIG_IsOK(ecode2)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28798 }
28799 arg2 = static_cast< bool >(val2);
28800 {
28801 PyThreadState* __tstate = wxPyBeginAllowThreads();
28802 (arg1)->SetEditCanceled(arg2);
28803 wxPyEndAllowThreads(__tstate);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 }
28806 resultobj = SWIG_Py_Void();
28807 return resultobj;
28808fail:
28809 return NULL;
28810}
28811
28812
28813SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28814 PyObject *obj;
28815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28816 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28817 return SWIG_Py_Void();
28818}
28819
28820SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28821 return SWIG_Python_InitShadowInstance(args);
28822}
28823
28824SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28825 PyObject *resultobj = 0;
28826 wxWindow *arg1 = (wxWindow *) 0 ;
28827 int arg2 = (int) -1 ;
28828 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28829 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28830 wxSize const &arg4_defvalue = wxDefaultSize ;
28831 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28832 long arg5 = (long) wxLC_ICON ;
28833 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28834 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28835 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28836 wxString *arg7 = (wxString *) &arg7_defvalue ;
28837 wxPyListCtrl *result = 0 ;
28838 void *argp1 = 0 ;
28839 int res1 = 0 ;
28840 int val2 ;
28841 int ecode2 = 0 ;
28842 wxPoint temp3 ;
28843 wxSize temp4 ;
28844 long val5 ;
28845 int ecode5 = 0 ;
28846 void *argp6 = 0 ;
28847 int res6 = 0 ;
28848 bool temp7 = false ;
28849 PyObject * obj0 = 0 ;
28850 PyObject * obj1 = 0 ;
28851 PyObject * obj2 = 0 ;
28852 PyObject * obj3 = 0 ;
28853 PyObject * obj4 = 0 ;
28854 PyObject * obj5 = 0 ;
28855 PyObject * obj6 = 0 ;
28856 char * kwnames[] = {
28857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28858 };
28859
28860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28862 if (!SWIG_IsOK(res1)) {
28863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28864 }
28865 arg1 = reinterpret_cast< wxWindow * >(argp1);
28866 if (obj1) {
28867 ecode2 = SWIG_AsVal_int(obj1, &val2);
28868 if (!SWIG_IsOK(ecode2)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28870 }
28871 arg2 = static_cast< int >(val2);
28872 }
28873 if (obj2) {
7e08d4ef 28874 {
1bd55598
RD
28875 arg3 = &temp3;
28876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 28877 }
1bd55598
RD
28878 }
28879 if (obj3) {
7e08d4ef 28880 {
1bd55598
RD
28881 arg4 = &temp4;
28882 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 28883 }
1bd55598
RD
28884 }
28885 if (obj4) {
28886 ecode5 = SWIG_AsVal_long(obj4, &val5);
28887 if (!SWIG_IsOK(ecode5)) {
28888 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28889 }
28890 arg5 = static_cast< long >(val5);
28891 }
28892 if (obj5) {
28893 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28894 if (!SWIG_IsOK(res6)) {
28895 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28896 }
1bd55598
RD
28897 if (!argp6) {
28898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 28899 }
1bd55598
RD
28900 arg6 = reinterpret_cast< wxValidator * >(argp6);
28901 }
28902 if (obj6) {
7e08d4ef 28903 {
1bd55598
RD
28904 arg7 = wxString_in_helper(obj6);
28905 if (arg7 == NULL) SWIG_fail;
28906 temp7 = true;
7e08d4ef 28907 }
1bd55598
RD
28908 }
28909 {
28910 if (!wxPyCheckForApp()) SWIG_fail;
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28913 wxPyEndAllowThreads(__tstate);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 }
28916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28917 {
28918 if (temp7)
28919 delete arg7;
28920 }
28921 return resultobj;
28922fail:
28923 {
28924 if (temp7)
28925 delete arg7;
28926 }
28927 return NULL;
7e08d4ef
RD
28928}
28929
28930
1bd55598
RD
28931SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28932 PyObject *resultobj = 0;
28933 wxPyListCtrl *result = 0 ;
28934
28935 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28936 {
28937 if (!wxPyCheckForApp()) SWIG_fail;
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 result = (wxPyListCtrl *)new wxPyListCtrl();
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28944 return resultobj;
28945fail:
28946 return NULL;
28947}
28948
28949
28950SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj = 0;
28952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28953 wxWindow *arg2 = (wxWindow *) 0 ;
28954 int arg3 = (int) -1 ;
28955 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28956 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28957 wxSize const &arg5_defvalue = wxDefaultSize ;
28958 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28959 long arg6 = (long) wxLC_ICON ;
28960 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28961 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28962 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28963 wxString *arg8 = (wxString *) &arg8_defvalue ;
28964 bool result;
28965 void *argp1 = 0 ;
28966 int res1 = 0 ;
28967 void *argp2 = 0 ;
28968 int res2 = 0 ;
28969 int val3 ;
28970 int ecode3 = 0 ;
28971 wxPoint temp4 ;
28972 wxSize temp5 ;
28973 long val6 ;
28974 int ecode6 = 0 ;
28975 void *argp7 = 0 ;
28976 int res7 = 0 ;
28977 bool temp8 = false ;
28978 PyObject * obj0 = 0 ;
28979 PyObject * obj1 = 0 ;
28980 PyObject * obj2 = 0 ;
28981 PyObject * obj3 = 0 ;
28982 PyObject * obj4 = 0 ;
28983 PyObject * obj5 = 0 ;
28984 PyObject * obj6 = 0 ;
28985 PyObject * obj7 = 0 ;
28986 char * kwnames[] = {
28987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28988 };
28989
28990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28992 if (!SWIG_IsOK(res1)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28994 }
28995 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28997 if (!SWIG_IsOK(res2)) {
28998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28999 }
29000 arg2 = reinterpret_cast< wxWindow * >(argp2);
29001 if (obj2) {
29002 ecode3 = SWIG_AsVal_int(obj2, &val3);
29003 if (!SWIG_IsOK(ecode3)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29005 }
29006 arg3 = static_cast< int >(val3);
29007 }
29008 if (obj3) {
7e08d4ef 29009 {
1bd55598
RD
29010 arg4 = &temp4;
29011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 29012 }
1bd55598
RD
29013 }
29014 if (obj4) {
7e08d4ef 29015 {
1bd55598
RD
29016 arg5 = &temp5;
29017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 29018 }
1bd55598
RD
29019 }
29020 if (obj5) {
29021 ecode6 = SWIG_AsVal_long(obj5, &val6);
29022 if (!SWIG_IsOK(ecode6)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29024 }
29025 arg6 = static_cast< long >(val6);
29026 }
29027 if (obj6) {
29028 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29029 if (!SWIG_IsOK(res7)) {
29030 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 29031 }
1bd55598
RD
29032 if (!argp7) {
29033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 29034 }
1bd55598
RD
29035 arg7 = reinterpret_cast< wxValidator * >(argp7);
29036 }
29037 if (obj7) {
7e08d4ef 29038 {
1bd55598
RD
29039 arg8 = wxString_in_helper(obj7);
29040 if (arg8 == NULL) SWIG_fail;
29041 temp8 = true;
7e08d4ef 29042 }
1bd55598
RD
29043 }
29044 {
29045 PyThreadState* __tstate = wxPyBeginAllowThreads();
29046 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29047 wxPyEndAllowThreads(__tstate);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 }
29050 {
29051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29052 }
29053 {
29054 if (temp8)
29055 delete arg8;
29056 }
29057 return resultobj;
29058fail:
29059 {
29060 if (temp8)
29061 delete arg8;
29062 }
29063 return NULL;
29064}
29065
29066
29067SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29068 PyObject *resultobj = 0;
29069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29070 PyObject *arg2 = (PyObject *) 0 ;
29071 PyObject *arg3 = (PyObject *) 0 ;
29072 void *argp1 = 0 ;
29073 int res1 = 0 ;
29074 PyObject * obj0 = 0 ;
29075 PyObject * obj1 = 0 ;
29076 PyObject * obj2 = 0 ;
29077 char * kwnames[] = {
29078 (char *) "self",(char *) "self",(char *) "_class", NULL
29079 };
29080
29081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29083 if (!SWIG_IsOK(res1)) {
29084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29085 }
29086 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29087 arg2 = obj1;
29088 arg3 = obj2;
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->_setCallbackInfo(arg2,arg3);
29092 wxPyEndAllowThreads(__tstate);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 }
29095 resultobj = SWIG_Py_Void();
29096 return resultobj;
29097fail:
29098 return NULL;
29099}
29100
29101
29102SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29103 PyObject *resultobj = 0;
29104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29105 int arg2 ;
29106 wxListItem *result = 0 ;
29107 void *argp1 = 0 ;
29108 int res1 = 0 ;
29109 int val2 ;
29110 int ecode2 = 0 ;
29111 PyObject * obj0 = 0 ;
29112 PyObject * obj1 = 0 ;
29113 char * kwnames[] = {
29114 (char *) "self",(char *) "col", NULL
29115 };
29116
29117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29119 if (!SWIG_IsOK(res1)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29121 }
29122 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29123 ecode2 = SWIG_AsVal_int(obj1, &val2);
29124 if (!SWIG_IsOK(ecode2)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29126 }
29127 arg2 = static_cast< int >(val2);
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29131 wxPyEndAllowThreads(__tstate);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 }
29134 {
3ecece7e 29135 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
29136 }
29137 return resultobj;
29138fail:
29139 return NULL;
29140}
29141
29142
29143SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj = 0;
29145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29146 int arg2 ;
29147 wxListItem *arg3 = 0 ;
29148 bool result;
29149 void *argp1 = 0 ;
29150 int res1 = 0 ;
29151 int val2 ;
29152 int ecode2 = 0 ;
29153 void *argp3 = 0 ;
29154 int res3 = 0 ;
29155 PyObject * obj0 = 0 ;
29156 PyObject * obj1 = 0 ;
29157 PyObject * obj2 = 0 ;
29158 char * kwnames[] = {
29159 (char *) "self",(char *) "col",(char *) "item", NULL
29160 };
29161
29162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29164 if (!SWIG_IsOK(res1)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29166 }
29167 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29168 ecode2 = SWIG_AsVal_int(obj1, &val2);
29169 if (!SWIG_IsOK(ecode2)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29171 }
29172 arg2 = static_cast< int >(val2);
29173 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29174 if (!SWIG_IsOK(res3)) {
29175 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29176 }
29177 if (!argp3) {
29178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29179 }
29180 arg3 = reinterpret_cast< wxListItem * >(argp3);
29181 {
29182 PyThreadState* __tstate = wxPyBeginAllowThreads();
29183 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 {
29188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29189 }
29190 return resultobj;
29191fail:
29192 return NULL;
29193}
29194
29195
29196SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29197 PyObject *resultobj = 0;
29198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29199 int arg2 ;
29200 int result;
29201 void *argp1 = 0 ;
29202 int res1 = 0 ;
29203 int val2 ;
29204 int ecode2 = 0 ;
29205 PyObject * obj0 = 0 ;
29206 PyObject * obj1 = 0 ;
29207 char * kwnames[] = {
29208 (char *) "self",(char *) "col", NULL
29209 };
29210
29211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29213 if (!SWIG_IsOK(res1)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29215 }
29216 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29217 ecode2 = SWIG_AsVal_int(obj1, &val2);
29218 if (!SWIG_IsOK(ecode2)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29220 }
29221 arg2 = static_cast< int >(val2);
29222 {
29223 PyThreadState* __tstate = wxPyBeginAllowThreads();
29224 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29225 wxPyEndAllowThreads(__tstate);
29226 if (PyErr_Occurred()) SWIG_fail;
29227 }
29228 resultobj = SWIG_From_int(static_cast< int >(result));
29229 return resultobj;
29230fail:
29231 return NULL;
29232}
29233
29234
29235SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29236 PyObject *resultobj = 0;
29237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29238 int arg2 ;
29239 int arg3 ;
29240 bool result;
29241 void *argp1 = 0 ;
29242 int res1 = 0 ;
29243 int val2 ;
29244 int ecode2 = 0 ;
29245 int val3 ;
29246 int ecode3 = 0 ;
29247 PyObject * obj0 = 0 ;
29248 PyObject * obj1 = 0 ;
29249 PyObject * obj2 = 0 ;
29250 char * kwnames[] = {
29251 (char *) "self",(char *) "col",(char *) "width", NULL
29252 };
29253
29254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29256 if (!SWIG_IsOK(res1)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29258 }
29259 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29260 ecode2 = SWIG_AsVal_int(obj1, &val2);
29261 if (!SWIG_IsOK(ecode2)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29263 }
29264 arg2 = static_cast< int >(val2);
29265 ecode3 = SWIG_AsVal_int(obj2, &val3);
29266 if (!SWIG_IsOK(ecode3)) {
29267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29268 }
29269 arg3 = static_cast< int >(val3);
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 {
29277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29278 }
29279 return resultobj;
29280fail:
29281 return NULL;
7e08d4ef
RD
29282}
29283
29284
1bd55598
RD
29285SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29286 PyObject *resultobj = 0;
29287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29288 int result;
29289 void *argp1 = 0 ;
29290 int res1 = 0 ;
29291 PyObject *swig_obj[1] ;
29292
29293 if (!args) SWIG_fail;
29294 swig_obj[0] = args;
29295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29296 if (!SWIG_IsOK(res1)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29298 }
29299 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 resultobj = SWIG_From_int(static_cast< int >(result));
29307 return resultobj;
29308fail:
29309 return NULL;
7e08d4ef
RD
29310}
29311
29312
1bd55598
RD
29313SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29314 PyObject *resultobj = 0;
29315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29316 wxRect result;
29317 void *argp1 = 0 ;
29318 int res1 = 0 ;
29319 PyObject *swig_obj[1] ;
29320
29321 if (!args) SWIG_fail;
29322 swig_obj[0] = args;
29323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29324 if (!SWIG_IsOK(res1)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29326 }
29327 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29331 wxPyEndAllowThreads(__tstate);
29332 if (PyErr_Occurred()) SWIG_fail;
29333 }
29334 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29335 return resultobj;
29336fail:
29337 return NULL;
7e08d4ef
RD
29338}
29339
29340
1bd55598
RD
29341SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29342 PyObject *resultobj = 0;
29343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29344 wxTextCtrl *result = 0 ;
29345 void *argp1 = 0 ;
29346 int res1 = 0 ;
29347 PyObject *swig_obj[1] ;
29348
29349 if (!args) SWIG_fail;
29350 swig_obj[0] = args;
29351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29352 if (!SWIG_IsOK(res1)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29354 }
29355 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 {
29363 resultobj = wxPyMake_wxObject(result, 0);
29364 }
29365 return resultobj;
29366fail:
29367 return NULL;
29368}
29369
29370
29371SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29372 PyObject *resultobj = 0;
29373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29374 long arg2 ;
29375 int arg3 = (int) 0 ;
29376 wxListItem *result = 0 ;
29377 void *argp1 = 0 ;
29378 int res1 = 0 ;
29379 long val2 ;
29380 int ecode2 = 0 ;
29381 int val3 ;
29382 int ecode3 = 0 ;
29383 PyObject * obj0 = 0 ;
29384 PyObject * obj1 = 0 ;
29385 PyObject * obj2 = 0 ;
29386 char * kwnames[] = {
29387 (char *) "self",(char *) "itemId",(char *) "col", NULL
29388 };
29389
29390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29392 if (!SWIG_IsOK(res1)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29394 }
29395 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29396 ecode2 = SWIG_AsVal_long(obj1, &val2);
29397 if (!SWIG_IsOK(ecode2)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29399 }
29400 arg2 = static_cast< long >(val2);
29401 if (obj2) {
29402 ecode3 = SWIG_AsVal_int(obj2, &val3);
29403 if (!SWIG_IsOK(ecode3)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29405 }
29406 arg3 = static_cast< int >(val3);
29407 }
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29411 wxPyEndAllowThreads(__tstate);
29412 if (PyErr_Occurred()) SWIG_fail;
29413 }
29414 {
3ecece7e 29415 resultobj = wxPyMake_wxObject(result, 0);
1bd55598
RD
29416 }
29417 return resultobj;
29418fail:
29419 return NULL;
29420}
29421
29422
29423SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29424 PyObject *resultobj = 0;
29425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29426 wxListItem *arg2 = 0 ;
29427 bool result;
29428 void *argp1 = 0 ;
29429 int res1 = 0 ;
29430 void *argp2 = 0 ;
29431 int res2 = 0 ;
29432 PyObject * obj0 = 0 ;
29433 PyObject * obj1 = 0 ;
29434 char * kwnames[] = {
29435 (char *) "self",(char *) "info", NULL
29436 };
29437
29438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29440 if (!SWIG_IsOK(res1)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29442 }
29443 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29444 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29445 if (!SWIG_IsOK(res2)) {
29446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29447 }
29448 if (!argp2) {
29449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29450 }
29451 arg2 = reinterpret_cast< wxListItem * >(argp2);
29452 {
29453 PyThreadState* __tstate = wxPyBeginAllowThreads();
29454 result = (bool)(arg1)->SetItem(*arg2);
29455 wxPyEndAllowThreads(__tstate);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 {
29459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29460 }
29461 return resultobj;
29462fail:
29463 return NULL;
29464}
29465
29466
29467SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29468 PyObject *resultobj = 0;
29469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29470 long arg2 ;
29471 int arg3 ;
29472 wxString *arg4 = 0 ;
29473 int arg5 = (int) -1 ;
29474 long result;
29475 void *argp1 = 0 ;
29476 int res1 = 0 ;
29477 long val2 ;
29478 int ecode2 = 0 ;
29479 int val3 ;
29480 int ecode3 = 0 ;
29481 bool temp4 = false ;
29482 int val5 ;
29483 int ecode5 = 0 ;
29484 PyObject * obj0 = 0 ;
29485 PyObject * obj1 = 0 ;
29486 PyObject * obj2 = 0 ;
29487 PyObject * obj3 = 0 ;
29488 PyObject * obj4 = 0 ;
29489 char * kwnames[] = {
29490 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29491 };
29492
29493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29495 if (!SWIG_IsOK(res1)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29497 }
29498 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29499 ecode2 = SWIG_AsVal_long(obj1, &val2);
29500 if (!SWIG_IsOK(ecode2)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29502 }
29503 arg2 = static_cast< long >(val2);
29504 ecode3 = SWIG_AsVal_int(obj2, &val3);
29505 if (!SWIG_IsOK(ecode3)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29507 }
29508 arg3 = static_cast< int >(val3);
29509 {
29510 arg4 = wxString_in_helper(obj3);
29511 if (arg4 == NULL) SWIG_fail;
29512 temp4 = true;
29513 }
29514 if (obj4) {
29515 ecode5 = SWIG_AsVal_int(obj4, &val5);
29516 if (!SWIG_IsOK(ecode5)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29518 }
29519 arg5 = static_cast< int >(val5);
29520 }
29521 {
29522 PyThreadState* __tstate = wxPyBeginAllowThreads();
29523 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29524 wxPyEndAllowThreads(__tstate);
29525 if (PyErr_Occurred()) SWIG_fail;
29526 }
29527 resultobj = SWIG_From_long(static_cast< long >(result));
29528 {
29529 if (temp4)
29530 delete arg4;
29531 }
29532 return resultobj;
29533fail:
29534 {
29535 if (temp4)
29536 delete arg4;
29537 }
29538 return NULL;
29539}
29540
29541
29542SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29543 PyObject *resultobj = 0;
29544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29545 long arg2 ;
29546 long arg3 ;
29547 int result;
29548 void *argp1 = 0 ;
29549 int res1 = 0 ;
29550 long val2 ;
29551 int ecode2 = 0 ;
29552 long val3 ;
29553 int ecode3 = 0 ;
29554 PyObject * obj0 = 0 ;
29555 PyObject * obj1 = 0 ;
29556 PyObject * obj2 = 0 ;
29557 char * kwnames[] = {
29558 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29559 };
29560
29561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29563 if (!SWIG_IsOK(res1)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29565 }
29566 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29567 ecode2 = SWIG_AsVal_long(obj1, &val2);
29568 if (!SWIG_IsOK(ecode2)) {
29569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29570 }
29571 arg2 = static_cast< long >(val2);
29572 ecode3 = SWIG_AsVal_long(obj2, &val3);
29573 if (!SWIG_IsOK(ecode3)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29575 }
29576 arg3 = static_cast< long >(val3);
29577 {
29578 PyThreadState* __tstate = wxPyBeginAllowThreads();
29579 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 resultobj = SWIG_From_int(static_cast< int >(result));
29584 return resultobj;
29585fail:
29586 return NULL;
29587}
29588
29589
29590SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29591 PyObject *resultobj = 0;
29592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29593 long arg2 ;
29594 long arg3 ;
29595 long arg4 ;
29596 bool result;
29597 void *argp1 = 0 ;
29598 int res1 = 0 ;
29599 long val2 ;
29600 int ecode2 = 0 ;
29601 long val3 ;
29602 int ecode3 = 0 ;
29603 long val4 ;
29604 int ecode4 = 0 ;
29605 PyObject * obj0 = 0 ;
29606 PyObject * obj1 = 0 ;
29607 PyObject * obj2 = 0 ;
29608 PyObject * obj3 = 0 ;
29609 char * kwnames[] = {
29610 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29611 };
29612
29613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29615 if (!SWIG_IsOK(res1)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29617 }
29618 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29619 ecode2 = SWIG_AsVal_long(obj1, &val2);
29620 if (!SWIG_IsOK(ecode2)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29622 }
29623 arg2 = static_cast< long >(val2);
29624 ecode3 = SWIG_AsVal_long(obj2, &val3);
29625 if (!SWIG_IsOK(ecode3)) {
29626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29627 }
29628 arg3 = static_cast< long >(val3);
29629 ecode4 = SWIG_AsVal_long(obj3, &val4);
29630 if (!SWIG_IsOK(ecode4)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29632 }
29633 arg4 = static_cast< long >(val4);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29642 }
29643 return resultobj;
29644fail:
29645 return NULL;
29646}
29647
29648
29649SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj = 0;
29651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29652 long arg2 ;
29653 int arg3 ;
29654 int arg4 = (int) -1 ;
29655 bool result;
29656 void *argp1 = 0 ;
29657 int res1 = 0 ;
29658 long val2 ;
29659 int ecode2 = 0 ;
29660 int val3 ;
29661 int ecode3 = 0 ;
29662 int val4 ;
29663 int ecode4 = 0 ;
29664 PyObject * obj0 = 0 ;
29665 PyObject * obj1 = 0 ;
29666 PyObject * obj2 = 0 ;
29667 PyObject * obj3 = 0 ;
29668 char * kwnames[] = {
29669 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29670 };
29671
29672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29678 ecode2 = SWIG_AsVal_long(obj1, &val2);
29679 if (!SWIG_IsOK(ecode2)) {
29680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29681 }
29682 arg2 = static_cast< long >(val2);
29683 ecode3 = SWIG_AsVal_int(obj2, &val3);
29684 if (!SWIG_IsOK(ecode3)) {
29685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29686 }
29687 arg3 = static_cast< int >(val3);
29688 if (obj3) {
29689 ecode4 = SWIG_AsVal_int(obj3, &val4);
29690 if (!SWIG_IsOK(ecode4)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29692 }
29693 arg4 = static_cast< int >(val4);
29694 }
29695 {
29696 PyThreadState* __tstate = wxPyBeginAllowThreads();
29697 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29698 wxPyEndAllowThreads(__tstate);
29699 if (PyErr_Occurred()) SWIG_fail;
29700 }
29701 {
29702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29703 }
29704 return resultobj;
29705fail:
29706 return NULL;
29707}
29708
29709
29710SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29711 PyObject *resultobj = 0;
29712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29713 long arg2 ;
29714 long arg3 ;
29715 int arg4 ;
29716 bool result;
29717 void *argp1 = 0 ;
29718 int res1 = 0 ;
29719 long val2 ;
29720 int ecode2 = 0 ;
29721 long val3 ;
29722 int ecode3 = 0 ;
29723 int val4 ;
29724 int ecode4 = 0 ;
29725 PyObject * obj0 = 0 ;
29726 PyObject * obj1 = 0 ;
29727 PyObject * obj2 = 0 ;
29728 PyObject * obj3 = 0 ;
29729 char * kwnames[] = {
29730 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29731 };
29732
29733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29735 if (!SWIG_IsOK(res1)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29737 }
29738 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29739 ecode2 = SWIG_AsVal_long(obj1, &val2);
29740 if (!SWIG_IsOK(ecode2)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29742 }
29743 arg2 = static_cast< long >(val2);
29744 ecode3 = SWIG_AsVal_long(obj2, &val3);
29745 if (!SWIG_IsOK(ecode3)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29747 }
29748 arg3 = static_cast< long >(val3);
29749 ecode4 = SWIG_AsVal_int(obj3, &val4);
29750 if (!SWIG_IsOK(ecode4)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29752 }
29753 arg4 = static_cast< int >(val4);
29754 {
29755 PyThreadState* __tstate = wxPyBeginAllowThreads();
29756 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29757 wxPyEndAllowThreads(__tstate);
29758 if (PyErr_Occurred()) SWIG_fail;
29759 }
29760 {
29761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29762 }
29763 return resultobj;
29764fail:
29765 return NULL;
29766}
29767
29768
29769SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29770 PyObject *resultobj = 0;
29771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29772 long arg2 ;
29773 wxString result;
29774 void *argp1 = 0 ;
29775 int res1 = 0 ;
29776 long val2 ;
29777 int ecode2 = 0 ;
29778 PyObject * obj0 = 0 ;
29779 PyObject * obj1 = 0 ;
29780 char * kwnames[] = {
29781 (char *) "self",(char *) "item", NULL
29782 };
29783
29784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29786 if (!SWIG_IsOK(res1)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29788 }
29789 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29790 ecode2 = SWIG_AsVal_long(obj1, &val2);
29791 if (!SWIG_IsOK(ecode2)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29793 }
29794 arg2 = static_cast< long >(val2);
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29798 wxPyEndAllowThreads(__tstate);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 {
29802#if wxUSE_UNICODE
29803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29804#else
29805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29806#endif
29807 }
29808 return resultobj;
29809fail:
29810 return NULL;
29811}
29812
29813
29814SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29815 PyObject *resultobj = 0;
29816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29817 long arg2 ;
29818 wxString *arg3 = 0 ;
29819 void *argp1 = 0 ;
29820 int res1 = 0 ;
29821 long val2 ;
29822 int ecode2 = 0 ;
29823 bool temp3 = false ;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 PyObject * obj2 = 0 ;
29827 char * kwnames[] = {
29828 (char *) "self",(char *) "item",(char *) "str", NULL
29829 };
29830
29831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29833 if (!SWIG_IsOK(res1)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29835 }
29836 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29837 ecode2 = SWIG_AsVal_long(obj1, &val2);
29838 if (!SWIG_IsOK(ecode2)) {
29839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29840 }
29841 arg2 = static_cast< long >(val2);
29842 {
29843 arg3 = wxString_in_helper(obj2);
29844 if (arg3 == NULL) SWIG_fail;
29845 temp3 = true;
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 resultobj = SWIG_Py_Void();
29854 {
29855 if (temp3)
29856 delete arg3;
29857 }
29858 return resultobj;
29859fail:
29860 {
29861 if (temp3)
29862 delete arg3;
29863 }
29864 return NULL;
29865}
29866
29867
29868SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29869 PyObject *resultobj = 0;
29870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29871 long arg2 ;
29872 long result;
29873 void *argp1 = 0 ;
29874 int res1 = 0 ;
29875 long val2 ;
29876 int ecode2 = 0 ;
29877 PyObject * obj0 = 0 ;
29878 PyObject * obj1 = 0 ;
29879 char * kwnames[] = {
29880 (char *) "self",(char *) "item", NULL
29881 };
29882
29883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29885 if (!SWIG_IsOK(res1)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29887 }
29888 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29889 ecode2 = SWIG_AsVal_long(obj1, &val2);
29890 if (!SWIG_IsOK(ecode2)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29892 }
29893 arg2 = static_cast< long >(val2);
29894 {
29895 PyThreadState* __tstate = wxPyBeginAllowThreads();
29896 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29897 wxPyEndAllowThreads(__tstate);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 resultobj = SWIG_From_long(static_cast< long >(result));
29901 return resultobj;
29902fail:
29903 return NULL;
29904}
29905
29906
29907SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29908 PyObject *resultobj = 0;
29909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29910 long arg2 ;
29911 long arg3 ;
29912 bool result;
29913 void *argp1 = 0 ;
29914 int res1 = 0 ;
29915 long val2 ;
29916 int ecode2 = 0 ;
29917 long val3 ;
29918 int ecode3 = 0 ;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 PyObject * obj2 = 0 ;
29922 char * kwnames[] = {
29923 (char *) "self",(char *) "item",(char *) "data", NULL
29924 };
29925
29926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29928 if (!SWIG_IsOK(res1)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29930 }
29931 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29932 ecode2 = SWIG_AsVal_long(obj1, &val2);
29933 if (!SWIG_IsOK(ecode2)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29935 }
29936 arg2 = static_cast< long >(val2);
29937 ecode3 = SWIG_AsVal_long(obj2, &val3);
29938 if (!SWIG_IsOK(ecode3)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29940 }
29941 arg3 = static_cast< long >(val3);
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 result = (bool)(arg1)->SetItemData(arg2,arg3);
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 {
29949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29950 }
29951 return resultobj;
29952fail:
29953 return NULL;
29954}
29955
29956
29957SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29958 PyObject *resultobj = 0;
29959 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29960 long arg2 ;
29961 wxPoint result;
29962 void *argp1 = 0 ;
29963 int res1 = 0 ;
29964 long val2 ;
29965 int ecode2 = 0 ;
29966 PyObject * obj0 = 0 ;
29967 PyObject * obj1 = 0 ;
29968 char * kwnames[] = {
29969 (char *) "self",(char *) "item", NULL
29970 };
29971
29972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29974 if (!SWIG_IsOK(res1)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29976 }
29977 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29978 ecode2 = SWIG_AsVal_long(obj1, &val2);
29979 if (!SWIG_IsOK(ecode2)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29981 }
29982 arg2 = static_cast< long >(val2);
29983 {
29984 PyThreadState* __tstate = wxPyBeginAllowThreads();
29985 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29986 wxPyEndAllowThreads(__tstate);
29987 if (PyErr_Occurred()) SWIG_fail;
29988 }
29989 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29990 return resultobj;
29991fail:
29992 return NULL;
29993}
29994
29995
29996SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj = 0;
29998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29999 long arg2 ;
30000 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30001 wxRect result;
30002 void *argp1 = 0 ;
30003 int res1 = 0 ;
30004 long val2 ;
30005 int ecode2 = 0 ;
30006 int val3 ;
30007 int ecode3 = 0 ;
30008 PyObject * obj0 = 0 ;
30009 PyObject * obj1 = 0 ;
30010 PyObject * obj2 = 0 ;
30011 char * kwnames[] = {
30012 (char *) "self",(char *) "item",(char *) "code", NULL
30013 };
30014
30015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30017 if (!SWIG_IsOK(res1)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30019 }
30020 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30021 ecode2 = SWIG_AsVal_long(obj1, &val2);
30022 if (!SWIG_IsOK(ecode2)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30024 }
30025 arg2 = static_cast< long >(val2);
30026 if (obj2) {
30027 ecode3 = SWIG_AsVal_int(obj2, &val3);
30028 if (!SWIG_IsOK(ecode3)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30030 }
30031 arg3 = static_cast< int >(val3);
30032 }
30033 {
30034 PyThreadState* __tstate = wxPyBeginAllowThreads();
30035 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30036 wxPyEndAllowThreads(__tstate);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 }
30039 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30040 return resultobj;
30041fail:
30042 return NULL;
30043}
30044
30045
30046SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30047 PyObject *resultobj = 0;
30048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30049 long arg2 ;
30050 wxPoint *arg3 = 0 ;
30051 bool result;
30052 void *argp1 = 0 ;
30053 int res1 = 0 ;
30054 long val2 ;
30055 int ecode2 = 0 ;
30056 wxPoint temp3 ;
30057 PyObject * obj0 = 0 ;
30058 PyObject * obj1 = 0 ;
30059 PyObject * obj2 = 0 ;
30060 char * kwnames[] = {
30061 (char *) "self",(char *) "item",(char *) "pos", NULL
30062 };
30063
30064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30066 if (!SWIG_IsOK(res1)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30068 }
30069 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30070 ecode2 = SWIG_AsVal_long(obj1, &val2);
30071 if (!SWIG_IsOK(ecode2)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30073 }
30074 arg2 = static_cast< long >(val2);
30075 {
30076 arg3 = &temp3;
30077 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30078 }
30079 {
30080 PyThreadState* __tstate = wxPyBeginAllowThreads();
30081 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 {
30086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30087 }
30088 return resultobj;
30089fail:
30090 return NULL;
7e08d4ef
RD
30091}
30092
30093
1bd55598
RD
30094SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30095 PyObject *resultobj = 0;
30096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30097 int result;
30098 void *argp1 = 0 ;
30099 int res1 = 0 ;
30100 PyObject *swig_obj[1] ;
30101
30102 if (!args) SWIG_fail;
30103 swig_obj[0] = args;
30104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30105 if (!SWIG_IsOK(res1)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30107 }
30108 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30109 {
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30112 wxPyEndAllowThreads(__tstate);
30113 if (PyErr_Occurred()) SWIG_fail;
30114 }
30115 resultobj = SWIG_From_int(static_cast< int >(result));
30116 return resultobj;
30117fail:
30118 return NULL;
7e08d4ef
RD
30119}
30120
30121
1bd55598
RD
30122SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30123 PyObject *resultobj = 0;
30124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30125 int result;
30126 void *argp1 = 0 ;
30127 int res1 = 0 ;
30128 PyObject *swig_obj[1] ;
30129
30130 if (!args) SWIG_fail;
30131 swig_obj[0] = args;
30132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30133 if (!SWIG_IsOK(res1)) {
30134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30135 }
30136 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30140 wxPyEndAllowThreads(__tstate);
30141 if (PyErr_Occurred()) SWIG_fail;
30142 }
30143 resultobj = SWIG_From_int(static_cast< int >(result));
30144 return resultobj;
30145fail:
30146 return NULL;
7e08d4ef
RD
30147}
30148
30149
1bd55598
RD
30150SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30151 PyObject *resultobj = 0;
30152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30153 wxSize result;
30154 void *argp1 = 0 ;
30155 int res1 = 0 ;
30156 PyObject *swig_obj[1] ;
30157
30158 if (!args) SWIG_fail;
30159 swig_obj[0] = args;
30160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30161 if (!SWIG_IsOK(res1)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30163 }
30164 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30165 {
30166 PyThreadState* __tstate = wxPyBeginAllowThreads();
30167 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30168 wxPyEndAllowThreads(__tstate);
30169 if (PyErr_Occurred()) SWIG_fail;
30170 }
30171 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30172 return resultobj;
30173fail:
30174 return NULL;
30175}
30176
30177
30178SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30179 PyObject *resultobj = 0;
30180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30181 int arg2 ;
30182 bool arg3 = (bool) false ;
30183 void *argp1 = 0 ;
30184 int res1 = 0 ;
30185 int val2 ;
30186 int ecode2 = 0 ;
30187 bool val3 ;
30188 int ecode3 = 0 ;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
30191 PyObject * obj2 = 0 ;
30192 char * kwnames[] = {
30193 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30194 };
30195
30196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30198 if (!SWIG_IsOK(res1)) {
30199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30200 }
30201 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30202 ecode2 = SWIG_AsVal_int(obj1, &val2);
30203 if (!SWIG_IsOK(ecode2)) {
30204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30205 }
30206 arg2 = static_cast< int >(val2);
30207 if (obj2) {
30208 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30209 if (!SWIG_IsOK(ecode3)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30211 }
30212 arg3 = static_cast< bool >(val3);
30213 }
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 (arg1)->SetItemSpacing(arg2,arg3);
30217 wxPyEndAllowThreads(__tstate);
30218 if (PyErr_Occurred()) SWIG_fail;
30219 }
30220 resultobj = SWIG_Py_Void();
30221 return resultobj;
30222fail:
30223 return NULL;
7e08d4ef
RD
30224}
30225
30226
1bd55598
RD
30227SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30228 PyObject *resultobj = 0;
30229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30230 int result;
30231 void *argp1 = 0 ;
30232 int res1 = 0 ;
30233 PyObject *swig_obj[1] ;
30234
30235 if (!args) SWIG_fail;
30236 swig_obj[0] = args;
30237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30238 if (!SWIG_IsOK(res1)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30240 }
30241 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30242 {
30243 PyThreadState* __tstate = wxPyBeginAllowThreads();
30244 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30245 wxPyEndAllowThreads(__tstate);
30246 if (PyErr_Occurred()) SWIG_fail;
30247 }
30248 resultobj = SWIG_From_int(static_cast< int >(result));
30249 return resultobj;
30250fail:
30251 return NULL;
7e08d4ef
RD
30252}
30253
30254
1bd55598
RD
30255SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30256 PyObject *resultobj = 0;
30257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30258 wxColour result;
30259 void *argp1 = 0 ;
30260 int res1 = 0 ;
30261 PyObject *swig_obj[1] ;
30262
30263 if (!args) SWIG_fail;
30264 swig_obj[0] = args;
30265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30266 if (!SWIG_IsOK(res1)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30268 }
30269 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30270 {
30271 PyThreadState* __tstate = wxPyBeginAllowThreads();
30272 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30273 wxPyEndAllowThreads(__tstate);
30274 if (PyErr_Occurred()) SWIG_fail;
30275 }
30276 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30277 return resultobj;
30278fail:
30279 return NULL;
30280}
30281
30282
30283SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30284 PyObject *resultobj = 0;
30285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30286 wxColour *arg2 = 0 ;
30287 void *argp1 = 0 ;
30288 int res1 = 0 ;
30289 wxColour temp2 ;
30290 PyObject * obj0 = 0 ;
30291 PyObject * obj1 = 0 ;
30292 char * kwnames[] = {
30293 (char *) "self",(char *) "col", NULL
30294 };
30295
30296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30298 if (!SWIG_IsOK(res1)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30300 }
30301 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30302 {
30303 arg2 = &temp2;
30304 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30305 }
30306 {
30307 PyThreadState* __tstate = wxPyBeginAllowThreads();
30308 (arg1)->SetTextColour((wxColour const &)*arg2);
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 resultobj = SWIG_Py_Void();
30313 return resultobj;
30314fail:
30315 return NULL;
7e08d4ef
RD
30316}
30317
30318
1bd55598
RD
30319SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30320 PyObject *resultobj = 0;
30321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30322 long result;
30323 void *argp1 = 0 ;
30324 int res1 = 0 ;
30325 PyObject *swig_obj[1] ;
30326
30327 if (!args) SWIG_fail;
30328 swig_obj[0] = args;
30329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30330 if (!SWIG_IsOK(res1)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30332 }
30333 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 resultobj = SWIG_From_long(static_cast< long >(result));
30341 return resultobj;
30342fail:
30343 return NULL;
30344}
30345
30346
30347SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30348 PyObject *resultobj = 0;
30349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30350 long arg2 ;
30351 bool arg3 = (bool) true ;
30352 void *argp1 = 0 ;
30353 int res1 = 0 ;
30354 long val2 ;
30355 int ecode2 = 0 ;
30356 bool val3 ;
30357 int ecode3 = 0 ;
30358 PyObject * obj0 = 0 ;
30359 PyObject * obj1 = 0 ;
30360 PyObject * obj2 = 0 ;
30361 char * kwnames[] = {
30362 (char *) "self",(char *) "style",(char *) "add", NULL
30363 };
30364
30365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30367 if (!SWIG_IsOK(res1)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30369 }
30370 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30371 ecode2 = SWIG_AsVal_long(obj1, &val2);
30372 if (!SWIG_IsOK(ecode2)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30374 }
30375 arg2 = static_cast< long >(val2);
30376 if (obj2) {
30377 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30378 if (!SWIG_IsOK(ecode3)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30380 }
30381 arg3 = static_cast< bool >(val3);
30382 }
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 (arg1)->SetSingleStyle(arg2,arg3);
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 resultobj = SWIG_Py_Void();
30390 return resultobj;
30391fail:
30392 return NULL;
30393}
30394
30395
30396SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30397 PyObject *resultobj = 0;
30398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30399 long arg2 ;
30400 int arg3 = (int) wxLIST_NEXT_ALL ;
30401 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30402 long result;
30403 void *argp1 = 0 ;
30404 int res1 = 0 ;
30405 long val2 ;
30406 int ecode2 = 0 ;
30407 int val3 ;
30408 int ecode3 = 0 ;
30409 int val4 ;
30410 int ecode4 = 0 ;
30411 PyObject * obj0 = 0 ;
30412 PyObject * obj1 = 0 ;
30413 PyObject * obj2 = 0 ;
30414 PyObject * obj3 = 0 ;
30415 char * kwnames[] = {
30416 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30417 };
30418
30419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30423 }
30424 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30425 ecode2 = SWIG_AsVal_long(obj1, &val2);
30426 if (!SWIG_IsOK(ecode2)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30428 }
30429 arg2 = static_cast< long >(val2);
30430 if (obj2) {
30431 ecode3 = SWIG_AsVal_int(obj2, &val3);
30432 if (!SWIG_IsOK(ecode3)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30434 }
30435 arg3 = static_cast< int >(val3);
30436 }
30437 if (obj3) {
30438 ecode4 = SWIG_AsVal_int(obj3, &val4);
30439 if (!SWIG_IsOK(ecode4)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30441 }
30442 arg4 = static_cast< int >(val4);
30443 }
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 resultobj = SWIG_From_long(static_cast< long >(result));
30451 return resultobj;
30452fail:
30453 return NULL;
30454}
30455
30456
30457SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30458 PyObject *resultobj = 0;
30459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30460 int arg2 ;
30461 wxImageList *result = 0 ;
30462 void *argp1 = 0 ;
30463 int res1 = 0 ;
30464 int val2 ;
30465 int ecode2 = 0 ;
30466 PyObject * obj0 = 0 ;
30467 PyObject * obj1 = 0 ;
30468 char * kwnames[] = {
30469 (char *) "self",(char *) "which", NULL
30470 };
30471
30472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30474 if (!SWIG_IsOK(res1)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30476 }
30477 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30478 ecode2 = SWIG_AsVal_int(obj1, &val2);
30479 if (!SWIG_IsOK(ecode2)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30481 }
30482 arg2 = static_cast< int >(val2);
30483 {
30484 PyThreadState* __tstate = wxPyBeginAllowThreads();
30485 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
3ecece7e
RD
30489 {
30490 resultobj = wxPyMake_wxObject(result, (bool)0);
30491 }
1bd55598
RD
30492 return resultobj;
30493fail:
30494 return NULL;
30495}
30496
30497
30498SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj = 0;
30500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30501 wxImageList *arg2 = (wxImageList *) 0 ;
30502 int arg3 ;
30503 void *argp1 = 0 ;
30504 int res1 = 0 ;
30505 void *argp2 = 0 ;
30506 int res2 = 0 ;
30507 int val3 ;
30508 int ecode3 = 0 ;
30509 PyObject * obj0 = 0 ;
30510 PyObject * obj1 = 0 ;
30511 PyObject * obj2 = 0 ;
30512 char * kwnames[] = {
30513 (char *) "self",(char *) "imageList",(char *) "which", NULL
30514 };
30515
30516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30518 if (!SWIG_IsOK(res1)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30520 }
30521 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30522 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30523 if (!SWIG_IsOK(res2)) {
30524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30525 }
30526 arg2 = reinterpret_cast< wxImageList * >(argp2);
30527 ecode3 = SWIG_AsVal_int(obj2, &val3);
30528 if (!SWIG_IsOK(ecode3)) {
30529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30530 }
30531 arg3 = static_cast< int >(val3);
30532 {
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 (arg1)->SetImageList(arg2,arg3);
30535 wxPyEndAllowThreads(__tstate);
30536 if (PyErr_Occurred()) SWIG_fail;
30537 }
30538 resultobj = SWIG_Py_Void();
30539 return resultobj;
30540fail:
30541 return NULL;
30542}
30543
30544
30545SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30546 PyObject *resultobj = 0;
30547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30548 wxImageList *arg2 = (wxImageList *) 0 ;
30549 int arg3 ;
30550 void *argp1 = 0 ;
30551 int res1 = 0 ;
30552 int res2 = 0 ;
30553 int val3 ;
30554 int ecode3 = 0 ;
30555 PyObject * obj0 = 0 ;
30556 PyObject * obj1 = 0 ;
30557 PyObject * obj2 = 0 ;
30558 char * kwnames[] = {
30559 (char *) "self",(char *) "imageList",(char *) "which", NULL
30560 };
30561
30562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30564 if (!SWIG_IsOK(res1)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30566 }
30567 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30568 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30569 if (!SWIG_IsOK(res2)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30571 }
30572 ecode3 = SWIG_AsVal_int(obj2, &val3);
30573 if (!SWIG_IsOK(ecode3)) {
30574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30575 }
30576 arg3 = static_cast< int >(val3);
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->AssignImageList(arg2,arg3);
30580 wxPyEndAllowThreads(__tstate);
30581 if (PyErr_Occurred()) SWIG_fail;
30582 }
30583 resultobj = SWIG_Py_Void();
30584 return resultobj;
30585fail:
30586 return NULL;
7e08d4ef
RD
30587}
30588
30589
1bd55598
RD
30590SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30591 PyObject *resultobj = 0;
30592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30593 bool result;
30594 void *argp1 = 0 ;
30595 int res1 = 0 ;
30596 PyObject *swig_obj[1] ;
30597
30598 if (!args) SWIG_fail;
30599 swig_obj[0] = args;
30600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30601 if (!SWIG_IsOK(res1)) {
30602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30603 }
30604 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30608 wxPyEndAllowThreads(__tstate);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 }
30611 {
30612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30613 }
30614 return resultobj;
30615fail:
30616 return NULL;
44bf767a
RD
30617}
30618
30619
1bd55598
RD
30620SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30621 PyObject *resultobj = 0;
30622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30623 bool result;
30624 void *argp1 = 0 ;
30625 int res1 = 0 ;
30626 PyObject *swig_obj[1] ;
30627
30628 if (!args) SWIG_fail;
30629 swig_obj[0] = args;
30630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30631 if (!SWIG_IsOK(res1)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30633 }
30634 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30635 {
30636 PyThreadState* __tstate = wxPyBeginAllowThreads();
30637 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30638 wxPyEndAllowThreads(__tstate);
30639 if (PyErr_Occurred()) SWIG_fail;
30640 }
30641 {
30642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30643 }
30644 return resultobj;
30645fail:
30646 return NULL;
30647}
30648
30649
30650SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30651 PyObject *resultobj = 0;
30652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30653 long arg2 ;
30654 void *argp1 = 0 ;
30655 int res1 = 0 ;
30656 long val2 ;
30657 int ecode2 = 0 ;
30658 PyObject * obj0 = 0 ;
30659 PyObject * obj1 = 0 ;
30660 char * kwnames[] = {
30661 (char *) "self",(char *) "item", NULL
30662 };
30663
30664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30666 if (!SWIG_IsOK(res1)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30668 }
30669 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30670 ecode2 = SWIG_AsVal_long(obj1, &val2);
30671 if (!SWIG_IsOK(ecode2)) {
30672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30673 }
30674 arg2 = static_cast< long >(val2);
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 (arg1)->RefreshItem(arg2);
30678 wxPyEndAllowThreads(__tstate);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 }
30681 resultobj = SWIG_Py_Void();
30682 return resultobj;
30683fail:
30684 return NULL;
30685}
30686
30687
30688SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30689 PyObject *resultobj = 0;
30690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30691 long arg2 ;
30692 long arg3 ;
30693 void *argp1 = 0 ;
30694 int res1 = 0 ;
30695 long val2 ;
30696 int ecode2 = 0 ;
30697 long val3 ;
30698 int ecode3 = 0 ;
30699 PyObject * obj0 = 0 ;
30700 PyObject * obj1 = 0 ;
30701 PyObject * obj2 = 0 ;
30702 char * kwnames[] = {
30703 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30704 };
30705
30706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30708 if (!SWIG_IsOK(res1)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30710 }
30711 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30712 ecode2 = SWIG_AsVal_long(obj1, &val2);
30713 if (!SWIG_IsOK(ecode2)) {
30714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30715 }
30716 arg2 = static_cast< long >(val2);
30717 ecode3 = SWIG_AsVal_long(obj2, &val3);
30718 if (!SWIG_IsOK(ecode3)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30720 }
30721 arg3 = static_cast< long >(val3);
30722 {
30723 PyThreadState* __tstate = wxPyBeginAllowThreads();
30724 (arg1)->RefreshItems(arg2,arg3);
30725 wxPyEndAllowThreads(__tstate);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 }
30728 resultobj = SWIG_Py_Void();
30729 return resultobj;
30730fail:
30731 return NULL;
30732}
30733
30734
30735SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30736 PyObject *resultobj = 0;
30737 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30738 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30739 bool result;
30740 void *argp1 = 0 ;
30741 int res1 = 0 ;
30742 int val2 ;
30743 int ecode2 = 0 ;
30744 PyObject * obj0 = 0 ;
30745 PyObject * obj1 = 0 ;
30746 char * kwnames[] = {
30747 (char *) "self",(char *) "flag", NULL
30748 };
30749
30750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30752 if (!SWIG_IsOK(res1)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30754 }
30755 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30756 if (obj1) {
30757 ecode2 = SWIG_AsVal_int(obj1, &val2);
30758 if (!SWIG_IsOK(ecode2)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30760 }
30761 arg2 = static_cast< int >(val2);
30762 }
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 result = (bool)(arg1)->Arrange(arg2);
30766 wxPyEndAllowThreads(__tstate);
30767 if (PyErr_Occurred()) SWIG_fail;
30768 }
30769 {
30770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30771 }
30772 return resultobj;
30773fail:
30774 return NULL;
30775}
30776
30777
30778SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30779 PyObject *resultobj = 0;
30780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30781 long arg2 ;
30782 bool result;
30783 void *argp1 = 0 ;
30784 int res1 = 0 ;
30785 long val2 ;
30786 int ecode2 = 0 ;
30787 PyObject * obj0 = 0 ;
30788 PyObject * obj1 = 0 ;
30789 char * kwnames[] = {
30790 (char *) "self",(char *) "item", NULL
30791 };
30792
30793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30795 if (!SWIG_IsOK(res1)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30797 }
30798 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30799 ecode2 = SWIG_AsVal_long(obj1, &val2);
30800 if (!SWIG_IsOK(ecode2)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30802 }
30803 arg2 = static_cast< long >(val2);
30804 {
30805 PyThreadState* __tstate = wxPyBeginAllowThreads();
30806 result = (bool)(arg1)->DeleteItem(arg2);
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
30810 {
30811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30812 }
30813 return resultobj;
30814fail:
30815 return NULL;
d55e5bfc
RD
30816}
30817
30818
1bd55598
RD
30819SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30820 PyObject *resultobj = 0;
30821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30822 bool result;
30823 void *argp1 = 0 ;
30824 int res1 = 0 ;
30825 PyObject *swig_obj[1] ;
30826
30827 if (!args) SWIG_fail;
30828 swig_obj[0] = args;
30829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30830 if (!SWIG_IsOK(res1)) {
30831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30832 }
30833 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30834 {
30835 PyThreadState* __tstate = wxPyBeginAllowThreads();
30836 result = (bool)(arg1)->DeleteAllItems();
30837 wxPyEndAllowThreads(__tstate);
30838 if (PyErr_Occurred()) SWIG_fail;
30839 }
30840 {
30841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30842 }
30843 return resultobj;
30844fail:
30845 return NULL;
30846}
30847
30848
30849SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj = 0;
30851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30852 int arg2 ;
30853 bool result;
30854 void *argp1 = 0 ;
30855 int res1 = 0 ;
30856 int val2 ;
30857 int ecode2 = 0 ;
30858 PyObject * obj0 = 0 ;
30859 PyObject * obj1 = 0 ;
30860 char * kwnames[] = {
30861 (char *) "self",(char *) "col", NULL
30862 };
30863
30864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30866 if (!SWIG_IsOK(res1)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30868 }
30869 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30870 ecode2 = SWIG_AsVal_int(obj1, &val2);
30871 if (!SWIG_IsOK(ecode2)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30873 }
30874 arg2 = static_cast< int >(val2);
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 result = (bool)(arg1)->DeleteColumn(arg2);
30878 wxPyEndAllowThreads(__tstate);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 }
30881 {
30882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30883 }
30884 return resultobj;
30885fail:
30886 return NULL;
b411df4a
RD
30887}
30888
30889
1bd55598
RD
30890SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30891 PyObject *resultobj = 0;
30892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30893 bool result;
30894 void *argp1 = 0 ;
30895 int res1 = 0 ;
30896 PyObject *swig_obj[1] ;
30897
30898 if (!args) SWIG_fail;
30899 swig_obj[0] = args;
30900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30901 if (!SWIG_IsOK(res1)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30903 }
30904 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30905 {
30906 PyThreadState* __tstate = wxPyBeginAllowThreads();
30907 result = (bool)(arg1)->DeleteAllColumns();
30908 wxPyEndAllowThreads(__tstate);
30909 if (PyErr_Occurred()) SWIG_fail;
30910 }
30911 {
30912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30913 }
30914 return resultobj;
30915fail:
30916 return NULL;
b411df4a
RD
30917}
30918
30919
1bd55598
RD
30920SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30921 PyObject *resultobj = 0;
30922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30923 void *argp1 = 0 ;
30924 int res1 = 0 ;
30925 PyObject *swig_obj[1] ;
30926
30927 if (!args) SWIG_fail;
30928 swig_obj[0] = args;
30929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30930 if (!SWIG_IsOK(res1)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30932 }
30933 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30934 {
30935 PyThreadState* __tstate = wxPyBeginAllowThreads();
30936 (arg1)->ClearAll();
30937 wxPyEndAllowThreads(__tstate);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 }
30940 resultobj = SWIG_Py_Void();
30941 return resultobj;
30942fail:
30943 return NULL;
30944}
30945
30946
30947SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30948 PyObject *resultobj = 0;
30949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30950 long arg2 ;
30951 void *argp1 = 0 ;
30952 int res1 = 0 ;
30953 long val2 ;
30954 int ecode2 = 0 ;
30955 PyObject * obj0 = 0 ;
30956 PyObject * obj1 = 0 ;
30957 char * kwnames[] = {
30958 (char *) "self",(char *) "item", NULL
30959 };
30960
30961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30963 if (!SWIG_IsOK(res1)) {
30964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30965 }
30966 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30967 ecode2 = SWIG_AsVal_long(obj1, &val2);
30968 if (!SWIG_IsOK(ecode2)) {
30969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30970 }
30971 arg2 = static_cast< long >(val2);
30972 {
30973 PyThreadState* __tstate = wxPyBeginAllowThreads();
30974 (arg1)->EditLabel(arg2);
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 resultobj = SWIG_Py_Void();
30979 return resultobj;
30980fail:
30981 return NULL;
30982}
30983
30984
30985SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30986 PyObject *resultobj = 0;
30987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30988 long arg2 ;
30989 bool result;
30990 void *argp1 = 0 ;
30991 int res1 = 0 ;
30992 long val2 ;
30993 int ecode2 = 0 ;
30994 PyObject * obj0 = 0 ;
30995 PyObject * obj1 = 0 ;
30996 char * kwnames[] = {
30997 (char *) "self",(char *) "item", NULL
30998 };
30999
31000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31002 if (!SWIG_IsOK(res1)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31004 }
31005 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31006 ecode2 = SWIG_AsVal_long(obj1, &val2);
31007 if (!SWIG_IsOK(ecode2)) {
31008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31009 }
31010 arg2 = static_cast< long >(val2);
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (bool)(arg1)->EnsureVisible(arg2);
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 {
31018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31019 }
31020 return resultobj;
31021fail:
31022 return NULL;
31023}
31024
31025
31026SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31027 PyObject *resultobj = 0;
31028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31029 long arg2 ;
31030 wxString *arg3 = 0 ;
31031 bool arg4 = (bool) false ;
31032 long result;
31033 void *argp1 = 0 ;
31034 int res1 = 0 ;
31035 long val2 ;
31036 int ecode2 = 0 ;
31037 bool temp3 = false ;
31038 bool val4 ;
31039 int ecode4 = 0 ;
31040 PyObject * obj0 = 0 ;
31041 PyObject * obj1 = 0 ;
31042 PyObject * obj2 = 0 ;
31043 PyObject * obj3 = 0 ;
31044 char * kwnames[] = {
31045 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31046 };
31047
31048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31050 if (!SWIG_IsOK(res1)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31052 }
31053 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31054 ecode2 = SWIG_AsVal_long(obj1, &val2);
31055 if (!SWIG_IsOK(ecode2)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31057 }
31058 arg2 = static_cast< long >(val2);
31059 {
31060 arg3 = wxString_in_helper(obj2);
31061 if (arg3 == NULL) SWIG_fail;
31062 temp3 = true;
31063 }
31064 if (obj3) {
31065 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31066 if (!SWIG_IsOK(ecode4)) {
31067 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31068 }
31069 arg4 = static_cast< bool >(val4);
31070 }
31071 {
31072 PyThreadState* __tstate = wxPyBeginAllowThreads();
31073 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31074 wxPyEndAllowThreads(__tstate);
31075 if (PyErr_Occurred()) SWIG_fail;
31076 }
31077 resultobj = SWIG_From_long(static_cast< long >(result));
31078 {
31079 if (temp3)
31080 delete arg3;
31081 }
31082 return resultobj;
31083fail:
31084 {
31085 if (temp3)
31086 delete arg3;
31087 }
31088 return NULL;
31089}
31090
31091
31092SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31093 PyObject *resultobj = 0;
31094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31095 long arg2 ;
31096 long arg3 ;
31097 long result;
31098 void *argp1 = 0 ;
31099 int res1 = 0 ;
31100 long val2 ;
31101 int ecode2 = 0 ;
31102 long val3 ;
31103 int ecode3 = 0 ;
31104 PyObject * obj0 = 0 ;
31105 PyObject * obj1 = 0 ;
31106 PyObject * obj2 = 0 ;
31107 char * kwnames[] = {
31108 (char *) "self",(char *) "start",(char *) "data", NULL
31109 };
31110
31111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31113 if (!SWIG_IsOK(res1)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31115 }
31116 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31117 ecode2 = SWIG_AsVal_long(obj1, &val2);
31118 if (!SWIG_IsOK(ecode2)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31120 }
31121 arg2 = static_cast< long >(val2);
31122 ecode3 = SWIG_AsVal_long(obj2, &val3);
31123 if (!SWIG_IsOK(ecode3)) {
31124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31125 }
31126 arg3 = static_cast< long >(val3);
31127 {
31128 PyThreadState* __tstate = wxPyBeginAllowThreads();
31129 result = (long)(arg1)->FindItem(arg2,arg3);
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 resultobj = SWIG_From_long(static_cast< long >(result));
31134 return resultobj;
31135fail:
31136 return NULL;
31137}
31138
31139
31140SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31141 PyObject *resultobj = 0;
31142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31143 long arg2 ;
31144 wxPoint *arg3 = 0 ;
31145 int arg4 ;
31146 long result;
31147 void *argp1 = 0 ;
31148 int res1 = 0 ;
31149 long val2 ;
31150 int ecode2 = 0 ;
31151 wxPoint temp3 ;
31152 int val4 ;
31153 int ecode4 = 0 ;
31154 PyObject * obj0 = 0 ;
31155 PyObject * obj1 = 0 ;
31156 PyObject * obj2 = 0 ;
31157 PyObject * obj3 = 0 ;
31158 char * kwnames[] = {
31159 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31160 };
31161
31162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31164 if (!SWIG_IsOK(res1)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31166 }
31167 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31168 ecode2 = SWIG_AsVal_long(obj1, &val2);
31169 if (!SWIG_IsOK(ecode2)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31171 }
31172 arg2 = static_cast< long >(val2);
31173 {
31174 arg3 = &temp3;
31175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31176 }
31177 ecode4 = SWIG_AsVal_int(obj3, &val4);
31178 if (!SWIG_IsOK(ecode4)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31180 }
31181 arg4 = static_cast< int >(val4);
31182 {
31183 PyThreadState* __tstate = wxPyBeginAllowThreads();
31184 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31185 wxPyEndAllowThreads(__tstate);
31186 if (PyErr_Occurred()) SWIG_fail;
31187 }
31188 resultobj = SWIG_From_long(static_cast< long >(result));
31189 return resultobj;
31190fail:
31191 return NULL;
31192}
31193
31194
31195SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31196 PyObject *resultobj = 0;
31197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31198 wxPoint *arg2 = 0 ;
31199 int *arg3 = 0 ;
31200 long result;
31201 void *argp1 = 0 ;
31202 int res1 = 0 ;
31203 wxPoint temp2 ;
31204 int temp3 ;
31205 int res3 = SWIG_TMPOBJ ;
31206 PyObject * obj0 = 0 ;
31207 PyObject * obj1 = 0 ;
31208 char * kwnames[] = {
31209 (char *) "self",(char *) "point", NULL
31210 };
31211
31212 arg3 = &temp3;
31213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31215 if (!SWIG_IsOK(res1)) {
31216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31217 }
31218 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31219 {
31220 arg2 = &temp2;
31221 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31222 }
31223 {
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31226 wxPyEndAllowThreads(__tstate);
31227 if (PyErr_Occurred()) SWIG_fail;
31228 }
31229 resultobj = SWIG_From_long(static_cast< long >(result));
31230 if (SWIG_IsTmpObj(res3)) {
31231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31232 } else {
31233 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31234 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31235 }
31236 return resultobj;
31237fail:
31238 return NULL;
31239}
31240
31241
704eda0c
RD
31242SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31243 PyObject *resultobj = 0;
31244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31245 wxPoint *arg2 = 0 ;
31246 int *arg3 = 0 ;
31247 long *arg4 = (long *) 0 ;
31248 long result;
31249 void *argp1 = 0 ;
31250 int res1 = 0 ;
31251 wxPoint temp2 ;
31252 int temp3 ;
31253 int res3 = SWIG_TMPOBJ ;
31254 long temp4 ;
31255 int res4 = SWIG_TMPOBJ ;
31256 PyObject * obj0 = 0 ;
31257 PyObject * obj1 = 0 ;
31258 char * kwnames[] = {
31259 (char *) "self",(char *) "point", NULL
31260 };
31261
31262 arg3 = &temp3;
31263 arg4 = &temp4;
31264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31266 if (!SWIG_IsOK(res1)) {
31267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31268 }
31269 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31270 {
31271 arg2 = &temp2;
31272 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31273 }
31274 {
31275 PyThreadState* __tstate = wxPyBeginAllowThreads();
31276 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31277 wxPyEndAllowThreads(__tstate);
31278 if (PyErr_Occurred()) SWIG_fail;
31279 }
31280 resultobj = SWIG_From_long(static_cast< long >(result));
31281 if (SWIG_IsTmpObj(res3)) {
31282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31283 } else {
31284 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31286 }
31287 if (SWIG_IsTmpObj(res4)) {
31288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31289 } else {
31290 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31291 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31292 }
31293 return resultobj;
31294fail:
31295 return NULL;
31296}
31297
31298
1bd55598
RD
31299SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31300 PyObject *resultobj = 0;
31301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31302 wxListItem *arg2 = 0 ;
31303 long result;
31304 void *argp1 = 0 ;
31305 int res1 = 0 ;
31306 void *argp2 = 0 ;
31307 int res2 = 0 ;
31308 PyObject * obj0 = 0 ;
31309 PyObject * obj1 = 0 ;
31310 char * kwnames[] = {
31311 (char *) "self",(char *) "info", NULL
31312 };
31313
31314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31316 if (!SWIG_IsOK(res1)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31318 }
31319 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31320 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31321 if (!SWIG_IsOK(res2)) {
31322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31323 }
31324 if (!argp2) {
31325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31326 }
31327 arg2 = reinterpret_cast< wxListItem * >(argp2);
31328 {
31329 PyThreadState* __tstate = wxPyBeginAllowThreads();
31330 result = (long)(arg1)->InsertItem(*arg2);
31331 wxPyEndAllowThreads(__tstate);
31332 if (PyErr_Occurred()) SWIG_fail;
31333 }
31334 resultobj = SWIG_From_long(static_cast< long >(result));
31335 return resultobj;
31336fail:
31337 return NULL;
31338}
31339
31340
31341SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31342 PyObject *resultobj = 0;
31343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31344 long arg2 ;
31345 wxString *arg3 = 0 ;
31346 int arg4 = (int) -1 ;
31347 long result;
31348 void *argp1 = 0 ;
31349 int res1 = 0 ;
31350 long val2 ;
31351 int ecode2 = 0 ;
31352 bool temp3 = false ;
31353 int val4 ;
31354 int ecode4 = 0 ;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 PyObject * obj2 = 0 ;
31358 PyObject * obj3 = 0 ;
31359 char * kwnames[] = {
31360 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31361 };
31362
31363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31365 if (!SWIG_IsOK(res1)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31367 }
31368 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31369 ecode2 = SWIG_AsVal_long(obj1, &val2);
31370 if (!SWIG_IsOK(ecode2)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31372 }
31373 arg2 = static_cast< long >(val2);
31374 {
31375 arg3 = wxString_in_helper(obj2);
31376 if (arg3 == NULL) SWIG_fail;
31377 temp3 = true;
31378 }
31379 if (obj3) {
31380 ecode4 = SWIG_AsVal_int(obj3, &val4);
31381 if (!SWIG_IsOK(ecode4)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31383 }
31384 arg4 = static_cast< int >(val4);
31385 }
31386 {
31387 PyThreadState* __tstate = wxPyBeginAllowThreads();
31388 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31389 wxPyEndAllowThreads(__tstate);
31390 if (PyErr_Occurred()) SWIG_fail;
31391 }
31392 resultobj = SWIG_From_long(static_cast< long >(result));
31393 {
31394 if (temp3)
31395 delete arg3;
31396 }
31397 return resultobj;
31398fail:
31399 {
31400 if (temp3)
31401 delete arg3;
31402 }
31403 return NULL;
31404}
31405
31406
31407SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31408 PyObject *resultobj = 0;
31409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31410 long arg2 ;
31411 int arg3 ;
31412 long result;
31413 void *argp1 = 0 ;
31414 int res1 = 0 ;
31415 long val2 ;
31416 int ecode2 = 0 ;
31417 int val3 ;
31418 int ecode3 = 0 ;
31419 PyObject * obj0 = 0 ;
31420 PyObject * obj1 = 0 ;
31421 PyObject * obj2 = 0 ;
31422 char * kwnames[] = {
31423 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31424 };
31425
31426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31428 if (!SWIG_IsOK(res1)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31430 }
31431 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31432 ecode2 = SWIG_AsVal_long(obj1, &val2);
31433 if (!SWIG_IsOK(ecode2)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31435 }
31436 arg2 = static_cast< long >(val2);
31437 ecode3 = SWIG_AsVal_int(obj2, &val3);
31438 if (!SWIG_IsOK(ecode3)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31440 }
31441 arg3 = static_cast< int >(val3);
31442 {
31443 PyThreadState* __tstate = wxPyBeginAllowThreads();
31444 result = (long)(arg1)->InsertItem(arg2,arg3);
31445 wxPyEndAllowThreads(__tstate);
31446 if (PyErr_Occurred()) SWIG_fail;
31447 }
31448 resultobj = SWIG_From_long(static_cast< long >(result));
31449 return resultobj;
31450fail:
31451 return NULL;
31452}
31453
31454
31455SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31456 PyObject *resultobj = 0;
31457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31458 long arg2 ;
31459 wxString *arg3 = 0 ;
31460 int arg4 ;
31461 long result;
31462 void *argp1 = 0 ;
31463 int res1 = 0 ;
31464 long val2 ;
31465 int ecode2 = 0 ;
31466 bool temp3 = false ;
31467 int val4 ;
31468 int ecode4 = 0 ;
31469 PyObject * obj0 = 0 ;
31470 PyObject * obj1 = 0 ;
31471 PyObject * obj2 = 0 ;
31472 PyObject * obj3 = 0 ;
31473 char * kwnames[] = {
31474 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31475 };
31476
31477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31479 if (!SWIG_IsOK(res1)) {
31480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31481 }
31482 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31483 ecode2 = SWIG_AsVal_long(obj1, &val2);
31484 if (!SWIG_IsOK(ecode2)) {
31485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31486 }
31487 arg2 = static_cast< long >(val2);
31488 {
31489 arg3 = wxString_in_helper(obj2);
31490 if (arg3 == NULL) SWIG_fail;
31491 temp3 = true;
31492 }
31493 ecode4 = SWIG_AsVal_int(obj3, &val4);
31494 if (!SWIG_IsOK(ecode4)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31496 }
31497 arg4 = static_cast< int >(val4);
31498 {
31499 PyThreadState* __tstate = wxPyBeginAllowThreads();
31500 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
31504 resultobj = SWIG_From_long(static_cast< long >(result));
31505 {
31506 if (temp3)
31507 delete arg3;
31508 }
31509 return resultobj;
31510fail:
31511 {
31512 if (temp3)
31513 delete arg3;
31514 }
31515 return NULL;
31516}
31517
31518
31519SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31520 PyObject *resultobj = 0;
31521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31522 long arg2 ;
31523 wxListItem *arg3 = 0 ;
31524 long result;
31525 void *argp1 = 0 ;
31526 int res1 = 0 ;
31527 long val2 ;
31528 int ecode2 = 0 ;
31529 void *argp3 = 0 ;
31530 int res3 = 0 ;
31531 PyObject * obj0 = 0 ;
31532 PyObject * obj1 = 0 ;
31533 PyObject * obj2 = 0 ;
31534 char * kwnames[] = {
31535 (char *) "self",(char *) "col",(char *) "info", NULL
31536 };
31537
31538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31540 if (!SWIG_IsOK(res1)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31542 }
31543 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31544 ecode2 = SWIG_AsVal_long(obj1, &val2);
31545 if (!SWIG_IsOK(ecode2)) {
31546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31547 }
31548 arg2 = static_cast< long >(val2);
31549 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31550 if (!SWIG_IsOK(res3)) {
31551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31552 }
31553 if (!argp3) {
31554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31555 }
31556 arg3 = reinterpret_cast< wxListItem * >(argp3);
31557 {
31558 PyThreadState* __tstate = wxPyBeginAllowThreads();
31559 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31560 wxPyEndAllowThreads(__tstate);
31561 if (PyErr_Occurred()) SWIG_fail;
31562 }
31563 resultobj = SWIG_From_long(static_cast< long >(result));
31564 return resultobj;
31565fail:
31566 return NULL;
31567}
31568
31569
31570SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31571 PyObject *resultobj = 0;
31572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31573 long arg2 ;
31574 wxString *arg3 = 0 ;
31575 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31576 int arg5 = (int) -1 ;
31577 long result;
31578 void *argp1 = 0 ;
31579 int res1 = 0 ;
31580 long val2 ;
31581 int ecode2 = 0 ;
31582 bool temp3 = false ;
31583 int val4 ;
31584 int ecode4 = 0 ;
31585 int val5 ;
31586 int ecode5 = 0 ;
31587 PyObject * obj0 = 0 ;
31588 PyObject * obj1 = 0 ;
31589 PyObject * obj2 = 0 ;
31590 PyObject * obj3 = 0 ;
31591 PyObject * obj4 = 0 ;
31592 char * kwnames[] = {
31593 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31594 };
31595
31596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31598 if (!SWIG_IsOK(res1)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31600 }
31601 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31602 ecode2 = SWIG_AsVal_long(obj1, &val2);
31603 if (!SWIG_IsOK(ecode2)) {
31604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31605 }
31606 arg2 = static_cast< long >(val2);
31607 {
31608 arg3 = wxString_in_helper(obj2);
31609 if (arg3 == NULL) SWIG_fail;
31610 temp3 = true;
31611 }
31612 if (obj3) {
31613 ecode4 = SWIG_AsVal_int(obj3, &val4);
31614 if (!SWIG_IsOK(ecode4)) {
31615 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31616 }
31617 arg4 = static_cast< int >(val4);
31618 }
31619 if (obj4) {
31620 ecode5 = SWIG_AsVal_int(obj4, &val5);
31621 if (!SWIG_IsOK(ecode5)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31623 }
31624 arg5 = static_cast< int >(val5);
31625 }
31626 {
31627 PyThreadState* __tstate = wxPyBeginAllowThreads();
31628 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31629 wxPyEndAllowThreads(__tstate);
31630 if (PyErr_Occurred()) SWIG_fail;
31631 }
31632 resultobj = SWIG_From_long(static_cast< long >(result));
31633 {
31634 if (temp3)
31635 delete arg3;
31636 }
31637 return resultobj;
31638fail:
31639 {
31640 if (temp3)
31641 delete arg3;
31642 }
31643 return NULL;
31644}
31645
31646
31647SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31648 PyObject *resultobj = 0;
31649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31650 long arg2 ;
31651 void *argp1 = 0 ;
31652 int res1 = 0 ;
31653 long val2 ;
31654 int ecode2 = 0 ;
31655 PyObject * obj0 = 0 ;
31656 PyObject * obj1 = 0 ;
31657 char * kwnames[] = {
31658 (char *) "self",(char *) "count", NULL
31659 };
31660
31661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31663 if (!SWIG_IsOK(res1)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31665 }
31666 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31667 ecode2 = SWIG_AsVal_long(obj1, &val2);
31668 if (!SWIG_IsOK(ecode2)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31670 }
31671 arg2 = static_cast< long >(val2);
31672 {
31673 PyThreadState* __tstate = wxPyBeginAllowThreads();
31674 (arg1)->SetItemCount(arg2);
31675 wxPyEndAllowThreads(__tstate);
31676 if (PyErr_Occurred()) SWIG_fail;
31677 }
31678 resultobj = SWIG_Py_Void();
31679 return resultobj;
31680fail:
31681 return NULL;
31682}
31683
31684
31685SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31686 PyObject *resultobj = 0;
31687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31688 int arg2 ;
31689 int arg3 ;
31690 bool result;
31691 void *argp1 = 0 ;
31692 int res1 = 0 ;
31693 int val2 ;
31694 int ecode2 = 0 ;
31695 int val3 ;
31696 int ecode3 = 0 ;
31697 PyObject * obj0 = 0 ;
31698 PyObject * obj1 = 0 ;
31699 PyObject * obj2 = 0 ;
31700 char * kwnames[] = {
31701 (char *) "self",(char *) "dx",(char *) "dy", NULL
31702 };
31703
31704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31706 if (!SWIG_IsOK(res1)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31708 }
31709 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31710 ecode2 = SWIG_AsVal_int(obj1, &val2);
31711 if (!SWIG_IsOK(ecode2)) {
31712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31713 }
31714 arg2 = static_cast< int >(val2);
31715 ecode3 = SWIG_AsVal_int(obj2, &val3);
31716 if (!SWIG_IsOK(ecode3)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31718 }
31719 arg3 = static_cast< int >(val3);
31720 {
31721 PyThreadState* __tstate = wxPyBeginAllowThreads();
31722 result = (bool)(arg1)->ScrollList(arg2,arg3);
31723 wxPyEndAllowThreads(__tstate);
31724 if (PyErr_Occurred()) SWIG_fail;
31725 }
31726 {
31727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31728 }
31729 return resultobj;
31730fail:
31731 return NULL;
31732}
31733
31734
31735SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31736 PyObject *resultobj = 0;
31737 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31738 long arg2 ;
31739 wxColour *arg3 = 0 ;
31740 void *argp1 = 0 ;
31741 int res1 = 0 ;
31742 long val2 ;
31743 int ecode2 = 0 ;
31744 wxColour temp3 ;
31745 PyObject * obj0 = 0 ;
31746 PyObject * obj1 = 0 ;
31747 PyObject * obj2 = 0 ;
31748 char * kwnames[] = {
31749 (char *) "self",(char *) "item",(char *) "col", NULL
31750 };
31751
31752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31754 if (!SWIG_IsOK(res1)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31756 }
31757 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31758 ecode2 = SWIG_AsVal_long(obj1, &val2);
31759 if (!SWIG_IsOK(ecode2)) {
31760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31761 }
31762 arg2 = static_cast< long >(val2);
31763 {
31764 arg3 = &temp3;
31765 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31766 }
31767 {
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 resultobj = SWIG_Py_Void();
31774 return resultobj;
31775fail:
31776 return NULL;
31777}
31778
31779
31780SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31781 PyObject *resultobj = 0;
31782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31783 long arg2 ;
31784 wxColour result;
31785 void *argp1 = 0 ;
31786 int res1 = 0 ;
31787 long val2 ;
31788 int ecode2 = 0 ;
31789 PyObject * obj0 = 0 ;
31790 PyObject * obj1 = 0 ;
31791 char * kwnames[] = {
31792 (char *) "self",(char *) "item", NULL
31793 };
31794
31795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31797 if (!SWIG_IsOK(res1)) {
31798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31799 }
31800 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31801 ecode2 = SWIG_AsVal_long(obj1, &val2);
31802 if (!SWIG_IsOK(ecode2)) {
31803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31804 }
31805 arg2 = static_cast< long >(val2);
31806 {
31807 PyThreadState* __tstate = wxPyBeginAllowThreads();
31808 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31809 wxPyEndAllowThreads(__tstate);
31810 if (PyErr_Occurred()) SWIG_fail;
31811 }
31812 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31813 return resultobj;
31814fail:
31815 return NULL;
31816}
31817
31818
31819SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31820 PyObject *resultobj = 0;
31821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31822 long arg2 ;
31823 wxColour *arg3 = 0 ;
31824 void *argp1 = 0 ;
31825 int res1 = 0 ;
31826 long val2 ;
31827 int ecode2 = 0 ;
31828 wxColour temp3 ;
31829 PyObject * obj0 = 0 ;
31830 PyObject * obj1 = 0 ;
31831 PyObject * obj2 = 0 ;
31832 char * kwnames[] = {
31833 (char *) "self",(char *) "item",(char *) "col", NULL
31834 };
31835
31836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31838 if (!SWIG_IsOK(res1)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31840 }
31841 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31842 ecode2 = SWIG_AsVal_long(obj1, &val2);
31843 if (!SWIG_IsOK(ecode2)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31845 }
31846 arg2 = static_cast< long >(val2);
31847 {
31848 arg3 = &temp3;
31849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31850 }
31851 {
31852 PyThreadState* __tstate = wxPyBeginAllowThreads();
31853 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31854 wxPyEndAllowThreads(__tstate);
31855 if (PyErr_Occurred()) SWIG_fail;
31856 }
31857 resultobj = SWIG_Py_Void();
31858 return resultobj;
31859fail:
31860 return NULL;
31861}
31862
31863
31864SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31865 PyObject *resultobj = 0;
31866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31867 long arg2 ;
31868 wxColour result;
31869 void *argp1 = 0 ;
31870 int res1 = 0 ;
31871 long val2 ;
31872 int ecode2 = 0 ;
31873 PyObject * obj0 = 0 ;
31874 PyObject * obj1 = 0 ;
31875 char * kwnames[] = {
31876 (char *) "self",(char *) "item", NULL
31877 };
31878
31879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31881 if (!SWIG_IsOK(res1)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31883 }
31884 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31885 ecode2 = SWIG_AsVal_long(obj1, &val2);
31886 if (!SWIG_IsOK(ecode2)) {
31887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31888 }
31889 arg2 = static_cast< long >(val2);
31890 {
31891 PyThreadState* __tstate = wxPyBeginAllowThreads();
31892 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31893 wxPyEndAllowThreads(__tstate);
31894 if (PyErr_Occurred()) SWIG_fail;
31895 }
31896 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31897 return resultobj;
31898fail:
31899 return NULL;
31900}
31901
31902
31903SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31904 PyObject *resultobj = 0;
31905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31906 long arg2 ;
31907 wxFont *arg3 = 0 ;
31908 void *argp1 = 0 ;
31909 int res1 = 0 ;
31910 long val2 ;
31911 int ecode2 = 0 ;
31912 void *argp3 = 0 ;
31913 int res3 = 0 ;
31914 PyObject * obj0 = 0 ;
31915 PyObject * obj1 = 0 ;
31916 PyObject * obj2 = 0 ;
31917 char * kwnames[] = {
31918 (char *) "self",(char *) "item",(char *) "f", NULL
31919 };
31920
31921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31923 if (!SWIG_IsOK(res1)) {
31924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31925 }
31926 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31927 ecode2 = SWIG_AsVal_long(obj1, &val2);
31928 if (!SWIG_IsOK(ecode2)) {
31929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31930 }
31931 arg2 = static_cast< long >(val2);
31932 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31933 if (!SWIG_IsOK(res3)) {
31934 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31935 }
31936 if (!argp3) {
31937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31938 }
31939 arg3 = reinterpret_cast< wxFont * >(argp3);
31940 {
31941 PyThreadState* __tstate = wxPyBeginAllowThreads();
31942 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31943 wxPyEndAllowThreads(__tstate);
31944 if (PyErr_Occurred()) SWIG_fail;
31945 }
31946 resultobj = SWIG_Py_Void();
31947 return resultobj;
31948fail:
31949 return NULL;
31950}
31951
31952
31953SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31954 PyObject *resultobj = 0;
31955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31956 long arg2 ;
31957 wxFont result;
31958 void *argp1 = 0 ;
31959 int res1 = 0 ;
31960 long val2 ;
31961 int ecode2 = 0 ;
31962 PyObject * obj0 = 0 ;
31963 PyObject * obj1 = 0 ;
31964 char * kwnames[] = {
31965 (char *) "self",(char *) "item", NULL
31966 };
31967
31968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31970 if (!SWIG_IsOK(res1)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31972 }
31973 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31974 ecode2 = SWIG_AsVal_long(obj1, &val2);
31975 if (!SWIG_IsOK(ecode2)) {
31976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31977 }
31978 arg2 = static_cast< long >(val2);
31979 {
31980 PyThreadState* __tstate = wxPyBeginAllowThreads();
31981 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31982 wxPyEndAllowThreads(__tstate);
31983 if (PyErr_Occurred()) SWIG_fail;
31984 }
31985 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31986 return resultobj;
31987fail:
31988 return NULL;
31989}
31990
31991
31992SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31993 PyObject *resultobj = 0;
31994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31995 PyObject *arg2 = (PyObject *) 0 ;
31996 bool result;
31997 void *argp1 = 0 ;
31998 int res1 = 0 ;
31999 PyObject * obj0 = 0 ;
32000 PyObject * obj1 = 0 ;
32001 char * kwnames[] = {
32002 (char *) "self",(char *) "func", NULL
32003 };
32004
32005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32007 if (!SWIG_IsOK(res1)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32009 }
32010 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32011 arg2 = obj1;
32012 {
32013 PyThreadState* __tstate = wxPyBeginAllowThreads();
32014 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32015 wxPyEndAllowThreads(__tstate);
32016 if (PyErr_Occurred()) SWIG_fail;
32017 }
32018 {
32019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32020 }
32021 return resultobj;
32022fail:
32023 return NULL;
b411df4a
RD
32024}
32025
32026
1bd55598
RD
32027SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32028 PyObject *resultobj = 0;
32029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32030 wxWindow *result = 0 ;
32031 void *argp1 = 0 ;
32032 int res1 = 0 ;
32033 PyObject *swig_obj[1] ;
32034
32035 if (!args) SWIG_fail;
32036 swig_obj[0] = args;
32037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32038 if (!SWIG_IsOK(res1)) {
32039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32040 }
32041 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32042 {
32043 PyThreadState* __tstate = wxPyBeginAllowThreads();
32044 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32045 wxPyEndAllowThreads(__tstate);
32046 if (PyErr_Occurred()) SWIG_fail;
32047 }
32048 {
32049 resultobj = wxPyMake_wxObject(result, 0);
32050 }
32051 return resultobj;
32052fail:
32053 return NULL;
7993762b
RD
32054}
32055
32056
1bd55598
RD
32057SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32058 PyObject *resultobj = 0;
32059 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32060 SwigValueWrapper<wxVisualAttributes > result;
32061 int val1 ;
32062 int ecode1 = 0 ;
32063 PyObject * obj0 = 0 ;
32064 char * kwnames[] = {
32065 (char *) "variant", NULL
32066 };
32067
32068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32069 if (obj0) {
32070 ecode1 = SWIG_AsVal_int(obj0, &val1);
32071 if (!SWIG_IsOK(ecode1)) {
32072 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32073 }
32074 arg1 = static_cast< wxWindowVariant >(val1);
32075 }
32076 {
32077 if (!wxPyCheckForApp()) SWIG_fail;
32078 PyThreadState* __tstate = wxPyBeginAllowThreads();
32079 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32080 wxPyEndAllowThreads(__tstate);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 }
32083 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32084 return resultobj;
32085fail:
32086 return NULL;
32087}
32088
32089
32090SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32091 PyObject *obj;
32092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32094 return SWIG_Py_Void();
32095}
32096
32097SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32098 return SWIG_Python_InitShadowInstance(args);
32099}
32100
32101SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32102 PyObject *resultobj = 0;
32103 wxWindow *arg1 = (wxWindow *) 0 ;
32104 int arg2 = (int) -1 ;
32105 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32106 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32107 wxSize const &arg4_defvalue = wxDefaultSize ;
32108 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32109 long arg5 = (long) wxLC_REPORT ;
32110 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32111 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32112 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32113 wxString *arg7 = (wxString *) &arg7_defvalue ;
32114 wxListView *result = 0 ;
32115 void *argp1 = 0 ;
32116 int res1 = 0 ;
32117 int val2 ;
32118 int ecode2 = 0 ;
32119 wxPoint temp3 ;
32120 wxSize temp4 ;
32121 long val5 ;
32122 int ecode5 = 0 ;
32123 void *argp6 = 0 ;
32124 int res6 = 0 ;
32125 bool temp7 = false ;
32126 PyObject * obj0 = 0 ;
32127 PyObject * obj1 = 0 ;
32128 PyObject * obj2 = 0 ;
32129 PyObject * obj3 = 0 ;
32130 PyObject * obj4 = 0 ;
32131 PyObject * obj5 = 0 ;
32132 PyObject * obj6 = 0 ;
32133 char * kwnames[] = {
32134 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32135 };
32136
32137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32139 if (!SWIG_IsOK(res1)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32141 }
32142 arg1 = reinterpret_cast< wxWindow * >(argp1);
32143 if (obj1) {
32144 ecode2 = SWIG_AsVal_int(obj1, &val2);
32145 if (!SWIG_IsOK(ecode2)) {
32146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32147 }
32148 arg2 = static_cast< int >(val2);
32149 }
32150 if (obj2) {
b411df4a 32151 {
1bd55598
RD
32152 arg3 = &temp3;
32153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
b411df4a 32154 }
1bd55598
RD
32155 }
32156 if (obj3) {
32157 {
32158 arg4 = &temp4;
32159 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
b411df4a 32160 }
1bd55598
RD
32161 }
32162 if (obj4) {
32163 ecode5 = SWIG_AsVal_long(obj4, &val5);
32164 if (!SWIG_IsOK(ecode5)) {
32165 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32166 }
32167 arg5 = static_cast< long >(val5);
32168 }
32169 if (obj5) {
32170 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32171 if (!SWIG_IsOK(res6)) {
32172 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 32173 }
1bd55598
RD
32174 if (!argp6) {
32175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
b411df4a 32176 }
1bd55598
RD
32177 arg6 = reinterpret_cast< wxValidator * >(argp6);
32178 }
32179 if (obj6) {
b411df4a 32180 {
1bd55598
RD
32181 arg7 = wxString_in_helper(obj6);
32182 if (arg7 == NULL) SWIG_fail;
32183 temp7 = true;
b411df4a 32184 }
1bd55598
RD
32185 }
32186 {
32187 if (!wxPyCheckForApp()) SWIG_fail;
32188 PyThreadState* __tstate = wxPyBeginAllowThreads();
32189 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32190 wxPyEndAllowThreads(__tstate);
32191 if (PyErr_Occurred()) SWIG_fail;
32192 }
32193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32194 {
32195 if (temp7)
32196 delete arg7;
32197 }
32198 return resultobj;
32199fail:
32200 {
32201 if (temp7)
32202 delete arg7;
32203 }
32204 return NULL;
b411df4a
RD
32205}
32206
32207
1bd55598
RD
32208SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32209 PyObject *resultobj = 0;
32210 wxListView *result = 0 ;
32211
32212 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32213 {
32214 if (!wxPyCheckForApp()) SWIG_fail;
32215 PyThreadState* __tstate = wxPyBeginAllowThreads();
32216 result = (wxListView *)new wxListView();
32217 wxPyEndAllowThreads(__tstate);
32218 if (PyErr_Occurred()) SWIG_fail;
32219 }
32220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32221 return resultobj;
32222fail:
32223 return NULL;
32224}
32225
32226
32227SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32228 PyObject *resultobj = 0;
32229 wxListView *arg1 = (wxListView *) 0 ;
32230 wxWindow *arg2 = (wxWindow *) 0 ;
32231 int arg3 = (int) -1 ;
32232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32234 wxSize const &arg5_defvalue = wxDefaultSize ;
32235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32236 long arg6 = (long) wxLC_REPORT ;
32237 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32238 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32239 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32240 wxString *arg8 = (wxString *) &arg8_defvalue ;
32241 bool result;
32242 void *argp1 = 0 ;
32243 int res1 = 0 ;
32244 void *argp2 = 0 ;
32245 int res2 = 0 ;
32246 int val3 ;
32247 int ecode3 = 0 ;
32248 wxPoint temp4 ;
32249 wxSize temp5 ;
32250 long val6 ;
32251 int ecode6 = 0 ;
32252 void *argp7 = 0 ;
32253 int res7 = 0 ;
32254 bool temp8 = false ;
32255 PyObject * obj0 = 0 ;
32256 PyObject * obj1 = 0 ;
32257 PyObject * obj2 = 0 ;
32258 PyObject * obj3 = 0 ;
32259 PyObject * obj4 = 0 ;
32260 PyObject * obj5 = 0 ;
32261 PyObject * obj6 = 0 ;
32262 PyObject * obj7 = 0 ;
32263 char * kwnames[] = {
32264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32265 };
32266
32267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32269 if (!SWIG_IsOK(res1)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32271 }
32272 arg1 = reinterpret_cast< wxListView * >(argp1);
32273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32274 if (!SWIG_IsOK(res2)) {
32275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32276 }
32277 arg2 = reinterpret_cast< wxWindow * >(argp2);
32278 if (obj2) {
32279 ecode3 = SWIG_AsVal_int(obj2, &val3);
32280 if (!SWIG_IsOK(ecode3)) {
32281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32282 }
32283 arg3 = static_cast< int >(val3);
32284 }
32285 if (obj3) {
d55e5bfc 32286 {
1bd55598
RD
32287 arg4 = &temp4;
32288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 32289 }
1bd55598
RD
32290 }
32291 if (obj4) {
36ed4f51 32292 {
1bd55598
RD
32293 arg5 = &temp5;
32294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 32295 }
1bd55598
RD
32296 }
32297 if (obj5) {
32298 ecode6 = SWIG_AsVal_long(obj5, &val6);
32299 if (!SWIG_IsOK(ecode6)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32301 }
32302 arg6 = static_cast< long >(val6);
32303 }
32304 if (obj6) {
32305 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32306 if (!SWIG_IsOK(res7)) {
32307 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 32308 }
1bd55598
RD
32309 if (!argp7) {
32310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32311 }
32312 arg7 = reinterpret_cast< wxValidator * >(argp7);
32313 }
32314 if (obj7) {
d55e5bfc 32315 {
1bd55598
RD
32316 arg8 = wxString_in_helper(obj7);
32317 if (arg8 == NULL) SWIG_fail;
32318 temp8 = true;
d55e5bfc 32319 }
1bd55598
RD
32320 }
32321 {
32322 PyThreadState* __tstate = wxPyBeginAllowThreads();
32323 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32324 wxPyEndAllowThreads(__tstate);
32325 if (PyErr_Occurred()) SWIG_fail;
32326 }
32327 {
32328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32329 }
32330 {
32331 if (temp8)
32332 delete arg8;
32333 }
32334 return resultobj;
32335fail:
32336 {
32337 if (temp8)
32338 delete arg8;
32339 }
32340 return NULL;
32341}
32342
32343
32344SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32345 PyObject *resultobj = 0;
32346 wxListView *arg1 = (wxListView *) 0 ;
32347 long arg2 ;
32348 bool arg3 = (bool) true ;
32349 void *argp1 = 0 ;
32350 int res1 = 0 ;
32351 long val2 ;
32352 int ecode2 = 0 ;
32353 bool val3 ;
32354 int ecode3 = 0 ;
32355 PyObject * obj0 = 0 ;
32356 PyObject * obj1 = 0 ;
32357 PyObject * obj2 = 0 ;
32358 char * kwnames[] = {
32359 (char *) "self",(char *) "n",(char *) "on", NULL
32360 };
32361
32362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32364 if (!SWIG_IsOK(res1)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32366 }
32367 arg1 = reinterpret_cast< wxListView * >(argp1);
32368 ecode2 = SWIG_AsVal_long(obj1, &val2);
32369 if (!SWIG_IsOK(ecode2)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32371 }
32372 arg2 = static_cast< long >(val2);
32373 if (obj2) {
32374 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32375 if (!SWIG_IsOK(ecode3)) {
32376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32377 }
32378 arg3 = static_cast< bool >(val3);
32379 }
32380 {
32381 PyThreadState* __tstate = wxPyBeginAllowThreads();
32382 (arg1)->Select(arg2,arg3);
32383 wxPyEndAllowThreads(__tstate);
32384 if (PyErr_Occurred()) SWIG_fail;
32385 }
32386 resultobj = SWIG_Py_Void();
32387 return resultobj;
32388fail:
32389 return NULL;
32390}
32391
32392
32393SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32394 PyObject *resultobj = 0;
32395 wxListView *arg1 = (wxListView *) 0 ;
32396 long arg2 ;
32397 void *argp1 = 0 ;
32398 int res1 = 0 ;
32399 long val2 ;
32400 int ecode2 = 0 ;
32401 PyObject * obj0 = 0 ;
32402 PyObject * obj1 = 0 ;
32403 char * kwnames[] = {
32404 (char *) "self",(char *) "index", NULL
32405 };
32406
32407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32409 if (!SWIG_IsOK(res1)) {
32410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32411 }
32412 arg1 = reinterpret_cast< wxListView * >(argp1);
32413 ecode2 = SWIG_AsVal_long(obj1, &val2);
32414 if (!SWIG_IsOK(ecode2)) {
32415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32416 }
32417 arg2 = static_cast< long >(val2);
32418 {
32419 PyThreadState* __tstate = wxPyBeginAllowThreads();
32420 (arg1)->Focus(arg2);
32421 wxPyEndAllowThreads(__tstate);
32422 if (PyErr_Occurred()) SWIG_fail;
32423 }
32424 resultobj = SWIG_Py_Void();
32425 return resultobj;
32426fail:
32427 return NULL;
d55e5bfc
RD
32428}
32429
32430
1bd55598
RD
32431SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32432 PyObject *resultobj = 0;
32433 wxListView *arg1 = (wxListView *) 0 ;
32434 long result;
32435 void *argp1 = 0 ;
32436 int res1 = 0 ;
32437 PyObject *swig_obj[1] ;
32438
32439 if (!args) SWIG_fail;
32440 swig_obj[0] = args;
32441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32442 if (!SWIG_IsOK(res1)) {
32443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32444 }
32445 arg1 = reinterpret_cast< wxListView * >(argp1);
32446 {
32447 PyThreadState* __tstate = wxPyBeginAllowThreads();
32448 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32449 wxPyEndAllowThreads(__tstate);
32450 if (PyErr_Occurred()) SWIG_fail;
32451 }
32452 resultobj = SWIG_From_long(static_cast< long >(result));
32453 return resultobj;
32454fail:
32455 return NULL;
32456}
32457
32458
32459SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32460 PyObject *resultobj = 0;
32461 wxListView *arg1 = (wxListView *) 0 ;
32462 long arg2 ;
32463 long result;
32464 void *argp1 = 0 ;
32465 int res1 = 0 ;
32466 long val2 ;
32467 int ecode2 = 0 ;
32468 PyObject * obj0 = 0 ;
32469 PyObject * obj1 = 0 ;
32470 char * kwnames[] = {
32471 (char *) "self",(char *) "item", NULL
32472 };
32473
32474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32476 if (!SWIG_IsOK(res1)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32478 }
32479 arg1 = reinterpret_cast< wxListView * >(argp1);
32480 ecode2 = SWIG_AsVal_long(obj1, &val2);
32481 if (!SWIG_IsOK(ecode2)) {
32482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32483 }
32484 arg2 = static_cast< long >(val2);
32485 {
32486 PyThreadState* __tstate = wxPyBeginAllowThreads();
32487 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32488 wxPyEndAllowThreads(__tstate);
32489 if (PyErr_Occurred()) SWIG_fail;
32490 }
32491 resultobj = SWIG_From_long(static_cast< long >(result));
32492 return resultobj;
32493fail:
32494 return NULL;
d55e5bfc
RD
32495}
32496
32497
1bd55598
RD
32498SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32499 PyObject *resultobj = 0;
32500 wxListView *arg1 = (wxListView *) 0 ;
32501 long result;
32502 void *argp1 = 0 ;
32503 int res1 = 0 ;
32504 PyObject *swig_obj[1] ;
32505
32506 if (!args) SWIG_fail;
32507 swig_obj[0] = args;
32508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32509 if (!SWIG_IsOK(res1)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32511 }
32512 arg1 = reinterpret_cast< wxListView * >(argp1);
32513 {
32514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32515 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32516 wxPyEndAllowThreads(__tstate);
32517 if (PyErr_Occurred()) SWIG_fail;
32518 }
32519 resultobj = SWIG_From_long(static_cast< long >(result));
32520 return resultobj;
32521fail:
32522 return NULL;
32523}
32524
32525
32526SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32527 PyObject *resultobj = 0;
32528 wxListView *arg1 = (wxListView *) 0 ;
32529 long arg2 ;
32530 bool result;
32531 void *argp1 = 0 ;
32532 int res1 = 0 ;
32533 long val2 ;
32534 int ecode2 = 0 ;
32535 PyObject * obj0 = 0 ;
32536 PyObject * obj1 = 0 ;
32537 char * kwnames[] = {
32538 (char *) "self",(char *) "index", NULL
32539 };
32540
32541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32543 if (!SWIG_IsOK(res1)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32545 }
32546 arg1 = reinterpret_cast< wxListView * >(argp1);
32547 ecode2 = SWIG_AsVal_long(obj1, &val2);
32548 if (!SWIG_IsOK(ecode2)) {
32549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32550 }
32551 arg2 = static_cast< long >(val2);
32552 {
32553 PyThreadState* __tstate = wxPyBeginAllowThreads();
32554 result = (bool)(arg1)->IsSelected(arg2);
32555 wxPyEndAllowThreads(__tstate);
32556 if (PyErr_Occurred()) SWIG_fail;
32557 }
32558 {
32559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32560 }
32561 return resultobj;
32562fail:
32563 return NULL;
32564}
32565
32566
32567SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32568 PyObject *resultobj = 0;
32569 wxListView *arg1 = (wxListView *) 0 ;
32570 int arg2 ;
32571 int arg3 ;
32572 void *argp1 = 0 ;
32573 int res1 = 0 ;
32574 int val2 ;
32575 int ecode2 = 0 ;
32576 int val3 ;
32577 int ecode3 = 0 ;
32578 PyObject * obj0 = 0 ;
32579 PyObject * obj1 = 0 ;
32580 PyObject * obj2 = 0 ;
32581 char * kwnames[] = {
32582 (char *) "self",(char *) "col",(char *) "image", NULL
32583 };
32584
32585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32587 if (!SWIG_IsOK(res1)) {
32588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32589 }
32590 arg1 = reinterpret_cast< wxListView * >(argp1);
32591 ecode2 = SWIG_AsVal_int(obj1, &val2);
32592 if (!SWIG_IsOK(ecode2)) {
32593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32594 }
32595 arg2 = static_cast< int >(val2);
32596 ecode3 = SWIG_AsVal_int(obj2, &val3);
32597 if (!SWIG_IsOK(ecode3)) {
32598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32599 }
32600 arg3 = static_cast< int >(val3);
32601 {
32602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32603 (arg1)->SetColumnImage(arg2,arg3);
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 resultobj = SWIG_Py_Void();
32608 return resultobj;
32609fail:
32610 return NULL;
32611}
32612
32613
32614SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32615 PyObject *resultobj = 0;
32616 wxListView *arg1 = (wxListView *) 0 ;
32617 int arg2 ;
32618 void *argp1 = 0 ;
32619 int res1 = 0 ;
32620 int val2 ;
32621 int ecode2 = 0 ;
32622 PyObject * obj0 = 0 ;
32623 PyObject * obj1 = 0 ;
32624 char * kwnames[] = {
32625 (char *) "self",(char *) "col", NULL
32626 };
32627
32628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32630 if (!SWIG_IsOK(res1)) {
32631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32632 }
32633 arg1 = reinterpret_cast< wxListView * >(argp1);
32634 ecode2 = SWIG_AsVal_int(obj1, &val2);
32635 if (!SWIG_IsOK(ecode2)) {
32636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32637 }
32638 arg2 = static_cast< int >(val2);
32639 {
32640 PyThreadState* __tstate = wxPyBeginAllowThreads();
32641 (arg1)->ClearColumnImage(arg2);
32642 wxPyEndAllowThreads(__tstate);
32643 if (PyErr_Occurred()) SWIG_fail;
32644 }
32645 resultobj = SWIG_Py_Void();
32646 return resultobj;
32647fail:
32648 return NULL;
d55e5bfc
RD
32649}
32650
32651
1bd55598
RD
32652SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32653 PyObject *obj;
32654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32655 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32656 return SWIG_Py_Void();
d55e5bfc
RD
32657}
32658
1bd55598
RD
32659SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32660 return SWIG_Python_InitShadowInstance(args);
32661}
d55e5bfc 32662
1bd55598
RD
32663SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32664 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32665 return 1;
d55e5bfc
RD
32666}
32667
32668
1bd55598
RD
32669SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32670 PyObject *pyobj = 0;
32671
32672 {
32673#if wxUSE_UNICODE
32674 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32675#else
32676 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32677#endif
32678 }
32679 return pyobj;
d55e5bfc
RD
32680}
32681
32682
1bd55598
RD
32683SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32684 PyObject *resultobj = 0;
32685 wxTreeItemId *result = 0 ;
32686
32687 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32688 {
32689 PyThreadState* __tstate = wxPyBeginAllowThreads();
32690 result = (wxTreeItemId *)new wxTreeItemId();
32691 wxPyEndAllowThreads(__tstate);
32692 if (PyErr_Occurred()) SWIG_fail;
32693 }
32694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32695 return resultobj;
32696fail:
32697 return NULL;
d55e5bfc
RD
32698}
32699
32700
1bd55598
RD
32701SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32702 PyObject *resultobj = 0;
32703 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32704 void *argp1 = 0 ;
32705 int res1 = 0 ;
32706 PyObject *swig_obj[1] ;
32707
32708 if (!args) SWIG_fail;
32709 swig_obj[0] = args;
32710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32711 if (!SWIG_IsOK(res1)) {
32712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32713 }
32714 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 delete arg1;
d55e5bfc 32718
1bd55598
RD
32719 wxPyEndAllowThreads(__tstate);
32720 if (PyErr_Occurred()) SWIG_fail;
32721 }
32722 resultobj = SWIG_Py_Void();
32723 return resultobj;
32724fail:
32725 return NULL;
d55e5bfc
RD
32726}
32727
32728
1bd55598
RD
32729SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32730 PyObject *resultobj = 0;
32731 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32732 bool result;
32733 void *argp1 = 0 ;
32734 int res1 = 0 ;
32735 PyObject *swig_obj[1] ;
32736
32737 if (!args) SWIG_fail;
32738 swig_obj[0] = args;
32739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32740 if (!SWIG_IsOK(res1)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32742 }
32743 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32744 {
32745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32746 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32747 wxPyEndAllowThreads(__tstate);
32748 if (PyErr_Occurred()) SWIG_fail;
32749 }
32750 {
32751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32752 }
32753 return resultobj;
32754fail:
32755 return NULL;
32756}
32757
32758
32759SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32760 PyObject *resultobj = 0;
32761 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32762 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32763 bool result;
32764 void *argp1 = 0 ;
32765 int res1 = 0 ;
32766 void *argp2 = 0 ;
32767 int res2 = 0 ;
32768 PyObject * obj0 = 0 ;
32769 PyObject * obj1 = 0 ;
32770 char * kwnames[] = {
32771 (char *) "self",(char *) "other", NULL
32772 };
32773
32774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32776 if (!SWIG_IsOK(res1)) {
32777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32778 }
32779 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32780 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32781 if (!SWIG_IsOK(res2)) {
32782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32783 }
32784 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32785 {
32786 PyThreadState* __tstate = wxPyBeginAllowThreads();
32787 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32788 wxPyEndAllowThreads(__tstate);
32789 if (PyErr_Occurred()) SWIG_fail;
32790 }
32791 {
32792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32793 }
32794 return resultobj;
32795fail:
32796 return NULL;
32797}
32798
32799
32800SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32801 PyObject *resultobj = 0;
32802 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32803 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32804 bool result;
32805 void *argp1 = 0 ;
32806 int res1 = 0 ;
32807 void *argp2 = 0 ;
32808 int res2 = 0 ;
32809 PyObject * obj0 = 0 ;
32810 PyObject * obj1 = 0 ;
32811 char * kwnames[] = {
32812 (char *) "self",(char *) "other", NULL
32813 };
32814
32815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32817 if (!SWIG_IsOK(res1)) {
32818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32819 }
32820 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32821 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32822 if (!SWIG_IsOK(res2)) {
32823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32824 }
32825 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32826 {
32827 PyThreadState* __tstate = wxPyBeginAllowThreads();
32828 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32829 wxPyEndAllowThreads(__tstate);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 }
32832 {
32833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32834 }
32835 return resultobj;
32836fail:
32837 return NULL;
d55e5bfc
RD
32838}
32839
32840
1bd55598
RD
32841SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32842 PyObject *resultobj = 0;
32843 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32844 void *arg2 = (void *) 0 ;
32845 void *argp1 = 0 ;
32846 int res1 = 0 ;
32847 int res2 ;
32848 PyObject *swig_obj[2] ;
32849
32850 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32852 if (!SWIG_IsOK(res1)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32854 }
32855 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32856 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32857 if (!SWIG_IsOK(res2)) {
32858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32859 }
32860 if (arg1) (arg1)->m_pItem = arg2;
32861
32862 resultobj = SWIG_Py_Void();
32863 return resultobj;
32864fail:
32865 return NULL;
d55e5bfc
RD
32866}
32867
32868
1bd55598
RD
32869SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32870 PyObject *resultobj = 0;
32871 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32872 void *result = 0 ;
32873 void *argp1 = 0 ;
32874 int res1 = 0 ;
32875 PyObject *swig_obj[1] ;
32876
32877 if (!args) SWIG_fail;
32878 swig_obj[0] = args;
32879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32880 if (!SWIG_IsOK(res1)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32882 }
32883 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32884 result = (void *) ((arg1)->m_pItem);
32885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32886 return resultobj;
32887fail:
32888 return NULL;
d55e5bfc
RD
32889}
32890
32891
1bd55598
RD
32892SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32893 PyObject *obj;
32894 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32896 return SWIG_Py_Void();
d55e5bfc
RD
32897}
32898
1bd55598
RD
32899SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32900 return SWIG_Python_InitShadowInstance(args);
32901}
d55e5bfc 32902
1bd55598
RD
32903SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32904 PyObject *resultobj = 0;
32905 PyObject *arg1 = (PyObject *) NULL ;
32906 wxPyTreeItemData *result = 0 ;
32907 PyObject * obj0 = 0 ;
32908 char * kwnames[] = {
32909 (char *) "obj", NULL
32910 };
32911
32912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32913 if (obj0) {
32914 arg1 = obj0;
32915 }
32916 {
32917 PyThreadState* __tstate = wxPyBeginAllowThreads();
32918 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32919 wxPyEndAllowThreads(__tstate);
32920 if (PyErr_Occurred()) SWIG_fail;
32921 }
32922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32923 return resultobj;
32924fail:
32925 return NULL;
d55e5bfc
RD
32926}
32927
32928
1bd55598
RD
32929SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32930 PyObject *resultobj = 0;
32931 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32932 void *argp1 = 0 ;
32933 int res1 = 0 ;
32934 PyObject *swig_obj[1] ;
32935
32936 if (!args) SWIG_fail;
32937 swig_obj[0] = args;
32938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32939 if (!SWIG_IsOK(res1)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32941 }
32942 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32943 {
32944 PyThreadState* __tstate = wxPyBeginAllowThreads();
32945 delete arg1;
d55e5bfc 32946
1bd55598
RD
32947 wxPyEndAllowThreads(__tstate);
32948 if (PyErr_Occurred()) SWIG_fail;
32949 }
32950 resultobj = SWIG_Py_Void();
32951 return resultobj;
32952fail:
32953 return NULL;
d55e5bfc
RD
32954}
32955
32956
1bd55598
RD
32957SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32958 PyObject *resultobj = 0;
32959 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32960 PyObject *result = 0 ;
32961 void *argp1 = 0 ;
32962 int res1 = 0 ;
32963 PyObject *swig_obj[1] ;
32964
32965 if (!args) SWIG_fail;
32966 swig_obj[0] = args;
32967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32968 if (!SWIG_IsOK(res1)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32970 }
32971 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32972 {
32973 PyThreadState* __tstate = wxPyBeginAllowThreads();
32974 result = (PyObject *)(arg1)->GetData();
32975 wxPyEndAllowThreads(__tstate);
32976 if (PyErr_Occurred()) SWIG_fail;
32977 }
32978 resultobj = result;
32979 return resultobj;
32980fail:
32981 return NULL;
32982}
32983
32984
32985SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32986 PyObject *resultobj = 0;
32987 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32988 PyObject *arg2 = (PyObject *) 0 ;
32989 void *argp1 = 0 ;
32990 int res1 = 0 ;
32991 PyObject * obj0 = 0 ;
32992 PyObject * obj1 = 0 ;
32993 char * kwnames[] = {
32994 (char *) "self",(char *) "obj", NULL
32995 };
32996
32997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32999 if (!SWIG_IsOK(res1)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33001 }
33002 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33003 arg2 = obj1;
33004 {
33005 PyThreadState* __tstate = wxPyBeginAllowThreads();
33006 (arg1)->SetData(arg2);
33007 wxPyEndAllowThreads(__tstate);
33008 if (PyErr_Occurred()) SWIG_fail;
33009 }
33010 resultobj = SWIG_Py_Void();
33011 return resultobj;
33012fail:
33013 return NULL;
d55e5bfc
RD
33014}
33015
33016
1bd55598
RD
33017SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33018 PyObject *resultobj = 0;
33019 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33020 wxTreeItemId *result = 0 ;
33021 void *argp1 = 0 ;
33022 int res1 = 0 ;
33023 PyObject *swig_obj[1] ;
33024
33025 if (!args) SWIG_fail;
33026 swig_obj[0] = args;
33027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33028 if (!SWIG_IsOK(res1)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33030 }
33031 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33034 {
1bd55598
RD
33035 wxTreeItemId const &_result_ref = (arg1)->GetId();
33036 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 33037 }
1bd55598
RD
33038 wxPyEndAllowThreads(__tstate);
33039 if (PyErr_Occurred()) SWIG_fail;
33040 }
33041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33042 return resultobj;
33043fail:
33044 return NULL;
33045}
33046
33047
33048SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33049 PyObject *resultobj = 0;
33050 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33051 wxTreeItemId *arg2 = 0 ;
33052 void *argp1 = 0 ;
33053 int res1 = 0 ;
33054 void *argp2 = 0 ;
33055 int res2 = 0 ;
33056 PyObject * obj0 = 0 ;
33057 PyObject * obj1 = 0 ;
33058 char * kwnames[] = {
33059 (char *) "self",(char *) "id", NULL
33060 };
33061
33062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33064 if (!SWIG_IsOK(res1)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33066 }
33067 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33069 if (!SWIG_IsOK(res2)) {
33070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33071 }
33072 if (!argp2) {
33073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33074 }
33075 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33076 {
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 (arg1)->SetId((wxTreeItemId const &)*arg2);
33079 wxPyEndAllowThreads(__tstate);
33080 if (PyErr_Occurred()) SWIG_fail;
33081 }
33082 resultobj = SWIG_Py_Void();
33083 return resultobj;
33084fail:
33085 return NULL;
d55e5bfc
RD
33086}
33087
33088
1bd55598
RD
33089SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33090 PyObject *resultobj = 0;
33091 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33092 void *argp1 = 0 ;
33093 int res1 = 0 ;
33094 PyObject *swig_obj[1] ;
33095
33096 if (!args) SWIG_fail;
33097 swig_obj[0] = args;
33098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33099 if (!SWIG_IsOK(res1)) {
33100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33101 }
33102 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33103 {
33104 PyThreadState* __tstate = wxPyBeginAllowThreads();
33105 wxPyTreeItemData_Destroy(arg1);
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
33109 resultobj = SWIG_Py_Void();
33110 return resultobj;
33111fail:
33112 return NULL;
d55e5bfc
RD
33113}
33114
33115
1bd55598
RD
33116SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33117 PyObject *obj;
33118 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33119 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33120 return SWIG_Py_Void();
d55e5bfc
RD
33121}
33122
1bd55598
RD
33123SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33124 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
33125}
33126
b02396e8
RD
33127SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33128 {
33129 void *argp = 0;
33130 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33131 if (!SWIG_IsOK(res)) {
33132 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33133 }
33134 if (!argp) {
33135 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33136 } else {
33137 wxTreeItemId * temp;
33138 temp = reinterpret_cast< wxTreeItemId * >(argp);
33139 wxNullTreeItemId = *temp;
33140 if (SWIG_IsNewObj(res)) delete temp;
33141 }
33142 }
33143 return 0;
33144fail:
33145 return 1;
33146}
33147
33148
33149SWIGINTERN PyObject *NullTreeItemId_get(void) {
33150 PyObject *pyobj = 0;
33151
33152 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33153 return pyobj;
33154}
33155
33156
33157SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
1bd55598
RD
33158 PyObject *resultobj = 0;
33159 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33160 int arg2 = (int) 0 ;
33161 wxTreeEvent *result = 0 ;
33162 int val1 ;
33163 int ecode1 = 0 ;
33164 int val2 ;
33165 int ecode2 = 0 ;
1bd55598 33166
b02396e8
RD
33167 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33168 if (swig_obj[0]) {
33169 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
1bd55598
RD
33170 if (!SWIG_IsOK(ecode1)) {
33171 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33172 }
33173 arg1 = static_cast< wxEventType >(val1);
33174 }
b02396e8
RD
33175 if (swig_obj[1]) {
33176 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
1bd55598
RD
33177 if (!SWIG_IsOK(ecode2)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33179 }
33180 arg2 = static_cast< int >(val2);
33181 }
33182 {
33183 PyThreadState* __tstate = wxPyBeginAllowThreads();
33184 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33185 wxPyEndAllowThreads(__tstate);
33186 if (PyErr_Occurred()) SWIG_fail;
33187 }
33188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33189 return resultobj;
33190fail:
33191 return NULL;
d55e5bfc
RD
33192}
33193
33194
b02396e8
RD
33195SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33196 PyObject *resultobj = 0;
33197 wxEventType arg1 ;
33198 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33199 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33200 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33201 wxTreeEvent *result = 0 ;
33202 int val1 ;
33203 int ecode1 = 0 ;
33204 void *argp2 = 0 ;
33205 int res2 = 0 ;
33206 void *argp3 = 0 ;
33207 int res3 = 0 ;
33208
33209 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33210 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33211 if (!SWIG_IsOK(ecode1)) {
33212 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33213 }
33214 arg1 = static_cast< wxEventType >(val1);
33215 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33216 if (!SWIG_IsOK(res2)) {
33217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33218 }
33219 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33220 if (swig_obj[2]) {
33221 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33222 if (!SWIG_IsOK(res3)) {
33223 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33224 }
33225 if (!argp3) {
33226 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33227 }
33228 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33229 }
33230 {
33231 PyThreadState* __tstate = wxPyBeginAllowThreads();
33232 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33233 wxPyEndAllowThreads(__tstate);
33234 if (PyErr_Occurred()) SWIG_fail;
33235 }
33236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33237 return resultobj;
33238fail:
33239 return NULL;
33240}
33241
33242
33243SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33244 int argc;
33245 PyObject *argv[4];
33246
33247 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33248 --argc;
33249 if ((argc >= 0) && (argc <= 2)) {
33250 int _v = 0;
33251 if (argc > 1) {
33252 {
33253 {
33254 int res = SWIG_AsVal_int(argv[1], NULL);
33255 _v = SWIG_CheckState(res);
33256 }
33257 }
33258 if (!_v) goto check_1;
33259 }
33260 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33261 }
33262check_1:
33263
33264 if ((argc >= 2) && (argc <= 3)) {
33265 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33266 }
33267
33268fail:
33269 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33270 return NULL;
33271}
33272
33273
1bd55598
RD
33274SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33275 PyObject *resultobj = 0;
33276 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33277 wxTreeItemId result;
33278 void *argp1 = 0 ;
33279 int res1 = 0 ;
33280 PyObject *swig_obj[1] ;
33281
33282 if (!args) SWIG_fail;
33283 swig_obj[0] = args;
33284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33285 if (!SWIG_IsOK(res1)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33287 }
33288 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33289 {
33290 PyThreadState* __tstate = wxPyBeginAllowThreads();
33291 result = ((wxTreeEvent const *)arg1)->GetItem();
33292 wxPyEndAllowThreads(__tstate);
33293 if (PyErr_Occurred()) SWIG_fail;
33294 }
33295 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33296 return resultobj;
33297fail:
33298 return NULL;
33299}
33300
33301
33302SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33303 PyObject *resultobj = 0;
33304 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33305 wxTreeItemId *arg2 = 0 ;
33306 void *argp1 = 0 ;
33307 int res1 = 0 ;
33308 void *argp2 = 0 ;
33309 int res2 = 0 ;
33310 PyObject * obj0 = 0 ;
33311 PyObject * obj1 = 0 ;
33312 char * kwnames[] = {
33313 (char *) "self",(char *) "item", NULL
33314 };
33315
33316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33318 if (!SWIG_IsOK(res1)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33320 }
33321 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33322 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33323 if (!SWIG_IsOK(res2)) {
33324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33325 }
33326 if (!argp2) {
33327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33328 }
33329 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33330 {
33331 PyThreadState* __tstate = wxPyBeginAllowThreads();
33332 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33333 wxPyEndAllowThreads(__tstate);
33334 if (PyErr_Occurred()) SWIG_fail;
33335 }
33336 resultobj = SWIG_Py_Void();
33337 return resultobj;
33338fail:
33339 return NULL;
d55e5bfc
RD
33340}
33341
33342
1bd55598
RD
33343SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33344 PyObject *resultobj = 0;
33345 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33346 wxTreeItemId result;
33347 void *argp1 = 0 ;
33348 int res1 = 0 ;
33349 PyObject *swig_obj[1] ;
33350
33351 if (!args) SWIG_fail;
33352 swig_obj[0] = args;
33353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33354 if (!SWIG_IsOK(res1)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33356 }
33357 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33358 {
33359 PyThreadState* __tstate = wxPyBeginAllowThreads();
33360 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33361 wxPyEndAllowThreads(__tstate);
33362 if (PyErr_Occurred()) SWIG_fail;
33363 }
33364 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33365 return resultobj;
33366fail:
33367 return NULL;
33368}
33369
33370
33371SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33372 PyObject *resultobj = 0;
33373 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33374 wxTreeItemId *arg2 = 0 ;
33375 void *argp1 = 0 ;
33376 int res1 = 0 ;
33377 void *argp2 = 0 ;
33378 int res2 = 0 ;
33379 PyObject * obj0 = 0 ;
33380 PyObject * obj1 = 0 ;
33381 char * kwnames[] = {
33382 (char *) "self",(char *) "item", NULL
33383 };
33384
33385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33387 if (!SWIG_IsOK(res1)) {
33388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33389 }
33390 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33391 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33392 if (!SWIG_IsOK(res2)) {
33393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33394 }
33395 if (!argp2) {
33396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33397 }
33398 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33399 {
33400 PyThreadState* __tstate = wxPyBeginAllowThreads();
33401 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33402 wxPyEndAllowThreads(__tstate);
33403 if (PyErr_Occurred()) SWIG_fail;
33404 }
33405 resultobj = SWIG_Py_Void();
33406 return resultobj;
33407fail:
33408 return NULL;
d55e5bfc
RD
33409}
33410
33411
1bd55598
RD
33412SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33413 PyObject *resultobj = 0;
33414 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33415 wxPoint result;
33416 void *argp1 = 0 ;
33417 int res1 = 0 ;
33418 PyObject *swig_obj[1] ;
33419
33420 if (!args) SWIG_fail;
33421 swig_obj[0] = args;
33422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33423 if (!SWIG_IsOK(res1)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33425 }
33426 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33427 {
33428 PyThreadState* __tstate = wxPyBeginAllowThreads();
33429 result = ((wxTreeEvent const *)arg1)->GetPoint();
33430 wxPyEndAllowThreads(__tstate);
33431 if (PyErr_Occurred()) SWIG_fail;
33432 }
33433 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33434 return resultobj;
33435fail:
33436 return NULL;
33437}
33438
33439
33440SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33441 PyObject *resultobj = 0;
33442 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33443 wxPoint *arg2 = 0 ;
33444 void *argp1 = 0 ;
33445 int res1 = 0 ;
33446 wxPoint temp2 ;
33447 PyObject * obj0 = 0 ;
33448 PyObject * obj1 = 0 ;
33449 char * kwnames[] = {
33450 (char *) "self",(char *) "pt", NULL
33451 };
33452
33453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33455 if (!SWIG_IsOK(res1)) {
33456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33457 }
33458 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33459 {
33460 arg2 = &temp2;
33461 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33462 }
33463 {
33464 PyThreadState* __tstate = wxPyBeginAllowThreads();
33465 (arg1)->SetPoint((wxPoint const &)*arg2);
33466 wxPyEndAllowThreads(__tstate);
33467 if (PyErr_Occurred()) SWIG_fail;
33468 }
33469 resultobj = SWIG_Py_Void();
33470 return resultobj;
33471fail:
33472 return NULL;
d55e5bfc
RD
33473}
33474
33475
1bd55598
RD
33476SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33477 PyObject *resultobj = 0;
33478 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33479 wxKeyEvent *result = 0 ;
33480 void *argp1 = 0 ;
33481 int res1 = 0 ;
33482 PyObject *swig_obj[1] ;
33483
33484 if (!args) SWIG_fail;
33485 swig_obj[0] = args;
33486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33487 if (!SWIG_IsOK(res1)) {
33488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33489 }
33490 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33491 {
33492 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33493 {
1bd55598
RD
33494 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33495 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33496 }
1bd55598
RD
33497 wxPyEndAllowThreads(__tstate);
33498 if (PyErr_Occurred()) SWIG_fail;
33499 }
33500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33501 return resultobj;
33502fail:
33503 return NULL;
d55e5bfc
RD
33504}
33505
33506
1bd55598
RD
33507SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33508 PyObject *resultobj = 0;
33509 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33510 int result;
33511 void *argp1 = 0 ;
33512 int res1 = 0 ;
33513 PyObject *swig_obj[1] ;
33514
33515 if (!args) SWIG_fail;
33516 swig_obj[0] = args;
33517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33518 if (!SWIG_IsOK(res1)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33520 }
33521 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33522 {
33523 PyThreadState* __tstate = wxPyBeginAllowThreads();
33524 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33525 wxPyEndAllowThreads(__tstate);
33526 if (PyErr_Occurred()) SWIG_fail;
33527 }
33528 resultobj = SWIG_From_int(static_cast< int >(result));
33529 return resultobj;
33530fail:
33531 return NULL;
33532}
33533
33534
33535SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33536 PyObject *resultobj = 0;
33537 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33538 wxKeyEvent *arg2 = 0 ;
33539 void *argp1 = 0 ;
33540 int res1 = 0 ;
33541 void *argp2 = 0 ;
33542 int res2 = 0 ;
33543 PyObject * obj0 = 0 ;
33544 PyObject * obj1 = 0 ;
33545 char * kwnames[] = {
33546 (char *) "self",(char *) "evt", NULL
33547 };
33548
33549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33551 if (!SWIG_IsOK(res1)) {
33552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33553 }
33554 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33555 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33556 if (!SWIG_IsOK(res2)) {
33557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33558 }
33559 if (!argp2) {
33560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33561 }
33562 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33563 {
33564 PyThreadState* __tstate = wxPyBeginAllowThreads();
33565 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33566 wxPyEndAllowThreads(__tstate);
33567 if (PyErr_Occurred()) SWIG_fail;
33568 }
33569 resultobj = SWIG_Py_Void();
33570 return resultobj;
33571fail:
33572 return NULL;
d55e5bfc
RD
33573}
33574
33575
1bd55598
RD
33576SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33577 PyObject *resultobj = 0;
33578 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33579 wxString *result = 0 ;
33580 void *argp1 = 0 ;
33581 int res1 = 0 ;
33582 PyObject *swig_obj[1] ;
33583
33584 if (!args) SWIG_fail;
33585 swig_obj[0] = args;
33586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33587 if (!SWIG_IsOK(res1)) {
33588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33589 }
33590 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33591 {
33592 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33593 {
1bd55598
RD
33594 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33595 result = (wxString *) &_result_ref;
d55e5bfc 33596 }
1bd55598
RD
33597 wxPyEndAllowThreads(__tstate);
33598 if (PyErr_Occurred()) SWIG_fail;
33599 }
33600 {
33601#if wxUSE_UNICODE
33602 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33603#else
33604 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33605#endif
33606 }
33607 return resultobj;
33608fail:
33609 return NULL;
33610}
33611
33612
33613SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33614 PyObject *resultobj = 0;
33615 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33616 wxString *arg2 = 0 ;
33617 void *argp1 = 0 ;
33618 int res1 = 0 ;
33619 bool temp2 = false ;
33620 PyObject * obj0 = 0 ;
33621 PyObject * obj1 = 0 ;
33622 char * kwnames[] = {
33623 (char *) "self",(char *) "label", NULL
33624 };
33625
33626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33628 if (!SWIG_IsOK(res1)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33630 }
33631 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33632 {
33633 arg2 = wxString_in_helper(obj1);
33634 if (arg2 == NULL) SWIG_fail;
33635 temp2 = true;
33636 }
33637 {
33638 PyThreadState* __tstate = wxPyBeginAllowThreads();
33639 (arg1)->SetLabel((wxString const &)*arg2);
33640 wxPyEndAllowThreads(__tstate);
33641 if (PyErr_Occurred()) SWIG_fail;
33642 }
33643 resultobj = SWIG_Py_Void();
33644 {
33645 if (temp2)
33646 delete arg2;
33647 }
33648 return resultobj;
33649fail:
33650 {
33651 if (temp2)
33652 delete arg2;
33653 }
33654 return NULL;
d55e5bfc
RD
33655}
33656
33657
1bd55598
RD
33658SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33659 PyObject *resultobj = 0;
33660 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33661 bool result;
33662 void *argp1 = 0 ;
33663 int res1 = 0 ;
33664 PyObject *swig_obj[1] ;
33665
33666 if (!args) SWIG_fail;
33667 swig_obj[0] = args;
33668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33669 if (!SWIG_IsOK(res1)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33671 }
33672 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33673 {
33674 PyThreadState* __tstate = wxPyBeginAllowThreads();
33675 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33676 wxPyEndAllowThreads(__tstate);
33677 if (PyErr_Occurred()) SWIG_fail;
33678 }
33679 {
33680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33681 }
33682 return resultobj;
33683fail:
33684 return NULL;
33685}
33686
33687
33688SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33689 PyObject *resultobj = 0;
33690 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33691 bool arg2 ;
33692 void *argp1 = 0 ;
33693 int res1 = 0 ;
33694 bool val2 ;
33695 int ecode2 = 0 ;
33696 PyObject * obj0 = 0 ;
33697 PyObject * obj1 = 0 ;
33698 char * kwnames[] = {
33699 (char *) "self",(char *) "editCancelled", NULL
33700 };
33701
33702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33704 if (!SWIG_IsOK(res1)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33706 }
33707 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33708 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33709 if (!SWIG_IsOK(ecode2)) {
33710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33711 }
33712 arg2 = static_cast< bool >(val2);
33713 {
33714 PyThreadState* __tstate = wxPyBeginAllowThreads();
33715 (arg1)->SetEditCanceled(arg2);
33716 wxPyEndAllowThreads(__tstate);
33717 if (PyErr_Occurred()) SWIG_fail;
33718 }
33719 resultobj = SWIG_Py_Void();
33720 return resultobj;
33721fail:
33722 return NULL;
33723}
33724
33725
33726SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33727 PyObject *resultobj = 0;
33728 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33729 wxString *arg2 = 0 ;
33730 void *argp1 = 0 ;
33731 int res1 = 0 ;
33732 bool temp2 = false ;
33733 PyObject * obj0 = 0 ;
33734 PyObject * obj1 = 0 ;
33735 char * kwnames[] = {
33736 (char *) "self",(char *) "toolTip", NULL
33737 };
33738
33739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33741 if (!SWIG_IsOK(res1)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33743 }
33744 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33745 {
33746 arg2 = wxString_in_helper(obj1);
33747 if (arg2 == NULL) SWIG_fail;
33748 temp2 = true;
33749 }
33750 {
33751 PyThreadState* __tstate = wxPyBeginAllowThreads();
33752 (arg1)->SetToolTip((wxString const &)*arg2);
33753 wxPyEndAllowThreads(__tstate);
33754 if (PyErr_Occurred()) SWIG_fail;
33755 }
33756 resultobj = SWIG_Py_Void();
33757 {
33758 if (temp2)
33759 delete arg2;
33760 }
33761 return resultobj;
33762fail:
33763 {
33764 if (temp2)
33765 delete arg2;
33766 }
33767 return NULL;
d55e5bfc
RD
33768}
33769
33770
1bd55598
RD
33771SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33772 PyObject *resultobj = 0;
33773 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33774 wxString result;
33775 void *argp1 = 0 ;
33776 int res1 = 0 ;
33777 PyObject *swig_obj[1] ;
33778
33779 if (!args) SWIG_fail;
33780 swig_obj[0] = args;
33781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33782 if (!SWIG_IsOK(res1)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33784 }
33785 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33786 {
33787 PyThreadState* __tstate = wxPyBeginAllowThreads();
33788 result = (arg1)->GetToolTip();
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 {
33793#if wxUSE_UNICODE
33794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33795#else
33796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33797#endif
33798 }
33799 return resultobj;
33800fail:
33801 return NULL;
33802}
33803
33804
33805SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33806 PyObject *obj;
33807 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33808 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33809 return SWIG_Py_Void();
33810}
33811
33812SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33813 return SWIG_Python_InitShadowInstance(args);
33814}
33815
33816SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33817 PyObject *resultobj = 0;
33818 wxWindow *arg1 = (wxWindow *) 0 ;
33819 int arg2 = (int) -1 ;
33820 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33821 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33822 wxSize const &arg4_defvalue = wxDefaultSize ;
33823 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33824 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33825 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33826 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33827 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33828 wxString *arg7 = (wxString *) &arg7_defvalue ;
33829 wxPyTreeCtrl *result = 0 ;
33830 void *argp1 = 0 ;
33831 int res1 = 0 ;
33832 int val2 ;
33833 int ecode2 = 0 ;
33834 wxPoint temp3 ;
33835 wxSize temp4 ;
33836 long val5 ;
33837 int ecode5 = 0 ;
33838 void *argp6 = 0 ;
33839 int res6 = 0 ;
33840 bool temp7 = false ;
33841 PyObject * obj0 = 0 ;
33842 PyObject * obj1 = 0 ;
33843 PyObject * obj2 = 0 ;
33844 PyObject * obj3 = 0 ;
33845 PyObject * obj4 = 0 ;
33846 PyObject * obj5 = 0 ;
33847 PyObject * obj6 = 0 ;
33848 char * kwnames[] = {
33849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33850 };
33851
33852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33854 if (!SWIG_IsOK(res1)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33856 }
33857 arg1 = reinterpret_cast< wxWindow * >(argp1);
33858 if (obj1) {
33859 ecode2 = SWIG_AsVal_int(obj1, &val2);
33860 if (!SWIG_IsOK(ecode2)) {
33861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33862 }
33863 arg2 = static_cast< int >(val2);
33864 }
33865 if (obj2) {
d55e5bfc 33866 {
1bd55598
RD
33867 arg3 = &temp3;
33868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33869 }
1bd55598
RD
33870 }
33871 if (obj3) {
36ed4f51 33872 {
1bd55598
RD
33873 arg4 = &temp4;
33874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33875 }
1bd55598
RD
33876 }
33877 if (obj4) {
33878 ecode5 = SWIG_AsVal_long(obj4, &val5);
33879 if (!SWIG_IsOK(ecode5)) {
33880 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33881 }
33882 arg5 = static_cast< long >(val5);
33883 }
33884 if (obj5) {
33885 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33886 if (!SWIG_IsOK(res6)) {
33887 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33888 }
1bd55598
RD
33889 if (!argp6) {
33890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33891 }
1bd55598
RD
33892 arg6 = reinterpret_cast< wxValidator * >(argp6);
33893 }
33894 if (obj6) {
d55e5bfc 33895 {
1bd55598
RD
33896 arg7 = wxString_in_helper(obj6);
33897 if (arg7 == NULL) SWIG_fail;
33898 temp7 = true;
d55e5bfc 33899 }
1bd55598
RD
33900 }
33901 {
33902 if (!wxPyCheckForApp()) SWIG_fail;
33903 PyThreadState* __tstate = wxPyBeginAllowThreads();
33904 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33905 wxPyEndAllowThreads(__tstate);
33906 if (PyErr_Occurred()) SWIG_fail;
33907 }
33908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33909 {
33910 if (temp7)
33911 delete arg7;
33912 }
33913 return resultobj;
33914fail:
33915 {
33916 if (temp7)
33917 delete arg7;
33918 }
33919 return NULL;
33920}
33921
33922
33923SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33924 PyObject *resultobj = 0;
33925 wxPyTreeCtrl *result = 0 ;
33926
33927 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33928 {
33929 if (!wxPyCheckForApp()) SWIG_fail;
33930 PyThreadState* __tstate = wxPyBeginAllowThreads();
33931 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33932 wxPyEndAllowThreads(__tstate);
33933 if (PyErr_Occurred()) SWIG_fail;
33934 }
33935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33936 return resultobj;
33937fail:
33938 return NULL;
33939}
33940
33941
33942SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33943 PyObject *resultobj = 0;
33944 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33945 wxWindow *arg2 = (wxWindow *) 0 ;
33946 int arg3 = (int) -1 ;
33947 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33948 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33949 wxSize const &arg5_defvalue = wxDefaultSize ;
33950 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33951 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33954 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33955 wxString *arg8 = (wxString *) &arg8_defvalue ;
33956 bool result;
33957 void *argp1 = 0 ;
33958 int res1 = 0 ;
33959 void *argp2 = 0 ;
33960 int res2 = 0 ;
33961 int val3 ;
33962 int ecode3 = 0 ;
33963 wxPoint temp4 ;
33964 wxSize temp5 ;
33965 long val6 ;
33966 int ecode6 = 0 ;
33967 void *argp7 = 0 ;
33968 int res7 = 0 ;
33969 bool temp8 = false ;
33970 PyObject * obj0 = 0 ;
33971 PyObject * obj1 = 0 ;
33972 PyObject * obj2 = 0 ;
33973 PyObject * obj3 = 0 ;
33974 PyObject * obj4 = 0 ;
33975 PyObject * obj5 = 0 ;
33976 PyObject * obj6 = 0 ;
33977 PyObject * obj7 = 0 ;
33978 char * kwnames[] = {
33979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33980 };
33981
33982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33984 if (!SWIG_IsOK(res1)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33986 }
33987 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33989 if (!SWIG_IsOK(res2)) {
33990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33991 }
33992 arg2 = reinterpret_cast< wxWindow * >(argp2);
33993 if (obj2) {
33994 ecode3 = SWIG_AsVal_int(obj2, &val3);
33995 if (!SWIG_IsOK(ecode3)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33997 }
33998 arg3 = static_cast< int >(val3);
33999 }
34000 if (obj3) {
d55e5bfc 34001 {
1bd55598
RD
34002 arg4 = &temp4;
34003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 34004 }
1bd55598
RD
34005 }
34006 if (obj4) {
d55e5bfc 34007 {
1bd55598
RD
34008 arg5 = &temp5;
34009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 34010 }
1bd55598
RD
34011 }
34012 if (obj5) {
34013 ecode6 = SWIG_AsVal_long(obj5, &val6);
34014 if (!SWIG_IsOK(ecode6)) {
34015 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34016 }
34017 arg6 = static_cast< long >(val6);
34018 }
34019 if (obj6) {
34020 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34021 if (!SWIG_IsOK(res7)) {
34022 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34023 }
1bd55598
RD
34024 if (!argp7) {
34025 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34026 }
1bd55598
RD
34027 arg7 = reinterpret_cast< wxValidator * >(argp7);
34028 }
34029 if (obj7) {
d55e5bfc 34030 {
1bd55598
RD
34031 arg8 = wxString_in_helper(obj7);
34032 if (arg8 == NULL) SWIG_fail;
34033 temp8 = true;
d55e5bfc 34034 }
1bd55598
RD
34035 }
34036 {
34037 PyThreadState* __tstate = wxPyBeginAllowThreads();
34038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34039 wxPyEndAllowThreads(__tstate);
34040 if (PyErr_Occurred()) SWIG_fail;
34041 }
34042 {
34043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34044 }
34045 {
34046 if (temp8)
34047 delete arg8;
34048 }
34049 return resultobj;
34050fail:
34051 {
34052 if (temp8)
34053 delete arg8;
34054 }
34055 return NULL;
34056}
34057
34058
34059SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34060 PyObject *resultobj = 0;
34061 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34062 PyObject *arg2 = (PyObject *) 0 ;
34063 PyObject *arg3 = (PyObject *) 0 ;
34064 void *argp1 = 0 ;
34065 int res1 = 0 ;
34066 PyObject * obj0 = 0 ;
34067 PyObject * obj1 = 0 ;
34068 PyObject * obj2 = 0 ;
34069 char * kwnames[] = {
34070 (char *) "self",(char *) "self",(char *) "_class", NULL
34071 };
34072
34073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34075 if (!SWIG_IsOK(res1)) {
34076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34077 }
34078 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34079 arg2 = obj1;
34080 arg3 = obj2;
34081 {
34082 PyThreadState* __tstate = wxPyBeginAllowThreads();
34083 (arg1)->_setCallbackInfo(arg2,arg3);
34084 wxPyEndAllowThreads(__tstate);
34085 if (PyErr_Occurred()) SWIG_fail;
34086 }
34087 resultobj = SWIG_Py_Void();
34088 return resultobj;
34089fail:
34090 return NULL;
d55e5bfc
RD
34091}
34092
34093
1bd55598
RD
34094SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34095 PyObject *resultobj = 0;
34096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34097 unsigned int result;
1bd55598
RD
34098 void *argp1 = 0 ;
34099 int res1 = 0 ;
34100 PyObject *swig_obj[1] ;
34101
34102 if (!args) SWIG_fail;
34103 swig_obj[0] = args;
34104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34105 if (!SWIG_IsOK(res1)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34107 }
34108 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34109 {
34110 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34111 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
1bd55598
RD
34112 wxPyEndAllowThreads(__tstate);
34113 if (PyErr_Occurred()) SWIG_fail;
34114 }
e9d6f3a4 34115 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
1bd55598
RD
34116 return resultobj;
34117fail:
34118 return NULL;
d55e5bfc
RD
34119}
34120
34121
1bd55598
RD
34122SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34123 PyObject *resultobj = 0;
34124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34125 unsigned int result;
34126 void *argp1 = 0 ;
34127 int res1 = 0 ;
34128 PyObject *swig_obj[1] ;
34129
34130 if (!args) SWIG_fail;
34131 swig_obj[0] = args;
34132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34133 if (!SWIG_IsOK(res1)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34135 }
34136 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34137 {
34138 PyThreadState* __tstate = wxPyBeginAllowThreads();
34139 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34140 wxPyEndAllowThreads(__tstate);
34141 if (PyErr_Occurred()) SWIG_fail;
34142 }
34143 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34144 return resultobj;
34145fail:
34146 return NULL;
34147}
34148
34149
34150SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34151 PyObject *resultobj = 0;
34152 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34153 unsigned int arg2 ;
34154 void *argp1 = 0 ;
34155 int res1 = 0 ;
34156 unsigned int val2 ;
34157 int ecode2 = 0 ;
34158 PyObject * obj0 = 0 ;
34159 PyObject * obj1 = 0 ;
34160 char * kwnames[] = {
34161 (char *) "self",(char *) "indent", NULL
34162 };
34163
34164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34166 if (!SWIG_IsOK(res1)) {
34167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34168 }
34169 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34170 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34171 if (!SWIG_IsOK(ecode2)) {
34172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34173 }
34174 arg2 = static_cast< unsigned int >(val2);
34175 {
34176 PyThreadState* __tstate = wxPyBeginAllowThreads();
34177 (arg1)->SetIndent(arg2);
34178 wxPyEndAllowThreads(__tstate);
34179 if (PyErr_Occurred()) SWIG_fail;
34180 }
34181 resultobj = SWIG_Py_Void();
34182 return resultobj;
34183fail:
34184 return NULL;
d55e5bfc
RD
34185}
34186
34187
1bd55598
RD
34188SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34189 PyObject *resultobj = 0;
34190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34191 unsigned int result;
34192 void *argp1 = 0 ;
34193 int res1 = 0 ;
34194 PyObject *swig_obj[1] ;
34195
34196 if (!args) SWIG_fail;
34197 swig_obj[0] = args;
34198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34199 if (!SWIG_IsOK(res1)) {
34200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34201 }
34202 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34203 {
34204 PyThreadState* __tstate = wxPyBeginAllowThreads();
34205 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34206 wxPyEndAllowThreads(__tstate);
34207 if (PyErr_Occurred()) SWIG_fail;
34208 }
34209 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34210 return resultobj;
34211fail:
34212 return NULL;
34213}
34214
34215
34216SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34217 PyObject *resultobj = 0;
34218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34219 unsigned int arg2 ;
34220 void *argp1 = 0 ;
34221 int res1 = 0 ;
34222 unsigned int val2 ;
34223 int ecode2 = 0 ;
34224 PyObject * obj0 = 0 ;
34225 PyObject * obj1 = 0 ;
34226 char * kwnames[] = {
34227 (char *) "self",(char *) "spacing", NULL
34228 };
34229
34230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34232 if (!SWIG_IsOK(res1)) {
34233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34234 }
34235 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34236 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34237 if (!SWIG_IsOK(ecode2)) {
34238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34239 }
34240 arg2 = static_cast< unsigned int >(val2);
34241 {
34242 PyThreadState* __tstate = wxPyBeginAllowThreads();
34243 (arg1)->SetSpacing(arg2);
34244 wxPyEndAllowThreads(__tstate);
34245 if (PyErr_Occurred()) SWIG_fail;
34246 }
34247 resultobj = SWIG_Py_Void();
34248 return resultobj;
34249fail:
34250 return NULL;
d55e5bfc
RD
34251}
34252
34253
1bd55598
RD
34254SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34255 PyObject *resultobj = 0;
34256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34257 wxImageList *result = 0 ;
34258 void *argp1 = 0 ;
34259 int res1 = 0 ;
34260 PyObject *swig_obj[1] ;
34261
34262 if (!args) SWIG_fail;
34263 swig_obj[0] = args;
34264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34265 if (!SWIG_IsOK(res1)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34267 }
34268 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34269 {
34270 PyThreadState* __tstate = wxPyBeginAllowThreads();
34271 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34272 wxPyEndAllowThreads(__tstate);
34273 if (PyErr_Occurred()) SWIG_fail;
34274 }
3ecece7e
RD
34275 {
34276 resultobj = wxPyMake_wxObject(result, (bool)0);
34277 }
1bd55598
RD
34278 return resultobj;
34279fail:
34280 return NULL;
d55e5bfc
RD
34281}
34282
34283
1bd55598
RD
34284SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34285 PyObject *resultobj = 0;
34286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34287 wxImageList *result = 0 ;
34288 void *argp1 = 0 ;
34289 int res1 = 0 ;
34290 PyObject *swig_obj[1] ;
34291
34292 if (!args) SWIG_fail;
34293 swig_obj[0] = args;
34294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34295 if (!SWIG_IsOK(res1)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34297 }
34298 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34299 {
34300 PyThreadState* __tstate = wxPyBeginAllowThreads();
34301 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34302 wxPyEndAllowThreads(__tstate);
34303 if (PyErr_Occurred()) SWIG_fail;
34304 }
3ecece7e
RD
34305 {
34306 resultobj = wxPyMake_wxObject(result, (bool)0);
34307 }
1bd55598
RD
34308 return resultobj;
34309fail:
34310 return NULL;
34311}
34312
34313
34314SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34315 PyObject *resultobj = 0;
34316 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34317 wxImageList *arg2 = (wxImageList *) 0 ;
34318 void *argp1 = 0 ;
34319 int res1 = 0 ;
34320 void *argp2 = 0 ;
34321 int res2 = 0 ;
34322 PyObject * obj0 = 0 ;
34323 PyObject * obj1 = 0 ;
34324 char * kwnames[] = {
34325 (char *) "self",(char *) "imageList", NULL
34326 };
34327
34328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34330 if (!SWIG_IsOK(res1)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34332 }
34333 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34334 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34335 if (!SWIG_IsOK(res2)) {
34336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34337 }
34338 arg2 = reinterpret_cast< wxImageList * >(argp2);
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 (arg1)->SetImageList(arg2);
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 resultobj = SWIG_Py_Void();
34346 return resultobj;
34347fail:
34348 return NULL;
34349}
34350
34351
34352SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34353 PyObject *resultobj = 0;
34354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34355 wxImageList *arg2 = (wxImageList *) 0 ;
34356 void *argp1 = 0 ;
34357 int res1 = 0 ;
34358 void *argp2 = 0 ;
34359 int res2 = 0 ;
34360 PyObject * obj0 = 0 ;
34361 PyObject * obj1 = 0 ;
34362 char * kwnames[] = {
34363 (char *) "self",(char *) "imageList", NULL
34364 };
34365
34366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34368 if (!SWIG_IsOK(res1)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34370 }
34371 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34372 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34373 if (!SWIG_IsOK(res2)) {
34374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34375 }
34376 arg2 = reinterpret_cast< wxImageList * >(argp2);
34377 {
34378 PyThreadState* __tstate = wxPyBeginAllowThreads();
34379 (arg1)->SetStateImageList(arg2);
34380 wxPyEndAllowThreads(__tstate);
34381 if (PyErr_Occurred()) SWIG_fail;
34382 }
34383 resultobj = SWIG_Py_Void();
34384 return resultobj;
34385fail:
34386 return NULL;
34387}
34388
34389
34390SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34391 PyObject *resultobj = 0;
34392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34393 wxImageList *arg2 = (wxImageList *) 0 ;
34394 void *argp1 = 0 ;
34395 int res1 = 0 ;
34396 int res2 = 0 ;
34397 PyObject * obj0 = 0 ;
34398 PyObject * obj1 = 0 ;
34399 char * kwnames[] = {
34400 (char *) "self",(char *) "imageList", NULL
34401 };
34402
34403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34405 if (!SWIG_IsOK(res1)) {
34406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34407 }
34408 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34409 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34410 if (!SWIG_IsOK(res2)) {
34411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34412 }
34413 {
34414 PyThreadState* __tstate = wxPyBeginAllowThreads();
34415 (arg1)->AssignImageList(arg2);
34416 wxPyEndAllowThreads(__tstate);
34417 if (PyErr_Occurred()) SWIG_fail;
34418 }
34419 resultobj = SWIG_Py_Void();
34420 return resultobj;
34421fail:
34422 return NULL;
34423}
34424
34425
34426SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34427 PyObject *resultobj = 0;
34428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34429 wxImageList *arg2 = (wxImageList *) 0 ;
34430 void *argp1 = 0 ;
34431 int res1 = 0 ;
34432 int res2 = 0 ;
34433 PyObject * obj0 = 0 ;
34434 PyObject * obj1 = 0 ;
34435 char * kwnames[] = {
34436 (char *) "self",(char *) "imageList", NULL
34437 };
34438
34439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34441 if (!SWIG_IsOK(res1)) {
34442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34443 }
34444 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34445 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34446 if (!SWIG_IsOK(res2)) {
34447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34448 }
34449 {
34450 PyThreadState* __tstate = wxPyBeginAllowThreads();
34451 (arg1)->AssignStateImageList(arg2);
34452 wxPyEndAllowThreads(__tstate);
34453 if (PyErr_Occurred()) SWIG_fail;
34454 }
34455 resultobj = SWIG_Py_Void();
34456 return resultobj;
34457fail:
34458 return NULL;
34459}
34460
34461
34462SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34463 PyObject *resultobj = 0;
34464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34465 wxTreeItemId *arg2 = 0 ;
34466 wxString result;
34467 void *argp1 = 0 ;
34468 int res1 = 0 ;
34469 void *argp2 = 0 ;
34470 int res2 = 0 ;
34471 PyObject * obj0 = 0 ;
34472 PyObject * obj1 = 0 ;
34473 char * kwnames[] = {
34474 (char *) "self",(char *) "item", NULL
34475 };
34476
34477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34479 if (!SWIG_IsOK(res1)) {
34480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34481 }
34482 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34483 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34484 if (!SWIG_IsOK(res2)) {
34485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34486 }
34487 if (!argp2) {
34488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34489 }
34490 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34491 {
34492 PyThreadState* __tstate = wxPyBeginAllowThreads();
34493 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34494 wxPyEndAllowThreads(__tstate);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 }
34497 {
34498#if wxUSE_UNICODE
34499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34500#else
34501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34502#endif
34503 }
34504 return resultobj;
34505fail:
34506 return NULL;
34507}
34508
34509
34510SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34511 PyObject *resultobj = 0;
34512 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34513 wxTreeItemId *arg2 = 0 ;
34514 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34515 int result;
34516 void *argp1 = 0 ;
34517 int res1 = 0 ;
34518 void *argp2 = 0 ;
34519 int res2 = 0 ;
34520 int val3 ;
34521 int ecode3 = 0 ;
34522 PyObject * obj0 = 0 ;
34523 PyObject * obj1 = 0 ;
34524 PyObject * obj2 = 0 ;
34525 char * kwnames[] = {
34526 (char *) "self",(char *) "item",(char *) "which", NULL
34527 };
34528
34529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34531 if (!SWIG_IsOK(res1)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34533 }
34534 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34535 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34536 if (!SWIG_IsOK(res2)) {
34537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34538 }
34539 if (!argp2) {
34540 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34541 }
34542 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34543 if (obj2) {
34544 ecode3 = SWIG_AsVal_int(obj2, &val3);
34545 if (!SWIG_IsOK(ecode3)) {
34546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34547 }
34548 arg3 = static_cast< wxTreeItemIcon >(val3);
34549 }
34550 {
34551 PyThreadState* __tstate = wxPyBeginAllowThreads();
34552 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34553 wxPyEndAllowThreads(__tstate);
34554 if (PyErr_Occurred()) SWIG_fail;
34555 }
34556 resultobj = SWIG_From_int(static_cast< int >(result));
34557 return resultobj;
34558fail:
34559 return NULL;
34560}
34561
34562
34563SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34564 PyObject *resultobj = 0;
34565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34566 wxTreeItemId *arg2 = 0 ;
34567 wxPyTreeItemData *result = 0 ;
34568 void *argp1 = 0 ;
34569 int res1 = 0 ;
34570 void *argp2 = 0 ;
34571 int res2 = 0 ;
34572 PyObject * obj0 = 0 ;
34573 PyObject * obj1 = 0 ;
34574 char * kwnames[] = {
34575 (char *) "self",(char *) "item", NULL
34576 };
34577
34578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34580 if (!SWIG_IsOK(res1)) {
34581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34582 }
34583 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34584 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34585 if (!SWIG_IsOK(res2)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34587 }
34588 if (!argp2) {
34589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34590 }
34591 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34592 {
34593 PyThreadState* __tstate = wxPyBeginAllowThreads();
34594 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34595 wxPyEndAllowThreads(__tstate);
34596 if (PyErr_Occurred()) SWIG_fail;
34597 }
34598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34599 return resultobj;
34600fail:
34601 return NULL;
34602}
34603
34604
34605SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj = 0;
34607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34608 wxTreeItemId *arg2 = 0 ;
34609 PyObject *result = 0 ;
34610 void *argp1 = 0 ;
34611 int res1 = 0 ;
34612 void *argp2 = 0 ;
34613 int res2 = 0 ;
34614 PyObject * obj0 = 0 ;
34615 PyObject * obj1 = 0 ;
34616 char * kwnames[] = {
34617 (char *) "self",(char *) "item", NULL
34618 };
34619
34620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34622 if (!SWIG_IsOK(res1)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34624 }
34625 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34627 if (!SWIG_IsOK(res2)) {
34628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 }
34630 if (!argp2) {
34631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34632 }
34633 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34634 {
34635 PyThreadState* __tstate = wxPyBeginAllowThreads();
34636 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34637 wxPyEndAllowThreads(__tstate);
34638 if (PyErr_Occurred()) SWIG_fail;
34639 }
34640 resultobj = result;
34641 return resultobj;
34642fail:
34643 return NULL;
34644}
34645
34646
34647SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34648 PyObject *resultobj = 0;
34649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34650 wxTreeItemId *arg2 = 0 ;
34651 wxColour result;
34652 void *argp1 = 0 ;
34653 int res1 = 0 ;
34654 void *argp2 = 0 ;
34655 int res2 = 0 ;
34656 PyObject * obj0 = 0 ;
34657 PyObject * obj1 = 0 ;
34658 char * kwnames[] = {
34659 (char *) "self",(char *) "item", NULL
34660 };
34661
34662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34664 if (!SWIG_IsOK(res1)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34666 }
34667 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34668 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34669 if (!SWIG_IsOK(res2)) {
34670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 }
34672 if (!argp2) {
34673 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34674 }
34675 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34676 {
34677 PyThreadState* __tstate = wxPyBeginAllowThreads();
34678 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34679 wxPyEndAllowThreads(__tstate);
34680 if (PyErr_Occurred()) SWIG_fail;
34681 }
34682 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34683 return resultobj;
34684fail:
34685 return NULL;
34686}
34687
34688
34689SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34690 PyObject *resultobj = 0;
34691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34692 wxTreeItemId *arg2 = 0 ;
34693 wxColour result;
34694 void *argp1 = 0 ;
34695 int res1 = 0 ;
34696 void *argp2 = 0 ;
34697 int res2 = 0 ;
34698 PyObject * obj0 = 0 ;
34699 PyObject * obj1 = 0 ;
34700 char * kwnames[] = {
34701 (char *) "self",(char *) "item", NULL
34702 };
34703
34704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34706 if (!SWIG_IsOK(res1)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34708 }
34709 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34710 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34711 if (!SWIG_IsOK(res2)) {
34712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 }
34714 if (!argp2) {
34715 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34716 }
34717 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34718 {
34719 PyThreadState* __tstate = wxPyBeginAllowThreads();
34720 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34721 wxPyEndAllowThreads(__tstate);
34722 if (PyErr_Occurred()) SWIG_fail;
34723 }
34724 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34725 return resultobj;
34726fail:
34727 return NULL;
34728}
34729
34730
34731SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34732 PyObject *resultobj = 0;
34733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34734 wxTreeItemId *arg2 = 0 ;
34735 wxFont result;
34736 void *argp1 = 0 ;
34737 int res1 = 0 ;
34738 void *argp2 = 0 ;
34739 int res2 = 0 ;
34740 PyObject * obj0 = 0 ;
34741 PyObject * obj1 = 0 ;
34742 char * kwnames[] = {
34743 (char *) "self",(char *) "item", NULL
34744 };
34745
34746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34748 if (!SWIG_IsOK(res1)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34750 }
34751 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34752 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34753 if (!SWIG_IsOK(res2)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34755 }
34756 if (!argp2) {
34757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34758 }
34759 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34760 {
34761 PyThreadState* __tstate = wxPyBeginAllowThreads();
34762 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34763 wxPyEndAllowThreads(__tstate);
34764 if (PyErr_Occurred()) SWIG_fail;
34765 }
34766 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34767 return resultobj;
34768fail:
34769 return NULL;
34770}
34771
34772
34773SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34774 PyObject *resultobj = 0;
34775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34776 wxTreeItemId *arg2 = 0 ;
34777 wxString *arg3 = 0 ;
34778 void *argp1 = 0 ;
34779 int res1 = 0 ;
34780 void *argp2 = 0 ;
34781 int res2 = 0 ;
34782 bool temp3 = false ;
34783 PyObject * obj0 = 0 ;
34784 PyObject * obj1 = 0 ;
34785 PyObject * obj2 = 0 ;
34786 char * kwnames[] = {
34787 (char *) "self",(char *) "item",(char *) "text", NULL
34788 };
34789
34790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34792 if (!SWIG_IsOK(res1)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34794 }
34795 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34796 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34797 if (!SWIG_IsOK(res2)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34799 }
34800 if (!argp2) {
34801 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34802 }
34803 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34804 {
34805 arg3 = wxString_in_helper(obj2);
34806 if (arg3 == NULL) SWIG_fail;
34807 temp3 = true;
34808 }
34809 {
34810 PyThreadState* __tstate = wxPyBeginAllowThreads();
34811 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34812 wxPyEndAllowThreads(__tstate);
34813 if (PyErr_Occurred()) SWIG_fail;
34814 }
34815 resultobj = SWIG_Py_Void();
34816 {
34817 if (temp3)
34818 delete arg3;
34819 }
34820 return resultobj;
34821fail:
34822 {
34823 if (temp3)
34824 delete arg3;
34825 }
34826 return NULL;
34827}
34828
34829
34830SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34831 PyObject *resultobj = 0;
34832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34833 wxTreeItemId *arg2 = 0 ;
34834 int arg3 ;
34835 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34836 void *argp1 = 0 ;
34837 int res1 = 0 ;
34838 void *argp2 = 0 ;
34839 int res2 = 0 ;
34840 int val3 ;
34841 int ecode3 = 0 ;
34842 int val4 ;
34843 int ecode4 = 0 ;
34844 PyObject * obj0 = 0 ;
34845 PyObject * obj1 = 0 ;
34846 PyObject * obj2 = 0 ;
34847 PyObject * obj3 = 0 ;
34848 char * kwnames[] = {
34849 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34850 };
34851
34852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34854 if (!SWIG_IsOK(res1)) {
34855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34856 }
34857 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34858 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34859 if (!SWIG_IsOK(res2)) {
34860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34861 }
34862 if (!argp2) {
34863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34864 }
34865 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34866 ecode3 = SWIG_AsVal_int(obj2, &val3);
34867 if (!SWIG_IsOK(ecode3)) {
34868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34869 }
34870 arg3 = static_cast< int >(val3);
34871 if (obj3) {
34872 ecode4 = SWIG_AsVal_int(obj3, &val4);
34873 if (!SWIG_IsOK(ecode4)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34875 }
34876 arg4 = static_cast< wxTreeItemIcon >(val4);
34877 }
34878 {
34879 PyThreadState* __tstate = wxPyBeginAllowThreads();
34880 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34881 wxPyEndAllowThreads(__tstate);
34882 if (PyErr_Occurred()) SWIG_fail;
34883 }
34884 resultobj = SWIG_Py_Void();
34885 return resultobj;
34886fail:
34887 return NULL;
34888}
34889
34890
34891SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34892 PyObject *resultobj = 0;
34893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34894 wxTreeItemId *arg2 = 0 ;
34895 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34896 void *argp1 = 0 ;
34897 int res1 = 0 ;
34898 void *argp2 = 0 ;
34899 int res2 = 0 ;
34900 int res3 = 0 ;
34901 PyObject * obj0 = 0 ;
34902 PyObject * obj1 = 0 ;
34903 PyObject * obj2 = 0 ;
34904 char * kwnames[] = {
34905 (char *) "self",(char *) "item",(char *) "data", NULL
34906 };
34907
34908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34910 if (!SWIG_IsOK(res1)) {
34911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34912 }
34913 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34914 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34915 if (!SWIG_IsOK(res2)) {
34916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34917 }
34918 if (!argp2) {
34919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34920 }
34921 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34922 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34923 if (!SWIG_IsOK(res3)) {
34924 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34925 }
34926 {
34927 PyThreadState* __tstate = wxPyBeginAllowThreads();
34928 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34929 wxPyEndAllowThreads(__tstate);
34930 if (PyErr_Occurred()) SWIG_fail;
34931 }
34932 resultobj = SWIG_Py_Void();
34933 return resultobj;
34934fail:
34935 return NULL;
34936}
34937
34938
34939SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34940 PyObject *resultobj = 0;
34941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34942 wxTreeItemId *arg2 = 0 ;
34943 PyObject *arg3 = (PyObject *) 0 ;
34944 void *argp1 = 0 ;
34945 int res1 = 0 ;
34946 void *argp2 = 0 ;
34947 int res2 = 0 ;
34948 PyObject * obj0 = 0 ;
34949 PyObject * obj1 = 0 ;
34950 PyObject * obj2 = 0 ;
34951 char * kwnames[] = {
34952 (char *) "self",(char *) "item",(char *) "obj", NULL
34953 };
34954
34955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34957 if (!SWIG_IsOK(res1)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34959 }
34960 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34961 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34962 if (!SWIG_IsOK(res2)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34964 }
34965 if (!argp2) {
34966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34967 }
34968 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34969 arg3 = obj2;
34970 {
34971 PyThreadState* __tstate = wxPyBeginAllowThreads();
34972 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34973 wxPyEndAllowThreads(__tstate);
34974 if (PyErr_Occurred()) SWIG_fail;
34975 }
34976 resultobj = SWIG_Py_Void();
34977 return resultobj;
34978fail:
34979 return NULL;
34980}
34981
34982
34983SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34984 PyObject *resultobj = 0;
34985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34986 wxTreeItemId *arg2 = 0 ;
34987 bool arg3 = (bool) true ;
34988 void *argp1 = 0 ;
34989 int res1 = 0 ;
34990 void *argp2 = 0 ;
34991 int res2 = 0 ;
34992 bool val3 ;
34993 int ecode3 = 0 ;
34994 PyObject * obj0 = 0 ;
34995 PyObject * obj1 = 0 ;
34996 PyObject * obj2 = 0 ;
34997 char * kwnames[] = {
34998 (char *) "self",(char *) "item",(char *) "has", NULL
34999 };
35000
35001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35003 if (!SWIG_IsOK(res1)) {
35004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35005 }
35006 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35007 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35008 if (!SWIG_IsOK(res2)) {
35009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35010 }
35011 if (!argp2) {
35012 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35013 }
35014 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35015 if (obj2) {
35016 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35017 if (!SWIG_IsOK(ecode3)) {
35018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35019 }
35020 arg3 = static_cast< bool >(val3);
35021 }
35022 {
35023 PyThreadState* __tstate = wxPyBeginAllowThreads();
35024 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35025 wxPyEndAllowThreads(__tstate);
35026 if (PyErr_Occurred()) SWIG_fail;
35027 }
35028 resultobj = SWIG_Py_Void();
35029 return resultobj;
35030fail:
35031 return NULL;
35032}
35033
35034
35035SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35036 PyObject *resultobj = 0;
35037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35038 wxTreeItemId *arg2 = 0 ;
35039 bool arg3 = (bool) true ;
35040 void *argp1 = 0 ;
35041 int res1 = 0 ;
35042 void *argp2 = 0 ;
35043 int res2 = 0 ;
35044 bool val3 ;
35045 int ecode3 = 0 ;
35046 PyObject * obj0 = 0 ;
35047 PyObject * obj1 = 0 ;
35048 PyObject * obj2 = 0 ;
35049 char * kwnames[] = {
35050 (char *) "self",(char *) "item",(char *) "bold", NULL
35051 };
35052
35053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35055 if (!SWIG_IsOK(res1)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35057 }
35058 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35059 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35060 if (!SWIG_IsOK(res2)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35062 }
35063 if (!argp2) {
35064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35065 }
35066 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35067 if (obj2) {
35068 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35069 if (!SWIG_IsOK(ecode3)) {
35070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35071 }
35072 arg3 = static_cast< bool >(val3);
35073 }
35074 {
35075 PyThreadState* __tstate = wxPyBeginAllowThreads();
35076 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35077 wxPyEndAllowThreads(__tstate);
35078 if (PyErr_Occurred()) SWIG_fail;
35079 }
35080 resultobj = SWIG_Py_Void();
35081 return resultobj;
35082fail:
35083 return NULL;
35084}
35085
35086
35087SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35088 PyObject *resultobj = 0;
35089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35090 wxTreeItemId *arg2 = 0 ;
35091 bool arg3 = (bool) true ;
35092 void *argp1 = 0 ;
35093 int res1 = 0 ;
35094 void *argp2 = 0 ;
35095 int res2 = 0 ;
35096 bool val3 ;
35097 int ecode3 = 0 ;
35098 PyObject * obj0 = 0 ;
35099 PyObject * obj1 = 0 ;
35100 PyObject * obj2 = 0 ;
35101 char * kwnames[] = {
35102 (char *) "self",(char *) "item",(char *) "highlight", NULL
35103 };
35104
35105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35107 if (!SWIG_IsOK(res1)) {
35108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35109 }
35110 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35111 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35112 if (!SWIG_IsOK(res2)) {
35113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35114 }
35115 if (!argp2) {
35116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35117 }
35118 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35119 if (obj2) {
35120 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35121 if (!SWIG_IsOK(ecode3)) {
35122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35123 }
35124 arg3 = static_cast< bool >(val3);
35125 }
35126 {
35127 PyThreadState* __tstate = wxPyBeginAllowThreads();
35128 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35129 wxPyEndAllowThreads(__tstate);
35130 if (PyErr_Occurred()) SWIG_fail;
35131 }
35132 resultobj = SWIG_Py_Void();
35133 return resultobj;
35134fail:
35135 return NULL;
35136}
35137
35138
35139SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35140 PyObject *resultobj = 0;
35141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35142 wxTreeItemId *arg2 = 0 ;
35143 wxColour *arg3 = 0 ;
35144 void *argp1 = 0 ;
35145 int res1 = 0 ;
35146 void *argp2 = 0 ;
35147 int res2 = 0 ;
35148 wxColour temp3 ;
35149 PyObject * obj0 = 0 ;
35150 PyObject * obj1 = 0 ;
35151 PyObject * obj2 = 0 ;
35152 char * kwnames[] = {
35153 (char *) "self",(char *) "item",(char *) "col", NULL
35154 };
35155
35156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35158 if (!SWIG_IsOK(res1)) {
35159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35160 }
35161 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35162 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35163 if (!SWIG_IsOK(res2)) {
35164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35165 }
35166 if (!argp2) {
35167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35168 }
35169 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35170 {
35171 arg3 = &temp3;
35172 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35173 }
35174 {
35175 PyThreadState* __tstate = wxPyBeginAllowThreads();
35176 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35177 wxPyEndAllowThreads(__tstate);
35178 if (PyErr_Occurred()) SWIG_fail;
35179 }
35180 resultobj = SWIG_Py_Void();
35181 return resultobj;
35182fail:
35183 return NULL;
35184}
35185
35186
35187SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35188 PyObject *resultobj = 0;
35189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35190 wxTreeItemId *arg2 = 0 ;
35191 wxColour *arg3 = 0 ;
35192 void *argp1 = 0 ;
35193 int res1 = 0 ;
35194 void *argp2 = 0 ;
35195 int res2 = 0 ;
35196 wxColour temp3 ;
35197 PyObject * obj0 = 0 ;
35198 PyObject * obj1 = 0 ;
35199 PyObject * obj2 = 0 ;
35200 char * kwnames[] = {
35201 (char *) "self",(char *) "item",(char *) "col", NULL
35202 };
35203
35204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35206 if (!SWIG_IsOK(res1)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35208 }
35209 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35211 if (!SWIG_IsOK(res2)) {
35212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35213 }
35214 if (!argp2) {
35215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35216 }
35217 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35218 {
35219 arg3 = &temp3;
35220 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35221 }
35222 {
35223 PyThreadState* __tstate = wxPyBeginAllowThreads();
35224 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour 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_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35236 PyObject *resultobj = 0;
35237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35238 wxTreeItemId *arg2 = 0 ;
35239 wxFont *arg3 = 0 ;
35240 void *argp1 = 0 ;
35241 int res1 = 0 ;
35242 void *argp2 = 0 ;
35243 int res2 = 0 ;
35244 void *argp3 = 0 ;
35245 int res3 = 0 ;
35246 PyObject * obj0 = 0 ;
35247 PyObject * obj1 = 0 ;
35248 PyObject * obj2 = 0 ;
35249 char * kwnames[] = {
35250 (char *) "self",(char *) "item",(char *) "font", NULL
35251 };
35252
35253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35255 if (!SWIG_IsOK(res1)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35257 }
35258 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35259 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35260 if (!SWIG_IsOK(res2)) {
35261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35262 }
35263 if (!argp2) {
35264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35265 }
35266 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35267 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35268 if (!SWIG_IsOK(res3)) {
35269 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35270 }
35271 if (!argp3) {
35272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35273 }
35274 arg3 = reinterpret_cast< wxFont * >(argp3);
35275 {
35276 PyThreadState* __tstate = wxPyBeginAllowThreads();
35277 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35278 wxPyEndAllowThreads(__tstate);
35279 if (PyErr_Occurred()) SWIG_fail;
35280 }
35281 resultobj = SWIG_Py_Void();
35282 return resultobj;
35283fail:
35284 return NULL;
35285}
35286
35287
35288SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35289 PyObject *resultobj = 0;
35290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35291 wxTreeItemId *arg2 = 0 ;
35292 bool result;
35293 void *argp1 = 0 ;
35294 int res1 = 0 ;
35295 void *argp2 = 0 ;
35296 int res2 = 0 ;
35297 PyObject * obj0 = 0 ;
35298 PyObject * obj1 = 0 ;
35299 char * kwnames[] = {
35300 (char *) "self",(char *) "item", NULL
35301 };
35302
35303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35305 if (!SWIG_IsOK(res1)) {
35306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35307 }
35308 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35310 if (!SWIG_IsOK(res2)) {
35311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35312 }
35313 if (!argp2) {
35314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35315 }
35316 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35317 {
35318 PyThreadState* __tstate = wxPyBeginAllowThreads();
35319 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35320 wxPyEndAllowThreads(__tstate);
35321 if (PyErr_Occurred()) SWIG_fail;
35322 }
35323 {
35324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35325 }
35326 return resultobj;
35327fail:
35328 return NULL;
35329}
35330
35331
35332SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35333 PyObject *resultobj = 0;
35334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35335 wxTreeItemId *arg2 = 0 ;
35336 bool result;
35337 void *argp1 = 0 ;
35338 int res1 = 0 ;
35339 void *argp2 = 0 ;
35340 int res2 = 0 ;
35341 PyObject * obj0 = 0 ;
35342 PyObject * obj1 = 0 ;
35343 char * kwnames[] = {
35344 (char *) "self",(char *) "item", NULL
35345 };
35346
35347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35349 if (!SWIG_IsOK(res1)) {
35350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35351 }
35352 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35353 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35354 if (!SWIG_IsOK(res2)) {
35355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35356 }
35357 if (!argp2) {
35358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35359 }
35360 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35361 {
35362 PyThreadState* __tstate = wxPyBeginAllowThreads();
35363 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35364 wxPyEndAllowThreads(__tstate);
35365 if (PyErr_Occurred()) SWIG_fail;
35366 }
35367 {
35368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35369 }
35370 return resultobj;
35371fail:
35372 return NULL;
35373}
35374
35375
35376SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35377 PyObject *resultobj = 0;
35378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35379 wxTreeItemId *arg2 = 0 ;
35380 bool result;
35381 void *argp1 = 0 ;
35382 int res1 = 0 ;
35383 void *argp2 = 0 ;
35384 int res2 = 0 ;
35385 PyObject * obj0 = 0 ;
35386 PyObject * obj1 = 0 ;
35387 char * kwnames[] = {
35388 (char *) "self",(char *) "item", NULL
35389 };
35390
35391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35393 if (!SWIG_IsOK(res1)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35395 }
35396 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35398 if (!SWIG_IsOK(res2)) {
35399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35400 }
35401 if (!argp2) {
35402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35403 }
35404 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35405 {
35406 PyThreadState* __tstate = wxPyBeginAllowThreads();
35407 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35408 wxPyEndAllowThreads(__tstate);
35409 if (PyErr_Occurred()) SWIG_fail;
35410 }
35411 {
35412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35413 }
35414 return resultobj;
35415fail:
35416 return NULL;
35417}
35418
35419
35420SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35421 PyObject *resultobj = 0;
35422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35423 wxTreeItemId *arg2 = 0 ;
35424 bool result;
35425 void *argp1 = 0 ;
35426 int res1 = 0 ;
35427 void *argp2 = 0 ;
35428 int res2 = 0 ;
35429 PyObject * obj0 = 0 ;
35430 PyObject * obj1 = 0 ;
35431 char * kwnames[] = {
35432 (char *) "self",(char *) "item", NULL
35433 };
35434
35435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35437 if (!SWIG_IsOK(res1)) {
35438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35439 }
35440 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35441 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35442 if (!SWIG_IsOK(res2)) {
35443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35444 }
35445 if (!argp2) {
35446 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 }
35448 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35449 {
35450 PyThreadState* __tstate = wxPyBeginAllowThreads();
35451 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35452 wxPyEndAllowThreads(__tstate);
35453 if (PyErr_Occurred()) SWIG_fail;
35454 }
35455 {
35456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35457 }
35458 return resultobj;
35459fail:
35460 return NULL;
35461}
35462
35463
35464SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35465 PyObject *resultobj = 0;
35466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35467 wxTreeItemId *arg2 = 0 ;
35468 bool result;
35469 void *argp1 = 0 ;
35470 int res1 = 0 ;
35471 void *argp2 = 0 ;
35472 int res2 = 0 ;
35473 PyObject * obj0 = 0 ;
35474 PyObject * obj1 = 0 ;
35475 char * kwnames[] = {
35476 (char *) "self",(char *) "item", NULL
35477 };
35478
35479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35481 if (!SWIG_IsOK(res1)) {
35482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35483 }
35484 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35485 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35486 if (!SWIG_IsOK(res2)) {
35487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35488 }
35489 if (!argp2) {
35490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35491 }
35492 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35493 {
35494 PyThreadState* __tstate = wxPyBeginAllowThreads();
35495 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35496 wxPyEndAllowThreads(__tstate);
35497 if (PyErr_Occurred()) SWIG_fail;
35498 }
35499 {
35500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35501 }
35502 return resultobj;
35503fail:
35504 return NULL;
35505}
35506
35507
1ceb4f4d
RD
35508SWIGINTERN PyObject *_wrap_TreeCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35509 PyObject *resultobj = 0;
35510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35511 bool 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_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35521 }
35522 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 result = (bool)((wxPyTreeCtrl const *)arg1)->IsEmpty();
35526 wxPyEndAllowThreads(__tstate);
35527 if (PyErr_Occurred()) SWIG_fail;
35528 }
35529 {
35530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35531 }
35532 return resultobj;
35533fail:
35534 return NULL;
35535}
35536
35537
1bd55598
RD
35538SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35539 PyObject *resultobj = 0;
35540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35541 wxTreeItemId *arg2 = 0 ;
35542 bool arg3 = (bool) true ;
35543 size_t result;
35544 void *argp1 = 0 ;
35545 int res1 = 0 ;
35546 void *argp2 = 0 ;
35547 int res2 = 0 ;
35548 bool val3 ;
35549 int ecode3 = 0 ;
35550 PyObject * obj0 = 0 ;
35551 PyObject * obj1 = 0 ;
35552 PyObject * obj2 = 0 ;
35553 char * kwnames[] = {
35554 (char *) "self",(char *) "item",(char *) "recursively", NULL
35555 };
35556
35557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35559 if (!SWIG_IsOK(res1)) {
35560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35561 }
35562 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35563 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35564 if (!SWIG_IsOK(res2)) {
35565 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35566 }
35567 if (!argp2) {
35568 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35569 }
35570 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35571 if (obj2) {
35572 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35573 if (!SWIG_IsOK(ecode3)) {
35574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35575 }
35576 arg3 = static_cast< bool >(val3);
35577 }
35578 {
35579 PyThreadState* __tstate = wxPyBeginAllowThreads();
35580 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35581 wxPyEndAllowThreads(__tstate);
35582 if (PyErr_Occurred()) SWIG_fail;
35583 }
35584 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35585 return resultobj;
35586fail:
35587 return NULL;
d55e5bfc
RD
35588}
35589
35590
1bd55598
RD
35591SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35592 PyObject *resultobj = 0;
35593 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35594 wxTreeItemId result;
35595 void *argp1 = 0 ;
35596 int res1 = 0 ;
35597 PyObject *swig_obj[1] ;
35598
35599 if (!args) SWIG_fail;
35600 swig_obj[0] = args;
35601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35602 if (!SWIG_IsOK(res1)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35604 }
35605 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35606 {
35607 PyThreadState* __tstate = wxPyBeginAllowThreads();
35608 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35609 wxPyEndAllowThreads(__tstate);
35610 if (PyErr_Occurred()) SWIG_fail;
35611 }
35612 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35613 return resultobj;
35614fail:
35615 return NULL;
d55e5bfc
RD
35616}
35617
35618
1bd55598
RD
35619SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35620 PyObject *resultobj = 0;
35621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35622 wxTreeItemId result;
35623 void *argp1 = 0 ;
35624 int res1 = 0 ;
35625 PyObject *swig_obj[1] ;
35626
35627 if (!args) SWIG_fail;
35628 swig_obj[0] = args;
35629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35630 if (!SWIG_IsOK(res1)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35632 }
35633 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35634 {
35635 PyThreadState* __tstate = wxPyBeginAllowThreads();
35636 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35637 wxPyEndAllowThreads(__tstate);
35638 if (PyErr_Occurred()) SWIG_fail;
35639 }
35640 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35641 return resultobj;
35642fail:
35643 return NULL;
d55e5bfc
RD
35644}
35645
35646
1bd55598
RD
35647SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35648 PyObject *resultobj = 0;
35649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35650 PyObject *result = 0 ;
35651 void *argp1 = 0 ;
35652 int res1 = 0 ;
35653 PyObject *swig_obj[1] ;
35654
35655 if (!args) SWIG_fail;
35656 swig_obj[0] = args;
35657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35658 if (!SWIG_IsOK(res1)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35660 }
35661 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35662 {
35663 PyThreadState* __tstate = wxPyBeginAllowThreads();
35664 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35665 wxPyEndAllowThreads(__tstate);
35666 if (PyErr_Occurred()) SWIG_fail;
35667 }
35668 resultobj = result;
35669 return resultobj;
35670fail:
35671 return NULL;
35672}
35673
35674
35675SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35676 PyObject *resultobj = 0;
35677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35678 wxTreeItemId *arg2 = 0 ;
35679 wxTreeItemId result;
35680 void *argp1 = 0 ;
35681 int res1 = 0 ;
35682 void *argp2 = 0 ;
35683 int res2 = 0 ;
35684 PyObject * obj0 = 0 ;
35685 PyObject * obj1 = 0 ;
35686 char * kwnames[] = {
35687 (char *) "self",(char *) "item", NULL
35688 };
35689
35690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35692 if (!SWIG_IsOK(res1)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35694 }
35695 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35697 if (!SWIG_IsOK(res2)) {
35698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35699 }
35700 if (!argp2) {
35701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35702 }
35703 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35704 {
35705 PyThreadState* __tstate = wxPyBeginAllowThreads();
35706 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35707 wxPyEndAllowThreads(__tstate);
35708 if (PyErr_Occurred()) SWIG_fail;
35709 }
35710 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35711 return resultobj;
35712fail:
35713 return NULL;
35714}
35715
35716
35717SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35718 PyObject *resultobj = 0;
35719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35720 wxTreeItemId *arg2 = 0 ;
35721 PyObject *result = 0 ;
35722 void *argp1 = 0 ;
35723 int res1 = 0 ;
35724 void *argp2 = 0 ;
35725 int res2 = 0 ;
35726 PyObject * obj0 = 0 ;
35727 PyObject * obj1 = 0 ;
35728 char * kwnames[] = {
35729 (char *) "self",(char *) "item", NULL
35730 };
35731
35732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35734 if (!SWIG_IsOK(res1)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35736 }
35737 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35739 if (!SWIG_IsOK(res2)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35741 }
35742 if (!argp2) {
35743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35744 }
35745 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35749 wxPyEndAllowThreads(__tstate);
35750 if (PyErr_Occurred()) SWIG_fail;
35751 }
35752 resultobj = result;
35753 return resultobj;
35754fail:
35755 return NULL;
35756}
35757
35758
35759SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35760 PyObject *resultobj = 0;
35761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35762 wxTreeItemId *arg2 = 0 ;
35763 void *arg3 = (void *) 0 ;
35764 PyObject *result = 0 ;
35765 void *argp1 = 0 ;
35766 int res1 = 0 ;
35767 void *argp2 = 0 ;
35768 int res2 = 0 ;
35769 int res3 ;
35770 PyObject * obj0 = 0 ;
35771 PyObject * obj1 = 0 ;
35772 PyObject * obj2 = 0 ;
35773 char * kwnames[] = {
35774 (char *) "self",(char *) "item",(char *) "cookie", NULL
35775 };
35776
35777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35779 if (!SWIG_IsOK(res1)) {
35780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35781 }
35782 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35784 if (!SWIG_IsOK(res2)) {
35785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35786 }
35787 if (!argp2) {
35788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35789 }
35790 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35791 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35792 if (!SWIG_IsOK(res3)) {
35793 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35794 }
35795 {
35796 PyThreadState* __tstate = wxPyBeginAllowThreads();
35797 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35798 wxPyEndAllowThreads(__tstate);
35799 if (PyErr_Occurred()) SWIG_fail;
35800 }
35801 resultobj = result;
35802 return resultobj;
35803fail:
35804 return NULL;
35805}
35806
35807
35808SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35809 PyObject *resultobj = 0;
35810 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35811 wxTreeItemId *arg2 = 0 ;
35812 wxTreeItemId result;
35813 void *argp1 = 0 ;
35814 int res1 = 0 ;
35815 void *argp2 = 0 ;
35816 int res2 = 0 ;
35817 PyObject * obj0 = 0 ;
35818 PyObject * obj1 = 0 ;
35819 char * kwnames[] = {
35820 (char *) "self",(char *) "item", NULL
35821 };
35822
35823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35825 if (!SWIG_IsOK(res1)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35827 }
35828 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35829 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35830 if (!SWIG_IsOK(res2)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35832 }
35833 if (!argp2) {
35834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35835 }
35836 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35837 {
35838 PyThreadState* __tstate = wxPyBeginAllowThreads();
35839 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35840 wxPyEndAllowThreads(__tstate);
35841 if (PyErr_Occurred()) SWIG_fail;
35842 }
35843 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35844 return resultobj;
35845fail:
35846 return NULL;
35847}
35848
35849
35850SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35851 PyObject *resultobj = 0;
35852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35853 wxTreeItemId *arg2 = 0 ;
35854 wxTreeItemId result;
35855 void *argp1 = 0 ;
35856 int res1 = 0 ;
35857 void *argp2 = 0 ;
35858 int res2 = 0 ;
35859 PyObject * obj0 = 0 ;
35860 PyObject * obj1 = 0 ;
35861 char * kwnames[] = {
35862 (char *) "self",(char *) "item", NULL
35863 };
35864
35865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35867 if (!SWIG_IsOK(res1)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35869 }
35870 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35871 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35872 if (!SWIG_IsOK(res2)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35874 }
35875 if (!argp2) {
35876 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35877 }
35878 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35879 {
35880 PyThreadState* __tstate = wxPyBeginAllowThreads();
35881 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35882 wxPyEndAllowThreads(__tstate);
35883 if (PyErr_Occurred()) SWIG_fail;
35884 }
35885 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35886 return resultobj;
35887fail:
35888 return NULL;
35889}
35890
35891
35892SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35893 PyObject *resultobj = 0;
35894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35895 wxTreeItemId *arg2 = 0 ;
35896 wxTreeItemId result;
35897 void *argp1 = 0 ;
35898 int res1 = 0 ;
35899 void *argp2 = 0 ;
35900 int res2 = 0 ;
35901 PyObject * obj0 = 0 ;
35902 PyObject * obj1 = 0 ;
35903 char * kwnames[] = {
35904 (char *) "self",(char *) "item", NULL
35905 };
35906
35907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35909 if (!SWIG_IsOK(res1)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35911 }
35912 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35914 if (!SWIG_IsOK(res2)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35916 }
35917 if (!argp2) {
35918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35919 }
35920 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35921 {
35922 PyThreadState* __tstate = wxPyBeginAllowThreads();
35923 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35924 wxPyEndAllowThreads(__tstate);
35925 if (PyErr_Occurred()) SWIG_fail;
35926 }
35927 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35928 return resultobj;
35929fail:
35930 return NULL;
d55e5bfc
RD
35931}
35932
35933
1bd55598
RD
35934SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35935 PyObject *resultobj = 0;
35936 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35937 wxTreeItemId result;
35938 void *argp1 = 0 ;
35939 int res1 = 0 ;
35940 PyObject *swig_obj[1] ;
35941
35942 if (!args) SWIG_fail;
35943 swig_obj[0] = args;
35944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35945 if (!SWIG_IsOK(res1)) {
35946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35947 }
35948 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35949 {
35950 PyThreadState* __tstate = wxPyBeginAllowThreads();
35951 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35952 wxPyEndAllowThreads(__tstate);
35953 if (PyErr_Occurred()) SWIG_fail;
35954 }
35955 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35956 return resultobj;
35957fail:
35958 return NULL;
35959}
35960
35961
35962SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35963 PyObject *resultobj = 0;
35964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35965 wxTreeItemId *arg2 = 0 ;
35966 wxTreeItemId result;
35967 void *argp1 = 0 ;
35968 int res1 = 0 ;
35969 void *argp2 = 0 ;
35970 int res2 = 0 ;
35971 PyObject * obj0 = 0 ;
35972 PyObject * obj1 = 0 ;
35973 char * kwnames[] = {
35974 (char *) "self",(char *) "item", NULL
35975 };
35976
35977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35979 if (!SWIG_IsOK(res1)) {
35980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35981 }
35982 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35983 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35984 if (!SWIG_IsOK(res2)) {
35985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 }
35987 if (!argp2) {
35988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35989 }
35990 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35991 {
35992 PyThreadState* __tstate = wxPyBeginAllowThreads();
35993 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35994 wxPyEndAllowThreads(__tstate);
35995 if (PyErr_Occurred()) SWIG_fail;
35996 }
35997 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35998 return resultobj;
35999fail:
36000 return NULL;
36001}
36002
36003
36004SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36005 PyObject *resultobj = 0;
36006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36007 wxTreeItemId *arg2 = 0 ;
36008 wxTreeItemId result;
36009 void *argp1 = 0 ;
36010 int res1 = 0 ;
36011 void *argp2 = 0 ;
36012 int res2 = 0 ;
36013 PyObject * obj0 = 0 ;
36014 PyObject * obj1 = 0 ;
36015 char * kwnames[] = {
36016 (char *) "self",(char *) "item", NULL
36017 };
36018
36019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36021 if (!SWIG_IsOK(res1)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36023 }
36024 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36026 if (!SWIG_IsOK(res2)) {
36027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36028 }
36029 if (!argp2) {
36030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36031 }
36032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36033 {
36034 PyThreadState* __tstate = wxPyBeginAllowThreads();
36035 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36036 wxPyEndAllowThreads(__tstate);
36037 if (PyErr_Occurred()) SWIG_fail;
36038 }
36039 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36040 return resultobj;
36041fail:
36042 return NULL;
36043}
36044
36045
36046SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36047 PyObject *resultobj = 0;
36048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36049 wxString *arg2 = 0 ;
36050 int arg3 = (int) -1 ;
36051 int arg4 = (int) -1 ;
36052 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36053 wxTreeItemId result;
36054 void *argp1 = 0 ;
36055 int res1 = 0 ;
36056 bool temp2 = false ;
36057 int val3 ;
36058 int ecode3 = 0 ;
36059 int val4 ;
36060 int ecode4 = 0 ;
36061 int res5 = 0 ;
36062 PyObject * obj0 = 0 ;
36063 PyObject * obj1 = 0 ;
36064 PyObject * obj2 = 0 ;
36065 PyObject * obj3 = 0 ;
36066 PyObject * obj4 = 0 ;
36067 char * kwnames[] = {
36068 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36069 };
36070
36071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36073 if (!SWIG_IsOK(res1)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36075 }
36076 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36077 {
36078 arg2 = wxString_in_helper(obj1);
36079 if (arg2 == NULL) SWIG_fail;
36080 temp2 = true;
36081 }
36082 if (obj2) {
36083 ecode3 = SWIG_AsVal_int(obj2, &val3);
36084 if (!SWIG_IsOK(ecode3)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36086 }
36087 arg3 = static_cast< int >(val3);
36088 }
36089 if (obj3) {
36090 ecode4 = SWIG_AsVal_int(obj3, &val4);
36091 if (!SWIG_IsOK(ecode4)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36093 }
36094 arg4 = static_cast< int >(val4);
36095 }
36096 if (obj4) {
36097 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36098 if (!SWIG_IsOK(res5)) {
36099 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36ed4f51 36100 }
1bd55598
RD
36101 }
36102 {
36103 PyThreadState* __tstate = wxPyBeginAllowThreads();
36104 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36105 wxPyEndAllowThreads(__tstate);
36106 if (PyErr_Occurred()) SWIG_fail;
36107 }
36108 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36109 {
36110 if (temp2)
36111 delete arg2;
36112 }
36113 return resultobj;
36114fail:
36115 {
36116 if (temp2)
36117 delete arg2;
36118 }
36119 return NULL;
36120}
36121
36122
36123SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36124 PyObject *resultobj = 0;
36125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36126 wxTreeItemId *arg2 = 0 ;
36127 wxString *arg3 = 0 ;
36128 int arg4 = (int) -1 ;
36129 int arg5 = (int) -1 ;
36130 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36131 wxTreeItemId result;
36132 void *argp1 = 0 ;
36133 int res1 = 0 ;
36134 void *argp2 = 0 ;
36135 int res2 = 0 ;
36136 bool temp3 = false ;
36137 int val4 ;
36138 int ecode4 = 0 ;
36139 int val5 ;
36140 int ecode5 = 0 ;
36141 int res6 = 0 ;
36142 PyObject * obj0 = 0 ;
36143 PyObject * obj1 = 0 ;
36144 PyObject * obj2 = 0 ;
36145 PyObject * obj3 = 0 ;
36146 PyObject * obj4 = 0 ;
36147 PyObject * obj5 = 0 ;
36148 char * kwnames[] = {
36149 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36150 };
36151
36152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36154 if (!SWIG_IsOK(res1)) {
36155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36156 }
36157 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36158 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36159 if (!SWIG_IsOK(res2)) {
36160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36161 }
36162 if (!argp2) {
36163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36164 }
36165 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36166 {
36167 arg3 = wxString_in_helper(obj2);
36168 if (arg3 == NULL) SWIG_fail;
36169 temp3 = true;
36170 }
36171 if (obj3) {
36172 ecode4 = SWIG_AsVal_int(obj3, &val4);
36173 if (!SWIG_IsOK(ecode4)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36175 }
36176 arg4 = static_cast< int >(val4);
36177 }
36178 if (obj4) {
36179 ecode5 = SWIG_AsVal_int(obj4, &val5);
36180 if (!SWIG_IsOK(ecode5)) {
36181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36182 }
36183 arg5 = static_cast< int >(val5);
36184 }
36185 if (obj5) {
36186 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36187 if (!SWIG_IsOK(res6)) {
36188 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36189 }
1bd55598
RD
36190 }
36191 {
36192 PyThreadState* __tstate = wxPyBeginAllowThreads();
36193 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36194 wxPyEndAllowThreads(__tstate);
36195 if (PyErr_Occurred()) SWIG_fail;
36196 }
36197 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36198 {
36199 if (temp3)
36200 delete arg3;
36201 }
36202 return resultobj;
36203fail:
36204 {
36205 if (temp3)
36206 delete arg3;
36207 }
36208 return NULL;
36209}
36210
36211
36212SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36213 PyObject *resultobj = 0;
36214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36215 wxTreeItemId *arg2 = 0 ;
36216 wxTreeItemId *arg3 = 0 ;
36217 wxString *arg4 = 0 ;
36218 int arg5 = (int) -1 ;
36219 int arg6 = (int) -1 ;
36220 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36221 wxTreeItemId result;
36222 void *argp1 = 0 ;
36223 int res1 = 0 ;
36224 void *argp2 = 0 ;
36225 int res2 = 0 ;
36226 void *argp3 = 0 ;
36227 int res3 = 0 ;
36228 bool temp4 = false ;
36229 int val5 ;
36230 int ecode5 = 0 ;
36231 int val6 ;
36232 int ecode6 = 0 ;
36233 int res7 = 0 ;
36234 PyObject * obj0 = 0 ;
36235 PyObject * obj1 = 0 ;
36236 PyObject * obj2 = 0 ;
36237 PyObject * obj3 = 0 ;
36238 PyObject * obj4 = 0 ;
36239 PyObject * obj5 = 0 ;
36240 PyObject * obj6 = 0 ;
36241 char * kwnames[] = {
36242 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36243 };
36244
36245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36247 if (!SWIG_IsOK(res1)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36249 }
36250 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36251 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36252 if (!SWIG_IsOK(res2)) {
36253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36254 }
36255 if (!argp2) {
36256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36257 }
36258 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36259 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36260 if (!SWIG_IsOK(res3)) {
36261 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36262 }
36263 if (!argp3) {
36264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36265 }
36266 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36267 {
36268 arg4 = wxString_in_helper(obj3);
36269 if (arg4 == NULL) SWIG_fail;
36270 temp4 = true;
36271 }
36272 if (obj4) {
36273 ecode5 = SWIG_AsVal_int(obj4, &val5);
36274 if (!SWIG_IsOK(ecode5)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36276 }
36277 arg5 = static_cast< int >(val5);
36278 }
36279 if (obj5) {
36280 ecode6 = SWIG_AsVal_int(obj5, &val6);
36281 if (!SWIG_IsOK(ecode6)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36283 }
36284 arg6 = static_cast< int >(val6);
36285 }
36286 if (obj6) {
36287 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36288 if (!SWIG_IsOK(res7)) {
36289 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36290 }
1bd55598
RD
36291 }
36292 {
36293 PyThreadState* __tstate = wxPyBeginAllowThreads();
36294 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36295 wxPyEndAllowThreads(__tstate);
36296 if (PyErr_Occurred()) SWIG_fail;
36297 }
36298 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36299 {
36300 if (temp4)
36301 delete arg4;
36302 }
36303 return resultobj;
36304fail:
36305 {
36306 if (temp4)
36307 delete arg4;
36308 }
36309 return NULL;
36310}
36311
36312
36313SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36314 PyObject *resultobj = 0;
36315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36316 wxTreeItemId *arg2 = 0 ;
36317 size_t arg3 ;
36318 wxString *arg4 = 0 ;
36319 int arg5 = (int) -1 ;
36320 int arg6 = (int) -1 ;
36321 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36322 wxTreeItemId result;
36323 void *argp1 = 0 ;
36324 int res1 = 0 ;
36325 void *argp2 = 0 ;
36326 int res2 = 0 ;
36327 size_t val3 ;
36328 int ecode3 = 0 ;
36329 bool temp4 = false ;
36330 int val5 ;
36331 int ecode5 = 0 ;
36332 int val6 ;
36333 int ecode6 = 0 ;
36334 int res7 = 0 ;
36335 PyObject * obj0 = 0 ;
36336 PyObject * obj1 = 0 ;
36337 PyObject * obj2 = 0 ;
36338 PyObject * obj3 = 0 ;
36339 PyObject * obj4 = 0 ;
36340 PyObject * obj5 = 0 ;
36341 PyObject * obj6 = 0 ;
36342 char * kwnames[] = {
36343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36344 };
36345
36346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36348 if (!SWIG_IsOK(res1)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36350 }
36351 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36352 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36353 if (!SWIG_IsOK(res2)) {
36354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36355 }
36356 if (!argp2) {
36357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36358 }
36359 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36360 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36361 if (!SWIG_IsOK(ecode3)) {
36362 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36363 }
36364 arg3 = static_cast< size_t >(val3);
36365 {
36366 arg4 = wxString_in_helper(obj3);
36367 if (arg4 == NULL) SWIG_fail;
36368 temp4 = true;
36369 }
36370 if (obj4) {
36371 ecode5 = SWIG_AsVal_int(obj4, &val5);
36372 if (!SWIG_IsOK(ecode5)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36374 }
36375 arg5 = static_cast< int >(val5);
36376 }
36377 if (obj5) {
36378 ecode6 = SWIG_AsVal_int(obj5, &val6);
36379 if (!SWIG_IsOK(ecode6)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36381 }
36382 arg6 = static_cast< int >(val6);
36383 }
36384 if (obj6) {
36385 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36386 if (!SWIG_IsOK(res7)) {
36387 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36388 }
1bd55598
RD
36389 }
36390 {
36391 PyThreadState* __tstate = wxPyBeginAllowThreads();
36392 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36393 wxPyEndAllowThreads(__tstate);
36394 if (PyErr_Occurred()) SWIG_fail;
36395 }
36396 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36397 {
36398 if (temp4)
36399 delete arg4;
36400 }
36401 return resultobj;
36402fail:
36403 {
36404 if (temp4)
36405 delete arg4;
36406 }
36407 return NULL;
36408}
36409
36410
36411SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36412 PyObject *resultobj = 0;
36413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36414 wxTreeItemId *arg2 = 0 ;
36415 wxString *arg3 = 0 ;
36416 int arg4 = (int) -1 ;
36417 int arg5 = (int) -1 ;
36418 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36419 wxTreeItemId result;
36420 void *argp1 = 0 ;
36421 int res1 = 0 ;
36422 void *argp2 = 0 ;
36423 int res2 = 0 ;
36424 bool temp3 = false ;
36425 int val4 ;
36426 int ecode4 = 0 ;
36427 int val5 ;
36428 int ecode5 = 0 ;
36429 int res6 = 0 ;
36430 PyObject * obj0 = 0 ;
36431 PyObject * obj1 = 0 ;
36432 PyObject * obj2 = 0 ;
36433 PyObject * obj3 = 0 ;
36434 PyObject * obj4 = 0 ;
36435 PyObject * obj5 = 0 ;
36436 char * kwnames[] = {
36437 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36438 };
36439
36440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36442 if (!SWIG_IsOK(res1)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36444 }
36445 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36446 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36447 if (!SWIG_IsOK(res2)) {
36448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36449 }
36450 if (!argp2) {
36451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36452 }
36453 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36454 {
36455 arg3 = wxString_in_helper(obj2);
36456 if (arg3 == NULL) SWIG_fail;
36457 temp3 = true;
36458 }
36459 if (obj3) {
36460 ecode4 = SWIG_AsVal_int(obj3, &val4);
36461 if (!SWIG_IsOK(ecode4)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36463 }
36464 arg4 = static_cast< int >(val4);
36465 }
36466 if (obj4) {
36467 ecode5 = SWIG_AsVal_int(obj4, &val5);
36468 if (!SWIG_IsOK(ecode5)) {
36469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36470 }
36471 arg5 = static_cast< int >(val5);
36472 }
36473 if (obj5) {
36474 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36475 if (!SWIG_IsOK(res6)) {
36476 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36477 }
1bd55598
RD
36478 }
36479 {
36480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36481 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36482 wxPyEndAllowThreads(__tstate);
36483 if (PyErr_Occurred()) SWIG_fail;
36484 }
36485 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36486 {
36487 if (temp3)
36488 delete arg3;
36489 }
36490 return resultobj;
36491fail:
36492 {
36493 if (temp3)
36494 delete arg3;
36495 }
36496 return NULL;
36497}
36498
36499
36500SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36501 PyObject *resultobj = 0;
36502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36503 wxTreeItemId *arg2 = 0 ;
36504 void *argp1 = 0 ;
36505 int res1 = 0 ;
36506 void *argp2 = 0 ;
36507 int res2 = 0 ;
36508 PyObject * obj0 = 0 ;
36509 PyObject * obj1 = 0 ;
36510 char * kwnames[] = {
36511 (char *) "self",(char *) "item", NULL
36512 };
36513
36514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36516 if (!SWIG_IsOK(res1)) {
36517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36518 }
36519 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36521 if (!SWIG_IsOK(res2)) {
36522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36523 }
36524 if (!argp2) {
36525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36526 }
36527 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36528 {
36529 PyThreadState* __tstate = wxPyBeginAllowThreads();
36530 (arg1)->Delete((wxTreeItemId const &)*arg2);
36531 wxPyEndAllowThreads(__tstate);
36532 if (PyErr_Occurred()) SWIG_fail;
36533 }
36534 resultobj = SWIG_Py_Void();
36535 return resultobj;
36536fail:
36537 return NULL;
36538}
36539
36540
36541SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36542 PyObject *resultobj = 0;
36543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36544 wxTreeItemId *arg2 = 0 ;
36545 void *argp1 = 0 ;
36546 int res1 = 0 ;
36547 void *argp2 = 0 ;
36548 int res2 = 0 ;
36549 PyObject * obj0 = 0 ;
36550 PyObject * obj1 = 0 ;
36551 char * kwnames[] = {
36552 (char *) "self",(char *) "item", NULL
36553 };
36554
36555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36557 if (!SWIG_IsOK(res1)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36559 }
36560 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36561 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36562 if (!SWIG_IsOK(res2)) {
36563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36564 }
36565 if (!argp2) {
36566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36567 }
36568 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36569 {
36570 PyThreadState* __tstate = wxPyBeginAllowThreads();
36571 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36572 wxPyEndAllowThreads(__tstate);
36573 if (PyErr_Occurred()) SWIG_fail;
36574 }
36575 resultobj = SWIG_Py_Void();
36576 return resultobj;
36577fail:
36578 return NULL;
d55e5bfc
RD
36579}
36580
36581
1bd55598
RD
36582SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36583 PyObject *resultobj = 0;
36584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36585 void *argp1 = 0 ;
36586 int res1 = 0 ;
36587 PyObject *swig_obj[1] ;
36588
36589 if (!args) SWIG_fail;
36590 swig_obj[0] = args;
36591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36592 if (!SWIG_IsOK(res1)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36594 }
36595 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36596 {
36597 PyThreadState* __tstate = wxPyBeginAllowThreads();
36598 (arg1)->DeleteAllItems();
36599 wxPyEndAllowThreads(__tstate);
36600 if (PyErr_Occurred()) SWIG_fail;
36601 }
36602 resultobj = SWIG_Py_Void();
36603 return resultobj;
36604fail:
36605 return NULL;
36606}
36607
36608
36609SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36610 PyObject *resultobj = 0;
36611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36612 wxTreeItemId *arg2 = 0 ;
36613 void *argp1 = 0 ;
36614 int res1 = 0 ;
36615 void *argp2 = 0 ;
36616 int res2 = 0 ;
36617 PyObject * obj0 = 0 ;
36618 PyObject * obj1 = 0 ;
36619 char * kwnames[] = {
36620 (char *) "self",(char *) "item", NULL
36621 };
36622
36623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36625 if (!SWIG_IsOK(res1)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36627 }
36628 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36630 if (!SWIG_IsOK(res2)) {
36631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36632 }
36633 if (!argp2) {
36634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36635 }
36636 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36637 {
36638 PyThreadState* __tstate = wxPyBeginAllowThreads();
36639 (arg1)->Expand((wxTreeItemId const &)*arg2);
36640 wxPyEndAllowThreads(__tstate);
36641 if (PyErr_Occurred()) SWIG_fail;
36642 }
36643 resultobj = SWIG_Py_Void();
36644 return resultobj;
36645fail:
36646 return NULL;
36647}
36648
36649
3d6c9062
RD
36650SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36651 PyObject *resultobj = 0;
36652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36653 wxTreeItemId *arg2 = 0 ;
36654 void *argp1 = 0 ;
36655 int res1 = 0 ;
36656 void *argp2 = 0 ;
36657 int res2 = 0 ;
36658 PyObject * obj0 = 0 ;
36659 PyObject * obj1 = 0 ;
36660 char * kwnames[] = {
36661 (char *) "self",(char *) "item", NULL
36662 };
36663
36664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36666 if (!SWIG_IsOK(res1)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36668 }
36669 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36670 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36671 if (!SWIG_IsOK(res2)) {
36672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36673 }
36674 if (!argp2) {
36675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36676 }
36677 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36678 {
36679 PyThreadState* __tstate = wxPyBeginAllowThreads();
36680 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36681 wxPyEndAllowThreads(__tstate);
36682 if (PyErr_Occurred()) SWIG_fail;
36683 }
36684 resultobj = SWIG_Py_Void();
36685 return resultobj;
36686fail:
36687 return NULL;
36688}
36689
36690
36691SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36692 PyObject *resultobj = 0;
36693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36694 void *argp1 = 0 ;
36695 int res1 = 0 ;
36696 PyObject *swig_obj[1] ;
36697
36698 if (!args) SWIG_fail;
36699 swig_obj[0] = args;
36700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36701 if (!SWIG_IsOK(res1)) {
36702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36703 }
36704 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36705 {
36706 PyThreadState* __tstate = wxPyBeginAllowThreads();
36707 (arg1)->ExpandAll();
36708 wxPyEndAllowThreads(__tstate);
36709 if (PyErr_Occurred()) SWIG_fail;
36710 }
36711 resultobj = SWIG_Py_Void();
36712 return resultobj;
36713fail:
36714 return NULL;
36715}
36716
36717
1bd55598
RD
36718SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36719 PyObject *resultobj = 0;
36720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36721 wxTreeItemId *arg2 = 0 ;
36722 void *argp1 = 0 ;
36723 int res1 = 0 ;
36724 void *argp2 = 0 ;
36725 int res2 = 0 ;
36726 PyObject * obj0 = 0 ;
36727 PyObject * obj1 = 0 ;
36728 char * kwnames[] = {
36729 (char *) "self",(char *) "item", NULL
36730 };
36731
36732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36734 if (!SWIG_IsOK(res1)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36736 }
36737 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36739 if (!SWIG_IsOK(res2)) {
36740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 }
36742 if (!argp2) {
36743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36744 }
36745 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36746 {
36747 PyThreadState* __tstate = wxPyBeginAllowThreads();
36748 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36749 wxPyEndAllowThreads(__tstate);
36750 if (PyErr_Occurred()) SWIG_fail;
36751 }
36752 resultobj = SWIG_Py_Void();
36753 return resultobj;
36754fail:
36755 return NULL;
36756}
36757
36758
1ceb4f4d
RD
36759SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36760 PyObject *resultobj = 0;
36761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36762 wxTreeItemId *arg2 = 0 ;
36763 void *argp1 = 0 ;
36764 int res1 = 0 ;
36765 void *argp2 = 0 ;
36766 int res2 = 0 ;
36767 PyObject * obj0 = 0 ;
36768 PyObject * obj1 = 0 ;
36769 char * kwnames[] = {
36770 (char *) "self",(char *) "item", NULL
36771 };
36772
36773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36775 if (!SWIG_IsOK(res1)) {
36776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36777 }
36778 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36780 if (!SWIG_IsOK(res2)) {
36781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36782 }
36783 if (!argp2) {
36784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36785 }
36786 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36787 {
36788 PyThreadState* __tstate = wxPyBeginAllowThreads();
36789 (arg1)->CollapseAllChildren((wxTreeItemId const &)*arg2);
36790 wxPyEndAllowThreads(__tstate);
36791 if (PyErr_Occurred()) SWIG_fail;
36792 }
36793 resultobj = SWIG_Py_Void();
36794 return resultobj;
36795fail:
36796 return NULL;
36797}
36798
36799
36800SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36801 PyObject *resultobj = 0;
36802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36803 void *argp1 = 0 ;
36804 int res1 = 0 ;
36805 PyObject *swig_obj[1] ;
36806
36807 if (!args) SWIG_fail;
36808 swig_obj[0] = args;
36809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36810 if (!SWIG_IsOK(res1)) {
36811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36812 }
36813 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36814 {
36815 PyThreadState* __tstate = wxPyBeginAllowThreads();
36816 (arg1)->CollapseAll();
36817 wxPyEndAllowThreads(__tstate);
36818 if (PyErr_Occurred()) SWIG_fail;
36819 }
36820 resultobj = SWIG_Py_Void();
36821 return resultobj;
36822fail:
36823 return NULL;
36824}
36825
36826
1bd55598
RD
36827SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36828 PyObject *resultobj = 0;
36829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36830 wxTreeItemId *arg2 = 0 ;
36831 void *argp1 = 0 ;
36832 int res1 = 0 ;
36833 void *argp2 = 0 ;
36834 int res2 = 0 ;
36835 PyObject * obj0 = 0 ;
36836 PyObject * obj1 = 0 ;
36837 char * kwnames[] = {
36838 (char *) "self",(char *) "item", NULL
36839 };
36840
36841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36843 if (!SWIG_IsOK(res1)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 }
36846 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36847 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36848 if (!SWIG_IsOK(res2)) {
36849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36850 }
36851 if (!argp2) {
36852 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36853 }
36854 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36855 {
36856 PyThreadState* __tstate = wxPyBeginAllowThreads();
36857 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36858 wxPyEndAllowThreads(__tstate);
36859 if (PyErr_Occurred()) SWIG_fail;
36860 }
36861 resultobj = SWIG_Py_Void();
36862 return resultobj;
36863fail:
36864 return NULL;
36865}
36866
36867
36868SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36869 PyObject *resultobj = 0;
36870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36871 wxTreeItemId *arg2 = 0 ;
36872 void *argp1 = 0 ;
36873 int res1 = 0 ;
36874 void *argp2 = 0 ;
36875 int res2 = 0 ;
36876 PyObject * obj0 = 0 ;
36877 PyObject * obj1 = 0 ;
36878 char * kwnames[] = {
36879 (char *) "self",(char *) "item", NULL
36880 };
36881
36882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36884 if (!SWIG_IsOK(res1)) {
36885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 }
36887 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36888 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36889 if (!SWIG_IsOK(res2)) {
36890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 }
36892 if (!argp2) {
36893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 }
36895 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36896 {
36897 PyThreadState* __tstate = wxPyBeginAllowThreads();
36898 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36899 wxPyEndAllowThreads(__tstate);
36900 if (PyErr_Occurred()) SWIG_fail;
36901 }
36902 resultobj = SWIG_Py_Void();
36903 return resultobj;
36904fail:
36905 return NULL;
d55e5bfc
RD
36906}
36907
36908
1bd55598
RD
36909SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36910 PyObject *resultobj = 0;
36911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36912 void *argp1 = 0 ;
36913 int res1 = 0 ;
36914 PyObject *swig_obj[1] ;
36915
36916 if (!args) SWIG_fail;
36917 swig_obj[0] = args;
36918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36919 if (!SWIG_IsOK(res1)) {
36920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36921 }
36922 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36923 {
36924 PyThreadState* __tstate = wxPyBeginAllowThreads();
36925 (arg1)->Unselect();
36926 wxPyEndAllowThreads(__tstate);
36927 if (PyErr_Occurred()) SWIG_fail;
36928 }
36929 resultobj = SWIG_Py_Void();
36930 return resultobj;
36931fail:
36932 return NULL;
36933}
36934
36935
36936SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36937 PyObject *resultobj = 0;
36938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36939 wxTreeItemId *arg2 = 0 ;
36940 void *argp1 = 0 ;
36941 int res1 = 0 ;
36942 void *argp2 = 0 ;
36943 int res2 = 0 ;
36944 PyObject * obj0 = 0 ;
36945 PyObject * obj1 = 0 ;
36946 char * kwnames[] = {
36947 (char *) "self",(char *) "item", NULL
36948 };
36949
36950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36952 if (!SWIG_IsOK(res1)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36954 }
36955 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36956 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36957 if (!SWIG_IsOK(res2)) {
36958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36959 }
36960 if (!argp2) {
36961 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36962 }
36963 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36964 {
36965 PyThreadState* __tstate = wxPyBeginAllowThreads();
36966 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36967 wxPyEndAllowThreads(__tstate);
36968 if (PyErr_Occurred()) SWIG_fail;
36969 }
36970 resultobj = SWIG_Py_Void();
36971 return resultobj;
36972fail:
36973 return NULL;
d55e5bfc
RD
36974}
36975
36976
1bd55598
RD
36977SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36978 PyObject *resultobj = 0;
36979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36980 void *argp1 = 0 ;
36981 int res1 = 0 ;
36982 PyObject *swig_obj[1] ;
36983
36984 if (!args) SWIG_fail;
36985 swig_obj[0] = args;
36986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36987 if (!SWIG_IsOK(res1)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36989 }
36990 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36991 {
36992 PyThreadState* __tstate = wxPyBeginAllowThreads();
36993 (arg1)->UnselectAll();
36994 wxPyEndAllowThreads(__tstate);
36995 if (PyErr_Occurred()) SWIG_fail;
36996 }
36997 resultobj = SWIG_Py_Void();
36998 return resultobj;
36999fail:
37000 return NULL;
37001}
37002
37003
37004SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37005 PyObject *resultobj = 0;
37006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37007 wxTreeItemId *arg2 = 0 ;
37008 bool arg3 = (bool) true ;
37009 void *argp1 = 0 ;
37010 int res1 = 0 ;
37011 void *argp2 = 0 ;
37012 int res2 = 0 ;
37013 bool val3 ;
37014 int ecode3 = 0 ;
37015 PyObject * obj0 = 0 ;
37016 PyObject * obj1 = 0 ;
37017 PyObject * obj2 = 0 ;
37018 char * kwnames[] = {
37019 (char *) "self",(char *) "item",(char *) "select", NULL
37020 };
37021
37022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37024 if (!SWIG_IsOK(res1)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37026 }
37027 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37029 if (!SWIG_IsOK(res2)) {
37030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37031 }
37032 if (!argp2) {
37033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 }
37035 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37036 if (obj2) {
37037 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37038 if (!SWIG_IsOK(ecode3)) {
37039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37040 }
37041 arg3 = static_cast< bool >(val3);
37042 }
37043 {
37044 PyThreadState* __tstate = wxPyBeginAllowThreads();
37045 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37046 wxPyEndAllowThreads(__tstate);
37047 if (PyErr_Occurred()) SWIG_fail;
37048 }
37049 resultobj = SWIG_Py_Void();
37050 return resultobj;
37051fail:
37052 return NULL;
37053}
37054
37055
37056SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37057 PyObject *resultobj = 0;
37058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37059 wxTreeItemId *arg2 = 0 ;
37060 void *argp1 = 0 ;
37061 int res1 = 0 ;
37062 void *argp2 = 0 ;
37063 int res2 = 0 ;
37064 PyObject * obj0 = 0 ;
37065 PyObject * obj1 = 0 ;
37066 char * kwnames[] = {
37067 (char *) "self",(char *) "item", NULL
37068 };
37069
37070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37072 if (!SWIG_IsOK(res1)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37074 }
37075 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37076 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37077 if (!SWIG_IsOK(res2)) {
37078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37079 }
37080 if (!argp2) {
37081 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37082 }
37083 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37084 {
37085 PyThreadState* __tstate = wxPyBeginAllowThreads();
37086 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37087 wxPyEndAllowThreads(__tstate);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 resultobj = SWIG_Py_Void();
37091 return resultobj;
37092fail:
37093 return NULL;
37094}
37095
37096
37097SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37098 PyObject *resultobj = 0;
37099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37100 wxTreeItemId *arg2 = 0 ;
37101 void *argp1 = 0 ;
37102 int res1 = 0 ;
37103 void *argp2 = 0 ;
37104 int res2 = 0 ;
37105 PyObject * obj0 = 0 ;
37106 PyObject * obj1 = 0 ;
37107 char * kwnames[] = {
37108 (char *) "self",(char *) "item", NULL
37109 };
37110
37111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37113 if (!SWIG_IsOK(res1)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37115 }
37116 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37117 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37118 if (!SWIG_IsOK(res2)) {
37119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 }
37121 if (!argp2) {
37122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37123 }
37124 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37125 {
37126 PyThreadState* __tstate = wxPyBeginAllowThreads();
37127 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37128 wxPyEndAllowThreads(__tstate);
37129 if (PyErr_Occurred()) SWIG_fail;
37130 }
37131 resultobj = SWIG_Py_Void();
37132 return resultobj;
37133fail:
37134 return NULL;
37135}
37136
37137
37138SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37139 PyObject *resultobj = 0;
37140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37141 wxTreeItemId *arg2 = 0 ;
37142 void *argp1 = 0 ;
37143 int res1 = 0 ;
37144 void *argp2 = 0 ;
37145 int res2 = 0 ;
37146 PyObject * obj0 = 0 ;
37147 PyObject * obj1 = 0 ;
37148 char * kwnames[] = {
37149 (char *) "self",(char *) "item", NULL
37150 };
37151
37152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37154 if (!SWIG_IsOK(res1)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37156 }
37157 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37158 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37159 if (!SWIG_IsOK(res2)) {
37160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37161 }
37162 if (!argp2) {
37163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37164 }
37165 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37166 {
37167 PyThreadState* __tstate = wxPyBeginAllowThreads();
37168 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37169 wxPyEndAllowThreads(__tstate);
37170 if (PyErr_Occurred()) SWIG_fail;
37171 }
37172 resultobj = SWIG_Py_Void();
37173 return resultobj;
37174fail:
37175 return NULL;
37176}
37177
37178
37179SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37180 PyObject *resultobj = 0;
37181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37182 wxTreeItemId *arg2 = 0 ;
37183 void *argp1 = 0 ;
37184 int res1 = 0 ;
37185 void *argp2 = 0 ;
37186 int res2 = 0 ;
37187 PyObject * obj0 = 0 ;
37188 PyObject * obj1 = 0 ;
37189 char * kwnames[] = {
37190 (char *) "self",(char *) "item", NULL
37191 };
37192
37193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37195 if (!SWIG_IsOK(res1)) {
37196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37197 }
37198 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37199 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37200 if (!SWIG_IsOK(res2)) {
37201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37202 }
37203 if (!argp2) {
37204 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37205 }
37206 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37207 {
37208 PyThreadState* __tstate = wxPyBeginAllowThreads();
37209 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37210 wxPyEndAllowThreads(__tstate);
37211 if (PyErr_Occurred()) SWIG_fail;
37212 }
37213 resultobj = SWIG_Py_Void();
37214 return resultobj;
37215fail:
37216 return NULL;
d55e5bfc
RD
37217}
37218
37219
1bd55598
RD
37220SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37221 PyObject *resultobj = 0;
37222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37223 wxTextCtrl *result = 0 ;
37224 void *argp1 = 0 ;
37225 int res1 = 0 ;
37226 PyObject *swig_obj[1] ;
37227
37228 if (!args) SWIG_fail;
37229 swig_obj[0] = args;
37230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37231 if (!SWIG_IsOK(res1)) {
37232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37233 }
37234 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37235 {
37236 PyThreadState* __tstate = wxPyBeginAllowThreads();
37237 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37238 wxPyEndAllowThreads(__tstate);
37239 if (PyErr_Occurred()) SWIG_fail;
37240 }
37241 {
37242 resultobj = wxPyMake_wxObject(result, 0);
37243 }
37244 return resultobj;
37245fail:
37246 return NULL;
37247}
37248
37249
37250SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37251 PyObject *resultobj = 0;
37252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37253 wxTreeItemId *arg2 = 0 ;
37254 void *argp1 = 0 ;
37255 int res1 = 0 ;
37256 void *argp2 = 0 ;
37257 int res2 = 0 ;
37258 PyObject * obj0 = 0 ;
37259 PyObject * obj1 = 0 ;
37260 char * kwnames[] = {
37261 (char *) "self",(char *) "item", NULL
37262 };
37263
37264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37266 if (!SWIG_IsOK(res1)) {
37267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37268 }
37269 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37271 if (!SWIG_IsOK(res2)) {
37272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37273 }
37274 if (!argp2) {
37275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37276 }
37277 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37278 {
37279 PyThreadState* __tstate = wxPyBeginAllowThreads();
37280 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37281 wxPyEndAllowThreads(__tstate);
37282 if (PyErr_Occurred()) SWIG_fail;
37283 }
37284 resultobj = SWIG_Py_Void();
37285 return resultobj;
37286fail:
37287 return NULL;
37288}
37289
37290
37291SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37292 PyObject *resultobj = 0;
37293 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37294 wxPoint *arg2 = 0 ;
37295 int *arg3 = 0 ;
37296 wxTreeItemId result;
37297 void *argp1 = 0 ;
37298 int res1 = 0 ;
37299 wxPoint temp2 ;
37300 int temp3 ;
37301 int res3 = SWIG_TMPOBJ ;
37302 PyObject * obj0 = 0 ;
37303 PyObject * obj1 = 0 ;
37304 char * kwnames[] = {
37305 (char *) "self",(char *) "point", NULL
37306 };
37307
37308 arg3 = &temp3;
37309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37311 if (!SWIG_IsOK(res1)) {
37312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37313 }
37314 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37315 {
37316 arg2 = &temp2;
37317 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37318 }
37319 {
37320 PyThreadState* __tstate = wxPyBeginAllowThreads();
37321 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37322 wxPyEndAllowThreads(__tstate);
37323 if (PyErr_Occurred()) SWIG_fail;
37324 }
37325 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37326 if (SWIG_IsTmpObj(res3)) {
37327 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37328 } else {
37329 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37330 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37331 }
37332 return resultobj;
37333fail:
37334 return NULL;
37335}
37336
37337
37338SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37339 PyObject *resultobj = 0;
37340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37341 wxTreeItemId *arg2 = 0 ;
37342 bool arg3 = (bool) false ;
37343 PyObject *result = 0 ;
37344 void *argp1 = 0 ;
37345 int res1 = 0 ;
37346 void *argp2 = 0 ;
37347 int res2 = 0 ;
37348 bool val3 ;
37349 int ecode3 = 0 ;
37350 PyObject * obj0 = 0 ;
37351 PyObject * obj1 = 0 ;
37352 PyObject * obj2 = 0 ;
37353 char * kwnames[] = {
37354 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37355 };
37356
37357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37359 if (!SWIG_IsOK(res1)) {
37360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37361 }
37362 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37363 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37364 if (!SWIG_IsOK(res2)) {
37365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37366 }
37367 if (!argp2) {
37368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37369 }
37370 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37371 if (obj2) {
37372 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37373 if (!SWIG_IsOK(ecode3)) {
37374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37375 }
37376 arg3 = static_cast< bool >(val3);
37377 }
37378 {
37379 PyThreadState* __tstate = wxPyBeginAllowThreads();
37380 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37381 wxPyEndAllowThreads(__tstate);
37382 if (PyErr_Occurred()) SWIG_fail;
37383 }
37384 resultobj = result;
37385 return resultobj;
37386fail:
37387 return NULL;
37388}
37389
37390
37391SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37392 PyObject *resultobj = 0;
37393 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37394 SwigValueWrapper<wxVisualAttributes > result;
37395 int val1 ;
37396 int ecode1 = 0 ;
37397 PyObject * obj0 = 0 ;
37398 char * kwnames[] = {
37399 (char *) "variant", NULL
37400 };
37401
37402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37403 if (obj0) {
37404 ecode1 = SWIG_AsVal_int(obj0, &val1);
37405 if (!SWIG_IsOK(ecode1)) {
37406 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37407 }
37408 arg1 = static_cast< wxWindowVariant >(val1);
37409 }
37410 {
37411 if (!wxPyCheckForApp()) SWIG_fail;
37412 PyThreadState* __tstate = wxPyBeginAllowThreads();
37413 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37414 wxPyEndAllowThreads(__tstate);
37415 if (PyErr_Occurred()) SWIG_fail;
37416 }
37417 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37418 return resultobj;
37419fail:
37420 return NULL;
d55e5bfc
RD
37421}
37422
37423
2131d850
RD
37424SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37425 PyObject *resultobj = 0;
37426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37427 bool arg2 ;
37428 void *argp1 = 0 ;
37429 int res1 = 0 ;
37430 bool val2 ;
37431 int ecode2 = 0 ;
37432 PyObject * obj0 = 0 ;
37433 PyObject * obj1 = 0 ;
37434 char * kwnames[] = {
37435 (char *) "self",(char *) "q", NULL
37436 };
37437
37438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37440 if (!SWIG_IsOK(res1)) {
37441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37442 }
37443 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37444 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37445 if (!SWIG_IsOK(ecode2)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37447 }
37448 arg2 = static_cast< bool >(val2);
37449 {
37450 PyThreadState* __tstate = wxPyBeginAllowThreads();
37451 (arg1)->SetQuickBestSize(arg2);
37452 wxPyEndAllowThreads(__tstate);
37453 if (PyErr_Occurred()) SWIG_fail;
37454 }
37455 resultobj = SWIG_Py_Void();
37456 return resultobj;
37457fail:
37458 return NULL;
37459}
37460
37461
37462SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37463 PyObject *resultobj = 0;
37464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37465 bool result;
37466 void *argp1 = 0 ;
37467 int res1 = 0 ;
37468 PyObject *swig_obj[1] ;
37469
37470 if (!args) SWIG_fail;
37471 swig_obj[0] = args;
37472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37473 if (!SWIG_IsOK(res1)) {
37474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37475 }
37476 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37477 {
37478 PyThreadState* __tstate = wxPyBeginAllowThreads();
37479 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37480 wxPyEndAllowThreads(__tstate);
37481 if (PyErr_Occurred()) SWIG_fail;
37482 }
37483 {
37484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37485 }
37486 return resultobj;
37487fail:
37488 return NULL;
37489}
37490
37491
1bd55598
RD
37492SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37493 PyObject *obj;
37494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37496 return SWIG_Py_Void();
d55e5bfc
RD
37497}
37498
1bd55598
RD
37499SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37500 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
37501}
37502
1bd55598
RD
37503SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37504 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37505 return 1;
d55e5bfc
RD
37506}
37507
37508
1bd55598
RD
37509SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37510 PyObject *pyobj = 0;
37511
37512 {
37513#if wxUSE_UNICODE
37514 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37515#else
37516 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37517#endif
37518 }
37519 return pyobj;
37520}
37521
37522
37523SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37524 PyObject *resultobj = 0;
37525 wxWindow *arg1 = (wxWindow *) 0 ;
37526 int arg2 = (int) (int)-1 ;
37527 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37528 wxString *arg3 = (wxString *) &arg3_defvalue ;
37529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37531 wxSize const &arg5_defvalue = wxDefaultSize ;
37532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37533 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37534 wxString const &arg7_defvalue = wxPyEmptyString ;
37535 wxString *arg7 = (wxString *) &arg7_defvalue ;
37536 int arg8 = (int) 0 ;
37537 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37538 wxString *arg9 = (wxString *) &arg9_defvalue ;
37539 wxGenericDirCtrl *result = 0 ;
37540 void *argp1 = 0 ;
37541 int res1 = 0 ;
37542 int val2 ;
37543 int ecode2 = 0 ;
37544 bool temp3 = false ;
37545 wxPoint temp4 ;
37546 wxSize temp5 ;
37547 long val6 ;
37548 int ecode6 = 0 ;
37549 bool temp7 = false ;
37550 int val8 ;
37551 int ecode8 = 0 ;
37552 bool temp9 = false ;
37553 PyObject * obj0 = 0 ;
37554 PyObject * obj1 = 0 ;
37555 PyObject * obj2 = 0 ;
37556 PyObject * obj3 = 0 ;
37557 PyObject * obj4 = 0 ;
37558 PyObject * obj5 = 0 ;
37559 PyObject * obj6 = 0 ;
37560 PyObject * obj7 = 0 ;
37561 PyObject * obj8 = 0 ;
37562 char * kwnames[] = {
37563 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37564 };
37565
37566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37568 if (!SWIG_IsOK(res1)) {
37569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37570 }
37571 arg1 = reinterpret_cast< wxWindow * >(argp1);
37572 if (obj1) {
37573 ecode2 = SWIG_AsVal_int(obj1, &val2);
37574 if (!SWIG_IsOK(ecode2)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37576 }
37577 arg2 = static_cast< int >(val2);
37578 }
37579 if (obj2) {
36ed4f51 37580 {
1bd55598
RD
37581 arg3 = wxString_in_helper(obj2);
37582 if (arg3 == NULL) SWIG_fail;
37583 temp3 = true;
36ed4f51 37584 }
1bd55598
RD
37585 }
37586 if (obj3) {
d55e5bfc 37587 {
1bd55598
RD
37588 arg4 = &temp4;
37589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 37590 }
1bd55598
RD
37591 }
37592 if (obj4) {
36ed4f51 37593 {
1bd55598
RD
37594 arg5 = &temp5;
37595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 37596 }
1bd55598
RD
37597 }
37598 if (obj5) {
37599 ecode6 = SWIG_AsVal_long(obj5, &val6);
37600 if (!SWIG_IsOK(ecode6)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37602 }
37603 arg6 = static_cast< long >(val6);
37604 }
37605 if (obj6) {
36ed4f51 37606 {
1bd55598
RD
37607 arg7 = wxString_in_helper(obj6);
37608 if (arg7 == NULL) SWIG_fail;
37609 temp7 = true;
36ed4f51 37610 }
1bd55598
RD
37611 }
37612 if (obj7) {
37613 ecode8 = SWIG_AsVal_int(obj7, &val8);
37614 if (!SWIG_IsOK(ecode8)) {
37615 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37616 }
37617 arg8 = static_cast< int >(val8);
37618 }
37619 if (obj8) {
d55e5bfc 37620 {
1bd55598
RD
37621 arg9 = wxString_in_helper(obj8);
37622 if (arg9 == NULL) SWIG_fail;
37623 temp9 = true;
d55e5bfc 37624 }
1bd55598
RD
37625 }
37626 {
37627 if (!wxPyCheckForApp()) SWIG_fail;
37628 PyThreadState* __tstate = wxPyBeginAllowThreads();
37629 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37630 wxPyEndAllowThreads(__tstate);
37631 if (PyErr_Occurred()) SWIG_fail;
37632 }
37633 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37634 {
37635 if (temp3)
37636 delete arg3;
37637 }
37638 {
37639 if (temp7)
37640 delete arg7;
37641 }
37642 {
37643 if (temp9)
37644 delete arg9;
37645 }
37646 return resultobj;
37647fail:
37648 {
37649 if (temp3)
37650 delete arg3;
37651 }
37652 {
37653 if (temp7)
37654 delete arg7;
37655 }
37656 {
37657 if (temp9)
37658 delete arg9;
37659 }
37660 return NULL;
d55e5bfc
RD
37661}
37662
37663
1bd55598
RD
37664SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37665 PyObject *resultobj = 0;
37666 wxGenericDirCtrl *result = 0 ;
37667
37668 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37669 {
37670 if (!wxPyCheckForApp()) SWIG_fail;
37671 PyThreadState* __tstate = wxPyBeginAllowThreads();
37672 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37673 wxPyEndAllowThreads(__tstate);
37674 if (PyErr_Occurred()) SWIG_fail;
37675 }
37676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37677 return resultobj;
37678fail:
37679 return NULL;
37680}
37681
37682
37683SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37684 PyObject *resultobj = 0;
37685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37686 wxWindow *arg2 = (wxWindow *) 0 ;
37687 int arg3 = (int) (int)-1 ;
37688 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37689 wxString *arg4 = (wxString *) &arg4_defvalue ;
37690 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37691 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37692 wxSize const &arg6_defvalue = wxDefaultSize ;
37693 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37694 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37695 wxString const &arg8_defvalue = wxPyEmptyString ;
37696 wxString *arg8 = (wxString *) &arg8_defvalue ;
37697 int arg9 = (int) 0 ;
37698 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37699 wxString *arg10 = (wxString *) &arg10_defvalue ;
37700 bool result;
37701 void *argp1 = 0 ;
37702 int res1 = 0 ;
37703 void *argp2 = 0 ;
37704 int res2 = 0 ;
37705 int val3 ;
37706 int ecode3 = 0 ;
37707 bool temp4 = false ;
37708 wxPoint temp5 ;
37709 wxSize temp6 ;
37710 long val7 ;
37711 int ecode7 = 0 ;
37712 bool temp8 = false ;
37713 int val9 ;
37714 int ecode9 = 0 ;
37715 bool temp10 = false ;
37716 PyObject * obj0 = 0 ;
37717 PyObject * obj1 = 0 ;
37718 PyObject * obj2 = 0 ;
37719 PyObject * obj3 = 0 ;
37720 PyObject * obj4 = 0 ;
37721 PyObject * obj5 = 0 ;
37722 PyObject * obj6 = 0 ;
37723 PyObject * obj7 = 0 ;
37724 PyObject * obj8 = 0 ;
37725 PyObject * obj9 = 0 ;
37726 char * kwnames[] = {
37727 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37728 };
37729
37730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37732 if (!SWIG_IsOK(res1)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37734 }
37735 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37737 if (!SWIG_IsOK(res2)) {
37738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37739 }
37740 arg2 = reinterpret_cast< wxWindow * >(argp2);
37741 if (obj2) {
37742 ecode3 = SWIG_AsVal_int(obj2, &val3);
37743 if (!SWIG_IsOK(ecode3)) {
37744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37745 }
37746 arg3 = static_cast< int >(val3);
37747 }
37748 if (obj3) {
36ed4f51 37749 {
1bd55598
RD
37750 arg4 = wxString_in_helper(obj3);
37751 if (arg4 == NULL) SWIG_fail;
37752 temp4 = true;
36ed4f51 37753 }
1bd55598
RD
37754 }
37755 if (obj4) {
36ed4f51 37756 {
1bd55598
RD
37757 arg5 = &temp5;
37758 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 37759 }
1bd55598
RD
37760 }
37761 if (obj5) {
d55e5bfc 37762 {
1bd55598
RD
37763 arg6 = &temp6;
37764 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37765 }
1bd55598
RD
37766 }
37767 if (obj6) {
37768 ecode7 = SWIG_AsVal_long(obj6, &val7);
37769 if (!SWIG_IsOK(ecode7)) {
37770 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37771 }
37772 arg7 = static_cast< long >(val7);
37773 }
37774 if (obj7) {
d55e5bfc 37775 {
1bd55598
RD
37776 arg8 = wxString_in_helper(obj7);
37777 if (arg8 == NULL) SWIG_fail;
37778 temp8 = true;
d55e5bfc 37779 }
1bd55598
RD
37780 }
37781 if (obj8) {
37782 ecode9 = SWIG_AsVal_int(obj8, &val9);
37783 if (!SWIG_IsOK(ecode9)) {
37784 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37785 }
37786 arg9 = static_cast< int >(val9);
37787 }
37788 if (obj9) {
36ed4f51 37789 {
1bd55598
RD
37790 arg10 = wxString_in_helper(obj9);
37791 if (arg10 == NULL) SWIG_fail;
37792 temp10 = true;
36ed4f51 37793 }
1bd55598
RD
37794 }
37795 {
37796 PyThreadState* __tstate = wxPyBeginAllowThreads();
37797 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37798 wxPyEndAllowThreads(__tstate);
37799 if (PyErr_Occurred()) SWIG_fail;
37800 }
37801 {
37802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37803 }
37804 {
37805 if (temp4)
37806 delete arg4;
37807 }
37808 {
37809 if (temp8)
37810 delete arg8;
37811 }
37812 {
37813 if (temp10)
37814 delete arg10;
37815 }
37816 return resultobj;
37817fail:
37818 {
37819 if (temp4)
37820 delete arg4;
37821 }
37822 {
37823 if (temp8)
37824 delete arg8;
37825 }
37826 {
37827 if (temp10)
37828 delete arg10;
37829 }
37830 return NULL;
37831}
37832
37833
37834SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37835 PyObject *resultobj = 0;
37836 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37837 wxString *arg2 = 0 ;
37838 bool result;
37839 void *argp1 = 0 ;
37840 int res1 = 0 ;
37841 bool temp2 = false ;
37842 PyObject * obj0 = 0 ;
37843 PyObject * obj1 = 0 ;
37844 char * kwnames[] = {
37845 (char *) "self",(char *) "path", NULL
37846 };
37847
37848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37850 if (!SWIG_IsOK(res1)) {
37851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37852 }
37853 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37854 {
37855 arg2 = wxString_in_helper(obj1);
37856 if (arg2 == NULL) SWIG_fail;
37857 temp2 = true;
37858 }
37859 {
37860 PyThreadState* __tstate = wxPyBeginAllowThreads();
37861 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37862 wxPyEndAllowThreads(__tstate);
37863 if (PyErr_Occurred()) SWIG_fail;
37864 }
37865 {
37866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37867 }
37868 {
37869 if (temp2)
37870 delete arg2;
37871 }
37872 return resultobj;
37873fail:
37874 {
37875 if (temp2)
37876 delete arg2;
37877 }
37878 return NULL;
d55e5bfc
RD
37879}
37880
37881
704eda0c
RD
37882SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37883 PyObject *resultobj = 0;
37884 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37885 wxString *arg2 = 0 ;
37886 bool result;
37887 void *argp1 = 0 ;
37888 int res1 = 0 ;
37889 bool temp2 = false ;
37890 PyObject * obj0 = 0 ;
37891 PyObject * obj1 = 0 ;
37892 char * kwnames[] = {
37893 (char *) "self",(char *) "path", NULL
37894 };
37895
37896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37898 if (!SWIG_IsOK(res1)) {
37899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37900 }
37901 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37902 {
37903 arg2 = wxString_in_helper(obj1);
37904 if (arg2 == NULL) SWIG_fail;
37905 temp2 = true;
37906 }
37907 {
37908 PyThreadState* __tstate = wxPyBeginAllowThreads();
37909 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37910 wxPyEndAllowThreads(__tstate);
37911 if (PyErr_Occurred()) SWIG_fail;
37912 }
37913 {
37914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37915 }
37916 {
37917 if (temp2)
37918 delete arg2;
37919 }
37920 return resultobj;
37921fail:
37922 {
37923 if (temp2)
37924 delete arg2;
37925 }
37926 return NULL;
37927}
37928
37929
1bd55598
RD
37930SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37931 PyObject *resultobj = 0;
37932 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37933 wxString result;
37934 void *argp1 = 0 ;
37935 int res1 = 0 ;
37936 PyObject *swig_obj[1] ;
37937
37938 if (!args) SWIG_fail;
37939 swig_obj[0] = args;
37940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37941 if (!SWIG_IsOK(res1)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37943 }
37944 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37945 {
37946 PyThreadState* __tstate = wxPyBeginAllowThreads();
37947 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37948 wxPyEndAllowThreads(__tstate);
37949 if (PyErr_Occurred()) SWIG_fail;
37950 }
37951 {
37952#if wxUSE_UNICODE
37953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37954#else
37955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37956#endif
37957 }
37958 return resultobj;
37959fail:
37960 return NULL;
37961}
37962
37963
37964SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37965 PyObject *resultobj = 0;
37966 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37967 wxString *arg2 = 0 ;
37968 void *argp1 = 0 ;
37969 int res1 = 0 ;
37970 bool temp2 = false ;
37971 PyObject * obj0 = 0 ;
37972 PyObject * obj1 = 0 ;
37973 char * kwnames[] = {
37974 (char *) "self",(char *) "path", NULL
37975 };
37976
37977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37979 if (!SWIG_IsOK(res1)) {
37980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37981 }
37982 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37983 {
37984 arg2 = wxString_in_helper(obj1);
37985 if (arg2 == NULL) SWIG_fail;
37986 temp2 = true;
37987 }
37988 {
37989 PyThreadState* __tstate = wxPyBeginAllowThreads();
37990 (arg1)->SetDefaultPath((wxString const &)*arg2);
37991 wxPyEndAllowThreads(__tstate);
37992 if (PyErr_Occurred()) SWIG_fail;
37993 }
37994 resultobj = SWIG_Py_Void();
37995 {
37996 if (temp2)
37997 delete arg2;
37998 }
37999 return resultobj;
38000fail:
38001 {
38002 if (temp2)
38003 delete arg2;
38004 }
38005 return NULL;
d55e5bfc
RD
38006}
38007
38008
1bd55598
RD
38009SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38010 PyObject *resultobj = 0;
38011 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38012 wxString 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_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38022 }
38023 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38024 {
38025 PyThreadState* __tstate = wxPyBeginAllowThreads();
38026 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38027 wxPyEndAllowThreads(__tstate);
38028 if (PyErr_Occurred()) SWIG_fail;
38029 }
38030 {
38031#if wxUSE_UNICODE
38032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38033#else
38034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38035#endif
38036 }
38037 return resultobj;
38038fail:
38039 return NULL;
d55e5bfc
RD
38040}
38041
38042
1bd55598
RD
38043SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38044 PyObject *resultobj = 0;
38045 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38046 wxString result;
38047 void *argp1 = 0 ;
38048 int res1 = 0 ;
38049 PyObject *swig_obj[1] ;
38050
38051 if (!args) SWIG_fail;
38052 swig_obj[0] = args;
38053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38054 if (!SWIG_IsOK(res1)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38056 }
38057 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38058 {
38059 PyThreadState* __tstate = wxPyBeginAllowThreads();
38060 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38061 wxPyEndAllowThreads(__tstate);
38062 if (PyErr_Occurred()) SWIG_fail;
38063 }
38064 {
38065#if wxUSE_UNICODE
38066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38067#else
38068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38069#endif
38070 }
38071 return resultobj;
38072fail:
38073 return NULL;
38074}
38075
38076
38077SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38078 PyObject *resultobj = 0;
38079 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38080 wxString *arg2 = 0 ;
38081 void *argp1 = 0 ;
38082 int res1 = 0 ;
38083 bool temp2 = false ;
38084 PyObject * obj0 = 0 ;
38085 PyObject * obj1 = 0 ;
38086 char * kwnames[] = {
38087 (char *) "self",(char *) "path", NULL
38088 };
38089
38090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38092 if (!SWIG_IsOK(res1)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38094 }
38095 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38096 {
38097 arg2 = wxString_in_helper(obj1);
38098 if (arg2 == NULL) SWIG_fail;
38099 temp2 = true;
38100 }
38101 {
38102 PyThreadState* __tstate = wxPyBeginAllowThreads();
38103 (arg1)->SetPath((wxString const &)*arg2);
38104 wxPyEndAllowThreads(__tstate);
38105 if (PyErr_Occurred()) SWIG_fail;
38106 }
38107 resultobj = SWIG_Py_Void();
38108 {
38109 if (temp2)
38110 delete arg2;
38111 }
38112 return resultobj;
38113fail:
38114 {
38115 if (temp2)
38116 delete arg2;
38117 }
38118 return NULL;
38119}
38120
38121
38122SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38123 PyObject *resultobj = 0;
38124 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38125 bool arg2 ;
38126 void *argp1 = 0 ;
38127 int res1 = 0 ;
38128 bool val2 ;
38129 int ecode2 = 0 ;
38130 PyObject * obj0 = 0 ;
38131 PyObject * obj1 = 0 ;
38132 char * kwnames[] = {
38133 (char *) "self",(char *) "show", NULL
38134 };
38135
38136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38138 if (!SWIG_IsOK(res1)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38140 }
38141 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38142 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38143 if (!SWIG_IsOK(ecode2)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38145 }
38146 arg2 = static_cast< bool >(val2);
38147 {
38148 PyThreadState* __tstate = wxPyBeginAllowThreads();
38149 (arg1)->ShowHidden(arg2);
38150 wxPyEndAllowThreads(__tstate);
38151 if (PyErr_Occurred()) SWIG_fail;
38152 }
38153 resultobj = SWIG_Py_Void();
38154 return resultobj;
38155fail:
38156 return NULL;
d55e5bfc
RD
38157}
38158
38159
1bd55598
RD
38160SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38161 PyObject *resultobj = 0;
38162 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38163 bool result;
38164 void *argp1 = 0 ;
38165 int res1 = 0 ;
38166 PyObject *swig_obj[1] ;
38167
38168 if (!args) SWIG_fail;
38169 swig_obj[0] = args;
38170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38171 if (!SWIG_IsOK(res1)) {
38172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38173 }
38174 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38175 {
38176 PyThreadState* __tstate = wxPyBeginAllowThreads();
38177 result = (bool)(arg1)->GetShowHidden();
38178 wxPyEndAllowThreads(__tstate);
38179 if (PyErr_Occurred()) SWIG_fail;
38180 }
38181 {
38182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38183 }
38184 return resultobj;
38185fail:
38186 return NULL;
d55e5bfc
RD
38187}
38188
38189
1bd55598
RD
38190SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38191 PyObject *resultobj = 0;
38192 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38193 wxString result;
38194 void *argp1 = 0 ;
38195 int res1 = 0 ;
38196 PyObject *swig_obj[1] ;
38197
38198 if (!args) SWIG_fail;
38199 swig_obj[0] = args;
38200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38201 if (!SWIG_IsOK(res1)) {
38202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38203 }
38204 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38205 {
38206 PyThreadState* __tstate = wxPyBeginAllowThreads();
38207 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38208 wxPyEndAllowThreads(__tstate);
38209 if (PyErr_Occurred()) SWIG_fail;
38210 }
38211 {
38212#if wxUSE_UNICODE
38213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38214#else
38215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38216#endif
38217 }
38218 return resultobj;
38219fail:
38220 return NULL;
38221}
38222
38223
38224SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38225 PyObject *resultobj = 0;
38226 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38227 wxString *arg2 = 0 ;
38228 void *argp1 = 0 ;
38229 int res1 = 0 ;
38230 bool temp2 = false ;
38231 PyObject * obj0 = 0 ;
38232 PyObject * obj1 = 0 ;
38233 char * kwnames[] = {
38234 (char *) "self",(char *) "filter", NULL
38235 };
38236
38237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38239 if (!SWIG_IsOK(res1)) {
38240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38241 }
38242 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38243 {
38244 arg2 = wxString_in_helper(obj1);
38245 if (arg2 == NULL) SWIG_fail;
38246 temp2 = true;
38247 }
38248 {
38249 PyThreadState* __tstate = wxPyBeginAllowThreads();
38250 (arg1)->SetFilter((wxString const &)*arg2);
38251 wxPyEndAllowThreads(__tstate);
38252 if (PyErr_Occurred()) SWIG_fail;
38253 }
38254 resultobj = SWIG_Py_Void();
38255 {
38256 if (temp2)
38257 delete arg2;
38258 }
38259 return resultobj;
38260fail:
38261 {
38262 if (temp2)
38263 delete arg2;
38264 }
38265 return NULL;
d55e5bfc
RD
38266}
38267
38268
1bd55598
RD
38269SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38270 PyObject *resultobj = 0;
38271 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38272 int result;
38273 void *argp1 = 0 ;
38274 int res1 = 0 ;
38275 PyObject *swig_obj[1] ;
38276
38277 if (!args) SWIG_fail;
38278 swig_obj[0] = args;
38279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38280 if (!SWIG_IsOK(res1)) {
38281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38282 }
38283 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38284 {
38285 PyThreadState* __tstate = wxPyBeginAllowThreads();
38286 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38287 wxPyEndAllowThreads(__tstate);
38288 if (PyErr_Occurred()) SWIG_fail;
38289 }
38290 resultobj = SWIG_From_int(static_cast< int >(result));
38291 return resultobj;
38292fail:
38293 return NULL;
38294}
38295
38296
38297SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38298 PyObject *resultobj = 0;
38299 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38300 int arg2 ;
38301 void *argp1 = 0 ;
38302 int res1 = 0 ;
38303 int val2 ;
38304 int ecode2 = 0 ;
38305 PyObject * obj0 = 0 ;
38306 PyObject * obj1 = 0 ;
38307 char * kwnames[] = {
38308 (char *) "self",(char *) "n", NULL
38309 };
38310
38311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38313 if (!SWIG_IsOK(res1)) {
38314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38315 }
38316 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38317 ecode2 = SWIG_AsVal_int(obj1, &val2);
38318 if (!SWIG_IsOK(ecode2)) {
38319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38320 }
38321 arg2 = static_cast< int >(val2);
38322 {
38323 PyThreadState* __tstate = wxPyBeginAllowThreads();
38324 (arg1)->SetFilterIndex(arg2);
38325 wxPyEndAllowThreads(__tstate);
38326 if (PyErr_Occurred()) SWIG_fail;
38327 }
38328 resultobj = SWIG_Py_Void();
38329 return resultobj;
38330fail:
38331 return NULL;
d55e5bfc
RD
38332}
38333
38334
1bd55598
RD
38335SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38336 PyObject *resultobj = 0;
38337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38338 wxTreeItemId result;
38339 void *argp1 = 0 ;
38340 int res1 = 0 ;
38341 PyObject *swig_obj[1] ;
38342
38343 if (!args) SWIG_fail;
38344 swig_obj[0] = args;
38345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38346 if (!SWIG_IsOK(res1)) {
38347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38348 }
38349 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38350 {
38351 PyThreadState* __tstate = wxPyBeginAllowThreads();
38352 result = (arg1)->GetRootId();
38353 wxPyEndAllowThreads(__tstate);
38354 if (PyErr_Occurred()) SWIG_fail;
38355 }
38356 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38357 return resultobj;
38358fail:
38359 return NULL;
d55e5bfc
RD
38360}
38361
38362
1bd55598
RD
38363SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38364 PyObject *resultobj = 0;
38365 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38366 wxPyTreeCtrl *result = 0 ;
38367 void *argp1 = 0 ;
38368 int res1 = 0 ;
38369 PyObject *swig_obj[1] ;
38370
38371 if (!args) SWIG_fail;
38372 swig_obj[0] = args;
38373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38374 if (!SWIG_IsOK(res1)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38376 }
38377 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38378 {
38379 PyThreadState* __tstate = wxPyBeginAllowThreads();
38380 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38381 wxPyEndAllowThreads(__tstate);
38382 if (PyErr_Occurred()) SWIG_fail;
38383 }
38384 {
38385 resultobj = wxPyMake_wxObject(result, 0);
38386 }
38387 return resultobj;
38388fail:
38389 return NULL;
d55e5bfc
RD
38390}
38391
38392
1bd55598
RD
38393SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38394 PyObject *resultobj = 0;
38395 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38396 wxDirFilterListCtrl *result = 0 ;
38397 void *argp1 = 0 ;
38398 int res1 = 0 ;
38399 PyObject *swig_obj[1] ;
38400
38401 if (!args) SWIG_fail;
38402 swig_obj[0] = args;
38403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38404 if (!SWIG_IsOK(res1)) {
38405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38406 }
38407 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38408 {
38409 PyThreadState* __tstate = wxPyBeginAllowThreads();
38410 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38411 wxPyEndAllowThreads(__tstate);
38412 if (PyErr_Occurred()) SWIG_fail;
38413 }
38414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38415 return resultobj;
38416fail:
38417 return NULL;
38418}
38419
38420
38421SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38422 PyObject *resultobj = 0;
38423 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38424 wxTreeItemId arg2 ;
38425 wxString *arg3 = 0 ;
38426 bool *arg4 = 0 ;
38427 wxTreeItemId result;
38428 void *argp1 = 0 ;
38429 int res1 = 0 ;
38430 void *argp2 ;
38431 int res2 = 0 ;
38432 bool temp3 = false ;
38433 bool temp4 ;
38434 int res4 = SWIG_TMPOBJ ;
38435 PyObject * obj0 = 0 ;
38436 PyObject * obj1 = 0 ;
38437 PyObject * obj2 = 0 ;
38438 char * kwnames[] = {
38439 (char *) "self",(char *) "parentId",(char *) "path", NULL
38440 };
38441
38442 arg4 = &temp4;
38443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38445 if (!SWIG_IsOK(res1)) {
38446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38447 }
38448 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38449 {
38450 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38451 if (!SWIG_IsOK(res2)) {
38452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38453 }
38454 if (!argp2) {
38455 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38456 } else {
38457 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38458 arg2 = *temp;
38459 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 38460 }
1bd55598
RD
38461 }
38462 {
38463 arg3 = wxString_in_helper(obj2);
38464 if (arg3 == NULL) SWIG_fail;
38465 temp3 = true;
38466 }
38467 {
38468 PyThreadState* __tstate = wxPyBeginAllowThreads();
38469 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38470 wxPyEndAllowThreads(__tstate);
38471 if (PyErr_Occurred()) SWIG_fail;
38472 }
38473 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38474 if (SWIG_IsTmpObj(res4)) {
38475 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38476 } else {
38477 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38479 }
38480 {
38481 if (temp3)
38482 delete arg3;
38483 }
38484 return resultobj;
38485fail:
38486 {
38487 if (temp3)
38488 delete arg3;
38489 }
38490 return NULL;
d55e5bfc
RD
38491}
38492
38493
1bd55598
RD
38494SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38495 PyObject *resultobj = 0;
38496 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38497 void *argp1 = 0 ;
38498 int res1 = 0 ;
38499 PyObject *swig_obj[1] ;
38500
38501 if (!args) SWIG_fail;
38502 swig_obj[0] = args;
38503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38504 if (!SWIG_IsOK(res1)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38506 }
38507 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38508 {
38509 PyThreadState* __tstate = wxPyBeginAllowThreads();
38510 (arg1)->DoResize();
38511 wxPyEndAllowThreads(__tstate);
38512 if (PyErr_Occurred()) SWIG_fail;
38513 }
38514 resultobj = SWIG_Py_Void();
38515 return resultobj;
38516fail:
38517 return NULL;
38518}
38519
38520
38521SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38522 PyObject *resultobj = 0;
38523 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38524 void *argp1 = 0 ;
38525 int res1 = 0 ;
38526 PyObject *swig_obj[1] ;
38527
38528 if (!args) SWIG_fail;
38529 swig_obj[0] = args;
38530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38531 if (!SWIG_IsOK(res1)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38533 }
38534 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38535 {
38536 PyThreadState* __tstate = wxPyBeginAllowThreads();
38537 (arg1)->ReCreateTree();
38538 wxPyEndAllowThreads(__tstate);
38539 if (PyErr_Occurred()) SWIG_fail;
38540 }
38541 resultobj = SWIG_Py_Void();
38542 return resultobj;
38543fail:
38544 return NULL;
38545}
38546
38547
38548SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38549 PyObject *obj;
38550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38551 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38552 return SWIG_Py_Void();
38553}
38554
38555SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38556 return SWIG_Python_InitShadowInstance(args);
38557}
38558
38559SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38560 PyObject *resultobj = 0;
38561 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38562 int arg2 = (int) (int)-1 ;
38563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38565 wxSize const &arg4_defvalue = wxDefaultSize ;
38566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38567 long arg5 = (long) 0 ;
38568 wxDirFilterListCtrl *result = 0 ;
38569 void *argp1 = 0 ;
38570 int res1 = 0 ;
38571 int val2 ;
38572 int ecode2 = 0 ;
38573 wxPoint temp3 ;
38574 wxSize temp4 ;
38575 long val5 ;
38576 int ecode5 = 0 ;
38577 PyObject * obj0 = 0 ;
38578 PyObject * obj1 = 0 ;
38579 PyObject * obj2 = 0 ;
38580 PyObject * obj3 = 0 ;
38581 PyObject * obj4 = 0 ;
38582 char * kwnames[] = {
38583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38584 };
38585
38586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38588 if (!SWIG_IsOK(res1)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38590 }
38591 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38592 if (obj1) {
38593 ecode2 = SWIG_AsVal_int(obj1, &val2);
38594 if (!SWIG_IsOK(ecode2)) {
38595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38596 }
38597 arg2 = static_cast< int >(val2);
38598 }
38599 if (obj2) {
d55e5bfc 38600 {
1bd55598
RD
38601 arg3 = &temp3;
38602 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38603 }
1bd55598
RD
38604 }
38605 if (obj3) {
d55e5bfc 38606 {
1bd55598
RD
38607 arg4 = &temp4;
38608 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38609 }
1bd55598
RD
38610 }
38611 if (obj4) {
38612 ecode5 = SWIG_AsVal_long(obj4, &val5);
38613 if (!SWIG_IsOK(ecode5)) {
38614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38615 }
38616 arg5 = static_cast< long >(val5);
38617 }
38618 {
38619 if (!wxPyCheckForApp()) SWIG_fail;
38620 PyThreadState* __tstate = wxPyBeginAllowThreads();
38621 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38622 wxPyEndAllowThreads(__tstate);
38623 if (PyErr_Occurred()) SWIG_fail;
38624 }
38625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38626 return resultobj;
38627fail:
38628 return NULL;
d55e5bfc
RD
38629}
38630
38631
1bd55598
RD
38632SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38633 PyObject *resultobj = 0;
38634 wxDirFilterListCtrl *result = 0 ;
38635
38636 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38637 {
38638 if (!wxPyCheckForApp()) SWIG_fail;
38639 PyThreadState* __tstate = wxPyBeginAllowThreads();
38640 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38641 wxPyEndAllowThreads(__tstate);
38642 if (PyErr_Occurred()) SWIG_fail;
38643 }
38644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38645 return resultobj;
38646fail:
38647 return NULL;
38648}
38649
38650
38651SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38652 PyObject *resultobj = 0;
38653 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38654 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38655 int arg3 = (int) (int)-1 ;
38656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38658 wxSize const &arg5_defvalue = wxDefaultSize ;
38659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38660 long arg6 = (long) 0 ;
38661 bool result;
38662 void *argp1 = 0 ;
38663 int res1 = 0 ;
38664 void *argp2 = 0 ;
38665 int res2 = 0 ;
38666 int val3 ;
38667 int ecode3 = 0 ;
38668 wxPoint temp4 ;
38669 wxSize temp5 ;
38670 long val6 ;
38671 int ecode6 = 0 ;
38672 PyObject * obj0 = 0 ;
38673 PyObject * obj1 = 0 ;
38674 PyObject * obj2 = 0 ;
38675 PyObject * obj3 = 0 ;
38676 PyObject * obj4 = 0 ;
38677 PyObject * obj5 = 0 ;
38678 char * kwnames[] = {
38679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38680 };
38681
38682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38684 if (!SWIG_IsOK(res1)) {
38685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38686 }
38687 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38688 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38689 if (!SWIG_IsOK(res2)) {
38690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38691 }
38692 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38693 if (obj2) {
38694 ecode3 = SWIG_AsVal_int(obj2, &val3);
38695 if (!SWIG_IsOK(ecode3)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38697 }
38698 arg3 = static_cast< int >(val3);
38699 }
38700 if (obj3) {
36ed4f51 38701 {
1bd55598
RD
38702 arg4 = &temp4;
38703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 38704 }
1bd55598
RD
38705 }
38706 if (obj4) {
36ed4f51 38707 {
1bd55598
RD
38708 arg5 = &temp5;
38709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 38710 }
1bd55598
RD
38711 }
38712 if (obj5) {
38713 ecode6 = SWIG_AsVal_long(obj5, &val6);
38714 if (!SWIG_IsOK(ecode6)) {
38715 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38716 }
38717 arg6 = static_cast< long >(val6);
38718 }
38719 {
38720 PyThreadState* __tstate = wxPyBeginAllowThreads();
38721 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38722 wxPyEndAllowThreads(__tstate);
38723 if (PyErr_Occurred()) SWIG_fail;
38724 }
38725 {
38726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38727 }
38728 return resultobj;
38729fail:
38730 return NULL;
38731}
38732
38733
38734SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38735 PyObject *resultobj = 0;
38736 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38737 wxString *arg2 = 0 ;
38738 int arg3 ;
38739 void *argp1 = 0 ;
38740 int res1 = 0 ;
38741 bool temp2 = false ;
38742 int val3 ;
38743 int ecode3 = 0 ;
38744 PyObject * obj0 = 0 ;
38745 PyObject * obj1 = 0 ;
38746 PyObject * obj2 = 0 ;
38747 char * kwnames[] = {
38748 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38749 };
38750
38751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38753 if (!SWIG_IsOK(res1)) {
38754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38755 }
38756 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38757 {
38758 arg2 = wxString_in_helper(obj1);
38759 if (arg2 == NULL) SWIG_fail;
38760 temp2 = true;
38761 }
38762 ecode3 = SWIG_AsVal_int(obj2, &val3);
38763 if (!SWIG_IsOK(ecode3)) {
38764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38765 }
38766 arg3 = static_cast< int >(val3);
38767 {
38768 PyThreadState* __tstate = wxPyBeginAllowThreads();
38769 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38770 wxPyEndAllowThreads(__tstate);
38771 if (PyErr_Occurred()) SWIG_fail;
38772 }
38773 resultobj = SWIG_Py_Void();
38774 {
38775 if (temp2)
38776 delete arg2;
38777 }
38778 return resultobj;
38779fail:
38780 {
38781 if (temp2)
38782 delete arg2;
38783 }
38784 return NULL;
38785}
38786
38787
38788SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38789 PyObject *obj;
38790 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38792 return SWIG_Py_Void();
38793}
38794
38795SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38796 return SWIG_Python_InitShadowInstance(args);
38797}
38798
38799SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38800 PyObject *resultobj = 0;
38801 wxWindow *arg1 = (wxWindow *) 0 ;
38802 int arg2 = (int) (int)-1 ;
38803 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38804 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38805 wxSize const &arg4_defvalue = wxDefaultSize ;
38806 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38807 long arg5 = (long) 0 ;
38808 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38809 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38810 wxString const &arg7_defvalue = wxPyControlNameStr ;
38811 wxString *arg7 = (wxString *) &arg7_defvalue ;
38812 wxPyControl *result = 0 ;
38813 void *argp1 = 0 ;
38814 int res1 = 0 ;
38815 int val2 ;
38816 int ecode2 = 0 ;
38817 wxPoint temp3 ;
38818 wxSize temp4 ;
38819 long val5 ;
38820 int ecode5 = 0 ;
38821 void *argp6 = 0 ;
38822 int res6 = 0 ;
38823 bool temp7 = false ;
38824 PyObject * obj0 = 0 ;
38825 PyObject * obj1 = 0 ;
38826 PyObject * obj2 = 0 ;
38827 PyObject * obj3 = 0 ;
38828 PyObject * obj4 = 0 ;
38829 PyObject * obj5 = 0 ;
38830 PyObject * obj6 = 0 ;
38831 char * kwnames[] = {
38832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38833 };
38834
38835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38837 if (!SWIG_IsOK(res1)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38839 }
38840 arg1 = reinterpret_cast< wxWindow * >(argp1);
38841 if (obj1) {
38842 ecode2 = SWIG_AsVal_int(obj1, &val2);
38843 if (!SWIG_IsOK(ecode2)) {
38844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38845 }
38846 arg2 = static_cast< int >(val2);
38847 }
38848 if (obj2) {
d55e5bfc 38849 {
1bd55598
RD
38850 arg3 = &temp3;
38851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38852 }
1bd55598
RD
38853 }
38854 if (obj3) {
d55e5bfc 38855 {
1bd55598
RD
38856 arg4 = &temp4;
38857 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38858 }
1bd55598
RD
38859 }
38860 if (obj4) {
38861 ecode5 = SWIG_AsVal_long(obj4, &val5);
38862 if (!SWIG_IsOK(ecode5)) {
38863 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38864 }
38865 arg5 = static_cast< long >(val5);
38866 }
38867 if (obj5) {
38868 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38869 if (!SWIG_IsOK(res6)) {
38870 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38871 }
1bd55598
RD
38872 if (!argp6) {
38873 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
f20a2e1f 38874 }
1bd55598
RD
38875 arg6 = reinterpret_cast< wxValidator * >(argp6);
38876 }
38877 if (obj6) {
f20a2e1f 38878 {
1bd55598
RD
38879 arg7 = wxString_in_helper(obj6);
38880 if (arg7 == NULL) SWIG_fail;
38881 temp7 = true;
f20a2e1f 38882 }
1bd55598
RD
38883 }
38884 {
38885 if (!wxPyCheckForApp()) SWIG_fail;
38886 PyThreadState* __tstate = wxPyBeginAllowThreads();
38887 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38888 wxPyEndAllowThreads(__tstate);
38889 if (PyErr_Occurred()) SWIG_fail;
38890 }
38891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38892 {
38893 if (temp7)
38894 delete arg7;
38895 }
38896 return resultobj;
38897fail:
38898 {
38899 if (temp7)
38900 delete arg7;
38901 }
38902 return NULL;
d55e5bfc
RD
38903}
38904
38905
1bd55598
RD
38906SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38907 PyObject *resultobj = 0;
38908 wxPyControl *result = 0 ;
38909
38910 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38911 {
38912 if (!wxPyCheckForApp()) SWIG_fail;
38913 PyThreadState* __tstate = wxPyBeginAllowThreads();
38914 result = (wxPyControl *)new wxPyControl();
38915 wxPyEndAllowThreads(__tstate);
38916 if (PyErr_Occurred()) SWIG_fail;
38917 }
38918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38919 return resultobj;
38920fail:
38921 return NULL;
38922}
38923
38924
38925SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38926 PyObject *resultobj = 0;
38927 wxPyControl *arg1 = (wxPyControl *) 0 ;
38928 PyObject *arg2 = (PyObject *) 0 ;
38929 PyObject *arg3 = (PyObject *) 0 ;
38930 void *argp1 = 0 ;
38931 int res1 = 0 ;
38932 PyObject * obj0 = 0 ;
38933 PyObject * obj1 = 0 ;
38934 PyObject * obj2 = 0 ;
38935 char * kwnames[] = {
38936 (char *) "self",(char *) "self",(char *) "_class", NULL
38937 };
38938
38939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38941 if (!SWIG_IsOK(res1)) {
38942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38943 }
38944 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38945 arg2 = obj1;
38946 arg3 = obj2;
38947 {
38948 PyThreadState* __tstate = wxPyBeginAllowThreads();
38949 (arg1)->_setCallbackInfo(arg2,arg3);
38950 wxPyEndAllowThreads(__tstate);
38951 if (PyErr_Occurred()) SWIG_fail;
38952 }
38953 resultobj = SWIG_Py_Void();
38954 return resultobj;
38955fail:
38956 return NULL;
38957}
38958
38959
1bd55598
RD
38960SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38961 PyObject *resultobj = 0;
38962 wxPyControl *arg1 = (wxPyControl *) 0 ;
38963 wxDC *arg2 = (wxDC *) 0 ;
38964 bool result;
38965 void *argp1 = 0 ;
38966 int res1 = 0 ;
38967 void *argp2 = 0 ;
38968 int res2 = 0 ;
38969 PyObject * obj0 = 0 ;
38970 PyObject * obj1 = 0 ;
38971 char * kwnames[] = {
38972 (char *) "self",(char *) "dc", NULL
38973 };
38974
38975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38977 if (!SWIG_IsOK(res1)) {
38978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38979 }
38980 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38981 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38982 if (!SWIG_IsOK(res2)) {
38983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38984 }
38985 arg2 = reinterpret_cast< wxDC * >(argp2);
38986 {
38987 PyThreadState* __tstate = wxPyBeginAllowThreads();
38988 result = (bool)(arg1)->DoEraseBackground(arg2);
38989 wxPyEndAllowThreads(__tstate);
38990 if (PyErr_Occurred()) SWIG_fail;
38991 }
38992 {
38993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38994 }
38995 return resultobj;
38996fail:
38997 return NULL;
38998}
38999
39000
39001SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39002 PyObject *resultobj = 0;
39003 wxPyControl *arg1 = (wxPyControl *) 0 ;
39004 int arg2 ;
39005 int arg3 ;
39006 int arg4 ;
39007 int arg5 ;
39008 void *argp1 = 0 ;
39009 int res1 = 0 ;
39010 int val2 ;
39011 int ecode2 = 0 ;
39012 int val3 ;
39013 int ecode3 = 0 ;
39014 int val4 ;
39015 int ecode4 = 0 ;
39016 int val5 ;
39017 int ecode5 = 0 ;
39018 PyObject * obj0 = 0 ;
39019 PyObject * obj1 = 0 ;
39020 PyObject * obj2 = 0 ;
39021 PyObject * obj3 = 0 ;
39022 PyObject * obj4 = 0 ;
39023 char * kwnames[] = {
39024 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39025 };
39026
39027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39029 if (!SWIG_IsOK(res1)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39031 }
39032 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39033 ecode2 = SWIG_AsVal_int(obj1, &val2);
39034 if (!SWIG_IsOK(ecode2)) {
39035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39036 }
39037 arg2 = static_cast< int >(val2);
39038 ecode3 = SWIG_AsVal_int(obj2, &val3);
39039 if (!SWIG_IsOK(ecode3)) {
39040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39041 }
39042 arg3 = static_cast< int >(val3);
39043 ecode4 = SWIG_AsVal_int(obj3, &val4);
39044 if (!SWIG_IsOK(ecode4)) {
39045 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39046 }
39047 arg4 = static_cast< int >(val4);
39048 ecode5 = SWIG_AsVal_int(obj4, &val5);
39049 if (!SWIG_IsOK(ecode5)) {
39050 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39051 }
39052 arg5 = static_cast< int >(val5);
39053 {
39054 PyThreadState* __tstate = wxPyBeginAllowThreads();
39055 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39056 wxPyEndAllowThreads(__tstate);
39057 if (PyErr_Occurred()) SWIG_fail;
39058 }
39059 resultobj = SWIG_Py_Void();
39060 return resultobj;
39061fail:
39062 return NULL;
39063}
39064
39065
39066SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39067 PyObject *resultobj = 0;
39068 wxPyControl *arg1 = (wxPyControl *) 0 ;
39069 int arg2 ;
39070 int arg3 ;
39071 int arg4 ;
39072 int arg5 ;
39073 int arg6 = (int) wxSIZE_AUTO ;
39074 void *argp1 = 0 ;
39075 int res1 = 0 ;
39076 int val2 ;
39077 int ecode2 = 0 ;
39078 int val3 ;
39079 int ecode3 = 0 ;
39080 int val4 ;
39081 int ecode4 = 0 ;
39082 int val5 ;
39083 int ecode5 = 0 ;
39084 int val6 ;
39085 int ecode6 = 0 ;
39086 PyObject * obj0 = 0 ;
39087 PyObject * obj1 = 0 ;
39088 PyObject * obj2 = 0 ;
39089 PyObject * obj3 = 0 ;
39090 PyObject * obj4 = 0 ;
39091 PyObject * obj5 = 0 ;
39092 char * kwnames[] = {
39093 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39094 };
39095
39096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39098 if (!SWIG_IsOK(res1)) {
39099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39100 }
39101 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39102 ecode2 = SWIG_AsVal_int(obj1, &val2);
39103 if (!SWIG_IsOK(ecode2)) {
39104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39105 }
39106 arg2 = static_cast< int >(val2);
39107 ecode3 = SWIG_AsVal_int(obj2, &val3);
39108 if (!SWIG_IsOK(ecode3)) {
39109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39110 }
39111 arg3 = static_cast< int >(val3);
39112 ecode4 = SWIG_AsVal_int(obj3, &val4);
39113 if (!SWIG_IsOK(ecode4)) {
39114 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39115 }
39116 arg4 = static_cast< int >(val4);
39117 ecode5 = SWIG_AsVal_int(obj4, &val5);
39118 if (!SWIG_IsOK(ecode5)) {
39119 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39120 }
39121 arg5 = static_cast< int >(val5);
39122 if (obj5) {
39123 ecode6 = SWIG_AsVal_int(obj5, &val6);
39124 if (!SWIG_IsOK(ecode6)) {
39125 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39126 }
39127 arg6 = static_cast< int >(val6);
39128 }
39129 {
39130 PyThreadState* __tstate = wxPyBeginAllowThreads();
39131 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39132 wxPyEndAllowThreads(__tstate);
39133 if (PyErr_Occurred()) SWIG_fail;
39134 }
39135 resultobj = SWIG_Py_Void();
39136 return resultobj;
39137fail:
39138 return NULL;
39139}
39140
39141
39142SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39143 PyObject *resultobj = 0;
39144 wxPyControl *arg1 = (wxPyControl *) 0 ;
39145 int arg2 ;
39146 int arg3 ;
39147 void *argp1 = 0 ;
39148 int res1 = 0 ;
39149 int val2 ;
39150 int ecode2 = 0 ;
39151 int val3 ;
39152 int ecode3 = 0 ;
39153 PyObject * obj0 = 0 ;
39154 PyObject * obj1 = 0 ;
39155 PyObject * obj2 = 0 ;
39156 char * kwnames[] = {
39157 (char *) "self",(char *) "width",(char *) "height", NULL
39158 };
39159
39160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39162 if (!SWIG_IsOK(res1)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39164 }
39165 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39166 ecode2 = SWIG_AsVal_int(obj1, &val2);
39167 if (!SWIG_IsOK(ecode2)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39169 }
39170 arg2 = static_cast< int >(val2);
39171 ecode3 = SWIG_AsVal_int(obj2, &val3);
39172 if (!SWIG_IsOK(ecode3)) {
39173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39174 }
39175 arg3 = static_cast< int >(val3);
39176 {
39177 PyThreadState* __tstate = wxPyBeginAllowThreads();
39178 (arg1)->DoSetClientSize(arg2,arg3);
39179 wxPyEndAllowThreads(__tstate);
39180 if (PyErr_Occurred()) SWIG_fail;
39181 }
39182 resultobj = SWIG_Py_Void();
39183 return resultobj;
39184fail:
39185 return NULL;
39186}
39187
39188
39189SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39190 PyObject *resultobj = 0;
39191 wxPyControl *arg1 = (wxPyControl *) 0 ;
39192 int arg2 ;
39193 int arg3 ;
39194 void *argp1 = 0 ;
39195 int res1 = 0 ;
39196 int val2 ;
39197 int ecode2 = 0 ;
39198 int val3 ;
39199 int ecode3 = 0 ;
39200 PyObject * obj0 = 0 ;
39201 PyObject * obj1 = 0 ;
39202 PyObject * obj2 = 0 ;
39203 char * kwnames[] = {
39204 (char *) "self",(char *) "x",(char *) "y", NULL
39205 };
39206
39207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39209 if (!SWIG_IsOK(res1)) {
39210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39211 }
39212 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39213 ecode2 = SWIG_AsVal_int(obj1, &val2);
39214 if (!SWIG_IsOK(ecode2)) {
39215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39216 }
39217 arg2 = static_cast< int >(val2);
39218 ecode3 = SWIG_AsVal_int(obj2, &val3);
39219 if (!SWIG_IsOK(ecode3)) {
39220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39221 }
39222 arg3 = static_cast< int >(val3);
39223 {
39224 PyThreadState* __tstate = wxPyBeginAllowThreads();
39225 (arg1)->DoSetVirtualSize(arg2,arg3);
39226 wxPyEndAllowThreads(__tstate);
39227 if (PyErr_Occurred()) SWIG_fail;
39228 }
39229 resultobj = SWIG_Py_Void();
39230 return resultobj;
39231fail:
39232 return NULL;
39233}
39234
39235
39236SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39237 PyObject *resultobj = 0;
39238 wxPyControl *arg1 = (wxPyControl *) 0 ;
39239 int *arg2 = (int *) 0 ;
39240 int *arg3 = (int *) 0 ;
39241 void *argp1 = 0 ;
39242 int res1 = 0 ;
39243 int temp2 ;
39244 int res2 = SWIG_TMPOBJ ;
39245 int temp3 ;
39246 int res3 = SWIG_TMPOBJ ;
39247 PyObject *swig_obj[1] ;
39248
39249 arg2 = &temp2;
39250 arg3 = &temp3;
39251 if (!args) SWIG_fail;
39252 swig_obj[0] = args;
39253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39254 if (!SWIG_IsOK(res1)) {
39255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39256 }
39257 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39258 {
39259 PyThreadState* __tstate = wxPyBeginAllowThreads();
39260 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39261 wxPyEndAllowThreads(__tstate);
39262 if (PyErr_Occurred()) SWIG_fail;
39263 }
39264 resultobj = SWIG_Py_Void();
39265 if (SWIG_IsTmpObj(res2)) {
39266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39267 } else {
39268 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39270 }
39271 if (SWIG_IsTmpObj(res3)) {
39272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39273 } else {
39274 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39276 }
39277 return resultobj;
39278fail:
39279 return NULL;
39280}
39281
39282
39283SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39284 PyObject *resultobj = 0;
39285 wxPyControl *arg1 = (wxPyControl *) 0 ;
39286 int *arg2 = (int *) 0 ;
39287 int *arg3 = (int *) 0 ;
39288 void *argp1 = 0 ;
39289 int res1 = 0 ;
39290 int temp2 ;
39291 int res2 = SWIG_TMPOBJ ;
39292 int temp3 ;
39293 int res3 = SWIG_TMPOBJ ;
39294 PyObject *swig_obj[1] ;
39295
39296 arg2 = &temp2;
39297 arg3 = &temp3;
39298 if (!args) SWIG_fail;
39299 swig_obj[0] = args;
39300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39301 if (!SWIG_IsOK(res1)) {
39302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39303 }
39304 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39305 {
39306 PyThreadState* __tstate = wxPyBeginAllowThreads();
39307 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39308 wxPyEndAllowThreads(__tstate);
39309 if (PyErr_Occurred()) SWIG_fail;
39310 }
39311 resultobj = SWIG_Py_Void();
39312 if (SWIG_IsTmpObj(res2)) {
39313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39314 } else {
39315 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39317 }
39318 if (SWIG_IsTmpObj(res3)) {
39319 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39320 } else {
39321 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39322 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39323 }
39324 return resultobj;
39325fail:
39326 return NULL;
39327}
39328
39329
39330SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39331 PyObject *resultobj = 0;
39332 wxPyControl *arg1 = (wxPyControl *) 0 ;
39333 int *arg2 = (int *) 0 ;
39334 int *arg3 = (int *) 0 ;
39335 void *argp1 = 0 ;
39336 int res1 = 0 ;
39337 int temp2 ;
39338 int res2 = SWIG_TMPOBJ ;
39339 int temp3 ;
39340 int res3 = SWIG_TMPOBJ ;
39341 PyObject *swig_obj[1] ;
39342
39343 arg2 = &temp2;
39344 arg3 = &temp3;
39345 if (!args) SWIG_fail;
39346 swig_obj[0] = args;
39347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39348 if (!SWIG_IsOK(res1)) {
39349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39350 }
39351 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39352 {
39353 PyThreadState* __tstate = wxPyBeginAllowThreads();
39354 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39355 wxPyEndAllowThreads(__tstate);
39356 if (PyErr_Occurred()) SWIG_fail;
39357 }
39358 resultobj = SWIG_Py_Void();
39359 if (SWIG_IsTmpObj(res2)) {
39360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39361 } else {
39362 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39364 }
39365 if (SWIG_IsTmpObj(res3)) {
39366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39367 } else {
39368 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39370 }
39371 return resultobj;
39372fail:
39373 return NULL;
d55e5bfc
RD
39374}
39375
39376
1bd55598
RD
39377SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39378 PyObject *resultobj = 0;
39379 wxPyControl *arg1 = (wxPyControl *) 0 ;
39380 wxSize result;
39381 void *argp1 = 0 ;
39382 int res1 = 0 ;
39383 PyObject *swig_obj[1] ;
39384
39385 if (!args) SWIG_fail;
39386 swig_obj[0] = args;
39387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39388 if (!SWIG_IsOK(res1)) {
39389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39390 }
39391 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39392 {
39393 PyThreadState* __tstate = wxPyBeginAllowThreads();
39394 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39395 wxPyEndAllowThreads(__tstate);
39396 if (PyErr_Occurred()) SWIG_fail;
39397 }
39398 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39399 return resultobj;
39400fail:
39401 return NULL;
7e08d4ef
RD
39402}
39403
39404
1bd55598
RD
39405SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39406 PyObject *resultobj = 0;
39407 wxPyControl *arg1 = (wxPyControl *) 0 ;
39408 wxSize result;
39409 void *argp1 = 0 ;
39410 int res1 = 0 ;
39411 PyObject *swig_obj[1] ;
39412
39413 if (!args) SWIG_fail;
39414 swig_obj[0] = args;
39415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39416 if (!SWIG_IsOK(res1)) {
39417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39418 }
39419 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39420 {
39421 PyThreadState* __tstate = wxPyBeginAllowThreads();
39422 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39423 wxPyEndAllowThreads(__tstate);
39424 if (PyErr_Occurred()) SWIG_fail;
39425 }
39426 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39427 return resultobj;
39428fail:
39429 return NULL;
d55e5bfc
RD
39430}
39431
39432
1bd55598
RD
39433SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39434 PyObject *resultobj = 0;
39435 wxPyControl *arg1 = (wxPyControl *) 0 ;
39436 SwigValueWrapper<wxVisualAttributes > result;
39437 void *argp1 = 0 ;
39438 int res1 = 0 ;
39439 PyObject *swig_obj[1] ;
39440
39441 if (!args) SWIG_fail;
39442 swig_obj[0] = args;
39443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39444 if (!SWIG_IsOK(res1)) {
39445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39446 }
39447 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39448 {
39449 PyThreadState* __tstate = wxPyBeginAllowThreads();
39450 result = (arg1)->GetDefaultAttributes();
39451 wxPyEndAllowThreads(__tstate);
39452 if (PyErr_Occurred()) SWIG_fail;
39453 }
39454 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39455 return resultobj;
39456fail:
39457 return NULL;
d55e5bfc
RD
39458}
39459
39460
1bd55598
RD
39461SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39462 PyObject *resultobj = 0;
39463 wxPyControl *arg1 = (wxPyControl *) 0 ;
39464 void *argp1 = 0 ;
39465 int res1 = 0 ;
39466 PyObject *swig_obj[1] ;
39467
39468 if (!args) SWIG_fail;
39469 swig_obj[0] = args;
39470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39471 if (!SWIG_IsOK(res1)) {
39472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39473 }
39474 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39475 {
39476 PyThreadState* __tstate = wxPyBeginAllowThreads();
39477 (arg1)->OnInternalIdle();
39478 wxPyEndAllowThreads(__tstate);
39479 if (PyErr_Occurred()) SWIG_fail;
39480 }
39481 resultobj = SWIG_Py_Void();
39482 return resultobj;
39483fail:
39484 return NULL;
39485}
39486
39487
39488SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39489 PyObject *obj;
39490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39492 return SWIG_Py_Void();
39493}
39494
39495SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39496 return SWIG_Python_InitShadowInstance(args);
39497}
39498
39499SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39500 PyObject *resultobj = 0;
39501 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39502 int arg2 = (int) 0 ;
39503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39505 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
1bd55598
RD
39506 wxHelpEvent *result = 0 ;
39507 int val1 ;
39508 int ecode1 = 0 ;
39509 int val2 ;
39510 int ecode2 = 0 ;
39511 wxPoint temp3 ;
704eda0c
RD
39512 int val4 ;
39513 int ecode4 = 0 ;
1bd55598
RD
39514 PyObject * obj0 = 0 ;
39515 PyObject * obj1 = 0 ;
39516 PyObject * obj2 = 0 ;
704eda0c 39517 PyObject * obj3 = 0 ;
1bd55598 39518 char * kwnames[] = {
704eda0c 39519 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
1bd55598
RD
39520 };
39521
704eda0c 39522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
39523 if (obj0) {
39524 ecode1 = SWIG_AsVal_int(obj0, &val1);
39525 if (!SWIG_IsOK(ecode1)) {
39526 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39527 }
39528 arg1 = static_cast< wxEventType >(val1);
39529 }
39530 if (obj1) {
39531 ecode2 = SWIG_AsVal_int(obj1, &val2);
39532 if (!SWIG_IsOK(ecode2)) {
39533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39534 }
39535 arg2 = static_cast< int >(val2);
39536 }
39537 if (obj2) {
d55e5bfc 39538 {
1bd55598
RD
39539 arg3 = &temp3;
39540 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39541 }
1bd55598 39542 }
704eda0c
RD
39543 if (obj3) {
39544 ecode4 = SWIG_AsVal_int(obj3, &val4);
39545 if (!SWIG_IsOK(ecode4)) {
39546 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39547 }
39548 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39549 }
1bd55598
RD
39550 {
39551 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39552 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
1bd55598
RD
39553 wxPyEndAllowThreads(__tstate);
39554 if (PyErr_Occurred()) SWIG_fail;
39555 }
39556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39557 return resultobj;
39558fail:
39559 return NULL;
d55e5bfc
RD
39560}
39561
39562
1bd55598
RD
39563SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39564 PyObject *resultobj = 0;
39565 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39566 wxPoint result;
39567 void *argp1 = 0 ;
39568 int res1 = 0 ;
39569 PyObject *swig_obj[1] ;
39570
39571 if (!args) SWIG_fail;
39572 swig_obj[0] = args;
39573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39574 if (!SWIG_IsOK(res1)) {
39575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39576 }
39577 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39578 {
39579 PyThreadState* __tstate = wxPyBeginAllowThreads();
39580 result = ((wxHelpEvent const *)arg1)->GetPosition();
39581 wxPyEndAllowThreads(__tstate);
39582 if (PyErr_Occurred()) SWIG_fail;
39583 }
39584 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39585 return resultobj;
39586fail:
39587 return NULL;
39588}
39589
39590
39591SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39592 PyObject *resultobj = 0;
39593 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39594 wxPoint *arg2 = 0 ;
39595 void *argp1 = 0 ;
39596 int res1 = 0 ;
39597 wxPoint temp2 ;
39598 PyObject * obj0 = 0 ;
39599 PyObject * obj1 = 0 ;
39600 char * kwnames[] = {
39601 (char *) "self",(char *) "pos", NULL
39602 };
39603
39604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39606 if (!SWIG_IsOK(res1)) {
39607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39608 }
39609 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39610 {
39611 arg2 = &temp2;
39612 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39613 }
39614 {
39615 PyThreadState* __tstate = wxPyBeginAllowThreads();
39616 (arg1)->SetPosition((wxPoint const &)*arg2);
39617 wxPyEndAllowThreads(__tstate);
39618 if (PyErr_Occurred()) SWIG_fail;
39619 }
39620 resultobj = SWIG_Py_Void();
39621 return resultobj;
39622fail:
39623 return NULL;
d55e5bfc
RD
39624}
39625
39626
1bd55598
RD
39627SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39628 PyObject *resultobj = 0;
39629 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39630 wxString *result = 0 ;
39631 void *argp1 = 0 ;
39632 int res1 = 0 ;
39633 PyObject *swig_obj[1] ;
39634
39635 if (!args) SWIG_fail;
39636 swig_obj[0] = args;
39637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39638 if (!SWIG_IsOK(res1)) {
39639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39640 }
39641 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39642 {
39643 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39644 {
1bd55598
RD
39645 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39646 result = (wxString *) &_result_ref;
d55e5bfc 39647 }
1bd55598
RD
39648 wxPyEndAllowThreads(__tstate);
39649 if (PyErr_Occurred()) SWIG_fail;
39650 }
39651 {
39652#if wxUSE_UNICODE
39653 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39654#else
39655 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39656#endif
39657 }
39658 return resultobj;
39659fail:
39660 return NULL;
39661}
39662
39663
39664SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39665 PyObject *resultobj = 0;
39666 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39667 wxString *arg2 = 0 ;
39668 void *argp1 = 0 ;
39669 int res1 = 0 ;
39670 bool temp2 = false ;
39671 PyObject * obj0 = 0 ;
39672 PyObject * obj1 = 0 ;
39673 char * kwnames[] = {
39674 (char *) "self",(char *) "link", NULL
39675 };
39676
39677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39679 if (!SWIG_IsOK(res1)) {
39680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39681 }
39682 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39683 {
39684 arg2 = wxString_in_helper(obj1);
39685 if (arg2 == NULL) SWIG_fail;
39686 temp2 = true;
39687 }
39688 {
39689 PyThreadState* __tstate = wxPyBeginAllowThreads();
39690 (arg1)->SetLink((wxString const &)*arg2);
39691 wxPyEndAllowThreads(__tstate);
39692 if (PyErr_Occurred()) SWIG_fail;
39693 }
39694 resultobj = SWIG_Py_Void();
39695 {
39696 if (temp2)
39697 delete arg2;
39698 }
39699 return resultobj;
39700fail:
39701 {
39702 if (temp2)
39703 delete arg2;
39704 }
39705 return NULL;
d55e5bfc
RD
39706}
39707
39708
1bd55598
RD
39709SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39710 PyObject *resultobj = 0;
39711 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39712 wxString *result = 0 ;
39713 void *argp1 = 0 ;
39714 int res1 = 0 ;
39715 PyObject *swig_obj[1] ;
39716
39717 if (!args) SWIG_fail;
39718 swig_obj[0] = args;
39719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39720 if (!SWIG_IsOK(res1)) {
39721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39722 }
39723 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39724 {
39725 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39726 {
1bd55598
RD
39727 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39728 result = (wxString *) &_result_ref;
d55e5bfc 39729 }
1bd55598
RD
39730 wxPyEndAllowThreads(__tstate);
39731 if (PyErr_Occurred()) SWIG_fail;
39732 }
39733 {
39734#if wxUSE_UNICODE
39735 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39736#else
39737 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39738#endif
39739 }
39740 return resultobj;
39741fail:
39742 return NULL;
39743}
39744
39745
39746SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39747 PyObject *resultobj = 0;
39748 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39749 wxString *arg2 = 0 ;
39750 void *argp1 = 0 ;
39751 int res1 = 0 ;
39752 bool temp2 = false ;
39753 PyObject * obj0 = 0 ;
39754 PyObject * obj1 = 0 ;
39755 char * kwnames[] = {
39756 (char *) "self",(char *) "target", NULL
39757 };
39758
39759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39761 if (!SWIG_IsOK(res1)) {
39762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39763 }
39764 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39765 {
39766 arg2 = wxString_in_helper(obj1);
39767 if (arg2 == NULL) SWIG_fail;
39768 temp2 = true;
39769 }
39770 {
39771 PyThreadState* __tstate = wxPyBeginAllowThreads();
39772 (arg1)->SetTarget((wxString const &)*arg2);
39773 wxPyEndAllowThreads(__tstate);
39774 if (PyErr_Occurred()) SWIG_fail;
39775 }
39776 resultobj = SWIG_Py_Void();
39777 {
39778 if (temp2)
39779 delete arg2;
39780 }
39781 return resultobj;
39782fail:
39783 {
39784 if (temp2)
39785 delete arg2;
39786 }
39787 return NULL;
d55e5bfc
RD
39788}
39789
39790
704eda0c
RD
39791SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39792 PyObject *resultobj = 0;
39793 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39794 wxHelpEvent::Origin result;
39795 void *argp1 = 0 ;
39796 int res1 = 0 ;
39797 PyObject *swig_obj[1] ;
39798
39799 if (!args) SWIG_fail;
39800 swig_obj[0] = args;
39801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39802 if (!SWIG_IsOK(res1)) {
39803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39804 }
39805 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39806 {
39807 PyThreadState* __tstate = wxPyBeginAllowThreads();
39808 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39809 wxPyEndAllowThreads(__tstate);
39810 if (PyErr_Occurred()) SWIG_fail;
39811 }
39812 resultobj = SWIG_From_int(static_cast< int >(result));
39813 return resultobj;
39814fail:
39815 return NULL;
39816}
39817
39818
39819SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39820 PyObject *resultobj = 0;
39821 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39822 wxHelpEvent::Origin arg2 ;
39823 void *argp1 = 0 ;
39824 int res1 = 0 ;
39825 int val2 ;
39826 int ecode2 = 0 ;
39827 PyObject * obj0 = 0 ;
39828 PyObject * obj1 = 0 ;
39829 char * kwnames[] = {
39830 (char *) "self",(char *) "origin", NULL
39831 };
39832
39833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39835 if (!SWIG_IsOK(res1)) {
39836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39837 }
39838 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39839 ecode2 = SWIG_AsVal_int(obj1, &val2);
39840 if (!SWIG_IsOK(ecode2)) {
39841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39842 }
39843 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39844 {
39845 PyThreadState* __tstate = wxPyBeginAllowThreads();
39846 (arg1)->SetOrigin(arg2);
39847 wxPyEndAllowThreads(__tstate);
39848 if (PyErr_Occurred()) SWIG_fail;
39849 }
39850 resultobj = SWIG_Py_Void();
39851 return resultobj;
39852fail:
39853 return NULL;
39854}
39855
39856
1bd55598
RD
39857SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39858 PyObject *obj;
39859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39860 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39861 return SWIG_Py_Void();
39862}
39863
39864SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39865 return SWIG_Python_InitShadowInstance(args);
39866}
39867
39868SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39869 PyObject *resultobj = 0;
39870 wxWindow *arg1 = (wxWindow *) NULL ;
39871 bool arg2 = (bool) true ;
39872 wxContextHelp *result = 0 ;
39873 void *argp1 = 0 ;
39874 int res1 = 0 ;
39875 bool val2 ;
39876 int ecode2 = 0 ;
39877 PyObject * obj0 = 0 ;
39878 PyObject * obj1 = 0 ;
39879 char * kwnames[] = {
39880 (char *) "window",(char *) "doNow", NULL
39881 };
39882
39883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39884 if (obj0) {
39885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39886 if (!SWIG_IsOK(res1)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 39888 }
1bd55598
RD
39889 arg1 = reinterpret_cast< wxWindow * >(argp1);
39890 }
39891 if (obj1) {
39892 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39893 if (!SWIG_IsOK(ecode2)) {
39894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39895 }
39896 arg2 = static_cast< bool >(val2);
39897 }
39898 {
39899 if (!wxPyCheckForApp()) SWIG_fail;
39900 PyThreadState* __tstate = wxPyBeginAllowThreads();
39901 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39902 wxPyEndAllowThreads(__tstate);
39903 if (PyErr_Occurred()) SWIG_fail;
39904 }
39905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39906 return resultobj;
39907fail:
39908 return NULL;
d55e5bfc
RD
39909}
39910
39911
1bd55598
RD
39912SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39913 PyObject *resultobj = 0;
39914 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39915 void *argp1 = 0 ;
39916 int res1 = 0 ;
39917 PyObject *swig_obj[1] ;
39918
39919 if (!args) SWIG_fail;
39920 swig_obj[0] = args;
39921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39922 if (!SWIG_IsOK(res1)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39924 }
39925 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39926 {
39927 PyThreadState* __tstate = wxPyBeginAllowThreads();
39928 delete arg1;
d55e5bfc 39929
1bd55598
RD
39930 wxPyEndAllowThreads(__tstate);
39931 if (PyErr_Occurred()) SWIG_fail;
39932 }
39933 resultobj = SWIG_Py_Void();
39934 return resultobj;
39935fail:
39936 return NULL;
39937}
39938
39939
39940SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39941 PyObject *resultobj = 0;
39942 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39943 wxWindow *arg2 = (wxWindow *) NULL ;
39944 bool result;
39945 void *argp1 = 0 ;
39946 int res1 = 0 ;
39947 void *argp2 = 0 ;
39948 int res2 = 0 ;
39949 PyObject * obj0 = 0 ;
39950 PyObject * obj1 = 0 ;
39951 char * kwnames[] = {
39952 (char *) "self",(char *) "window", NULL
39953 };
39954
39955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39957 if (!SWIG_IsOK(res1)) {
39958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39959 }
39960 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39961 if (obj1) {
39962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39963 if (!SWIG_IsOK(res2)) {
39964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 39965 }
1bd55598
RD
39966 arg2 = reinterpret_cast< wxWindow * >(argp2);
39967 }
39968 {
39969 PyThreadState* __tstate = wxPyBeginAllowThreads();
39970 result = (bool)(arg1)->BeginContextHelp(arg2);
39971 wxPyEndAllowThreads(__tstate);
39972 if (PyErr_Occurred()) SWIG_fail;
39973 }
39974 {
39975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39976 }
39977 return resultobj;
39978fail:
39979 return NULL;
d55e5bfc
RD
39980}
39981
39982
1bd55598
RD
39983SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39984 PyObject *resultobj = 0;
39985 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39986 bool result;
39987 void *argp1 = 0 ;
39988 int res1 = 0 ;
39989 PyObject *swig_obj[1] ;
39990
39991 if (!args) SWIG_fail;
39992 swig_obj[0] = args;
39993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39994 if (!SWIG_IsOK(res1)) {
39995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39996 }
39997 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39998 {
39999 PyThreadState* __tstate = wxPyBeginAllowThreads();
40000 result = (bool)(arg1)->EndContextHelp();
40001 wxPyEndAllowThreads(__tstate);
40002 if (PyErr_Occurred()) SWIG_fail;
40003 }
40004 {
40005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40006 }
40007 return resultobj;
40008fail:
40009 return NULL;
40010}
40011
40012
40013SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40014 PyObject *obj;
40015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40016 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40017 return SWIG_Py_Void();
40018}
40019
40020SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40021 return SWIG_Python_InitShadowInstance(args);
40022}
40023
40024SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40025 PyObject *resultobj = 0;
40026 wxWindow *arg1 = (wxWindow *) 0 ;
40027 int arg2 = (int) wxID_CONTEXT_HELP ;
40028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40030 wxSize const &arg4_defvalue = wxDefaultSize ;
40031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40032 long arg5 = (long) wxBU_AUTODRAW ;
40033 wxContextHelpButton *result = 0 ;
40034 void *argp1 = 0 ;
40035 int res1 = 0 ;
40036 int val2 ;
40037 int ecode2 = 0 ;
40038 wxPoint temp3 ;
40039 wxSize temp4 ;
40040 long val5 ;
40041 int ecode5 = 0 ;
40042 PyObject * obj0 = 0 ;
40043 PyObject * obj1 = 0 ;
40044 PyObject * obj2 = 0 ;
40045 PyObject * obj3 = 0 ;
40046 PyObject * obj4 = 0 ;
40047 char * kwnames[] = {
40048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40049 };
40050
40051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40053 if (!SWIG_IsOK(res1)) {
40054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40055 }
40056 arg1 = reinterpret_cast< wxWindow * >(argp1);
40057 if (obj1) {
40058 ecode2 = SWIG_AsVal_int(obj1, &val2);
40059 if (!SWIG_IsOK(ecode2)) {
40060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40061 }
40062 arg2 = static_cast< int >(val2);
40063 }
40064 if (obj2) {
d55e5bfc 40065 {
1bd55598
RD
40066 arg3 = &temp3;
40067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 40068 }
1bd55598
RD
40069 }
40070 if (obj3) {
d55e5bfc 40071 {
1bd55598
RD
40072 arg4 = &temp4;
40073 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 40074 }
1bd55598
RD
40075 }
40076 if (obj4) {
40077 ecode5 = SWIG_AsVal_long(obj4, &val5);
40078 if (!SWIG_IsOK(ecode5)) {
40079 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40080 }
40081 arg5 = static_cast< long >(val5);
40082 }
40083 {
40084 if (!wxPyCheckForApp()) SWIG_fail;
40085 PyThreadState* __tstate = wxPyBeginAllowThreads();
40086 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40087 wxPyEndAllowThreads(__tstate);
40088 if (PyErr_Occurred()) SWIG_fail;
40089 }
40090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40091 return resultobj;
40092fail:
40093 return NULL;
d55e5bfc
RD
40094}
40095
40096
1bd55598
RD
40097SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40098 PyObject *obj;
40099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40100 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40101 return SWIG_Py_Void();
d55e5bfc
RD
40102}
40103
1bd55598
RD
40104SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40105 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
40106}
40107
f52cbe90
RD
40108SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40109 PyObject *resultobj = 0;
40110 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40111 void *argp1 = 0 ;
40112 int res1 = 0 ;
40113 PyObject *swig_obj[1] ;
40114
40115 if (!args) SWIG_fail;
40116 swig_obj[0] = args;
40117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40118 if (!SWIG_IsOK(res1)) {
40119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40120 }
40121 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40122 {
40123 PyThreadState* __tstate = wxPyBeginAllowThreads();
40124 delete arg1;
40125
40126 wxPyEndAllowThreads(__tstate);
40127 if (PyErr_Occurred()) SWIG_fail;
40128 }
40129 resultobj = SWIG_Py_Void();
40130 return resultobj;
40131fail:
40132 return NULL;
40133}
40134
40135
1bd55598
RD
40136SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40137 PyObject *resultobj = 0;
40138 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40139 wxHelpProvider *result = 0 ;
40140 int res1 = 0 ;
40141 PyObject * obj0 = 0 ;
40142 char * kwnames[] = {
40143 (char *) "helpProvider", NULL
40144 };
40145
40146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40147 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40148 if (!SWIG_IsOK(res1)) {
40149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40150 }
40151 {
40152 PyThreadState* __tstate = wxPyBeginAllowThreads();
40153 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40154 wxPyEndAllowThreads(__tstate);
40155 if (PyErr_Occurred()) SWIG_fail;
40156 }
40157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40158 return resultobj;
40159fail:
40160 return NULL;
d55e5bfc
RD
40161}
40162
40163
1bd55598
RD
40164SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40165 PyObject *resultobj = 0;
40166 wxHelpProvider *result = 0 ;
40167
40168 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40169 {
40170 PyThreadState* __tstate = wxPyBeginAllowThreads();
40171 result = (wxHelpProvider *)wxHelpProvider::Get();
40172 wxPyEndAllowThreads(__tstate);
40173 if (PyErr_Occurred()) SWIG_fail;
40174 }
40175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40176 return resultobj;
40177fail:
40178 return NULL;
40179}
40180
40181
40182SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40183 PyObject *resultobj = 0;
40184 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40185 wxWindow *arg2 = (wxWindow *) 0 ;
40186 wxString result;
40187 void *argp1 = 0 ;
40188 int res1 = 0 ;
40189 void *argp2 = 0 ;
40190 int res2 = 0 ;
40191 PyObject * obj0 = 0 ;
40192 PyObject * obj1 = 0 ;
40193 char * kwnames[] = {
40194 (char *) "self",(char *) "window", NULL
40195 };
40196
40197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40199 if (!SWIG_IsOK(res1)) {
40200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40201 }
40202 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40204 if (!SWIG_IsOK(res2)) {
40205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40206 }
40207 arg2 = reinterpret_cast< wxWindow * >(argp2);
40208 {
40209 PyThreadState* __tstate = wxPyBeginAllowThreads();
40210 result = (arg1)->GetHelp((wxWindow const *)arg2);
40211 wxPyEndAllowThreads(__tstate);
40212 if (PyErr_Occurred()) SWIG_fail;
40213 }
40214 {
40215#if wxUSE_UNICODE
40216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40217#else
40218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40219#endif
40220 }
40221 return resultobj;
40222fail:
40223 return NULL;
40224}
40225
40226
40227SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40228 PyObject *resultobj = 0;
40229 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40230 wxWindow *arg2 = (wxWindow *) 0 ;
40231 bool result;
40232 void *argp1 = 0 ;
40233 int res1 = 0 ;
40234 void *argp2 = 0 ;
40235 int res2 = 0 ;
40236 PyObject * obj0 = 0 ;
40237 PyObject * obj1 = 0 ;
40238 char * kwnames[] = {
40239 (char *) "self",(char *) "window", NULL
40240 };
40241
40242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40244 if (!SWIG_IsOK(res1)) {
40245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40246 }
40247 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40249 if (!SWIG_IsOK(res2)) {
40250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40251 }
40252 arg2 = reinterpret_cast< wxWindow * >(argp2);
40253 {
40254 PyThreadState* __tstate = wxPyBeginAllowThreads();
40255 result = (bool)(arg1)->ShowHelp(arg2);
40256 wxPyEndAllowThreads(__tstate);
40257 if (PyErr_Occurred()) SWIG_fail;
40258 }
40259 {
40260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40261 }
40262 return resultobj;
40263fail:
40264 return NULL;
40265}
40266
40267
b850e7f3
RD
40268SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40269 PyObject *resultobj = 0;
40270 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40271 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40272 wxPoint *arg3 = 0 ;
40273 wxHelpEvent::Origin arg4 ;
40274 bool result;
40275 void *argp1 = 0 ;
40276 int res1 = 0 ;
40277 void *argp2 = 0 ;
40278 int res2 = 0 ;
40279 wxPoint temp3 ;
40280 int val4 ;
40281 int ecode4 = 0 ;
40282 PyObject * obj0 = 0 ;
40283 PyObject * obj1 = 0 ;
40284 PyObject * obj2 = 0 ;
40285 PyObject * obj3 = 0 ;
40286 char * kwnames[] = {
40287 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40288 };
40289
40290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40292 if (!SWIG_IsOK(res1)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40294 }
40295 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40296 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40297 if (!SWIG_IsOK(res2)) {
40298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40299 }
40300 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40301 {
40302 arg3 = &temp3;
40303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40304 }
40305 ecode4 = SWIG_AsVal_int(obj3, &val4);
40306 if (!SWIG_IsOK(ecode4)) {
40307 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40308 }
40309 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40310 {
40311 PyThreadState* __tstate = wxPyBeginAllowThreads();
40312 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40313 wxPyEndAllowThreads(__tstate);
40314 if (PyErr_Occurred()) SWIG_fail;
40315 }
40316 {
40317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40318 }
40319 return resultobj;
40320fail:
40321 return NULL;
40322}
40323
40324
1bd55598
RD
40325SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40326 PyObject *resultobj = 0;
40327 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40328 wxWindow *arg2 = (wxWindow *) 0 ;
40329 wxString *arg3 = 0 ;
40330 void *argp1 = 0 ;
40331 int res1 = 0 ;
40332 void *argp2 = 0 ;
40333 int res2 = 0 ;
40334 bool temp3 = false ;
40335 PyObject * obj0 = 0 ;
40336 PyObject * obj1 = 0 ;
40337 PyObject * obj2 = 0 ;
40338 char * kwnames[] = {
40339 (char *) "self",(char *) "window",(char *) "text", NULL
40340 };
40341
40342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40344 if (!SWIG_IsOK(res1)) {
40345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40346 }
40347 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40349 if (!SWIG_IsOK(res2)) {
40350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40351 }
40352 arg2 = reinterpret_cast< wxWindow * >(argp2);
40353 {
40354 arg3 = wxString_in_helper(obj2);
40355 if (arg3 == NULL) SWIG_fail;
40356 temp3 = true;
40357 }
40358 {
40359 PyThreadState* __tstate = wxPyBeginAllowThreads();
40360 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40361 wxPyEndAllowThreads(__tstate);
40362 if (PyErr_Occurred()) SWIG_fail;
40363 }
40364 resultobj = SWIG_Py_Void();
40365 {
40366 if (temp3)
40367 delete arg3;
40368 }
40369 return resultobj;
40370fail:
40371 {
40372 if (temp3)
40373 delete arg3;
40374 }
40375 return NULL;
40376}
40377
40378
40379SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40380 PyObject *resultobj = 0;
40381 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40382 int arg2 ;
40383 wxString *arg3 = 0 ;
40384 void *argp1 = 0 ;
40385 int res1 = 0 ;
40386 int val2 ;
40387 int ecode2 = 0 ;
40388 bool temp3 = false ;
40389 PyObject * obj0 = 0 ;
40390 PyObject * obj1 = 0 ;
40391 PyObject * obj2 = 0 ;
40392 char * kwnames[] = {
40393 (char *) "self",(char *) "id",(char *) "text", NULL
40394 };
40395
40396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40398 if (!SWIG_IsOK(res1)) {
40399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40400 }
40401 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40402 ecode2 = SWIG_AsVal_int(obj1, &val2);
40403 if (!SWIG_IsOK(ecode2)) {
40404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40405 }
40406 arg2 = static_cast< int >(val2);
40407 {
40408 arg3 = wxString_in_helper(obj2);
40409 if (arg3 == NULL) SWIG_fail;
40410 temp3 = true;
40411 }
40412 {
40413 PyThreadState* __tstate = wxPyBeginAllowThreads();
40414 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40415 wxPyEndAllowThreads(__tstate);
40416 if (PyErr_Occurred()) SWIG_fail;
40417 }
40418 resultobj = SWIG_Py_Void();
40419 {
40420 if (temp3)
40421 delete arg3;
40422 }
40423 return resultobj;
40424fail:
40425 {
40426 if (temp3)
40427 delete arg3;
40428 }
40429 return NULL;
40430}
40431
40432
40433SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40434 PyObject *resultobj = 0;
40435 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40436 wxWindow *arg2 = (wxWindow *) 0 ;
40437 void *argp1 = 0 ;
40438 int res1 = 0 ;
40439 void *argp2 = 0 ;
40440 int res2 = 0 ;
40441 PyObject * obj0 = 0 ;
40442 PyObject * obj1 = 0 ;
40443 char * kwnames[] = {
40444 (char *) "self",(char *) "window", NULL
40445 };
40446
40447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40449 if (!SWIG_IsOK(res1)) {
40450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40451 }
40452 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40454 if (!SWIG_IsOK(res2)) {
40455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40456 }
40457 arg2 = reinterpret_cast< wxWindow * >(argp2);
40458 {
40459 PyThreadState* __tstate = wxPyBeginAllowThreads();
40460 (arg1)->RemoveHelp(arg2);
40461 wxPyEndAllowThreads(__tstate);
40462 if (PyErr_Occurred()) SWIG_fail;
40463 }
40464 resultobj = SWIG_Py_Void();
40465 return resultobj;
40466fail:
40467 return NULL;
d55e5bfc
RD
40468}
40469
40470
1bd55598
RD
40471SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40472 PyObject *resultobj = 0;
40473 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40474 void *argp1 = 0 ;
40475 int res1 = 0 ;
40476 PyObject *swig_obj[1] ;
40477
40478 if (!args) SWIG_fail;
40479 swig_obj[0] = args;
40480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40481 if (!SWIG_IsOK(res1)) {
40482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40483 }
40484 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40485 {
40486 PyThreadState* __tstate = wxPyBeginAllowThreads();
40487 wxHelpProvider_Destroy(arg1);
40488 wxPyEndAllowThreads(__tstate);
40489 if (PyErr_Occurred()) SWIG_fail;
40490 }
40491 resultobj = SWIG_Py_Void();
40492 return resultobj;
40493fail:
40494 return NULL;
d55e5bfc
RD
40495}
40496
40497
1bd55598
RD
40498SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40499 PyObject *obj;
40500 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40501 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40502 return SWIG_Py_Void();
d55e5bfc
RD
40503}
40504
1bd55598
RD
40505SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40506 PyObject *resultobj = 0;
40507 wxSimpleHelpProvider *result = 0 ;
40508
40509 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40510 {
40511 PyThreadState* __tstate = wxPyBeginAllowThreads();
40512 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40513 wxPyEndAllowThreads(__tstate);
40514 if (PyErr_Occurred()) SWIG_fail;
40515 }
40516 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40517 return resultobj;
40518fail:
40519 return NULL;
40520}
40521
40522
40523SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40524 PyObject *obj;
40525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40526 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40527 return SWIG_Py_Void();
40528}
40529
40530SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40531 return SWIG_Python_InitShadowInstance(args);
40532}
40533
40534SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40535 PyObject *resultobj = 0;
40536 wxBitmap *arg1 = 0 ;
40537 wxCursor const &arg2_defvalue = wxNullCursor ;
40538 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40539 wxGenericDragImage *result = 0 ;
40540 void *argp1 = 0 ;
40541 int res1 = 0 ;
40542 void *argp2 = 0 ;
40543 int res2 = 0 ;
40544 PyObject * obj0 = 0 ;
40545 PyObject * obj1 = 0 ;
40546 char * kwnames[] = {
40547 (char *) "image",(char *) "cursor", NULL
40548 };
40549
40550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40551 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40552 if (!SWIG_IsOK(res1)) {
40553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40554 }
40555 if (!argp1) {
40556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40557 }
40558 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40559 if (obj1) {
40560 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40561 if (!SWIG_IsOK(res2)) {
40562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40563 }
1bd55598
RD
40564 if (!argp2) {
40565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40566 }
1bd55598
RD
40567 arg2 = reinterpret_cast< wxCursor * >(argp2);
40568 }
40569 {
40570 if (!wxPyCheckForApp()) SWIG_fail;
40571 PyThreadState* __tstate = wxPyBeginAllowThreads();
40572 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40573 wxPyEndAllowThreads(__tstate);
40574 if (PyErr_Occurred()) SWIG_fail;
40575 }
40576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40577 return resultobj;
40578fail:
40579 return NULL;
40580}
40581
40582
40583SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40584 PyObject *resultobj = 0;
40585 wxIcon *arg1 = 0 ;
40586 wxCursor const &arg2_defvalue = wxNullCursor ;
40587 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40588 wxGenericDragImage *result = 0 ;
40589 void *argp1 = 0 ;
40590 int res1 = 0 ;
40591 void *argp2 = 0 ;
40592 int res2 = 0 ;
40593 PyObject * obj0 = 0 ;
40594 PyObject * obj1 = 0 ;
40595 char * kwnames[] = {
40596 (char *) "image",(char *) "cursor", NULL
40597 };
40598
40599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40600 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40601 if (!SWIG_IsOK(res1)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40603 }
40604 if (!argp1) {
40605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40606 }
40607 arg1 = reinterpret_cast< wxIcon * >(argp1);
40608 if (obj1) {
40609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40610 if (!SWIG_IsOK(res2)) {
40611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40612 }
1bd55598
RD
40613 if (!argp2) {
40614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40615 }
1bd55598
RD
40616 arg2 = reinterpret_cast< wxCursor * >(argp2);
40617 }
40618 {
40619 if (!wxPyCheckForApp()) SWIG_fail;
40620 PyThreadState* __tstate = wxPyBeginAllowThreads();
40621 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40622 wxPyEndAllowThreads(__tstate);
40623 if (PyErr_Occurred()) SWIG_fail;
40624 }
40625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40626 return resultobj;
40627fail:
40628 return NULL;
40629}
40630
40631
40632SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40633 PyObject *resultobj = 0;
40634 wxString *arg1 = 0 ;
40635 wxCursor const &arg2_defvalue = wxNullCursor ;
40636 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40637 wxGenericDragImage *result = 0 ;
40638 bool temp1 = false ;
40639 void *argp2 = 0 ;
40640 int res2 = 0 ;
40641 PyObject * obj0 = 0 ;
40642 PyObject * obj1 = 0 ;
40643 char * kwnames[] = {
40644 (char *) "str",(char *) "cursor", NULL
40645 };
40646
40647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40648 {
40649 arg1 = wxString_in_helper(obj0);
40650 if (arg1 == NULL) SWIG_fail;
40651 temp1 = true;
40652 }
40653 if (obj1) {
40654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40655 if (!SWIG_IsOK(res2)) {
40656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
36ed4f51 40657 }
1bd55598
RD
40658 if (!argp2) {
40659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40660 }
1bd55598
RD
40661 arg2 = reinterpret_cast< wxCursor * >(argp2);
40662 }
40663 {
40664 if (!wxPyCheckForApp()) SWIG_fail;
40665 PyThreadState* __tstate = wxPyBeginAllowThreads();
40666 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40667 wxPyEndAllowThreads(__tstate);
40668 if (PyErr_Occurred()) SWIG_fail;
40669 }
40670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40671 {
40672 if (temp1)
40673 delete arg1;
40674 }
40675 return resultobj;
40676fail:
40677 {
40678 if (temp1)
40679 delete arg1;
40680 }
40681 return NULL;
40682}
40683
40684
40685SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40686 PyObject *resultobj = 0;
40687 wxPyTreeCtrl *arg1 = 0 ;
40688 wxTreeItemId *arg2 = 0 ;
40689 wxGenericDragImage *result = 0 ;
40690 void *argp1 = 0 ;
40691 int res1 = 0 ;
40692 void *argp2 = 0 ;
40693 int res2 = 0 ;
40694 PyObject * obj0 = 0 ;
40695 PyObject * obj1 = 0 ;
40696 char * kwnames[] = {
40697 (char *) "treeCtrl",(char *) "id", NULL
40698 };
40699
40700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40701 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40702 if (!SWIG_IsOK(res1)) {
40703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40704 }
40705 if (!argp1) {
40706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40707 }
40708 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40709 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40710 if (!SWIG_IsOK(res2)) {
40711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40712 }
40713 if (!argp2) {
40714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40715 }
40716 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40717 {
40718 if (!wxPyCheckForApp()) SWIG_fail;
40719 PyThreadState* __tstate = wxPyBeginAllowThreads();
40720 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40721 wxPyEndAllowThreads(__tstate);
40722 if (PyErr_Occurred()) SWIG_fail;
40723 }
40724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40725 return resultobj;
40726fail:
40727 return NULL;
40728}
40729
40730
40731SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40732 PyObject *resultobj = 0;
40733 wxPyListCtrl *arg1 = 0 ;
40734 long arg2 ;
40735 wxGenericDragImage *result = 0 ;
40736 void *argp1 = 0 ;
40737 int res1 = 0 ;
40738 long val2 ;
40739 int ecode2 = 0 ;
40740 PyObject * obj0 = 0 ;
40741 PyObject * obj1 = 0 ;
40742 char * kwnames[] = {
40743 (char *) "listCtrl",(char *) "id", NULL
40744 };
40745
40746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40747 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40748 if (!SWIG_IsOK(res1)) {
40749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40750 }
40751 if (!argp1) {
40752 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40753 }
40754 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40755 ecode2 = SWIG_AsVal_long(obj1, &val2);
40756 if (!SWIG_IsOK(ecode2)) {
40757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40758 }
40759 arg2 = static_cast< long >(val2);
40760 {
40761 if (!wxPyCheckForApp()) SWIG_fail;
40762 PyThreadState* __tstate = wxPyBeginAllowThreads();
40763 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40764 wxPyEndAllowThreads(__tstate);
40765 if (PyErr_Occurred()) SWIG_fail;
40766 }
40767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40768 return resultobj;
40769fail:
40770 return NULL;
d55e5bfc
RD
40771}
40772
40773
1bd55598
RD
40774SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40775 PyObject *resultobj = 0;
40776 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40777 void *argp1 = 0 ;
40778 int res1 = 0 ;
40779 PyObject *swig_obj[1] ;
40780
40781 if (!args) SWIG_fail;
40782 swig_obj[0] = args;
40783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40784 if (!SWIG_IsOK(res1)) {
40785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40786 }
40787 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40788 {
40789 PyThreadState* __tstate = wxPyBeginAllowThreads();
40790 delete arg1;
d55e5bfc 40791
1bd55598
RD
40792 wxPyEndAllowThreads(__tstate);
40793 if (PyErr_Occurred()) SWIG_fail;
40794 }
40795 resultobj = SWIG_Py_Void();
40796 return resultobj;
40797fail:
40798 return NULL;
40799}
40800
40801
40802SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40803 PyObject *resultobj = 0;
40804 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40805 wxBitmap *arg2 = (wxBitmap *) 0 ;
40806 void *argp1 = 0 ;
40807 int res1 = 0 ;
40808 void *argp2 = 0 ;
40809 int res2 = 0 ;
40810 PyObject * obj0 = 0 ;
40811 PyObject * obj1 = 0 ;
40812 char * kwnames[] = {
40813 (char *) "self",(char *) "bitmap", NULL
40814 };
40815
40816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40818 if (!SWIG_IsOK(res1)) {
40819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40820 }
40821 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40822 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40823 if (!SWIG_IsOK(res2)) {
40824 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40825 }
40826 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40827 {
40828 PyThreadState* __tstate = wxPyBeginAllowThreads();
40829 (arg1)->SetBackingBitmap(arg2);
40830 wxPyEndAllowThreads(__tstate);
40831 if (PyErr_Occurred()) SWIG_fail;
40832 }
40833 resultobj = SWIG_Py_Void();
40834 return resultobj;
40835fail:
40836 return NULL;
40837}
40838
40839
40840SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40841 PyObject *resultobj = 0;
40842 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40843 wxPoint *arg2 = 0 ;
40844 wxWindow *arg3 = (wxWindow *) 0 ;
40845 bool arg4 = (bool) false ;
40846 wxRect *arg5 = (wxRect *) NULL ;
40847 bool result;
40848 void *argp1 = 0 ;
40849 int res1 = 0 ;
40850 wxPoint temp2 ;
40851 void *argp3 = 0 ;
40852 int res3 = 0 ;
40853 bool val4 ;
40854 int ecode4 = 0 ;
40855 void *argp5 = 0 ;
40856 int res5 = 0 ;
40857 PyObject * obj0 = 0 ;
40858 PyObject * obj1 = 0 ;
40859 PyObject * obj2 = 0 ;
40860 PyObject * obj3 = 0 ;
40861 PyObject * obj4 = 0 ;
40862 char * kwnames[] = {
40863 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40864 };
40865
40866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40868 if (!SWIG_IsOK(res1)) {
40869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40870 }
40871 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40872 {
40873 arg2 = &temp2;
40874 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40875 }
40876 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40877 if (!SWIG_IsOK(res3)) {
40878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40879 }
40880 arg3 = reinterpret_cast< wxWindow * >(argp3);
40881 if (obj3) {
40882 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40883 if (!SWIG_IsOK(ecode4)) {
40884 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40885 }
40886 arg4 = static_cast< bool >(val4);
40887 }
40888 if (obj4) {
40889 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40890 if (!SWIG_IsOK(res5)) {
40891 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 40892 }
1bd55598
RD
40893 arg5 = reinterpret_cast< wxRect * >(argp5);
40894 }
40895 {
40896 PyThreadState* __tstate = wxPyBeginAllowThreads();
40897 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40898 wxPyEndAllowThreads(__tstate);
40899 if (PyErr_Occurred()) SWIG_fail;
40900 }
40901 {
40902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40903 }
40904 return resultobj;
40905fail:
40906 return NULL;
40907}
40908
40909
40910SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40911 PyObject *resultobj = 0;
40912 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40913 wxPoint *arg2 = 0 ;
40914 wxWindow *arg3 = (wxWindow *) 0 ;
40915 wxWindow *arg4 = (wxWindow *) 0 ;
40916 bool result;
40917 void *argp1 = 0 ;
40918 int res1 = 0 ;
40919 wxPoint temp2 ;
40920 void *argp3 = 0 ;
40921 int res3 = 0 ;
40922 void *argp4 = 0 ;
40923 int res4 = 0 ;
40924 PyObject * obj0 = 0 ;
40925 PyObject * obj1 = 0 ;
40926 PyObject * obj2 = 0 ;
40927 PyObject * obj3 = 0 ;
40928 char * kwnames[] = {
40929 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40930 };
40931
40932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40934 if (!SWIG_IsOK(res1)) {
40935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40936 }
40937 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40938 {
40939 arg2 = &temp2;
40940 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40941 }
40942 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40943 if (!SWIG_IsOK(res3)) {
40944 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40945 }
40946 arg3 = reinterpret_cast< wxWindow * >(argp3);
40947 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40948 if (!SWIG_IsOK(res4)) {
40949 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40950 }
40951 arg4 = reinterpret_cast< wxWindow * >(argp4);
40952 {
40953 PyThreadState* __tstate = wxPyBeginAllowThreads();
40954 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40955 wxPyEndAllowThreads(__tstate);
40956 if (PyErr_Occurred()) SWIG_fail;
40957 }
40958 {
40959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40960 }
40961 return resultobj;
40962fail:
40963 return NULL;
d55e5bfc
RD
40964}
40965
40966
1bd55598
RD
40967SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40968 PyObject *resultobj = 0;
40969 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40970 bool result;
40971 void *argp1 = 0 ;
40972 int res1 = 0 ;
40973 PyObject *swig_obj[1] ;
40974
40975 if (!args) SWIG_fail;
40976 swig_obj[0] = args;
40977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40978 if (!SWIG_IsOK(res1)) {
40979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40980 }
40981 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40982 {
40983 PyThreadState* __tstate = wxPyBeginAllowThreads();
40984 result = (bool)(arg1)->EndDrag();
40985 wxPyEndAllowThreads(__tstate);
40986 if (PyErr_Occurred()) SWIG_fail;
40987 }
40988 {
40989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40990 }
40991 return resultobj;
40992fail:
40993 return NULL;
40994}
40995
40996
40997SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40998 PyObject *resultobj = 0;
40999 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41000 wxPoint *arg2 = 0 ;
41001 bool result;
41002 void *argp1 = 0 ;
41003 int res1 = 0 ;
41004 wxPoint temp2 ;
41005 PyObject * obj0 = 0 ;
41006 PyObject * obj1 = 0 ;
41007 char * kwnames[] = {
41008 (char *) "self",(char *) "pt", NULL
41009 };
41010
41011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41013 if (!SWIG_IsOK(res1)) {
41014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41015 }
41016 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41017 {
41018 arg2 = &temp2;
41019 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41020 }
41021 {
41022 PyThreadState* __tstate = wxPyBeginAllowThreads();
41023 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41024 wxPyEndAllowThreads(__tstate);
41025 if (PyErr_Occurred()) SWIG_fail;
41026 }
41027 {
41028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41029 }
41030 return resultobj;
41031fail:
41032 return NULL;
d55e5bfc
RD
41033}
41034
41035
1bd55598
RD
41036SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41037 PyObject *resultobj = 0;
41038 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41039 bool result;
41040 void *argp1 = 0 ;
41041 int res1 = 0 ;
41042 PyObject *swig_obj[1] ;
41043
41044 if (!args) SWIG_fail;
41045 swig_obj[0] = args;
41046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41047 if (!SWIG_IsOK(res1)) {
41048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41049 }
41050 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41051 {
41052 PyThreadState* __tstate = wxPyBeginAllowThreads();
41053 result = (bool)(arg1)->Show();
41054 wxPyEndAllowThreads(__tstate);
41055 if (PyErr_Occurred()) SWIG_fail;
41056 }
41057 {
41058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41059 }
41060 return resultobj;
41061fail:
41062 return NULL;
d55e5bfc
RD
41063}
41064
41065
1bd55598
RD
41066SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41067 PyObject *resultobj = 0;
41068 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41069 bool result;
41070 void *argp1 = 0 ;
41071 int res1 = 0 ;
41072 PyObject *swig_obj[1] ;
41073
41074 if (!args) SWIG_fail;
41075 swig_obj[0] = args;
41076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41077 if (!SWIG_IsOK(res1)) {
41078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41079 }
41080 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41081 {
41082 PyThreadState* __tstate = wxPyBeginAllowThreads();
41083 result = (bool)(arg1)->Hide();
41084 wxPyEndAllowThreads(__tstate);
41085 if (PyErr_Occurred()) SWIG_fail;
41086 }
41087 {
41088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41089 }
41090 return resultobj;
41091fail:
41092 return NULL;
41093}
41094
41095
41096SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41097 PyObject *resultobj = 0;
41098 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41099 wxPoint *arg2 = 0 ;
41100 wxRect result;
41101 void *argp1 = 0 ;
41102 int res1 = 0 ;
41103 wxPoint temp2 ;
41104 PyObject * obj0 = 0 ;
41105 PyObject * obj1 = 0 ;
41106 char * kwnames[] = {
41107 (char *) "self",(char *) "pos", NULL
41108 };
41109
41110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41112 if (!SWIG_IsOK(res1)) {
41113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41114 }
41115 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41116 {
41117 arg2 = &temp2;
41118 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41119 }
41120 {
41121 PyThreadState* __tstate = wxPyBeginAllowThreads();
41122 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41123 wxPyEndAllowThreads(__tstate);
41124 if (PyErr_Occurred()) SWIG_fail;
41125 }
41126 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41127 return resultobj;
41128fail:
41129 return NULL;
41130}
41131
41132
41133SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41134 PyObject *resultobj = 0;
41135 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41136 wxDC *arg2 = 0 ;
41137 wxPoint *arg3 = 0 ;
41138 bool result;
41139 void *argp1 = 0 ;
41140 int res1 = 0 ;
41141 void *argp2 = 0 ;
41142 int res2 = 0 ;
41143 wxPoint temp3 ;
41144 PyObject * obj0 = 0 ;
41145 PyObject * obj1 = 0 ;
41146 PyObject * obj2 = 0 ;
41147 char * kwnames[] = {
41148 (char *) "self",(char *) "dc",(char *) "pos", NULL
41149 };
41150
41151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41153 if (!SWIG_IsOK(res1)) {
41154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41155 }
41156 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41157 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41158 if (!SWIG_IsOK(res2)) {
41159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41160 }
41161 if (!argp2) {
41162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41163 }
41164 arg2 = reinterpret_cast< wxDC * >(argp2);
41165 {
41166 arg3 = &temp3;
41167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41168 }
41169 {
41170 PyThreadState* __tstate = wxPyBeginAllowThreads();
41171 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41172 wxPyEndAllowThreads(__tstate);
41173 if (PyErr_Occurred()) SWIG_fail;
41174 }
41175 {
41176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41177 }
41178 return resultobj;
41179fail:
41180 return NULL;
41181}
41182
41183
41184SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41185 PyObject *resultobj = 0;
41186 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41187 wxDC *arg2 = 0 ;
41188 wxMemoryDC *arg3 = 0 ;
41189 wxRect *arg4 = 0 ;
41190 wxRect *arg5 = 0 ;
41191 bool result;
41192 void *argp1 = 0 ;
41193 int res1 = 0 ;
41194 void *argp2 = 0 ;
41195 int res2 = 0 ;
41196 void *argp3 = 0 ;
41197 int res3 = 0 ;
41198 wxRect temp4 ;
41199 wxRect temp5 ;
41200 PyObject * obj0 = 0 ;
41201 PyObject * obj1 = 0 ;
41202 PyObject * obj2 = 0 ;
41203 PyObject * obj3 = 0 ;
41204 PyObject * obj4 = 0 ;
41205 char * kwnames[] = {
41206 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41207 };
41208
41209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41211 if (!SWIG_IsOK(res1)) {
41212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41213 }
41214 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41215 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41216 if (!SWIG_IsOK(res2)) {
41217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41218 }
41219 if (!argp2) {
41220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41221 }
41222 arg2 = reinterpret_cast< wxDC * >(argp2);
41223 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41224 if (!SWIG_IsOK(res3)) {
41225 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41226 }
41227 if (!argp3) {
41228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41229 }
41230 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41231 {
41232 arg4 = &temp4;
41233 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41234 }
41235 {
41236 arg5 = &temp5;
41237 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41238 }
41239 {
41240 PyThreadState* __tstate = wxPyBeginAllowThreads();
41241 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41242 wxPyEndAllowThreads(__tstate);
41243 if (PyErr_Occurred()) SWIG_fail;
41244 }
41245 {
41246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41247 }
41248 return resultobj;
41249fail:
41250 return NULL;
41251}
41252
41253
41254SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41255 PyObject *resultobj = 0;
41256 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41257 wxPoint *arg2 = 0 ;
41258 wxPoint *arg3 = 0 ;
41259 bool arg4 ;
41260 bool arg5 ;
41261 bool result;
41262 void *argp1 = 0 ;
41263 int res1 = 0 ;
41264 wxPoint temp2 ;
41265 wxPoint temp3 ;
41266 bool val4 ;
41267 int ecode4 = 0 ;
41268 bool val5 ;
41269 int ecode5 = 0 ;
41270 PyObject * obj0 = 0 ;
41271 PyObject * obj1 = 0 ;
41272 PyObject * obj2 = 0 ;
41273 PyObject * obj3 = 0 ;
41274 PyObject * obj4 = 0 ;
41275 char * kwnames[] = {
41276 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41277 };
41278
41279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41281 if (!SWIG_IsOK(res1)) {
41282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41283 }
41284 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41285 {
41286 arg2 = &temp2;
41287 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41288 }
41289 {
41290 arg3 = &temp3;
41291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41292 }
41293 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41294 if (!SWIG_IsOK(ecode4)) {
41295 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41296 }
41297 arg4 = static_cast< bool >(val4);
41298 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41299 if (!SWIG_IsOK(ecode5)) {
41300 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41301 }
41302 arg5 = static_cast< bool >(val5);
41303 {
41304 PyThreadState* __tstate = wxPyBeginAllowThreads();
41305 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41306 wxPyEndAllowThreads(__tstate);
41307 if (PyErr_Occurred()) SWIG_fail;
41308 }
41309 {
41310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41311 }
41312 return resultobj;
41313fail:
41314 return NULL;
d55e5bfc
RD
41315}
41316
41317
1bd55598
RD
41318SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41319 PyObject *obj;
41320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41321 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41322 return SWIG_Py_Void();
d55e5bfc
RD
41323}
41324
1bd55598
RD
41325SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41326 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
41327}
41328
1bd55598
RD
41329SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41330 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41331 return 1;
d55e5bfc
RD
41332}
41333
41334
1bd55598
RD
41335SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41336 PyObject *pyobj = 0;
41337
41338 {
41339#if wxUSE_UNICODE
41340 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41341#else
41342 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41343#endif
41344 }
41345 return pyobj;
41346}
41347
41348
41349SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41350 PyObject *resultobj = 0;
41351 wxWindow *arg1 = (wxWindow *) 0 ;
41352 int arg2 = (int) -1 ;
41353 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41354 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41357 wxSize const &arg5_defvalue = wxDefaultSize ;
41358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41359 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41360 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41361 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41362 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41363 wxString *arg8 = (wxString *) &arg8_defvalue ;
41364 wxDatePickerCtrl *result = 0 ;
41365 void *argp1 = 0 ;
41366 int res1 = 0 ;
41367 int val2 ;
41368 int ecode2 = 0 ;
41369 void *argp3 = 0 ;
41370 int res3 = 0 ;
41371 wxPoint temp4 ;
41372 wxSize temp5 ;
41373 long val6 ;
41374 int ecode6 = 0 ;
41375 void *argp7 = 0 ;
41376 int res7 = 0 ;
41377 bool temp8 = false ;
41378 PyObject * obj0 = 0 ;
41379 PyObject * obj1 = 0 ;
41380 PyObject * obj2 = 0 ;
41381 PyObject * obj3 = 0 ;
41382 PyObject * obj4 = 0 ;
41383 PyObject * obj5 = 0 ;
41384 PyObject * obj6 = 0 ;
41385 PyObject * obj7 = 0 ;
41386 char * kwnames[] = {
41387 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41388 };
41389
41390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41392 if (!SWIG_IsOK(res1)) {
41393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41394 }
41395 arg1 = reinterpret_cast< wxWindow * >(argp1);
41396 if (obj1) {
41397 ecode2 = SWIG_AsVal_int(obj1, &val2);
41398 if (!SWIG_IsOK(ecode2)) {
41399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41400 }
41401 arg2 = static_cast< int >(val2);
41402 }
41403 if (obj2) {
41404 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41405 if (!SWIG_IsOK(res3)) {
41406 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41407 }
1bd55598
RD
41408 if (!argp3) {
41409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41410 }
1bd55598
RD
41411 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41412 }
41413 if (obj3) {
36ed4f51 41414 {
1bd55598
RD
41415 arg4 = &temp4;
41416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 41417 }
1bd55598
RD
41418 }
41419 if (obj4) {
d55e5bfc 41420 {
1bd55598
RD
41421 arg5 = &temp5;
41422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 41423 }
1bd55598
RD
41424 }
41425 if (obj5) {
41426 ecode6 = SWIG_AsVal_long(obj5, &val6);
41427 if (!SWIG_IsOK(ecode6)) {
41428 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41429 }
41430 arg6 = static_cast< long >(val6);
41431 }
41432 if (obj6) {
41433 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41434 if (!SWIG_IsOK(res7)) {
41435 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
36ed4f51 41436 }
1bd55598
RD
41437 if (!argp7) {
41438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 41439 }
1bd55598
RD
41440 arg7 = reinterpret_cast< wxValidator * >(argp7);
41441 }
41442 if (obj7) {
36ed4f51 41443 {
1bd55598
RD
41444 arg8 = wxString_in_helper(obj7);
41445 if (arg8 == NULL) SWIG_fail;
41446 temp8 = true;
36ed4f51 41447 }
1bd55598
RD
41448 }
41449 {
41450 if (!wxPyCheckForApp()) SWIG_fail;
41451 PyThreadState* __tstate = wxPyBeginAllowThreads();
41452 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41453 wxPyEndAllowThreads(__tstate);
41454 if (PyErr_Occurred()) SWIG_fail;
41455 }
41456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41457 {
41458 if (temp8)
41459 delete arg8;
41460 }
41461 return resultobj;
41462fail:
41463 {
41464 if (temp8)
41465 delete arg8;
41466 }
41467 return NULL;
d55e5bfc
RD
41468}
41469
41470
1bd55598
RD
41471SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41472 PyObject *resultobj = 0;
41473 wxDatePickerCtrl *result = 0 ;
41474
41475 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41476 {
41477 if (!wxPyCheckForApp()) SWIG_fail;
41478 PyThreadState* __tstate = wxPyBeginAllowThreads();
41479 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41480 wxPyEndAllowThreads(__tstate);
41481 if (PyErr_Occurred()) SWIG_fail;
41482 }
41483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41484 return resultobj;
41485fail:
41486 return NULL;
41487}
41488
41489
41490SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41491 PyObject *resultobj = 0;
41492 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41493 wxWindow *arg2 = (wxWindow *) 0 ;
41494 int arg3 = (int) -1 ;
41495 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41496 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41499 wxSize const &arg6_defvalue = wxDefaultSize ;
41500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41501 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41504 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41505 wxString *arg9 = (wxString *) &arg9_defvalue ;
41506 bool result;
41507 void *argp1 = 0 ;
41508 int res1 = 0 ;
41509 void *argp2 = 0 ;
41510 int res2 = 0 ;
41511 int val3 ;
41512 int ecode3 = 0 ;
41513 void *argp4 = 0 ;
41514 int res4 = 0 ;
41515 wxPoint temp5 ;
41516 wxSize temp6 ;
41517 long val7 ;
41518 int ecode7 = 0 ;
41519 void *argp8 = 0 ;
41520 int res8 = 0 ;
41521 bool temp9 = false ;
41522 PyObject * obj0 = 0 ;
41523 PyObject * obj1 = 0 ;
41524 PyObject * obj2 = 0 ;
41525 PyObject * obj3 = 0 ;
41526 PyObject * obj4 = 0 ;
41527 PyObject * obj5 = 0 ;
41528 PyObject * obj6 = 0 ;
41529 PyObject * obj7 = 0 ;
41530 PyObject * obj8 = 0 ;
41531 char * kwnames[] = {
41532 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41533 };
41534
41535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41537 if (!SWIG_IsOK(res1)) {
41538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41539 }
41540 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41541 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41542 if (!SWIG_IsOK(res2)) {
41543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41544 }
41545 arg2 = reinterpret_cast< wxWindow * >(argp2);
41546 if (obj2) {
41547 ecode3 = SWIG_AsVal_int(obj2, &val3);
41548 if (!SWIG_IsOK(ecode3)) {
41549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41550 }
41551 arg3 = static_cast< int >(val3);
41552 }
41553 if (obj3) {
41554 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41555 if (!SWIG_IsOK(res4)) {
41556 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
36ed4f51 41557 }
1bd55598
RD
41558 if (!argp4) {
41559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41560 }
1bd55598
RD
41561 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41562 }
41563 if (obj4) {
d55e5bfc 41564 {
1bd55598
RD
41565 arg5 = &temp5;
41566 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 41567 }
1bd55598
RD
41568 }
41569 if (obj5) {
d55e5bfc 41570 {
1bd55598
RD
41571 arg6 = &temp6;
41572 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41573 }
1bd55598
RD
41574 }
41575 if (obj6) {
41576 ecode7 = SWIG_AsVal_long(obj6, &val7);
41577 if (!SWIG_IsOK(ecode7)) {
41578 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41579 }
41580 arg7 = static_cast< long >(val7);
41581 }
41582 if (obj7) {
41583 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41584 if (!SWIG_IsOK(res8)) {
41585 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
36ed4f51 41586 }
1bd55598
RD
41587 if (!argp8) {
41588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41589 }
1bd55598
RD
41590 arg8 = reinterpret_cast< wxValidator * >(argp8);
41591 }
41592 if (obj8) {
36ed4f51 41593 {
1bd55598
RD
41594 arg9 = wxString_in_helper(obj8);
41595 if (arg9 == NULL) SWIG_fail;
41596 temp9 = true;
36ed4f51 41597 }
1bd55598
RD
41598 }
41599 {
41600 PyThreadState* __tstate = wxPyBeginAllowThreads();
41601 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41602 wxPyEndAllowThreads(__tstate);
41603 if (PyErr_Occurred()) SWIG_fail;
41604 }
41605 {
41606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41607 }
41608 {
41609 if (temp9)
41610 delete arg9;
41611 }
41612 return resultobj;
41613fail:
41614 {
41615 if (temp9)
41616 delete arg9;
41617 }
41618 return NULL;
41619}
41620
41621
41622SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41623 PyObject *resultobj = 0;
41624 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41625 wxDateTime *arg2 = 0 ;
41626 void *argp1 = 0 ;
41627 int res1 = 0 ;
41628 void *argp2 = 0 ;
41629 int res2 = 0 ;
41630 PyObject * obj0 = 0 ;
41631 PyObject * obj1 = 0 ;
41632 char * kwnames[] = {
41633 (char *) "self",(char *) "dt", NULL
41634 };
41635
41636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41638 if (!SWIG_IsOK(res1)) {
41639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41640 }
41641 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41642 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41643 if (!SWIG_IsOK(res2)) {
41644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41645 }
41646 if (!argp2) {
41647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41648 }
41649 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41650 {
41651 PyThreadState* __tstate = wxPyBeginAllowThreads();
41652 (arg1)->SetValue((wxDateTime const &)*arg2);
41653 wxPyEndAllowThreads(__tstate);
41654 if (PyErr_Occurred()) SWIG_fail;
41655 }
41656 resultobj = SWIG_Py_Void();
41657 return resultobj;
41658fail:
41659 return NULL;
d55e5bfc
RD
41660}
41661
41662
1bd55598
RD
41663SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41664 PyObject *resultobj = 0;
41665 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41666 wxDateTime result;
41667 void *argp1 = 0 ;
41668 int res1 = 0 ;
41669 PyObject *swig_obj[1] ;
41670
41671 if (!args) SWIG_fail;
41672 swig_obj[0] = args;
41673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41674 if (!SWIG_IsOK(res1)) {
41675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41676 }
41677 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41678 {
41679 PyThreadState* __tstate = wxPyBeginAllowThreads();
41680 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41681 wxPyEndAllowThreads(__tstate);
41682 if (PyErr_Occurred()) SWIG_fail;
41683 }
41684 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41685 return resultobj;
41686fail:
41687 return NULL;
41688}
41689
41690
41691SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41692 PyObject *resultobj = 0;
41693 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41694 wxDateTime *arg2 = 0 ;
41695 wxDateTime *arg3 = 0 ;
41696 void *argp1 = 0 ;
41697 int res1 = 0 ;
41698 void *argp2 = 0 ;
41699 int res2 = 0 ;
41700 void *argp3 = 0 ;
41701 int res3 = 0 ;
41702 PyObject * obj0 = 0 ;
41703 PyObject * obj1 = 0 ;
41704 PyObject * obj2 = 0 ;
41705 char * kwnames[] = {
41706 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41707 };
41708
41709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41711 if (!SWIG_IsOK(res1)) {
41712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41713 }
41714 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41716 if (!SWIG_IsOK(res2)) {
41717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41718 }
41719 if (!argp2) {
41720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41721 }
41722 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41723 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41724 if (!SWIG_IsOK(res3)) {
41725 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41726 }
41727 if (!argp3) {
41728 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41729 }
41730 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41731 {
41732 PyThreadState* __tstate = wxPyBeginAllowThreads();
41733 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41734 wxPyEndAllowThreads(__tstate);
41735 if (PyErr_Occurred()) SWIG_fail;
41736 }
41737 resultobj = SWIG_Py_Void();
41738 return resultobj;
41739fail:
41740 return NULL;
d55e5bfc
RD
41741}
41742
41743
1bd55598
RD
41744SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41745 PyObject *resultobj = 0;
41746 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41747 wxDateTime result;
41748 void *argp1 = 0 ;
41749 int res1 = 0 ;
41750 PyObject *swig_obj[1] ;
41751
41752 if (!args) SWIG_fail;
41753 swig_obj[0] = args;
41754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41755 if (!SWIG_IsOK(res1)) {
41756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41757 }
41758 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41759 {
41760 PyThreadState* __tstate = wxPyBeginAllowThreads();
41761 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41762 wxPyEndAllowThreads(__tstate);
41763 if (PyErr_Occurred()) SWIG_fail;
41764 }
41765 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41766 return resultobj;
41767fail:
41768 return NULL;
d55e5bfc
RD
41769}
41770
41771
1bd55598
RD
41772SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41773 PyObject *resultobj = 0;
41774 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41775 wxDateTime result;
41776 void *argp1 = 0 ;
41777 int res1 = 0 ;
41778 PyObject *swig_obj[1] ;
41779
41780 if (!args) SWIG_fail;
41781 swig_obj[0] = args;
41782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41783 if (!SWIG_IsOK(res1)) {
41784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41785 }
41786 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41787 {
41788 PyThreadState* __tstate = wxPyBeginAllowThreads();
41789 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41790 wxPyEndAllowThreads(__tstate);
41791 if (PyErr_Occurred()) SWIG_fail;
41792 }
41793 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41794 return resultobj;
41795fail:
41796 return NULL;
d55e5bfc
RD
41797}
41798
41799
1bd55598
RD
41800SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41801 PyObject *obj;
41802 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41803 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41804 return SWIG_Py_Void();
d55e5bfc
RD
41805}
41806
1bd55598
RD
41807SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41808 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
41809}
41810
704eda0c
RD
41811SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41812 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41813 return 1;
41814}
41815
41816
41817SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41818 PyObject *pyobj = 0;
41819
41820 {
41821#if wxUSE_UNICODE
41822 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41823#else
41824 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41825#endif
41826 }
41827 return pyobj;
41828}
41829
41830
41831SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41832 PyObject *resultobj = 0;
41833 wxWindow *arg1 = (wxWindow *) 0 ;
41834 int arg2 ;
41835 wxString *arg3 = 0 ;
41836 wxString *arg4 = 0 ;
41837 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41838 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41839 wxSize const &arg6_defvalue = wxDefaultSize ;
41840 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41841 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41842 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41843 wxString *arg8 = (wxString *) &arg8_defvalue ;
41844 wxHyperlinkCtrl *result = 0 ;
41845 void *argp1 = 0 ;
41846 int res1 = 0 ;
41847 int val2 ;
41848 int ecode2 = 0 ;
41849 bool temp3 = false ;
41850 bool temp4 = false ;
41851 wxPoint temp5 ;
41852 wxSize temp6 ;
41853 long val7 ;
41854 int ecode7 = 0 ;
41855 bool temp8 = false ;
41856 PyObject * obj0 = 0 ;
41857 PyObject * obj1 = 0 ;
41858 PyObject * obj2 = 0 ;
41859 PyObject * obj3 = 0 ;
41860 PyObject * obj4 = 0 ;
41861 PyObject * obj5 = 0 ;
41862 PyObject * obj6 = 0 ;
41863 PyObject * obj7 = 0 ;
41864 char * kwnames[] = {
41865 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41866 };
41867
41868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41870 if (!SWIG_IsOK(res1)) {
41871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41872 }
41873 arg1 = reinterpret_cast< wxWindow * >(argp1);
41874 ecode2 = SWIG_AsVal_int(obj1, &val2);
41875 if (!SWIG_IsOK(ecode2)) {
41876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41877 }
41878 arg2 = static_cast< int >(val2);
41879 {
41880 arg3 = wxString_in_helper(obj2);
41881 if (arg3 == NULL) SWIG_fail;
41882 temp3 = true;
41883 }
41884 {
41885 arg4 = wxString_in_helper(obj3);
41886 if (arg4 == NULL) SWIG_fail;
41887 temp4 = true;
41888 }
41889 if (obj4) {
41890 {
41891 arg5 = &temp5;
41892 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41893 }
41894 }
41895 if (obj5) {
41896 {
41897 arg6 = &temp6;
41898 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41899 }
41900 }
41901 if (obj6) {
41902 ecode7 = SWIG_AsVal_long(obj6, &val7);
41903 if (!SWIG_IsOK(ecode7)) {
41904 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41905 }
41906 arg7 = static_cast< long >(val7);
41907 }
41908 if (obj7) {
41909 {
41910 arg8 = wxString_in_helper(obj7);
41911 if (arg8 == NULL) SWIG_fail;
41912 temp8 = true;
41913 }
41914 }
41915 {
41916 if (!wxPyCheckForApp()) SWIG_fail;
41917 PyThreadState* __tstate = wxPyBeginAllowThreads();
41918 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41919 wxPyEndAllowThreads(__tstate);
41920 if (PyErr_Occurred()) SWIG_fail;
41921 }
41922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41923 {
41924 if (temp3)
41925 delete arg3;
41926 }
41927 {
41928 if (temp4)
41929 delete arg4;
41930 }
41931 {
41932 if (temp8)
41933 delete arg8;
41934 }
41935 return resultobj;
41936fail:
41937 {
41938 if (temp3)
41939 delete arg3;
41940 }
41941 {
41942 if (temp4)
41943 delete arg4;
41944 }
41945 {
41946 if (temp8)
41947 delete arg8;
41948 }
41949 return NULL;
41950}
41951
41952
41953SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41954 PyObject *resultobj = 0;
41955 wxHyperlinkCtrl *result = 0 ;
41956
41957 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41958 {
41959 if (!wxPyCheckForApp()) SWIG_fail;
41960 PyThreadState* __tstate = wxPyBeginAllowThreads();
41961 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41962 wxPyEndAllowThreads(__tstate);
41963 if (PyErr_Occurred()) SWIG_fail;
41964 }
41965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41966 return resultobj;
41967fail:
41968 return NULL;
41969}
41970
41971
41972SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41973 PyObject *resultobj = 0;
41974 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41975 wxWindow *arg2 = (wxWindow *) 0 ;
41976 int arg3 ;
41977 wxString *arg4 = 0 ;
41978 wxString *arg5 = 0 ;
41979 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41980 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41981 wxSize const &arg7_defvalue = wxDefaultSize ;
41982 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41983 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41984 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41985 wxString *arg9 = (wxString *) &arg9_defvalue ;
41986 bool result;
41987 void *argp1 = 0 ;
41988 int res1 = 0 ;
41989 void *argp2 = 0 ;
41990 int res2 = 0 ;
41991 int val3 ;
41992 int ecode3 = 0 ;
41993 bool temp4 = false ;
41994 bool temp5 = false ;
41995 wxPoint temp6 ;
41996 wxSize temp7 ;
41997 long val8 ;
41998 int ecode8 = 0 ;
41999 bool temp9 = false ;
42000 PyObject * obj0 = 0 ;
42001 PyObject * obj1 = 0 ;
42002 PyObject * obj2 = 0 ;
42003 PyObject * obj3 = 0 ;
42004 PyObject * obj4 = 0 ;
42005 PyObject * obj5 = 0 ;
42006 PyObject * obj6 = 0 ;
42007 PyObject * obj7 = 0 ;
42008 PyObject * obj8 = 0 ;
42009 char * kwnames[] = {
42010 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42011 };
42012
42013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42015 if (!SWIG_IsOK(res1)) {
42016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42017 }
42018 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42019 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42020 if (!SWIG_IsOK(res2)) {
42021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42022 }
42023 arg2 = reinterpret_cast< wxWindow * >(argp2);
42024 ecode3 = SWIG_AsVal_int(obj2, &val3);
42025 if (!SWIG_IsOK(ecode3)) {
42026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42027 }
42028 arg3 = static_cast< int >(val3);
42029 {
42030 arg4 = wxString_in_helper(obj3);
42031 if (arg4 == NULL) SWIG_fail;
42032 temp4 = true;
42033 }
42034 {
42035 arg5 = wxString_in_helper(obj4);
42036 if (arg5 == NULL) SWIG_fail;
42037 temp5 = true;
42038 }
42039 if (obj5) {
42040 {
42041 arg6 = &temp6;
42042 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42043 }
42044 }
42045 if (obj6) {
42046 {
42047 arg7 = &temp7;
42048 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42049 }
42050 }
42051 if (obj7) {
42052 ecode8 = SWIG_AsVal_long(obj7, &val8);
42053 if (!SWIG_IsOK(ecode8)) {
42054 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42055 }
42056 arg8 = static_cast< long >(val8);
42057 }
42058 if (obj8) {
42059 {
42060 arg9 = wxString_in_helper(obj8);
42061 if (arg9 == NULL) SWIG_fail;
42062 temp9 = true;
42063 }
42064 }
42065 {
42066 PyThreadState* __tstate = wxPyBeginAllowThreads();
42067 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42068 wxPyEndAllowThreads(__tstate);
42069 if (PyErr_Occurred()) SWIG_fail;
42070 }
42071 {
42072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42073 }
42074 {
42075 if (temp4)
42076 delete arg4;
42077 }
42078 {
42079 if (temp5)
42080 delete arg5;
42081 }
42082 {
42083 if (temp9)
42084 delete arg9;
42085 }
42086 return resultobj;
42087fail:
42088 {
42089 if (temp4)
42090 delete arg4;
42091 }
42092 {
42093 if (temp5)
42094 delete arg5;
42095 }
42096 {
42097 if (temp9)
42098 delete arg9;
42099 }
42100 return NULL;
42101}
42102
42103
42104SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42105 PyObject *resultobj = 0;
42106 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42107 wxColour result;
42108 void *argp1 = 0 ;
42109 int res1 = 0 ;
42110 PyObject *swig_obj[1] ;
42111
42112 if (!args) SWIG_fail;
42113 swig_obj[0] = args;
42114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42115 if (!SWIG_IsOK(res1)) {
42116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42117 }
42118 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42119 {
42120 PyThreadState* __tstate = wxPyBeginAllowThreads();
42121 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42122 wxPyEndAllowThreads(__tstate);
42123 if (PyErr_Occurred()) SWIG_fail;
42124 }
42125 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42126 return resultobj;
42127fail:
42128 return NULL;
42129}
42130
42131
42132SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42133 PyObject *resultobj = 0;
42134 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42135 wxColour *arg2 = 0 ;
42136 void *argp1 = 0 ;
42137 int res1 = 0 ;
42138 wxColour temp2 ;
42139 PyObject * obj0 = 0 ;
42140 PyObject * obj1 = 0 ;
42141 char * kwnames[] = {
42142 (char *) "self",(char *) "colour", NULL
42143 };
42144
42145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42147 if (!SWIG_IsOK(res1)) {
42148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42149 }
42150 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42151 {
42152 arg2 = &temp2;
42153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42154 }
42155 {
42156 PyThreadState* __tstate = wxPyBeginAllowThreads();
42157 (arg1)->SetHoverColour((wxColour const &)*arg2);
42158 wxPyEndAllowThreads(__tstate);
42159 if (PyErr_Occurred()) SWIG_fail;
42160 }
42161 resultobj = SWIG_Py_Void();
42162 return resultobj;
42163fail:
42164 return NULL;
42165}
42166
42167
42168SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42169 PyObject *resultobj = 0;
42170 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42171 wxColour result;
42172 void *argp1 = 0 ;
42173 int res1 = 0 ;
42174 PyObject *swig_obj[1] ;
42175
42176 if (!args) SWIG_fail;
42177 swig_obj[0] = args;
42178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42179 if (!SWIG_IsOK(res1)) {
42180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42181 }
42182 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42183 {
42184 PyThreadState* __tstate = wxPyBeginAllowThreads();
42185 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42186 wxPyEndAllowThreads(__tstate);
42187 if (PyErr_Occurred()) SWIG_fail;
42188 }
42189 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42190 return resultobj;
42191fail:
42192 return NULL;
42193}
42194
42195
42196SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42197 PyObject *resultobj = 0;
42198 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42199 wxColour *arg2 = 0 ;
42200 void *argp1 = 0 ;
42201 int res1 = 0 ;
42202 wxColour temp2 ;
42203 PyObject * obj0 = 0 ;
42204 PyObject * obj1 = 0 ;
42205 char * kwnames[] = {
42206 (char *) "self",(char *) "colour", NULL
42207 };
42208
42209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42211 if (!SWIG_IsOK(res1)) {
42212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42213 }
42214 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42215 {
42216 arg2 = &temp2;
42217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42218 }
42219 {
42220 PyThreadState* __tstate = wxPyBeginAllowThreads();
42221 (arg1)->SetNormalColour((wxColour const &)*arg2);
42222 wxPyEndAllowThreads(__tstate);
42223 if (PyErr_Occurred()) SWIG_fail;
42224 }
42225 resultobj = SWIG_Py_Void();
42226 return resultobj;
42227fail:
42228 return NULL;
42229}
42230
42231
42232SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42233 PyObject *resultobj = 0;
42234 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42235 wxColour result;
42236 void *argp1 = 0 ;
42237 int res1 = 0 ;
42238 PyObject *swig_obj[1] ;
42239
42240 if (!args) SWIG_fail;
42241 swig_obj[0] = args;
42242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42243 if (!SWIG_IsOK(res1)) {
42244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42245 }
42246 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42247 {
42248 PyThreadState* __tstate = wxPyBeginAllowThreads();
42249 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42250 wxPyEndAllowThreads(__tstate);
42251 if (PyErr_Occurred()) SWIG_fail;
42252 }
42253 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42254 return resultobj;
42255fail:
42256 return NULL;
42257}
42258
42259
42260SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42261 PyObject *resultobj = 0;
42262 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42263 wxColour *arg2 = 0 ;
42264 void *argp1 = 0 ;
42265 int res1 = 0 ;
42266 wxColour temp2 ;
42267 PyObject * obj0 = 0 ;
42268 PyObject * obj1 = 0 ;
42269 char * kwnames[] = {
42270 (char *) "self",(char *) "colour", NULL
42271 };
42272
42273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42275 if (!SWIG_IsOK(res1)) {
42276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42277 }
42278 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42279 {
42280 arg2 = &temp2;
42281 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42282 }
42283 {
42284 PyThreadState* __tstate = wxPyBeginAllowThreads();
42285 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42286 wxPyEndAllowThreads(__tstate);
42287 if (PyErr_Occurred()) SWIG_fail;
42288 }
42289 resultobj = SWIG_Py_Void();
42290 return resultobj;
42291fail:
42292 return NULL;
42293}
42294
42295
42296SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42297 PyObject *resultobj = 0;
42298 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42299 wxString result;
42300 void *argp1 = 0 ;
42301 int res1 = 0 ;
42302 PyObject *swig_obj[1] ;
42303
42304 if (!args) SWIG_fail;
42305 swig_obj[0] = args;
42306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42307 if (!SWIG_IsOK(res1)) {
42308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42309 }
42310 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42311 {
42312 PyThreadState* __tstate = wxPyBeginAllowThreads();
42313 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42314 wxPyEndAllowThreads(__tstate);
42315 if (PyErr_Occurred()) SWIG_fail;
42316 }
42317 {
42318#if wxUSE_UNICODE
42319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42320#else
42321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42322#endif
42323 }
42324 return resultobj;
42325fail:
42326 return NULL;
42327}
42328
42329
42330SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42331 PyObject *resultobj = 0;
42332 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42333 wxString *arg2 = 0 ;
42334 void *argp1 = 0 ;
42335 int res1 = 0 ;
42336 bool temp2 = false ;
42337 PyObject * obj0 = 0 ;
42338 PyObject * obj1 = 0 ;
42339 char * kwnames[] = {
42340 (char *) "self",(char *) "url", NULL
42341 };
42342
42343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42345 if (!SWIG_IsOK(res1)) {
42346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42347 }
42348 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42349 {
42350 arg2 = wxString_in_helper(obj1);
42351 if (arg2 == NULL) SWIG_fail;
42352 temp2 = true;
42353 }
42354 {
42355 PyThreadState* __tstate = wxPyBeginAllowThreads();
42356 (arg1)->SetURL((wxString const &)*arg2);
42357 wxPyEndAllowThreads(__tstate);
42358 if (PyErr_Occurred()) SWIG_fail;
42359 }
42360 resultobj = SWIG_Py_Void();
42361 {
42362 if (temp2)
42363 delete arg2;
42364 }
42365 return resultobj;
42366fail:
42367 {
42368 if (temp2)
42369 delete arg2;
42370 }
42371 return NULL;
42372}
42373
42374
42375SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42376 PyObject *resultobj = 0;
42377 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42378 bool arg2 = (bool) true ;
42379 void *argp1 = 0 ;
42380 int res1 = 0 ;
42381 bool val2 ;
42382 int ecode2 = 0 ;
42383 PyObject * obj0 = 0 ;
42384 PyObject * obj1 = 0 ;
42385 char * kwnames[] = {
42386 (char *) "self",(char *) "visited", NULL
42387 };
42388
42389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42391 if (!SWIG_IsOK(res1)) {
42392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42393 }
42394 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42395 if (obj1) {
42396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42397 if (!SWIG_IsOK(ecode2)) {
42398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42399 }
42400 arg2 = static_cast< bool >(val2);
42401 }
42402 {
42403 PyThreadState* __tstate = wxPyBeginAllowThreads();
42404 (arg1)->SetVisited(arg2);
42405 wxPyEndAllowThreads(__tstate);
42406 if (PyErr_Occurred()) SWIG_fail;
42407 }
42408 resultobj = SWIG_Py_Void();
42409 return resultobj;
42410fail:
42411 return NULL;
42412}
42413
42414
42415SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42416 PyObject *resultobj = 0;
42417 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42418 bool result;
42419 void *argp1 = 0 ;
42420 int res1 = 0 ;
42421 PyObject *swig_obj[1] ;
42422
42423 if (!args) SWIG_fail;
42424 swig_obj[0] = args;
42425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42426 if (!SWIG_IsOK(res1)) {
42427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42428 }
42429 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42430 {
42431 PyThreadState* __tstate = wxPyBeginAllowThreads();
42432 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42433 wxPyEndAllowThreads(__tstate);
42434 if (PyErr_Occurred()) SWIG_fail;
42435 }
42436 {
42437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42438 }
42439 return resultobj;
42440fail:
42441 return NULL;
42442}
42443
42444
42445SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42446 PyObject *obj;
42447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42448 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42449 return SWIG_Py_Void();
42450}
42451
42452SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42453 return SWIG_Python_InitShadowInstance(args);
42454}
42455
42456SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42457 PyObject *resultobj = 0;
42458 wxObject *arg1 = (wxObject *) 0 ;
42459 int arg2 ;
42460 wxString *arg3 = 0 ;
42461 wxHyperlinkEvent *result = 0 ;
42462 void *argp1 = 0 ;
42463 int res1 = 0 ;
42464 int val2 ;
42465 int ecode2 = 0 ;
42466 bool temp3 = false ;
42467 PyObject * obj0 = 0 ;
42468 PyObject * obj1 = 0 ;
42469 PyObject * obj2 = 0 ;
42470 char * kwnames[] = {
42471 (char *) "generator",(char *) "id",(char *) "url", NULL
42472 };
42473
42474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42476 if (!SWIG_IsOK(res1)) {
42477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42478 }
42479 arg1 = reinterpret_cast< wxObject * >(argp1);
42480 ecode2 = SWIG_AsVal_int(obj1, &val2);
42481 if (!SWIG_IsOK(ecode2)) {
42482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42483 }
42484 arg2 = static_cast< int >(val2);
42485 {
42486 arg3 = wxString_in_helper(obj2);
42487 if (arg3 == NULL) SWIG_fail;
42488 temp3 = true;
42489 }
42490 {
42491 PyThreadState* __tstate = wxPyBeginAllowThreads();
42492 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42493 wxPyEndAllowThreads(__tstate);
42494 if (PyErr_Occurred()) SWIG_fail;
42495 }
42496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42497 {
42498 if (temp3)
42499 delete arg3;
42500 }
42501 return resultobj;
42502fail:
42503 {
42504 if (temp3)
42505 delete arg3;
42506 }
42507 return NULL;
42508}
42509
42510
42511SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42512 PyObject *resultobj = 0;
42513 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42514 wxString result;
42515 void *argp1 = 0 ;
42516 int res1 = 0 ;
42517 PyObject *swig_obj[1] ;
42518
42519 if (!args) SWIG_fail;
42520 swig_obj[0] = args;
42521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42522 if (!SWIG_IsOK(res1)) {
42523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42524 }
42525 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42526 {
42527 PyThreadState* __tstate = wxPyBeginAllowThreads();
42528 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42529 wxPyEndAllowThreads(__tstate);
42530 if (PyErr_Occurred()) SWIG_fail;
42531 }
42532 {
42533#if wxUSE_UNICODE
42534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42535#else
42536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42537#endif
42538 }
42539 return resultobj;
42540fail:
42541 return NULL;
42542}
42543
42544
42545SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42546 PyObject *resultobj = 0;
42547 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42548 wxString *arg2 = 0 ;
42549 void *argp1 = 0 ;
42550 int res1 = 0 ;
42551 bool temp2 = false ;
42552 PyObject * obj0 = 0 ;
42553 PyObject * obj1 = 0 ;
42554 char * kwnames[] = {
42555 (char *) "self",(char *) "url", NULL
42556 };
42557
42558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42560 if (!SWIG_IsOK(res1)) {
42561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42562 }
42563 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42564 {
42565 arg2 = wxString_in_helper(obj1);
42566 if (arg2 == NULL) SWIG_fail;
42567 temp2 = true;
42568 }
42569 {
42570 PyThreadState* __tstate = wxPyBeginAllowThreads();
42571 (arg1)->SetURL((wxString const &)*arg2);
42572 wxPyEndAllowThreads(__tstate);
42573 if (PyErr_Occurred()) SWIG_fail;
42574 }
42575 resultobj = SWIG_Py_Void();
42576 {
42577 if (temp2)
42578 delete arg2;
42579 }
42580 return resultobj;
42581fail:
42582 {
42583 if (temp2)
42584 delete arg2;
42585 }
42586 return NULL;
42587}
42588
42589
42590SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42591 PyObject *obj;
42592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42593 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42594 return SWIG_Py_Void();
42595}
42596
42597SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42598 return SWIG_Python_InitShadowInstance(args);
42599}
42600
b850e7f3
RD
42601SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42602 PyObject *resultobj = 0;
42603 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42604 wxWindow *arg2 = (wxWindow *) 0 ;
42605 int arg3 ;
42606 wxString const &arg4_defvalue = wxEmptyString ;
42607 wxString *arg4 = (wxString *) &arg4_defvalue ;
42608 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42609 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42610 wxSize const &arg6_defvalue = wxDefaultSize ;
42611 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42612 long arg7 = (long) 0 ;
42613 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42614 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42615 wxString const &arg9_defvalue = wxButtonNameStr ;
42616 wxString *arg9 = (wxString *) &arg9_defvalue ;
42617 bool result;
42618 void *argp1 = 0 ;
42619 int res1 = 0 ;
42620 void *argp2 = 0 ;
42621 int res2 = 0 ;
42622 int val3 ;
42623 int ecode3 = 0 ;
42624 bool temp4 = false ;
42625 wxPoint temp5 ;
42626 wxSize temp6 ;
42627 long val7 ;
42628 int ecode7 = 0 ;
42629 void *argp8 = 0 ;
42630 int res8 = 0 ;
42631 bool temp9 = false ;
42632 PyObject * obj0 = 0 ;
42633 PyObject * obj1 = 0 ;
42634 PyObject * obj2 = 0 ;
42635 PyObject * obj3 = 0 ;
42636 PyObject * obj4 = 0 ;
42637 PyObject * obj5 = 0 ;
42638 PyObject * obj6 = 0 ;
42639 PyObject * obj7 = 0 ;
42640 PyObject * obj8 = 0 ;
42641 char * kwnames[] = {
42642 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42643 };
42644
42645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42647 if (!SWIG_IsOK(res1)) {
42648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42649 }
42650 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42652 if (!SWIG_IsOK(res2)) {
42653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42654 }
42655 arg2 = reinterpret_cast< wxWindow * >(argp2);
42656 ecode3 = SWIG_AsVal_int(obj2, &val3);
42657 if (!SWIG_IsOK(ecode3)) {
42658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42659 }
42660 arg3 = static_cast< int >(val3);
42661 if (obj3) {
42662 {
42663 arg4 = wxString_in_helper(obj3);
42664 if (arg4 == NULL) SWIG_fail;
42665 temp4 = true;
42666 }
42667 }
42668 if (obj4) {
42669 {
42670 arg5 = &temp5;
42671 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42672 }
42673 }
42674 if (obj5) {
42675 {
42676 arg6 = &temp6;
42677 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42678 }
42679 }
42680 if (obj6) {
42681 ecode7 = SWIG_AsVal_long(obj6, &val7);
42682 if (!SWIG_IsOK(ecode7)) {
42683 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42684 }
42685 arg7 = static_cast< long >(val7);
42686 }
42687 if (obj7) {
42688 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42689 if (!SWIG_IsOK(res8)) {
42690 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42691 }
42692 if (!argp8) {
42693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42694 }
42695 arg8 = reinterpret_cast< wxValidator * >(argp8);
42696 }
42697 if (obj8) {
42698 {
42699 arg9 = wxString_in_helper(obj8);
42700 if (arg9 == NULL) SWIG_fail;
42701 temp9 = true;
42702 }
42703 }
42704 {
42705 PyThreadState* __tstate = wxPyBeginAllowThreads();
42706 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42707 wxPyEndAllowThreads(__tstate);
42708 if (PyErr_Occurred()) SWIG_fail;
42709 }
42710 {
42711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42712 }
42713 {
42714 if (temp4)
42715 delete arg4;
42716 }
42717 {
42718 if (temp9)
42719 delete arg9;
42720 }
42721 return resultobj;
42722fail:
42723 {
42724 if (temp4)
42725 delete arg4;
42726 }
42727 {
42728 if (temp9)
42729 delete arg9;
42730 }
42731 return NULL;
42732}
42733
42734
42735SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42736 PyObject *resultobj = 0;
42737 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42738 int arg2 ;
42739 void *argp1 = 0 ;
42740 int res1 = 0 ;
42741 int val2 ;
42742 int ecode2 = 0 ;
42743 PyObject * obj0 = 0 ;
42744 PyObject * obj1 = 0 ;
42745 char * kwnames[] = {
42746 (char *) "self",(char *) "newmargin", NULL
42747 };
42748
42749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42751 if (!SWIG_IsOK(res1)) {
42752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42753 }
42754 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42755 ecode2 = SWIG_AsVal_int(obj1, &val2);
42756 if (!SWIG_IsOK(ecode2)) {
42757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42758 }
42759 arg2 = static_cast< int >(val2);
42760 {
42761 PyThreadState* __tstate = wxPyBeginAllowThreads();
42762 (arg1)->SetInternalMargin(arg2);
42763 wxPyEndAllowThreads(__tstate);
42764 if (PyErr_Occurred()) SWIG_fail;
42765 }
42766 resultobj = SWIG_Py_Void();
42767 return resultobj;
42768fail:
42769 return NULL;
42770}
42771
42772
42773SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42774 PyObject *resultobj = 0;
42775 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42776 int result;
42777 void *argp1 = 0 ;
42778 int res1 = 0 ;
42779 PyObject *swig_obj[1] ;
42780
42781 if (!args) SWIG_fail;
42782 swig_obj[0] = args;
42783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42784 if (!SWIG_IsOK(res1)) {
42785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42786 }
42787 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42788 {
42789 PyThreadState* __tstate = wxPyBeginAllowThreads();
42790 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42791 wxPyEndAllowThreads(__tstate);
42792 if (PyErr_Occurred()) SWIG_fail;
42793 }
42794 resultobj = SWIG_From_int(static_cast< int >(result));
42795 return resultobj;
42796fail:
42797 return NULL;
42798}
42799
42800
42801SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42802 PyObject *resultobj = 0;
42803 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42804 int arg2 ;
42805 void *argp1 = 0 ;
42806 int res1 = 0 ;
42807 int val2 ;
42808 int ecode2 = 0 ;
42809 PyObject * obj0 = 0 ;
42810 PyObject * obj1 = 0 ;
42811 char * kwnames[] = {
42812 (char *) "self",(char *) "prop", NULL
42813 };
42814
42815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42817 if (!SWIG_IsOK(res1)) {
42818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42819 }
42820 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42821 ecode2 = SWIG_AsVal_int(obj1, &val2);
42822 if (!SWIG_IsOK(ecode2)) {
42823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42824 }
42825 arg2 = static_cast< int >(val2);
42826 {
42827 PyThreadState* __tstate = wxPyBeginAllowThreads();
42828 (arg1)->SetTextCtrlProportion(arg2);
42829 wxPyEndAllowThreads(__tstate);
42830 if (PyErr_Occurred()) SWIG_fail;
42831 }
42832 resultobj = SWIG_Py_Void();
42833 return resultobj;
42834fail:
42835 return NULL;
42836}
42837
42838
42839SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42840 PyObject *resultobj = 0;
42841 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42842 int result;
42843 void *argp1 = 0 ;
42844 int res1 = 0 ;
42845 PyObject *swig_obj[1] ;
42846
42847 if (!args) SWIG_fail;
42848 swig_obj[0] = args;
42849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42850 if (!SWIG_IsOK(res1)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42852 }
42853 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42854 {
42855 PyThreadState* __tstate = wxPyBeginAllowThreads();
42856 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42857 wxPyEndAllowThreads(__tstate);
42858 if (PyErr_Occurred()) SWIG_fail;
42859 }
42860 resultobj = SWIG_From_int(static_cast< int >(result));
42861 return resultobj;
42862fail:
42863 return NULL;
42864}
42865
42866
1eeb270e
RD
42867SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42868 PyObject *resultobj = 0;
42869 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42870 int arg2 ;
42871 void *argp1 = 0 ;
42872 int res1 = 0 ;
42873 int val2 ;
42874 int ecode2 = 0 ;
42875 PyObject * obj0 = 0 ;
42876 PyObject * obj1 = 0 ;
42877 char * kwnames[] = {
42878 (char *) "self",(char *) "prop", NULL
42879 };
42880
42881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42883 if (!SWIG_IsOK(res1)) {
42884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42885 }
42886 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42887 ecode2 = SWIG_AsVal_int(obj1, &val2);
42888 if (!SWIG_IsOK(ecode2)) {
42889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42890 }
42891 arg2 = static_cast< int >(val2);
42892 {
42893 PyThreadState* __tstate = wxPyBeginAllowThreads();
42894 (arg1)->SetPickerCtrlProportion(arg2);
42895 wxPyEndAllowThreads(__tstate);
42896 if (PyErr_Occurred()) SWIG_fail;
42897 }
42898 resultobj = SWIG_Py_Void();
42899 return resultobj;
42900fail:
42901 return NULL;
42902}
42903
42904
42905SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42906 PyObject *resultobj = 0;
42907 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42908 int result;
42909 void *argp1 = 0 ;
42910 int res1 = 0 ;
42911 PyObject *swig_obj[1] ;
42912
42913 if (!args) SWIG_fail;
42914 swig_obj[0] = args;
42915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42916 if (!SWIG_IsOK(res1)) {
42917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42918 }
42919 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42920 {
42921 PyThreadState* __tstate = wxPyBeginAllowThreads();
42922 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42923 wxPyEndAllowThreads(__tstate);
42924 if (PyErr_Occurred()) SWIG_fail;
42925 }
42926 resultobj = SWIG_From_int(static_cast< int >(result));
42927 return resultobj;
42928fail:
42929 return NULL;
42930}
42931
42932
b02396e8
RD
42933SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42934 PyObject *resultobj = 0;
42935 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42936 bool result;
42937 void *argp1 = 0 ;
42938 int res1 = 0 ;
42939 PyObject *swig_obj[1] ;
42940
42941 if (!args) SWIG_fail;
42942 swig_obj[0] = args;
42943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42944 if (!SWIG_IsOK(res1)) {
42945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42946 }
42947 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42948 {
42949 PyThreadState* __tstate = wxPyBeginAllowThreads();
42950 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42951 wxPyEndAllowThreads(__tstate);
42952 if (PyErr_Occurred()) SWIG_fail;
42953 }
42954 {
42955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42956 }
42957 return resultobj;
42958fail:
42959 return NULL;
42960}
42961
42962
42963SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42964 PyObject *resultobj = 0;
42965 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42966 bool arg2 = (bool) true ;
42967 void *argp1 = 0 ;
42968 int res1 = 0 ;
42969 bool val2 ;
42970 int ecode2 = 0 ;
42971 PyObject * obj0 = 0 ;
42972 PyObject * obj1 = 0 ;
42973 char * kwnames[] = {
42974 (char *) "self",(char *) "grow", NULL
42975 };
42976
42977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42979 if (!SWIG_IsOK(res1)) {
42980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42981 }
42982 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42983 if (obj1) {
42984 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42985 if (!SWIG_IsOK(ecode2)) {
42986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42987 }
42988 arg2 = static_cast< bool >(val2);
42989 }
42990 {
42991 PyThreadState* __tstate = wxPyBeginAllowThreads();
42992 (arg1)->SetTextCtrlGrowable(arg2);
42993 wxPyEndAllowThreads(__tstate);
42994 if (PyErr_Occurred()) SWIG_fail;
42995 }
42996 resultobj = SWIG_Py_Void();
42997 return resultobj;
42998fail:
42999 return NULL;
43000}
43001
43002
43003SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43004 PyObject *resultobj = 0;
43005 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43006 bool result;
43007 void *argp1 = 0 ;
43008 int res1 = 0 ;
43009 PyObject *swig_obj[1] ;
43010
43011 if (!args) SWIG_fail;
43012 swig_obj[0] = args;
43013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43014 if (!SWIG_IsOK(res1)) {
43015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43016 }
43017 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43018 {
43019 PyThreadState* __tstate = wxPyBeginAllowThreads();
43020 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43021 wxPyEndAllowThreads(__tstate);
43022 if (PyErr_Occurred()) SWIG_fail;
43023 }
43024 {
43025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43026 }
43027 return resultobj;
43028fail:
43029 return NULL;
43030}
43031
43032
43033SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43034 PyObject *resultobj = 0;
43035 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43036 bool arg2 = (bool) true ;
43037 void *argp1 = 0 ;
43038 int res1 = 0 ;
43039 bool val2 ;
43040 int ecode2 = 0 ;
43041 PyObject * obj0 = 0 ;
43042 PyObject * obj1 = 0 ;
43043 char * kwnames[] = {
43044 (char *) "self",(char *) "grow", NULL
43045 };
43046
43047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43049 if (!SWIG_IsOK(res1)) {
43050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43051 }
43052 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43053 if (obj1) {
43054 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43055 if (!SWIG_IsOK(ecode2)) {
43056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43057 }
43058 arg2 = static_cast< bool >(val2);
43059 }
43060 {
43061 PyThreadState* __tstate = wxPyBeginAllowThreads();
43062 (arg1)->SetPickerCtrlGrowable(arg2);
43063 wxPyEndAllowThreads(__tstate);
43064 if (PyErr_Occurred()) SWIG_fail;
43065 }
43066 resultobj = SWIG_Py_Void();
43067 return resultobj;
43068fail:
43069 return NULL;
43070}
43071
43072
b850e7f3
RD
43073SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43074 PyObject *resultobj = 0;
43075 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43076 bool result;
43077 void *argp1 = 0 ;
43078 int res1 = 0 ;
43079 PyObject *swig_obj[1] ;
43080
43081 if (!args) SWIG_fail;
43082 swig_obj[0] = args;
43083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43084 if (!SWIG_IsOK(res1)) {
43085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43086 }
43087 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43088 {
43089 PyThreadState* __tstate = wxPyBeginAllowThreads();
43090 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43091 wxPyEndAllowThreads(__tstate);
43092 if (PyErr_Occurred()) SWIG_fail;
43093 }
43094 {
43095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43096 }
43097 return resultobj;
43098fail:
43099 return NULL;
43100}
43101
43102
43103SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43104 PyObject *resultobj = 0;
43105 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43106 wxTextCtrl *result = 0 ;
43107 void *argp1 = 0 ;
43108 int res1 = 0 ;
43109 PyObject *swig_obj[1] ;
43110
43111 if (!args) SWIG_fail;
43112 swig_obj[0] = args;
43113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43114 if (!SWIG_IsOK(res1)) {
43115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43116 }
43117 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43118 {
43119 PyThreadState* __tstate = wxPyBeginAllowThreads();
43120 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43121 wxPyEndAllowThreads(__tstate);
43122 if (PyErr_Occurred()) SWIG_fail;
43123 }
43124 {
43125 resultobj = wxPyMake_wxObject(result, 0);
43126 }
43127 return resultobj;
43128fail:
43129 return NULL;
43130}
43131
43132
43133SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43134 PyObject *resultobj = 0;
43135 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43136 wxControl *result = 0 ;
43137 void *argp1 = 0 ;
43138 int res1 = 0 ;
43139 PyObject *swig_obj[1] ;
43140
43141 if (!args) SWIG_fail;
43142 swig_obj[0] = args;
43143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43144 if (!SWIG_IsOK(res1)) {
43145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43146 }
43147 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43148 {
43149 PyThreadState* __tstate = wxPyBeginAllowThreads();
43150 result = (wxControl *)(arg1)->GetPickerCtrl();
43151 wxPyEndAllowThreads(__tstate);
43152 if (PyErr_Occurred()) SWIG_fail;
43153 }
43154 {
43155 resultobj = wxPyMake_wxObject(result, 0);
43156 }
43157 return resultobj;
43158fail:
43159 return NULL;
43160}
43161
43162
43163SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43164 PyObject *obj;
43165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43167 return SWIG_Py_Void();
43168}
43169
43170SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43171 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43172 return 1;
43173}
43174
43175
43176SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43177 PyObject *pyobj = 0;
43178
43179 {
43180#if wxUSE_UNICODE
43181 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43182#else
43183 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43184#endif
43185 }
43186 return pyobj;
43187}
43188
43189
43190SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43191 PyObject *resultobj = 0;
43192 wxWindow *arg1 = (wxWindow *) 0 ;
43193 int arg2 = (int) -1 ;
43194 wxColour const &arg3_defvalue = *wxBLACK ;
43195 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43198 wxSize const &arg5_defvalue = wxDefaultSize ;
43199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43200 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43201 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43202 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43203 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43204 wxString *arg8 = (wxString *) &arg8_defvalue ;
43205 wxColourPickerCtrl *result = 0 ;
43206 void *argp1 = 0 ;
43207 int res1 = 0 ;
43208 int val2 ;
43209 int ecode2 = 0 ;
43210 wxColour temp3 ;
43211 wxPoint temp4 ;
43212 wxSize temp5 ;
43213 long val6 ;
43214 int ecode6 = 0 ;
43215 void *argp7 = 0 ;
43216 int res7 = 0 ;
43217 bool temp8 = false ;
43218 PyObject * obj0 = 0 ;
43219 PyObject * obj1 = 0 ;
43220 PyObject * obj2 = 0 ;
43221 PyObject * obj3 = 0 ;
43222 PyObject * obj4 = 0 ;
43223 PyObject * obj5 = 0 ;
43224 PyObject * obj6 = 0 ;
43225 PyObject * obj7 = 0 ;
43226 char * kwnames[] = {
43227 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43228 };
43229
43230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43232 if (!SWIG_IsOK(res1)) {
43233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43234 }
43235 arg1 = reinterpret_cast< wxWindow * >(argp1);
43236 if (obj1) {
43237 ecode2 = SWIG_AsVal_int(obj1, &val2);
43238 if (!SWIG_IsOK(ecode2)) {
43239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43240 }
43241 arg2 = static_cast< int >(val2);
43242 }
43243 if (obj2) {
43244 {
43245 arg3 = &temp3;
43246 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43247 }
43248 }
43249 if (obj3) {
43250 {
43251 arg4 = &temp4;
43252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43253 }
43254 }
43255 if (obj4) {
43256 {
43257 arg5 = &temp5;
43258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43259 }
43260 }
43261 if (obj5) {
43262 ecode6 = SWIG_AsVal_long(obj5, &val6);
43263 if (!SWIG_IsOK(ecode6)) {
43264 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43265 }
43266 arg6 = static_cast< long >(val6);
43267 }
43268 if (obj6) {
43269 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43270 if (!SWIG_IsOK(res7)) {
43271 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43272 }
43273 if (!argp7) {
43274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43275 }
43276 arg7 = reinterpret_cast< wxValidator * >(argp7);
43277 }
43278 if (obj7) {
43279 {
43280 arg8 = wxString_in_helper(obj7);
43281 if (arg8 == NULL) SWIG_fail;
43282 temp8 = true;
43283 }
43284 }
43285 {
43286 if (!wxPyCheckForApp()) SWIG_fail;
43287 PyThreadState* __tstate = wxPyBeginAllowThreads();
43288 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43289 wxPyEndAllowThreads(__tstate);
43290 if (PyErr_Occurred()) SWIG_fail;
43291 }
43292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43293 {
43294 if (temp8)
43295 delete arg8;
43296 }
43297 return resultobj;
43298fail:
43299 {
43300 if (temp8)
43301 delete arg8;
43302 }
43303 return NULL;
43304}
43305
43306
43307SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43308 PyObject *resultobj = 0;
43309 wxColourPickerCtrl *result = 0 ;
43310
43311 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43312 {
43313 if (!wxPyCheckForApp()) SWIG_fail;
43314 PyThreadState* __tstate = wxPyBeginAllowThreads();
43315 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43316 wxPyEndAllowThreads(__tstate);
43317 if (PyErr_Occurred()) SWIG_fail;
43318 }
43319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43320 return resultobj;
43321fail:
43322 return NULL;
43323}
43324
43325
43326SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43327 PyObject *resultobj = 0;
43328 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43329 wxWindow *arg2 = (wxWindow *) 0 ;
43330 int arg3 ;
43331 wxColour const &arg4_defvalue = *wxBLACK ;
43332 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43333 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43334 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43335 wxSize const &arg6_defvalue = wxDefaultSize ;
43336 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43337 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43338 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43339 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43340 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43341 wxString *arg9 = (wxString *) &arg9_defvalue ;
43342 bool result;
43343 void *argp1 = 0 ;
43344 int res1 = 0 ;
43345 void *argp2 = 0 ;
43346 int res2 = 0 ;
43347 int val3 ;
43348 int ecode3 = 0 ;
43349 wxColour temp4 ;
43350 wxPoint temp5 ;
43351 wxSize temp6 ;
43352 long val7 ;
43353 int ecode7 = 0 ;
43354 void *argp8 = 0 ;
43355 int res8 = 0 ;
43356 bool temp9 = false ;
43357 PyObject * obj0 = 0 ;
43358 PyObject * obj1 = 0 ;
43359 PyObject * obj2 = 0 ;
43360 PyObject * obj3 = 0 ;
43361 PyObject * obj4 = 0 ;
43362 PyObject * obj5 = 0 ;
43363 PyObject * obj6 = 0 ;
43364 PyObject * obj7 = 0 ;
43365 PyObject * obj8 = 0 ;
43366 char * kwnames[] = {
43367 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43368 };
43369
43370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43372 if (!SWIG_IsOK(res1)) {
43373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43374 }
43375 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43377 if (!SWIG_IsOK(res2)) {
43378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43379 }
43380 arg2 = reinterpret_cast< wxWindow * >(argp2);
43381 ecode3 = SWIG_AsVal_int(obj2, &val3);
43382 if (!SWIG_IsOK(ecode3)) {
43383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43384 }
43385 arg3 = static_cast< int >(val3);
43386 if (obj3) {
43387 {
43388 arg4 = &temp4;
43389 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43390 }
43391 }
43392 if (obj4) {
43393 {
43394 arg5 = &temp5;
43395 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43396 }
43397 }
43398 if (obj5) {
43399 {
43400 arg6 = &temp6;
43401 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43402 }
43403 }
43404 if (obj6) {
43405 ecode7 = SWIG_AsVal_long(obj6, &val7);
43406 if (!SWIG_IsOK(ecode7)) {
43407 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43408 }
43409 arg7 = static_cast< long >(val7);
43410 }
43411 if (obj7) {
43412 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43413 if (!SWIG_IsOK(res8)) {
43414 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43415 }
43416 if (!argp8) {
43417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43418 }
43419 arg8 = reinterpret_cast< wxValidator * >(argp8);
43420 }
43421 if (obj8) {
43422 {
43423 arg9 = wxString_in_helper(obj8);
43424 if (arg9 == NULL) SWIG_fail;
43425 temp9 = true;
43426 }
43427 }
43428 {
43429 PyThreadState* __tstate = wxPyBeginAllowThreads();
43430 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43431 wxPyEndAllowThreads(__tstate);
43432 if (PyErr_Occurred()) SWIG_fail;
43433 }
43434 {
43435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43436 }
43437 {
43438 if (temp9)
43439 delete arg9;
43440 }
43441 return resultobj;
43442fail:
43443 {
43444 if (temp9)
43445 delete arg9;
43446 }
43447 return NULL;
43448}
43449
43450
43451SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43452 PyObject *resultobj = 0;
43453 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43454 wxColour result;
43455 void *argp1 = 0 ;
43456 int res1 = 0 ;
43457 PyObject *swig_obj[1] ;
43458
43459 if (!args) SWIG_fail;
43460 swig_obj[0] = args;
43461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43462 if (!SWIG_IsOK(res1)) {
43463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43464 }
43465 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43466 {
43467 PyThreadState* __tstate = wxPyBeginAllowThreads();
43468 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43469 wxPyEndAllowThreads(__tstate);
43470 if (PyErr_Occurred()) SWIG_fail;
43471 }
43472 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43473 return resultobj;
43474fail:
43475 return NULL;
43476}
43477
43478
43479SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43480 PyObject *resultobj = 0;
43481 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43482 wxColour *arg2 = 0 ;
43483 void *argp1 = 0 ;
43484 int res1 = 0 ;
43485 wxColour temp2 ;
43486 PyObject * obj0 = 0 ;
43487 PyObject * obj1 = 0 ;
43488 char * kwnames[] = {
43489 (char *) "self",(char *) "col", NULL
43490 };
43491
43492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43494 if (!SWIG_IsOK(res1)) {
43495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43496 }
43497 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43498 {
43499 arg2 = &temp2;
43500 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43501 }
43502 {
43503 PyThreadState* __tstate = wxPyBeginAllowThreads();
43504 (arg1)->SetColour((wxColour const &)*arg2);
43505 wxPyEndAllowThreads(__tstate);
43506 if (PyErr_Occurred()) SWIG_fail;
43507 }
43508 resultobj = SWIG_Py_Void();
43509 return resultobj;
43510fail:
43511 return NULL;
43512}
43513
43514
43515SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43516 PyObject *obj;
43517 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43518 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43519 return SWIG_Py_Void();
43520}
43521
43522SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43523 return SWIG_Python_InitShadowInstance(args);
43524}
43525
43526SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43527 PyObject *resultobj = 0;
43528 wxObject *arg1 = (wxObject *) 0 ;
43529 int arg2 ;
43530 wxColour *arg3 = 0 ;
43531 wxColourPickerEvent *result = 0 ;
43532 void *argp1 = 0 ;
43533 int res1 = 0 ;
43534 int val2 ;
43535 int ecode2 = 0 ;
43536 wxColour temp3 ;
43537 PyObject * obj0 = 0 ;
43538 PyObject * obj1 = 0 ;
43539 PyObject * obj2 = 0 ;
43540 char * kwnames[] = {
43541 (char *) "generator",(char *) "id",(char *) "col", NULL
43542 };
43543
43544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43546 if (!SWIG_IsOK(res1)) {
43547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43548 }
43549 arg1 = reinterpret_cast< wxObject * >(argp1);
43550 ecode2 = SWIG_AsVal_int(obj1, &val2);
43551 if (!SWIG_IsOK(ecode2)) {
43552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43553 }
43554 arg2 = static_cast< int >(val2);
43555 {
43556 arg3 = &temp3;
43557 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43558 }
43559 {
43560 PyThreadState* __tstate = wxPyBeginAllowThreads();
43561 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43562 wxPyEndAllowThreads(__tstate);
43563 if (PyErr_Occurred()) SWIG_fail;
43564 }
43565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43566 return resultobj;
43567fail:
43568 return NULL;
43569}
43570
43571
43572SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43573 PyObject *resultobj = 0;
43574 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43575 wxColour result;
43576 void *argp1 = 0 ;
43577 int res1 = 0 ;
43578 PyObject *swig_obj[1] ;
43579
43580 if (!args) SWIG_fail;
43581 swig_obj[0] = args;
43582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43583 if (!SWIG_IsOK(res1)) {
43584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43585 }
43586 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43587 {
43588 PyThreadState* __tstate = wxPyBeginAllowThreads();
43589 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43590 wxPyEndAllowThreads(__tstate);
43591 if (PyErr_Occurred()) SWIG_fail;
43592 }
43593 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43594 return resultobj;
43595fail:
43596 return NULL;
43597}
43598
43599
43600SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43601 PyObject *resultobj = 0;
43602 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43603 wxColour *arg2 = 0 ;
43604 void *argp1 = 0 ;
43605 int res1 = 0 ;
43606 wxColour temp2 ;
43607 PyObject * obj0 = 0 ;
43608 PyObject * obj1 = 0 ;
43609 char * kwnames[] = {
43610 (char *) "self",(char *) "c", NULL
43611 };
43612
43613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43615 if (!SWIG_IsOK(res1)) {
43616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43617 }
43618 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43619 {
43620 arg2 = &temp2;
43621 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43622 }
43623 {
43624 PyThreadState* __tstate = wxPyBeginAllowThreads();
43625 (arg1)->SetColour((wxColour const &)*arg2);
43626 wxPyEndAllowThreads(__tstate);
43627 if (PyErr_Occurred()) SWIG_fail;
43628 }
43629 resultobj = SWIG_Py_Void();
43630 return resultobj;
43631fail:
43632 return NULL;
43633}
43634
43635
43636SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43637 PyObject *obj;
43638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43639 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43640 return SWIG_Py_Void();
43641}
43642
43643SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43644 return SWIG_Python_InitShadowInstance(args);
43645}
43646
43647SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43648 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43649 return 1;
43650}
43651
43652
43653SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43654 PyObject *pyobj = 0;
43655
43656 {
43657#if wxUSE_UNICODE
43658 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43659#else
43660 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43661#endif
43662 }
43663 return pyobj;
43664}
43665
43666
43667SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43668 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43669 return 1;
43670}
43671
43672
43673SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43674 PyObject *pyobj = 0;
43675
43676 {
43677#if wxUSE_UNICODE
43678 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43679#else
43680 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43681#endif
43682 }
43683 return pyobj;
43684}
43685
43686
43687SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43688 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43689 return 1;
43690}
43691
43692
43693SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43694 PyObject *pyobj = 0;
43695
43696 {
43697#if wxUSE_UNICODE
43698 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43699#else
43700 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43701#endif
43702 }
43703 return pyobj;
43704}
43705
43706
43707SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43708 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43709 return 1;
43710}
43711
43712
43713SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43714 PyObject *pyobj = 0;
43715
43716 {
43717#if wxUSE_UNICODE
43718 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43719#else
43720 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43721#endif
43722 }
43723 return pyobj;
43724}
43725
43726
43727SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43728 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43729 return 1;
43730}
43731
43732
43733SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43734 PyObject *pyobj = 0;
43735
43736 {
43737#if wxUSE_UNICODE
43738 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43739#else
43740 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43741#endif
43742 }
43743 return pyobj;
43744}
43745
43746
43747SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43748 PyObject *resultobj = 0;
43749 wxWindow *arg1 = (wxWindow *) 0 ;
43750 int arg2 = (int) -1 ;
43751 wxString const &arg3_defvalue = wxPyEmptyString ;
43752 wxString *arg3 = (wxString *) &arg3_defvalue ;
43753 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43754 wxString *arg4 = (wxString *) &arg4_defvalue ;
43755 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43756 wxString *arg5 = (wxString *) &arg5_defvalue ;
43757 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43758 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43759 wxSize const &arg7_defvalue = wxDefaultSize ;
43760 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43761 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43762 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43763 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43764 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43765 wxString *arg10 = (wxString *) &arg10_defvalue ;
43766 wxFilePickerCtrl *result = 0 ;
43767 void *argp1 = 0 ;
43768 int res1 = 0 ;
43769 int val2 ;
43770 int ecode2 = 0 ;
43771 bool temp3 = false ;
43772 bool temp4 = false ;
43773 bool temp5 = false ;
43774 wxPoint temp6 ;
43775 wxSize temp7 ;
43776 long val8 ;
43777 int ecode8 = 0 ;
43778 void *argp9 = 0 ;
43779 int res9 = 0 ;
43780 bool temp10 = false ;
43781 PyObject * obj0 = 0 ;
43782 PyObject * obj1 = 0 ;
43783 PyObject * obj2 = 0 ;
43784 PyObject * obj3 = 0 ;
43785 PyObject * obj4 = 0 ;
43786 PyObject * obj5 = 0 ;
43787 PyObject * obj6 = 0 ;
43788 PyObject * obj7 = 0 ;
43789 PyObject * obj8 = 0 ;
43790 PyObject * obj9 = 0 ;
43791 char * kwnames[] = {
43792 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43793 };
43794
43795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43797 if (!SWIG_IsOK(res1)) {
43798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43799 }
43800 arg1 = reinterpret_cast< wxWindow * >(argp1);
43801 if (obj1) {
43802 ecode2 = SWIG_AsVal_int(obj1, &val2);
43803 if (!SWIG_IsOK(ecode2)) {
43804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43805 }
43806 arg2 = static_cast< int >(val2);
43807 }
43808 if (obj2) {
43809 {
43810 arg3 = wxString_in_helper(obj2);
43811 if (arg3 == NULL) SWIG_fail;
43812 temp3 = true;
43813 }
43814 }
43815 if (obj3) {
43816 {
43817 arg4 = wxString_in_helper(obj3);
43818 if (arg4 == NULL) SWIG_fail;
43819 temp4 = true;
43820 }
43821 }
43822 if (obj4) {
43823 {
43824 arg5 = wxString_in_helper(obj4);
43825 if (arg5 == NULL) SWIG_fail;
43826 temp5 = true;
43827 }
43828 }
43829 if (obj5) {
43830 {
43831 arg6 = &temp6;
43832 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43833 }
43834 }
43835 if (obj6) {
43836 {
43837 arg7 = &temp7;
43838 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43839 }
43840 }
43841 if (obj7) {
43842 ecode8 = SWIG_AsVal_long(obj7, &val8);
43843 if (!SWIG_IsOK(ecode8)) {
43844 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43845 }
43846 arg8 = static_cast< long >(val8);
43847 }
43848 if (obj8) {
43849 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43850 if (!SWIG_IsOK(res9)) {
43851 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43852 }
43853 if (!argp9) {
43854 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43855 }
43856 arg9 = reinterpret_cast< wxValidator * >(argp9);
43857 }
43858 if (obj9) {
43859 {
43860 arg10 = wxString_in_helper(obj9);
43861 if (arg10 == NULL) SWIG_fail;
43862 temp10 = true;
43863 }
43864 }
43865 {
43866 if (!wxPyCheckForApp()) SWIG_fail;
43867 PyThreadState* __tstate = wxPyBeginAllowThreads();
43868 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);
43869 wxPyEndAllowThreads(__tstate);
43870 if (PyErr_Occurred()) SWIG_fail;
43871 }
43872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43873 {
43874 if (temp3)
43875 delete arg3;
43876 }
43877 {
43878 if (temp4)
43879 delete arg4;
43880 }
43881 {
43882 if (temp5)
43883 delete arg5;
43884 }
43885 {
43886 if (temp10)
43887 delete arg10;
43888 }
43889 return resultobj;
43890fail:
43891 {
43892 if (temp3)
43893 delete arg3;
43894 }
43895 {
43896 if (temp4)
43897 delete arg4;
43898 }
43899 {
43900 if (temp5)
43901 delete arg5;
43902 }
43903 {
43904 if (temp10)
43905 delete arg10;
43906 }
43907 return NULL;
43908}
43909
43910
43911SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43912 PyObject *resultobj = 0;
43913 wxFilePickerCtrl *result = 0 ;
43914
43915 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43916 {
43917 if (!wxPyCheckForApp()) SWIG_fail;
43918 PyThreadState* __tstate = wxPyBeginAllowThreads();
43919 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43920 wxPyEndAllowThreads(__tstate);
43921 if (PyErr_Occurred()) SWIG_fail;
43922 }
43923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43924 return resultobj;
43925fail:
43926 return NULL;
43927}
43928
43929
43930SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43931 PyObject *resultobj = 0;
43932 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43933 wxWindow *arg2 = (wxWindow *) 0 ;
43934 int arg3 = (int) -1 ;
43935 wxString const &arg4_defvalue = wxPyEmptyString ;
43936 wxString *arg4 = (wxString *) &arg4_defvalue ;
43937 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43938 wxString *arg5 = (wxString *) &arg5_defvalue ;
43939 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43940 wxString *arg6 = (wxString *) &arg6_defvalue ;
43941 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43942 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43943 wxSize const &arg8_defvalue = wxDefaultSize ;
43944 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43945 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43946 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43947 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43948 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43949 wxString *arg11 = (wxString *) &arg11_defvalue ;
43950 bool result;
43951 void *argp1 = 0 ;
43952 int res1 = 0 ;
43953 void *argp2 = 0 ;
43954 int res2 = 0 ;
43955 int val3 ;
43956 int ecode3 = 0 ;
43957 bool temp4 = false ;
43958 bool temp5 = false ;
43959 bool temp6 = false ;
43960 wxPoint temp7 ;
43961 wxSize temp8 ;
43962 long val9 ;
43963 int ecode9 = 0 ;
43964 void *argp10 = 0 ;
43965 int res10 = 0 ;
43966 bool temp11 = false ;
43967 PyObject * obj0 = 0 ;
43968 PyObject * obj1 = 0 ;
43969 PyObject * obj2 = 0 ;
43970 PyObject * obj3 = 0 ;
43971 PyObject * obj4 = 0 ;
43972 PyObject * obj5 = 0 ;
43973 PyObject * obj6 = 0 ;
43974 PyObject * obj7 = 0 ;
43975 PyObject * obj8 = 0 ;
43976 PyObject * obj9 = 0 ;
43977 PyObject * obj10 = 0 ;
43978 char * kwnames[] = {
43979 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43980 };
43981
43982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43984 if (!SWIG_IsOK(res1)) {
43985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43986 }
43987 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43989 if (!SWIG_IsOK(res2)) {
43990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43991 }
43992 arg2 = reinterpret_cast< wxWindow * >(argp2);
43993 if (obj2) {
43994 ecode3 = SWIG_AsVal_int(obj2, &val3);
43995 if (!SWIG_IsOK(ecode3)) {
43996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43997 }
43998 arg3 = static_cast< int >(val3);
43999 }
44000 if (obj3) {
44001 {
44002 arg4 = wxString_in_helper(obj3);
44003 if (arg4 == NULL) SWIG_fail;
44004 temp4 = true;
44005 }
44006 }
44007 if (obj4) {
44008 {
44009 arg5 = wxString_in_helper(obj4);
44010 if (arg5 == NULL) SWIG_fail;
44011 temp5 = true;
44012 }
44013 }
44014 if (obj5) {
44015 {
44016 arg6 = wxString_in_helper(obj5);
44017 if (arg6 == NULL) SWIG_fail;
44018 temp6 = true;
44019 }
44020 }
44021 if (obj6) {
44022 {
44023 arg7 = &temp7;
44024 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44025 }
44026 }
44027 if (obj7) {
44028 {
44029 arg8 = &temp8;
44030 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44031 }
44032 }
44033 if (obj8) {
44034 ecode9 = SWIG_AsVal_long(obj8, &val9);
44035 if (!SWIG_IsOK(ecode9)) {
44036 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44037 }
44038 arg9 = static_cast< long >(val9);
44039 }
44040 if (obj9) {
44041 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44042 if (!SWIG_IsOK(res10)) {
44043 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44044 }
44045 if (!argp10) {
44046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44047 }
44048 arg10 = reinterpret_cast< wxValidator * >(argp10);
44049 }
44050 if (obj10) {
44051 {
44052 arg11 = wxString_in_helper(obj10);
44053 if (arg11 == NULL) SWIG_fail;
44054 temp11 = true;
44055 }
44056 }
44057 {
44058 PyThreadState* __tstate = wxPyBeginAllowThreads();
44059 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);
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 (temp4)
44068 delete arg4;
44069 }
44070 {
44071 if (temp5)
44072 delete arg5;
44073 }
44074 {
44075 if (temp6)
44076 delete arg6;
44077 }
44078 {
44079 if (temp11)
44080 delete arg11;
44081 }
44082 return resultobj;
44083fail:
44084 {
44085 if (temp4)
44086 delete arg4;
44087 }
44088 {
44089 if (temp5)
44090 delete arg5;
44091 }
44092 {
44093 if (temp6)
44094 delete arg6;
44095 }
44096 {
44097 if (temp11)
44098 delete arg11;
44099 }
44100 return NULL;
44101}
44102
44103
44104SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44105 PyObject *resultobj = 0;
44106 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44107 wxString result;
44108 void *argp1 = 0 ;
44109 int res1 = 0 ;
44110 PyObject *swig_obj[1] ;
44111
44112 if (!args) SWIG_fail;
44113 swig_obj[0] = args;
44114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44115 if (!SWIG_IsOK(res1)) {
44116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44117 }
44118 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44119 {
44120 PyThreadState* __tstate = wxPyBeginAllowThreads();
44121 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44122 wxPyEndAllowThreads(__tstate);
44123 if (PyErr_Occurred()) SWIG_fail;
44124 }
44125 {
44126#if wxUSE_UNICODE
44127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44128#else
44129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44130#endif
44131 }
44132 return resultobj;
44133fail:
44134 return NULL;
44135}
44136
44137
44138SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44139 PyObject *resultobj = 0;
44140 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44141 wxString *arg2 = 0 ;
44142 void *argp1 = 0 ;
44143 int res1 = 0 ;
44144 bool temp2 = false ;
44145 PyObject * obj0 = 0 ;
44146 PyObject * obj1 = 0 ;
44147 char * kwnames[] = {
44148 (char *) "self",(char *) "str", NULL
44149 };
44150
44151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44153 if (!SWIG_IsOK(res1)) {
44154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44155 }
44156 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44157 {
44158 arg2 = wxString_in_helper(obj1);
44159 if (arg2 == NULL) SWIG_fail;
44160 temp2 = true;
44161 }
44162 {
44163 PyThreadState* __tstate = wxPyBeginAllowThreads();
44164 (arg1)->SetPath((wxString const &)*arg2);
44165 wxPyEndAllowThreads(__tstate);
44166 if (PyErr_Occurred()) SWIG_fail;
44167 }
44168 resultobj = SWIG_Py_Void();
44169 {
44170 if (temp2)
44171 delete arg2;
44172 }
44173 return resultobj;
44174fail:
44175 {
44176 if (temp2)
44177 delete arg2;
44178 }
44179 return NULL;
44180}
44181
44182
b02396e8
RD
44183SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44184 PyObject *resultobj = 0;
44185 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44186 wxString *arg2 = 0 ;
44187 bool result;
44188 void *argp1 = 0 ;
44189 int res1 = 0 ;
44190 bool temp2 = false ;
44191 PyObject * obj0 = 0 ;
44192 PyObject * obj1 = 0 ;
44193 char * kwnames[] = {
44194 (char *) "self",(char *) "path", NULL
44195 };
44196
44197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44199 if (!SWIG_IsOK(res1)) {
44200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44201 }
44202 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44203 {
44204 arg2 = wxString_in_helper(obj1);
44205 if (arg2 == NULL) SWIG_fail;
44206 temp2 = true;
44207 }
44208 {
44209 PyThreadState* __tstate = wxPyBeginAllowThreads();
44210 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44211 wxPyEndAllowThreads(__tstate);
44212 if (PyErr_Occurred()) SWIG_fail;
44213 }
44214 {
44215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44216 }
44217 {
44218 if (temp2)
44219 delete arg2;
44220 }
44221 return resultobj;
44222fail:
44223 {
44224 if (temp2)
44225 delete arg2;
44226 }
44227 return NULL;
44228}
44229
44230
44231SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44232 PyObject *resultobj = 0;
44233 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44234 wxString result;
44235 void *argp1 = 0 ;
44236 int res1 = 0 ;
44237 PyObject *swig_obj[1] ;
44238
44239 if (!args) SWIG_fail;
44240 swig_obj[0] = args;
44241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44242 if (!SWIG_IsOK(res1)) {
44243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44244 }
44245 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44246 {
44247 PyThreadState* __tstate = wxPyBeginAllowThreads();
44248 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44249 wxPyEndAllowThreads(__tstate);
44250 if (PyErr_Occurred()) SWIG_fail;
44251 }
44252 {
44253#if wxUSE_UNICODE
44254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44255#else
44256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44257#endif
44258 }
44259 return resultobj;
44260fail:
44261 return NULL;
44262}
44263
44264
b850e7f3
RD
44265SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44266 PyObject *obj;
44267 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44268 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44269 return SWIG_Py_Void();
44270}
44271
44272SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44273 return SWIG_Python_InitShadowInstance(args);
44274}
44275
44276SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44277 PyObject *resultobj = 0;
44278 wxWindow *arg1 = (wxWindow *) 0 ;
44279 int arg2 = (int) -1 ;
44280 wxString const &arg3_defvalue = wxPyEmptyString ;
44281 wxString *arg3 = (wxString *) &arg3_defvalue ;
44282 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44283 wxString *arg4 = (wxString *) &arg4_defvalue ;
44284 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44285 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44286 wxSize const &arg6_defvalue = wxDefaultSize ;
44287 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44288 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44291 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44292 wxString *arg9 = (wxString *) &arg9_defvalue ;
44293 wxDirPickerCtrl *result = 0 ;
44294 void *argp1 = 0 ;
44295 int res1 = 0 ;
44296 int val2 ;
44297 int ecode2 = 0 ;
44298 bool temp3 = false ;
44299 bool temp4 = false ;
44300 wxPoint temp5 ;
44301 wxSize temp6 ;
44302 long val7 ;
44303 int ecode7 = 0 ;
44304 void *argp8 = 0 ;
44305 int res8 = 0 ;
44306 bool temp9 = false ;
44307 PyObject * obj0 = 0 ;
44308 PyObject * obj1 = 0 ;
44309 PyObject * obj2 = 0 ;
44310 PyObject * obj3 = 0 ;
44311 PyObject * obj4 = 0 ;
44312 PyObject * obj5 = 0 ;
44313 PyObject * obj6 = 0 ;
44314 PyObject * obj7 = 0 ;
44315 PyObject * obj8 = 0 ;
44316 char * kwnames[] = {
44317 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44318 };
44319
44320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44322 if (!SWIG_IsOK(res1)) {
44323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44324 }
44325 arg1 = reinterpret_cast< wxWindow * >(argp1);
44326 if (obj1) {
44327 ecode2 = SWIG_AsVal_int(obj1, &val2);
44328 if (!SWIG_IsOK(ecode2)) {
44329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44330 }
44331 arg2 = static_cast< int >(val2);
44332 }
44333 if (obj2) {
44334 {
44335 arg3 = wxString_in_helper(obj2);
44336 if (arg3 == NULL) SWIG_fail;
44337 temp3 = true;
44338 }
44339 }
44340 if (obj3) {
44341 {
44342 arg4 = wxString_in_helper(obj3);
44343 if (arg4 == NULL) SWIG_fail;
44344 temp4 = true;
44345 }
44346 }
44347 if (obj4) {
44348 {
44349 arg5 = &temp5;
44350 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44351 }
44352 }
44353 if (obj5) {
44354 {
44355 arg6 = &temp6;
44356 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44357 }
44358 }
44359 if (obj6) {
44360 ecode7 = SWIG_AsVal_long(obj6, &val7);
44361 if (!SWIG_IsOK(ecode7)) {
44362 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44363 }
44364 arg7 = static_cast< long >(val7);
44365 }
44366 if (obj7) {
44367 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44368 if (!SWIG_IsOK(res8)) {
44369 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44370 }
44371 if (!argp8) {
44372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44373 }
44374 arg8 = reinterpret_cast< wxValidator * >(argp8);
44375 }
44376 if (obj8) {
44377 {
44378 arg9 = wxString_in_helper(obj8);
44379 if (arg9 == NULL) SWIG_fail;
44380 temp9 = true;
44381 }
44382 }
44383 {
44384 if (!wxPyCheckForApp()) SWIG_fail;
44385 PyThreadState* __tstate = wxPyBeginAllowThreads();
44386 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);
44387 wxPyEndAllowThreads(__tstate);
44388 if (PyErr_Occurred()) SWIG_fail;
44389 }
44390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44391 {
44392 if (temp3)
44393 delete arg3;
44394 }
44395 {
44396 if (temp4)
44397 delete arg4;
44398 }
44399 {
44400 if (temp9)
44401 delete arg9;
44402 }
44403 return resultobj;
44404fail:
44405 {
44406 if (temp3)
44407 delete arg3;
44408 }
44409 {
44410 if (temp4)
44411 delete arg4;
44412 }
44413 {
44414 if (temp9)
44415 delete arg9;
44416 }
44417 return NULL;
44418}
44419
44420
44421SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44422 PyObject *resultobj = 0;
44423 wxDirPickerCtrl *result = 0 ;
44424
44425 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44426 {
44427 if (!wxPyCheckForApp()) SWIG_fail;
44428 PyThreadState* __tstate = wxPyBeginAllowThreads();
44429 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44430 wxPyEndAllowThreads(__tstate);
44431 if (PyErr_Occurred()) SWIG_fail;
44432 }
44433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44434 return resultobj;
44435fail:
44436 return NULL;
44437}
44438
44439
44440SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44441 PyObject *resultobj = 0;
44442 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44443 wxWindow *arg2 = (wxWindow *) 0 ;
44444 int arg3 = (int) -1 ;
44445 wxString const &arg4_defvalue = wxPyEmptyString ;
44446 wxString *arg4 = (wxString *) &arg4_defvalue ;
44447 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44448 wxString *arg5 = (wxString *) &arg5_defvalue ;
44449 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44450 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44451 wxSize const &arg7_defvalue = wxDefaultSize ;
44452 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44453 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44454 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44455 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44456 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44457 wxString *arg10 = (wxString *) &arg10_defvalue ;
44458 bool result;
44459 void *argp1 = 0 ;
44460 int res1 = 0 ;
44461 void *argp2 = 0 ;
44462 int res2 = 0 ;
44463 int val3 ;
44464 int ecode3 = 0 ;
44465 bool temp4 = false ;
44466 bool temp5 = false ;
44467 wxPoint temp6 ;
44468 wxSize temp7 ;
44469 long val8 ;
44470 int ecode8 = 0 ;
44471 void *argp9 = 0 ;
44472 int res9 = 0 ;
44473 bool temp10 = false ;
44474 PyObject * obj0 = 0 ;
44475 PyObject * obj1 = 0 ;
44476 PyObject * obj2 = 0 ;
44477 PyObject * obj3 = 0 ;
44478 PyObject * obj4 = 0 ;
44479 PyObject * obj5 = 0 ;
44480 PyObject * obj6 = 0 ;
44481 PyObject * obj7 = 0 ;
44482 PyObject * obj8 = 0 ;
44483 PyObject * obj9 = 0 ;
44484 char * kwnames[] = {
44485 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44486 };
44487
44488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44490 if (!SWIG_IsOK(res1)) {
44491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44492 }
44493 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44495 if (!SWIG_IsOK(res2)) {
44496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44497 }
44498 arg2 = reinterpret_cast< wxWindow * >(argp2);
44499 if (obj2) {
44500 ecode3 = SWIG_AsVal_int(obj2, &val3);
44501 if (!SWIG_IsOK(ecode3)) {
44502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44503 }
44504 arg3 = static_cast< int >(val3);
44505 }
44506 if (obj3) {
44507 {
44508 arg4 = wxString_in_helper(obj3);
44509 if (arg4 == NULL) SWIG_fail;
44510 temp4 = true;
44511 }
44512 }
44513 if (obj4) {
44514 {
44515 arg5 = wxString_in_helper(obj4);
44516 if (arg5 == NULL) SWIG_fail;
44517 temp5 = true;
44518 }
44519 }
44520 if (obj5) {
44521 {
44522 arg6 = &temp6;
44523 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44524 }
44525 }
44526 if (obj6) {
44527 {
44528 arg7 = &temp7;
44529 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44530 }
44531 }
44532 if (obj7) {
44533 ecode8 = SWIG_AsVal_long(obj7, &val8);
44534 if (!SWIG_IsOK(ecode8)) {
44535 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44536 }
44537 arg8 = static_cast< long >(val8);
44538 }
44539 if (obj8) {
44540 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44541 if (!SWIG_IsOK(res9)) {
44542 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44543 }
44544 if (!argp9) {
44545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44546 }
44547 arg9 = reinterpret_cast< wxValidator * >(argp9);
44548 }
44549 if (obj9) {
44550 {
44551 arg10 = wxString_in_helper(obj9);
44552 if (arg10 == NULL) SWIG_fail;
44553 temp10 = true;
44554 }
44555 }
44556 {
44557 PyThreadState* __tstate = wxPyBeginAllowThreads();
44558 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);
44559 wxPyEndAllowThreads(__tstate);
44560 if (PyErr_Occurred()) SWIG_fail;
44561 }
44562 {
44563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44564 }
44565 {
44566 if (temp4)
44567 delete arg4;
44568 }
44569 {
44570 if (temp5)
44571 delete arg5;
44572 }
44573 {
44574 if (temp10)
44575 delete arg10;
44576 }
44577 return resultobj;
44578fail:
44579 {
44580 if (temp4)
44581 delete arg4;
44582 }
44583 {
44584 if (temp5)
44585 delete arg5;
44586 }
44587 {
44588 if (temp10)
44589 delete arg10;
44590 }
44591 return NULL;
44592}
44593
44594
44595SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44596 PyObject *resultobj = 0;
44597 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44598 wxString result;
44599 void *argp1 = 0 ;
44600 int res1 = 0 ;
44601 PyObject *swig_obj[1] ;
44602
44603 if (!args) SWIG_fail;
44604 swig_obj[0] = args;
44605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44606 if (!SWIG_IsOK(res1)) {
44607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44608 }
44609 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44610 {
44611 PyThreadState* __tstate = wxPyBeginAllowThreads();
44612 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44613 wxPyEndAllowThreads(__tstate);
44614 if (PyErr_Occurred()) SWIG_fail;
44615 }
44616 {
44617#if wxUSE_UNICODE
44618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44619#else
44620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44621#endif
44622 }
44623 return resultobj;
44624fail:
44625 return NULL;
44626}
44627
44628
44629SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44630 PyObject *resultobj = 0;
44631 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44632 wxString *arg2 = 0 ;
44633 void *argp1 = 0 ;
44634 int res1 = 0 ;
44635 bool temp2 = false ;
44636 PyObject * obj0 = 0 ;
44637 PyObject * obj1 = 0 ;
44638 char * kwnames[] = {
44639 (char *) "self",(char *) "str", NULL
44640 };
44641
44642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44644 if (!SWIG_IsOK(res1)) {
44645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44646 }
44647 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44648 {
44649 arg2 = wxString_in_helper(obj1);
44650 if (arg2 == NULL) SWIG_fail;
44651 temp2 = true;
44652 }
44653 {
44654 PyThreadState* __tstate = wxPyBeginAllowThreads();
44655 (arg1)->SetPath((wxString const &)*arg2);
44656 wxPyEndAllowThreads(__tstate);
44657 if (PyErr_Occurred()) SWIG_fail;
44658 }
44659 resultobj = SWIG_Py_Void();
44660 {
44661 if (temp2)
44662 delete arg2;
44663 }
44664 return resultobj;
44665fail:
44666 {
44667 if (temp2)
44668 delete arg2;
44669 }
44670 return NULL;
44671}
44672
44673
b02396e8
RD
44674SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44675 PyObject *resultobj = 0;
44676 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44677 wxString *arg2 = 0 ;
44678 bool result;
44679 void *argp1 = 0 ;
44680 int res1 = 0 ;
44681 bool temp2 = false ;
44682 PyObject * obj0 = 0 ;
44683 PyObject * obj1 = 0 ;
44684 char * kwnames[] = {
44685 (char *) "self",(char *) "path", NULL
44686 };
44687
44688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44690 if (!SWIG_IsOK(res1)) {
44691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44692 }
44693 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44694 {
44695 arg2 = wxString_in_helper(obj1);
44696 if (arg2 == NULL) SWIG_fail;
44697 temp2 = true;
44698 }
44699 {
44700 PyThreadState* __tstate = wxPyBeginAllowThreads();
44701 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44702 wxPyEndAllowThreads(__tstate);
44703 if (PyErr_Occurred()) SWIG_fail;
44704 }
44705 {
44706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44707 }
44708 {
44709 if (temp2)
44710 delete arg2;
44711 }
44712 return resultobj;
44713fail:
44714 {
44715 if (temp2)
44716 delete arg2;
44717 }
44718 return NULL;
44719}
44720
44721
44722SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44723 PyObject *resultobj = 0;
44724 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44725 wxString result;
44726 void *argp1 = 0 ;
44727 int res1 = 0 ;
44728 PyObject *swig_obj[1] ;
44729
44730 if (!args) SWIG_fail;
44731 swig_obj[0] = args;
44732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44733 if (!SWIG_IsOK(res1)) {
44734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44735 }
44736 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44737 {
44738 PyThreadState* __tstate = wxPyBeginAllowThreads();
44739 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44740 wxPyEndAllowThreads(__tstate);
44741 if (PyErr_Occurred()) SWIG_fail;
44742 }
44743 {
44744#if wxUSE_UNICODE
44745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44746#else
44747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44748#endif
44749 }
44750 return resultobj;
44751fail:
44752 return NULL;
44753}
44754
44755
b850e7f3
RD
44756SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44757 PyObject *obj;
44758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44759 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44760 return SWIG_Py_Void();
44761}
44762
44763SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44764 return SWIG_Python_InitShadowInstance(args);
44765}
44766
44767SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44768 PyObject *resultobj = 0;
44769 wxEventType arg1 ;
44770 wxObject *arg2 = (wxObject *) 0 ;
44771 int arg3 ;
44772 wxString *arg4 = 0 ;
44773 wxFileDirPickerEvent *result = 0 ;
44774 int val1 ;
44775 int ecode1 = 0 ;
44776 void *argp2 = 0 ;
44777 int res2 = 0 ;
44778 int val3 ;
44779 int ecode3 = 0 ;
44780 bool temp4 = false ;
44781 PyObject * obj0 = 0 ;
44782 PyObject * obj1 = 0 ;
44783 PyObject * obj2 = 0 ;
44784 PyObject * obj3 = 0 ;
44785 char * kwnames[] = {
44786 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44787 };
44788
44789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44790 ecode1 = SWIG_AsVal_int(obj0, &val1);
44791 if (!SWIG_IsOK(ecode1)) {
44792 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44793 }
44794 arg1 = static_cast< wxEventType >(val1);
44795 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44796 if (!SWIG_IsOK(res2)) {
44797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44798 }
44799 arg2 = reinterpret_cast< wxObject * >(argp2);
44800 ecode3 = SWIG_AsVal_int(obj2, &val3);
44801 if (!SWIG_IsOK(ecode3)) {
44802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44803 }
44804 arg3 = static_cast< int >(val3);
44805 {
44806 arg4 = wxString_in_helper(obj3);
44807 if (arg4 == NULL) SWIG_fail;
44808 temp4 = true;
44809 }
44810 {
44811 PyThreadState* __tstate = wxPyBeginAllowThreads();
44812 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44813 wxPyEndAllowThreads(__tstate);
44814 if (PyErr_Occurred()) SWIG_fail;
44815 }
44816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44817 {
44818 if (temp4)
44819 delete arg4;
44820 }
44821 return resultobj;
44822fail:
44823 {
44824 if (temp4)
44825 delete arg4;
44826 }
44827 return NULL;
44828}
44829
44830
44831SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44832 PyObject *resultobj = 0;
44833 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44834 wxString result;
44835 void *argp1 = 0 ;
44836 int res1 = 0 ;
44837 PyObject *swig_obj[1] ;
44838
44839 if (!args) SWIG_fail;
44840 swig_obj[0] = args;
44841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44842 if (!SWIG_IsOK(res1)) {
44843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44844 }
44845 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44846 {
44847 PyThreadState* __tstate = wxPyBeginAllowThreads();
44848 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44849 wxPyEndAllowThreads(__tstate);
44850 if (PyErr_Occurred()) SWIG_fail;
44851 }
44852 {
44853#if wxUSE_UNICODE
44854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44855#else
44856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44857#endif
44858 }
44859 return resultobj;
44860fail:
44861 return NULL;
44862}
44863
44864
44865SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44866 PyObject *resultobj = 0;
44867 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44868 wxString *arg2 = 0 ;
44869 void *argp1 = 0 ;
44870 int res1 = 0 ;
44871 bool temp2 = false ;
44872 PyObject * obj0 = 0 ;
44873 PyObject * obj1 = 0 ;
44874 char * kwnames[] = {
44875 (char *) "self",(char *) "p", NULL
44876 };
44877
44878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44880 if (!SWIG_IsOK(res1)) {
44881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44882 }
44883 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44884 {
44885 arg2 = wxString_in_helper(obj1);
44886 if (arg2 == NULL) SWIG_fail;
44887 temp2 = true;
44888 }
44889 {
44890 PyThreadState* __tstate = wxPyBeginAllowThreads();
44891 (arg1)->SetPath((wxString const &)*arg2);
44892 wxPyEndAllowThreads(__tstate);
44893 if (PyErr_Occurred()) SWIG_fail;
44894 }
44895 resultobj = SWIG_Py_Void();
44896 {
44897 if (temp2)
44898 delete arg2;
44899 }
44900 return resultobj;
44901fail:
44902 {
44903 if (temp2)
44904 delete arg2;
44905 }
44906 return NULL;
44907}
44908
44909
44910SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44911 PyObject *obj;
44912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44913 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44914 return SWIG_Py_Void();
44915}
44916
44917SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44918 return SWIG_Python_InitShadowInstance(args);
44919}
44920
44921SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44922 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44923 return 1;
44924}
44925
44926
44927SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44928 PyObject *pyobj = 0;
44929
44930 {
44931#if wxUSE_UNICODE
44932 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44933#else
44934 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44935#endif
44936 }
44937 return pyobj;
44938}
44939
44940
44941SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44942 PyObject *resultobj = 0;
44943 wxWindow *arg1 = (wxWindow *) 0 ;
44944 int arg2 = (int) -1 ;
f89238b9 44945 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
44946 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44947 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44948 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44949 wxSize const &arg5_defvalue = wxDefaultSize ;
44950 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44951 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44954 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44955 wxString *arg8 = (wxString *) &arg8_defvalue ;
44956 wxFontPickerCtrl *result = 0 ;
44957 void *argp1 = 0 ;
44958 int res1 = 0 ;
44959 int val2 ;
44960 int ecode2 = 0 ;
44961 void *argp3 = 0 ;
44962 int res3 = 0 ;
44963 wxPoint temp4 ;
44964 wxSize temp5 ;
44965 long val6 ;
44966 int ecode6 = 0 ;
44967 void *argp7 = 0 ;
44968 int res7 = 0 ;
44969 bool temp8 = false ;
44970 PyObject * obj0 = 0 ;
44971 PyObject * obj1 = 0 ;
44972 PyObject * obj2 = 0 ;
44973 PyObject * obj3 = 0 ;
44974 PyObject * obj4 = 0 ;
44975 PyObject * obj5 = 0 ;
44976 PyObject * obj6 = 0 ;
44977 PyObject * obj7 = 0 ;
44978 char * kwnames[] = {
44979 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44980 };
44981
44982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44984 if (!SWIG_IsOK(res1)) {
44985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44986 }
44987 arg1 = reinterpret_cast< wxWindow * >(argp1);
44988 if (obj1) {
44989 ecode2 = SWIG_AsVal_int(obj1, &val2);
44990 if (!SWIG_IsOK(ecode2)) {
44991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44992 }
44993 arg2 = static_cast< int >(val2);
44994 }
44995 if (obj2) {
44996 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44997 if (!SWIG_IsOK(res3)) {
44998 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44999 }
45000 if (!argp3) {
45001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45002 }
45003 arg3 = reinterpret_cast< wxFont * >(argp3);
45004 }
45005 if (obj3) {
45006 {
45007 arg4 = &temp4;
45008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45009 }
45010 }
45011 if (obj4) {
45012 {
45013 arg5 = &temp5;
45014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45015 }
45016 }
45017 if (obj5) {
45018 ecode6 = SWIG_AsVal_long(obj5, &val6);
45019 if (!SWIG_IsOK(ecode6)) {
45020 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45021 }
45022 arg6 = static_cast< long >(val6);
45023 }
45024 if (obj6) {
45025 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45026 if (!SWIG_IsOK(res7)) {
45027 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45028 }
45029 if (!argp7) {
45030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45031 }
45032 arg7 = reinterpret_cast< wxValidator * >(argp7);
45033 }
45034 if (obj7) {
45035 {
45036 arg8 = wxString_in_helper(obj7);
45037 if (arg8 == NULL) SWIG_fail;
45038 temp8 = true;
45039 }
45040 }
45041 {
45042 if (!wxPyCheckForApp()) SWIG_fail;
45043 PyThreadState* __tstate = wxPyBeginAllowThreads();
45044 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45045 wxPyEndAllowThreads(__tstate);
45046 if (PyErr_Occurred()) SWIG_fail;
45047 }
45048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45049 {
45050 if (temp8)
45051 delete arg8;
45052 }
45053 return resultobj;
45054fail:
45055 {
45056 if (temp8)
45057 delete arg8;
45058 }
45059 return NULL;
45060}
45061
45062
45063SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45064 PyObject *resultobj = 0;
45065 wxFontPickerCtrl *result = 0 ;
45066
45067 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45068 {
45069 if (!wxPyCheckForApp()) SWIG_fail;
45070 PyThreadState* __tstate = wxPyBeginAllowThreads();
45071 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45072 wxPyEndAllowThreads(__tstate);
45073 if (PyErr_Occurred()) SWIG_fail;
45074 }
45075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45076 return resultobj;
45077fail:
45078 return NULL;
45079}
45080
45081
45082SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45083 PyObject *resultobj = 0;
45084 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45085 wxWindow *arg2 = (wxWindow *) 0 ;
45086 int arg3 = (int) -1 ;
f89238b9 45087 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
45088 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45089 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45090 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45091 wxSize const &arg6_defvalue = wxDefaultSize ;
45092 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45093 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45094 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45095 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45096 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45097 wxString *arg9 = (wxString *) &arg9_defvalue ;
45098 bool result;
45099 void *argp1 = 0 ;
45100 int res1 = 0 ;
45101 void *argp2 = 0 ;
45102 int res2 = 0 ;
45103 int val3 ;
45104 int ecode3 = 0 ;
45105 void *argp4 = 0 ;
45106 int res4 = 0 ;
45107 wxPoint temp5 ;
45108 wxSize temp6 ;
45109 long val7 ;
45110 int ecode7 = 0 ;
45111 void *argp8 = 0 ;
45112 int res8 = 0 ;
45113 bool temp9 = false ;
45114 PyObject * obj0 = 0 ;
45115 PyObject * obj1 = 0 ;
45116 PyObject * obj2 = 0 ;
45117 PyObject * obj3 = 0 ;
45118 PyObject * obj4 = 0 ;
45119 PyObject * obj5 = 0 ;
45120 PyObject * obj6 = 0 ;
45121 PyObject * obj7 = 0 ;
45122 PyObject * obj8 = 0 ;
45123 char * kwnames[] = {
45124 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45125 };
45126
45127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45129 if (!SWIG_IsOK(res1)) {
45130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45131 }
45132 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45134 if (!SWIG_IsOK(res2)) {
45135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45136 }
45137 arg2 = reinterpret_cast< wxWindow * >(argp2);
45138 if (obj2) {
45139 ecode3 = SWIG_AsVal_int(obj2, &val3);
45140 if (!SWIG_IsOK(ecode3)) {
45141 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45142 }
45143 arg3 = static_cast< int >(val3);
45144 }
45145 if (obj3) {
45146 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45147 if (!SWIG_IsOK(res4)) {
45148 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45149 }
45150 if (!argp4) {
45151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45152 }
45153 arg4 = reinterpret_cast< wxFont * >(argp4);
45154 }
45155 if (obj4) {
45156 {
45157 arg5 = &temp5;
45158 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45159 }
45160 }
45161 if (obj5) {
45162 {
45163 arg6 = &temp6;
45164 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45165 }
45166 }
45167 if (obj6) {
45168 ecode7 = SWIG_AsVal_long(obj6, &val7);
45169 if (!SWIG_IsOK(ecode7)) {
45170 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45171 }
45172 arg7 = static_cast< long >(val7);
45173 }
45174 if (obj7) {
45175 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45176 if (!SWIG_IsOK(res8)) {
45177 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45178 }
45179 if (!argp8) {
45180 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45181 }
45182 arg8 = reinterpret_cast< wxValidator * >(argp8);
45183 }
45184 if (obj8) {
45185 {
45186 arg9 = wxString_in_helper(obj8);
45187 if (arg9 == NULL) SWIG_fail;
45188 temp9 = true;
45189 }
45190 }
45191 {
45192 PyThreadState* __tstate = wxPyBeginAllowThreads();
45193 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45194 wxPyEndAllowThreads(__tstate);
45195 if (PyErr_Occurred()) SWIG_fail;
45196 }
45197 {
45198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45199 }
45200 {
45201 if (temp9)
45202 delete arg9;
45203 }
45204 return resultobj;
45205fail:
45206 {
45207 if (temp9)
45208 delete arg9;
45209 }
45210 return NULL;
45211}
45212
45213
45214SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45215 PyObject *resultobj = 0;
45216 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45217 wxFont result;
45218 void *argp1 = 0 ;
45219 int res1 = 0 ;
45220 PyObject *swig_obj[1] ;
45221
45222 if (!args) SWIG_fail;
45223 swig_obj[0] = args;
45224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45225 if (!SWIG_IsOK(res1)) {
45226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45227 }
45228 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45229 {
45230 PyThreadState* __tstate = wxPyBeginAllowThreads();
45231 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45232 wxPyEndAllowThreads(__tstate);
45233 if (PyErr_Occurred()) SWIG_fail;
45234 }
45235 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45236 return resultobj;
45237fail:
45238 return NULL;
45239}
45240
45241
45242SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45243 PyObject *resultobj = 0;
45244 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45245 wxFont *arg2 = 0 ;
45246 void *argp1 = 0 ;
45247 int res1 = 0 ;
45248 void *argp2 = 0 ;
45249 int res2 = 0 ;
45250 PyObject * obj0 = 0 ;
45251 PyObject * obj1 = 0 ;
45252 char * kwnames[] = {
45253 (char *) "self",(char *) "f", NULL
45254 };
45255
45256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45258 if (!SWIG_IsOK(res1)) {
45259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45260 }
45261 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45262 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45263 if (!SWIG_IsOK(res2)) {
45264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45265 }
45266 if (!argp2) {
45267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45268 }
45269 arg2 = reinterpret_cast< wxFont * >(argp2);
45270 {
45271 PyThreadState* __tstate = wxPyBeginAllowThreads();
45272 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45273 wxPyEndAllowThreads(__tstate);
45274 if (PyErr_Occurred()) SWIG_fail;
45275 }
45276 resultobj = SWIG_Py_Void();
45277 return resultobj;
45278fail:
45279 return NULL;
45280}
45281
45282
45283SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45284 PyObject *resultobj = 0;
45285 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45286 unsigned int arg2 ;
45287 void *argp1 = 0 ;
45288 int res1 = 0 ;
45289 unsigned int val2 ;
45290 int ecode2 = 0 ;
45291 PyObject * obj0 = 0 ;
45292 PyObject * obj1 = 0 ;
45293 char * kwnames[] = {
45294 (char *) "self",(char *) "max", NULL
45295 };
45296
45297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45299 if (!SWIG_IsOK(res1)) {
45300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45301 }
45302 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45303 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45304 if (!SWIG_IsOK(ecode2)) {
45305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45306 }
45307 arg2 = static_cast< unsigned int >(val2);
45308 {
45309 PyThreadState* __tstate = wxPyBeginAllowThreads();
45310 (arg1)->SetMaxPointSize(arg2);
45311 wxPyEndAllowThreads(__tstate);
45312 if (PyErr_Occurred()) SWIG_fail;
45313 }
45314 resultobj = SWIG_Py_Void();
45315 return resultobj;
45316fail:
45317 return NULL;
45318}
45319
45320
45321SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45322 PyObject *resultobj = 0;
45323 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45324 unsigned int result;
45325 void *argp1 = 0 ;
45326 int res1 = 0 ;
45327 PyObject *swig_obj[1] ;
45328
45329 if (!args) SWIG_fail;
45330 swig_obj[0] = args;
45331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45332 if (!SWIG_IsOK(res1)) {
45333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45334 }
45335 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45336 {
45337 PyThreadState* __tstate = wxPyBeginAllowThreads();
45338 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45339 wxPyEndAllowThreads(__tstate);
45340 if (PyErr_Occurred()) SWIG_fail;
45341 }
45342 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45343 return resultobj;
45344fail:
45345 return NULL;
45346}
45347
45348
45349SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45350 PyObject *obj;
45351 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45352 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45353 return SWIG_Py_Void();
45354}
45355
45356SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45357 return SWIG_Python_InitShadowInstance(args);
45358}
45359
45360SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45361 PyObject *resultobj = 0;
45362 wxObject *arg1 = (wxObject *) 0 ;
45363 int arg2 ;
45364 wxFont *arg3 = 0 ;
45365 wxFontPickerEvent *result = 0 ;
45366 void *argp1 = 0 ;
45367 int res1 = 0 ;
45368 int val2 ;
45369 int ecode2 = 0 ;
45370 void *argp3 = 0 ;
45371 int res3 = 0 ;
45372 PyObject * obj0 = 0 ;
45373 PyObject * obj1 = 0 ;
45374 PyObject * obj2 = 0 ;
45375 char * kwnames[] = {
45376 (char *) "generator",(char *) "id",(char *) "f", NULL
45377 };
45378
45379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45381 if (!SWIG_IsOK(res1)) {
45382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45383 }
45384 arg1 = reinterpret_cast< wxObject * >(argp1);
45385 ecode2 = SWIG_AsVal_int(obj1, &val2);
45386 if (!SWIG_IsOK(ecode2)) {
45387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45388 }
45389 arg2 = static_cast< int >(val2);
45390 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45391 if (!SWIG_IsOK(res3)) {
45392 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45393 }
45394 if (!argp3) {
45395 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45396 }
45397 arg3 = reinterpret_cast< wxFont * >(argp3);
45398 {
45399 PyThreadState* __tstate = wxPyBeginAllowThreads();
45400 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45401 wxPyEndAllowThreads(__tstate);
45402 if (PyErr_Occurred()) SWIG_fail;
45403 }
45404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45405 return resultobj;
45406fail:
45407 return NULL;
45408}
45409
45410
45411SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45412 PyObject *resultobj = 0;
45413 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45414 wxFont result;
45415 void *argp1 = 0 ;
45416 int res1 = 0 ;
45417 PyObject *swig_obj[1] ;
45418
45419 if (!args) SWIG_fail;
45420 swig_obj[0] = args;
45421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45422 if (!SWIG_IsOK(res1)) {
45423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45424 }
45425 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45426 {
45427 PyThreadState* __tstate = wxPyBeginAllowThreads();
45428 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45429 wxPyEndAllowThreads(__tstate);
45430 if (PyErr_Occurred()) SWIG_fail;
45431 }
45432 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45433 return resultobj;
45434fail:
45435 return NULL;
45436}
45437
45438
45439SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45440 PyObject *resultobj = 0;
45441 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45442 wxFont *arg2 = 0 ;
45443 void *argp1 = 0 ;
45444 int res1 = 0 ;
45445 void *argp2 = 0 ;
45446 int res2 = 0 ;
45447 PyObject * obj0 = 0 ;
45448 PyObject * obj1 = 0 ;
45449 char * kwnames[] = {
45450 (char *) "self",(char *) "c", NULL
45451 };
45452
45453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45455 if (!SWIG_IsOK(res1)) {
45456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45457 }
45458 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45459 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45460 if (!SWIG_IsOK(res2)) {
45461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45462 }
45463 if (!argp2) {
45464 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45465 }
45466 arg2 = reinterpret_cast< wxFont * >(argp2);
45467 {
45468 PyThreadState* __tstate = wxPyBeginAllowThreads();
45469 (arg1)->SetFont((wxFont const &)*arg2);
45470 wxPyEndAllowThreads(__tstate);
45471 if (PyErr_Occurred()) SWIG_fail;
45472 }
45473 resultobj = SWIG_Py_Void();
45474 return resultobj;
45475fail:
45476 return NULL;
45477}
45478
45479
45480SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45481 PyObject *obj;
45482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45483 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45484 return SWIG_Py_Void();
45485}
45486
45487SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45488 return SWIG_Python_InitShadowInstance(args);
45489}
45490
5172800e
RD
45491SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45492 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45493 return 1;
45494}
45495
45496
45497SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45498 PyObject *pyobj = 0;
45499
45500 {
45501#if wxUSE_UNICODE
45502 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45503#else
45504 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45505#endif
45506 }
45507 return pyobj;
45508}
45509
45510
45511SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45512 PyObject *resultobj = 0;
45513 wxWindow *arg1 = (wxWindow *) 0 ;
45514 int arg2 = (int) -1 ;
45515 wxString const &arg3_defvalue = wxPyEmptyString ;
45516 wxString *arg3 = (wxString *) &arg3_defvalue ;
45517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45519 wxSize const &arg5_defvalue = wxDefaultSize ;
45520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45521 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45522 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45523 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45524 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45525 wxString *arg8 = (wxString *) &arg8_defvalue ;
45526 wxCollapsiblePane *result = 0 ;
45527 void *argp1 = 0 ;
45528 int res1 = 0 ;
45529 int val2 ;
45530 int ecode2 = 0 ;
45531 bool temp3 = false ;
45532 wxPoint temp4 ;
45533 wxSize temp5 ;
45534 long val6 ;
45535 int ecode6 = 0 ;
45536 void *argp7 = 0 ;
45537 int res7 = 0 ;
45538 bool temp8 = false ;
45539 PyObject * obj0 = 0 ;
45540 PyObject * obj1 = 0 ;
45541 PyObject * obj2 = 0 ;
45542 PyObject * obj3 = 0 ;
45543 PyObject * obj4 = 0 ;
45544 PyObject * obj5 = 0 ;
45545 PyObject * obj6 = 0 ;
45546 PyObject * obj7 = 0 ;
45547 char * kwnames[] = {
45548 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45549 };
45550
45551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45553 if (!SWIG_IsOK(res1)) {
45554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45555 }
45556 arg1 = reinterpret_cast< wxWindow * >(argp1);
45557 if (obj1) {
45558 ecode2 = SWIG_AsVal_int(obj1, &val2);
45559 if (!SWIG_IsOK(ecode2)) {
45560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45561 }
45562 arg2 = static_cast< int >(val2);
45563 }
45564 if (obj2) {
45565 {
45566 arg3 = wxString_in_helper(obj2);
45567 if (arg3 == NULL) SWIG_fail;
45568 temp3 = true;
45569 }
45570 }
45571 if (obj3) {
45572 {
45573 arg4 = &temp4;
45574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45575 }
45576 }
45577 if (obj4) {
45578 {
45579 arg5 = &temp5;
45580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45581 }
45582 }
45583 if (obj5) {
45584 ecode6 = SWIG_AsVal_long(obj5, &val6);
45585 if (!SWIG_IsOK(ecode6)) {
45586 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45587 }
45588 arg6 = static_cast< long >(val6);
45589 }
45590 if (obj6) {
45591 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45592 if (!SWIG_IsOK(res7)) {
45593 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45594 }
45595 if (!argp7) {
45596 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45597 }
45598 arg7 = reinterpret_cast< wxValidator * >(argp7);
45599 }
45600 if (obj7) {
45601 {
45602 arg8 = wxString_in_helper(obj7);
45603 if (arg8 == NULL) SWIG_fail;
45604 temp8 = true;
45605 }
45606 }
45607 {
45608 if (!wxPyCheckForApp()) SWIG_fail;
45609 PyThreadState* __tstate = wxPyBeginAllowThreads();
45610 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45611 wxPyEndAllowThreads(__tstate);
45612 if (PyErr_Occurred()) SWIG_fail;
45613 }
45614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45615 {
45616 if (temp3)
45617 delete arg3;
45618 }
45619 {
45620 if (temp8)
45621 delete arg8;
45622 }
45623 return resultobj;
45624fail:
45625 {
45626 if (temp3)
45627 delete arg3;
45628 }
45629 {
45630 if (temp8)
45631 delete arg8;
45632 }
45633 return NULL;
45634}
45635
45636
45637SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45638 PyObject *resultobj = 0;
45639 wxCollapsiblePane *result = 0 ;
45640
45641 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45642 {
45643 if (!wxPyCheckForApp()) SWIG_fail;
45644 PyThreadState* __tstate = wxPyBeginAllowThreads();
45645 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45646 wxPyEndAllowThreads(__tstate);
45647 if (PyErr_Occurred()) SWIG_fail;
45648 }
45649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45650 return resultobj;
45651fail:
45652 return NULL;
45653}
45654
45655
45656SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45657 PyObject *resultobj = 0;
45658 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45659 wxWindow *arg2 = (wxWindow *) 0 ;
45660 int arg3 = (int) -1 ;
45661 wxString const &arg4_defvalue = wxPyEmptyString ;
45662 wxString *arg4 = (wxString *) &arg4_defvalue ;
45663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45665 wxSize const &arg6_defvalue = wxDefaultSize ;
45666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45667 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45668 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45669 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45670 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45671 wxString *arg9 = (wxString *) &arg9_defvalue ;
45672 bool result;
45673 void *argp1 = 0 ;
45674 int res1 = 0 ;
45675 void *argp2 = 0 ;
45676 int res2 = 0 ;
45677 int val3 ;
45678 int ecode3 = 0 ;
45679 bool temp4 = false ;
45680 wxPoint temp5 ;
45681 wxSize temp6 ;
45682 long val7 ;
45683 int ecode7 = 0 ;
45684 void *argp8 = 0 ;
45685 int res8 = 0 ;
45686 bool temp9 = false ;
45687 PyObject * obj0 = 0 ;
45688 PyObject * obj1 = 0 ;
45689 PyObject * obj2 = 0 ;
45690 PyObject * obj3 = 0 ;
45691 PyObject * obj4 = 0 ;
45692 PyObject * obj5 = 0 ;
45693 PyObject * obj6 = 0 ;
45694 PyObject * obj7 = 0 ;
45695 PyObject * obj8 = 0 ;
45696 char * kwnames[] = {
45697 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45698 };
45699
45700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45702 if (!SWIG_IsOK(res1)) {
45703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45704 }
45705 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45707 if (!SWIG_IsOK(res2)) {
45708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45709 }
45710 arg2 = reinterpret_cast< wxWindow * >(argp2);
45711 if (obj2) {
45712 ecode3 = SWIG_AsVal_int(obj2, &val3);
45713 if (!SWIG_IsOK(ecode3)) {
45714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45715 }
45716 arg3 = static_cast< int >(val3);
45717 }
45718 if (obj3) {
45719 {
45720 arg4 = wxString_in_helper(obj3);
45721 if (arg4 == NULL) SWIG_fail;
45722 temp4 = true;
45723 }
45724 }
45725 if (obj4) {
45726 {
45727 arg5 = &temp5;
45728 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45729 }
45730 }
45731 if (obj5) {
45732 {
45733 arg6 = &temp6;
45734 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45735 }
45736 }
45737 if (obj6) {
45738 ecode7 = SWIG_AsVal_long(obj6, &val7);
45739 if (!SWIG_IsOK(ecode7)) {
45740 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45741 }
45742 arg7 = static_cast< long >(val7);
45743 }
45744 if (obj7) {
45745 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45746 if (!SWIG_IsOK(res8)) {
45747 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45748 }
45749 if (!argp8) {
45750 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45751 }
45752 arg8 = reinterpret_cast< wxValidator * >(argp8);
45753 }
45754 if (obj8) {
45755 {
45756 arg9 = wxString_in_helper(obj8);
45757 if (arg9 == NULL) SWIG_fail;
45758 temp9 = true;
45759 }
45760 }
45761 {
45762 PyThreadState* __tstate = wxPyBeginAllowThreads();
45763 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45764 wxPyEndAllowThreads(__tstate);
45765 if (PyErr_Occurred()) SWIG_fail;
45766 }
45767 {
45768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45769 }
45770 {
45771 if (temp4)
45772 delete arg4;
45773 }
45774 {
45775 if (temp9)
45776 delete arg9;
45777 }
45778 return resultobj;
45779fail:
45780 {
45781 if (temp4)
45782 delete arg4;
45783 }
45784 {
45785 if (temp9)
45786 delete arg9;
45787 }
45788 return NULL;
45789}
45790
45791
45792SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45793 PyObject *resultobj = 0;
45794 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45795 bool arg2 = (bool) true ;
45796 void *argp1 = 0 ;
45797 int res1 = 0 ;
45798 bool val2 ;
45799 int ecode2 = 0 ;
45800 PyObject * obj0 = 0 ;
45801 PyObject * obj1 = 0 ;
45802 char * kwnames[] = {
45803 (char *) "self",(char *) "collapse", NULL
45804 };
45805
45806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45808 if (!SWIG_IsOK(res1)) {
45809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45810 }
45811 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45812 if (obj1) {
45813 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45814 if (!SWIG_IsOK(ecode2)) {
45815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45816 }
45817 arg2 = static_cast< bool >(val2);
45818 }
45819 {
45820 PyThreadState* __tstate = wxPyBeginAllowThreads();
45821 (arg1)->Collapse(arg2);
45822 wxPyEndAllowThreads(__tstate);
45823 if (PyErr_Occurred()) SWIG_fail;
45824 }
45825 resultobj = SWIG_Py_Void();
45826 return resultobj;
45827fail:
45828 return NULL;
45829}
45830
45831
45832SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45833 PyObject *resultobj = 0;
45834 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45835 void *argp1 = 0 ;
45836 int res1 = 0 ;
45837 PyObject *swig_obj[1] ;
45838
45839 if (!args) SWIG_fail;
45840 swig_obj[0] = args;
45841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45842 if (!SWIG_IsOK(res1)) {
45843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45844 }
45845 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45846 {
45847 PyThreadState* __tstate = wxPyBeginAllowThreads();
45848 (arg1)->Expand();
45849 wxPyEndAllowThreads(__tstate);
45850 if (PyErr_Occurred()) SWIG_fail;
45851 }
45852 resultobj = SWIG_Py_Void();
45853 return resultobj;
45854fail:
45855 return NULL;
45856}
45857
45858
45859SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45860 PyObject *resultobj = 0;
45861 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45862 bool result;
45863 void *argp1 = 0 ;
45864 int res1 = 0 ;
45865 PyObject *swig_obj[1] ;
45866
45867 if (!args) SWIG_fail;
45868 swig_obj[0] = args;
45869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45870 if (!SWIG_IsOK(res1)) {
45871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45872 }
45873 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45874 {
45875 PyThreadState* __tstate = wxPyBeginAllowThreads();
45876 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45877 wxPyEndAllowThreads(__tstate);
45878 if (PyErr_Occurred()) SWIG_fail;
45879 }
45880 {
45881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45882 }
45883 return resultobj;
45884fail:
45885 return NULL;
45886}
45887
45888
45889SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45890 PyObject *resultobj = 0;
45891 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45892 bool result;
45893 void *argp1 = 0 ;
45894 int res1 = 0 ;
45895 PyObject *swig_obj[1] ;
45896
45897 if (!args) SWIG_fail;
45898 swig_obj[0] = args;
45899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45900 if (!SWIG_IsOK(res1)) {
45901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45902 }
45903 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45904 {
45905 PyThreadState* __tstate = wxPyBeginAllowThreads();
45906 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
45907 wxPyEndAllowThreads(__tstate);
45908 if (PyErr_Occurred()) SWIG_fail;
45909 }
45910 {
45911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45912 }
45913 return resultobj;
45914fail:
45915 return NULL;
45916}
45917
45918
45919SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45920 PyObject *resultobj = 0;
45921 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45922 wxWindow *result = 0 ;
45923 void *argp1 = 0 ;
45924 int res1 = 0 ;
45925 PyObject *swig_obj[1] ;
45926
45927 if (!args) SWIG_fail;
45928 swig_obj[0] = args;
45929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45930 if (!SWIG_IsOK(res1)) {
45931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45932 }
45933 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45934 {
45935 PyThreadState* __tstate = wxPyBeginAllowThreads();
45936 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
45937 wxPyEndAllowThreads(__tstate);
45938 if (PyErr_Occurred()) SWIG_fail;
45939 }
45940 {
45941 resultobj = wxPyMake_wxObject(result, 0);
45942 }
45943 return resultobj;
45944fail:
45945 return NULL;
45946}
45947
45948
45949SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45950 PyObject *obj;
45951 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45952 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
45953 return SWIG_Py_Void();
45954}
45955
45956SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45957 return SWIG_Python_InitShadowInstance(args);
45958}
45959
45960SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45961 PyObject *resultobj = 0;
45962 wxObject *arg1 = (wxObject *) 0 ;
45963 int arg2 ;
45964 bool arg3 ;
45965 wxCollapsiblePaneEvent *result = 0 ;
45966 void *argp1 = 0 ;
45967 int res1 = 0 ;
45968 int val2 ;
45969 int ecode2 = 0 ;
45970 bool val3 ;
45971 int ecode3 = 0 ;
45972 PyObject * obj0 = 0 ;
45973 PyObject * obj1 = 0 ;
45974 PyObject * obj2 = 0 ;
45975 char * kwnames[] = {
45976 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45977 };
45978
45979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45981 if (!SWIG_IsOK(res1)) {
45982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45983 }
45984 arg1 = reinterpret_cast< wxObject * >(argp1);
45985 ecode2 = SWIG_AsVal_int(obj1, &val2);
45986 if (!SWIG_IsOK(ecode2)) {
45987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45988 }
45989 arg2 = static_cast< int >(val2);
45990 ecode3 = SWIG_AsVal_bool(obj2, &val3);
45991 if (!SWIG_IsOK(ecode3)) {
45992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45993 }
45994 arg3 = static_cast< bool >(val3);
45995 {
45996 PyThreadState* __tstate = wxPyBeginAllowThreads();
45997 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
45998 wxPyEndAllowThreads(__tstate);
45999 if (PyErr_Occurred()) SWIG_fail;
46000 }
46001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46002 return resultobj;
46003fail:
46004 return NULL;
46005}
46006
46007
46008SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46009 PyObject *resultobj = 0;
46010 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46011 bool result;
46012 void *argp1 = 0 ;
46013 int res1 = 0 ;
46014 PyObject *swig_obj[1] ;
46015
46016 if (!args) SWIG_fail;
46017 swig_obj[0] = args;
46018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46019 if (!SWIG_IsOK(res1)) {
46020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46021 }
46022 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46023 {
46024 PyThreadState* __tstate = wxPyBeginAllowThreads();
46025 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46026 wxPyEndAllowThreads(__tstate);
46027 if (PyErr_Occurred()) SWIG_fail;
46028 }
46029 {
46030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46031 }
46032 return resultobj;
46033fail:
46034 return NULL;
46035}
46036
46037
46038SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46039 PyObject *resultobj = 0;
46040 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46041 bool arg2 ;
46042 void *argp1 = 0 ;
46043 int res1 = 0 ;
46044 bool val2 ;
46045 int ecode2 = 0 ;
46046 PyObject * obj0 = 0 ;
46047 PyObject * obj1 = 0 ;
46048 char * kwnames[] = {
46049 (char *) "self",(char *) "c", NULL
46050 };
46051
46052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46054 if (!SWIG_IsOK(res1)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46056 }
46057 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46058 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46059 if (!SWIG_IsOK(ecode2)) {
46060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46061 }
46062 arg2 = static_cast< bool >(val2);
46063 {
46064 PyThreadState* __tstate = wxPyBeginAllowThreads();
46065 (arg1)->SetCollapsed(arg2);
46066 wxPyEndAllowThreads(__tstate);
46067 if (PyErr_Occurred()) SWIG_fail;
46068 }
46069 resultobj = SWIG_Py_Void();
46070 return resultobj;
46071fail:
46072 return NULL;
46073}
46074
46075
46076SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46077 PyObject *obj;
46078 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46079 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46080 return SWIG_Py_Void();
46081}
46082
46083SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46084 return SWIG_Python_InitShadowInstance(args);
46085}
46086
3f7f284d
RD
46087SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46088 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46089 return 1;
46090}
46091
46092
46093SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46094 PyObject *pyobj = 0;
46095
46096 {
46097#if wxUSE_UNICODE
46098 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46099#else
46100 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46101#endif
46102 }
46103 return pyobj;
46104}
46105
46106
46107SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46108 PyObject *resultobj = 0;
46109 wxWindow *arg1 = (wxWindow *) 0 ;
46110 int arg2 = (int) -1 ;
46111 wxString const &arg3_defvalue = wxEmptyString ;
46112 wxString *arg3 = (wxString *) &arg3_defvalue ;
46113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46115 wxSize const &arg5_defvalue = wxDefaultSize ;
46116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46117 long arg6 = (long) 0 ;
46118 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46119 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46120 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46121 wxString *arg8 = (wxString *) &arg8_defvalue ;
46122 wxSearchCtrl *result = 0 ;
46123 void *argp1 = 0 ;
46124 int res1 = 0 ;
46125 int val2 ;
46126 int ecode2 = 0 ;
46127 bool temp3 = false ;
46128 wxPoint temp4 ;
46129 wxSize temp5 ;
46130 long val6 ;
46131 int ecode6 = 0 ;
46132 void *argp7 = 0 ;
46133 int res7 = 0 ;
46134 bool temp8 = false ;
46135 PyObject * obj0 = 0 ;
46136 PyObject * obj1 = 0 ;
46137 PyObject * obj2 = 0 ;
46138 PyObject * obj3 = 0 ;
46139 PyObject * obj4 = 0 ;
46140 PyObject * obj5 = 0 ;
46141 PyObject * obj6 = 0 ;
46142 PyObject * obj7 = 0 ;
46143 char * kwnames[] = {
46144 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46145 };
46146
46147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46149 if (!SWIG_IsOK(res1)) {
46150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46151 }
46152 arg1 = reinterpret_cast< wxWindow * >(argp1);
46153 if (obj1) {
46154 ecode2 = SWIG_AsVal_int(obj1, &val2);
46155 if (!SWIG_IsOK(ecode2)) {
46156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46157 }
46158 arg2 = static_cast< int >(val2);
46159 }
46160 if (obj2) {
46161 {
46162 arg3 = wxString_in_helper(obj2);
46163 if (arg3 == NULL) SWIG_fail;
46164 temp3 = true;
46165 }
46166 }
46167 if (obj3) {
46168 {
46169 arg4 = &temp4;
46170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46171 }
46172 }
46173 if (obj4) {
46174 {
46175 arg5 = &temp5;
46176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46177 }
46178 }
46179 if (obj5) {
46180 ecode6 = SWIG_AsVal_long(obj5, &val6);
46181 if (!SWIG_IsOK(ecode6)) {
46182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46183 }
46184 arg6 = static_cast< long >(val6);
46185 }
46186 if (obj6) {
46187 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46188 if (!SWIG_IsOK(res7)) {
46189 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46190 }
46191 if (!argp7) {
46192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46193 }
46194 arg7 = reinterpret_cast< wxValidator * >(argp7);
46195 }
46196 if (obj7) {
46197 {
46198 arg8 = wxString_in_helper(obj7);
46199 if (arg8 == NULL) SWIG_fail;
46200 temp8 = true;
46201 }
46202 }
46203 {
46204 if (!wxPyCheckForApp()) SWIG_fail;
46205 PyThreadState* __tstate = wxPyBeginAllowThreads();
46206 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46207 wxPyEndAllowThreads(__tstate);
46208 if (PyErr_Occurred()) SWIG_fail;
46209 }
46210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46211 {
46212 if (temp3)
46213 delete arg3;
46214 }
46215 {
46216 if (temp8)
46217 delete arg8;
46218 }
46219 return resultobj;
46220fail:
46221 {
46222 if (temp3)
46223 delete arg3;
46224 }
46225 {
46226 if (temp8)
46227 delete arg8;
46228 }
46229 return NULL;
46230}
46231
46232
46233SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46234 PyObject *resultobj = 0;
46235 wxSearchCtrl *result = 0 ;
46236
46237 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46238 {
46239 if (!wxPyCheckForApp()) SWIG_fail;
46240 PyThreadState* __tstate = wxPyBeginAllowThreads();
46241 result = (wxSearchCtrl *)new wxSearchCtrl();
46242 wxPyEndAllowThreads(__tstate);
46243 if (PyErr_Occurred()) SWIG_fail;
46244 }
46245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46246 return resultobj;
46247fail:
46248 return NULL;
46249}
46250
46251
46252SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46253 PyObject *resultobj = 0;
46254 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46255 wxWindow *arg2 = (wxWindow *) 0 ;
46256 int arg3 = (int) -1 ;
46257 wxString const &arg4_defvalue = wxEmptyString ;
46258 wxString *arg4 = (wxString *) &arg4_defvalue ;
46259 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46260 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46261 wxSize const &arg6_defvalue = wxDefaultSize ;
46262 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46263 long arg7 = (long) 0 ;
46264 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46265 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46266 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46267 wxString *arg9 = (wxString *) &arg9_defvalue ;
46268 bool result;
46269 void *argp1 = 0 ;
46270 int res1 = 0 ;
46271 void *argp2 = 0 ;
46272 int res2 = 0 ;
46273 int val3 ;
46274 int ecode3 = 0 ;
46275 bool temp4 = false ;
46276 wxPoint temp5 ;
46277 wxSize temp6 ;
46278 long val7 ;
46279 int ecode7 = 0 ;
46280 void *argp8 = 0 ;
46281 int res8 = 0 ;
46282 bool temp9 = false ;
46283 PyObject * obj0 = 0 ;
46284 PyObject * obj1 = 0 ;
46285 PyObject * obj2 = 0 ;
46286 PyObject * obj3 = 0 ;
46287 PyObject * obj4 = 0 ;
46288 PyObject * obj5 = 0 ;
46289 PyObject * obj6 = 0 ;
46290 PyObject * obj7 = 0 ;
46291 PyObject * obj8 = 0 ;
46292 char * kwnames[] = {
46293 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46294 };
46295
46296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46298 if (!SWIG_IsOK(res1)) {
46299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46300 }
46301 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46302 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46303 if (!SWIG_IsOK(res2)) {
46304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46305 }
46306 arg2 = reinterpret_cast< wxWindow * >(argp2);
46307 if (obj2) {
46308 ecode3 = SWIG_AsVal_int(obj2, &val3);
46309 if (!SWIG_IsOK(ecode3)) {
46310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46311 }
46312 arg3 = static_cast< int >(val3);
46313 }
46314 if (obj3) {
46315 {
46316 arg4 = wxString_in_helper(obj3);
46317 if (arg4 == NULL) SWIG_fail;
46318 temp4 = true;
46319 }
46320 }
46321 if (obj4) {
46322 {
46323 arg5 = &temp5;
46324 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46325 }
46326 }
46327 if (obj5) {
46328 {
46329 arg6 = &temp6;
46330 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46331 }
46332 }
46333 if (obj6) {
46334 ecode7 = SWIG_AsVal_long(obj6, &val7);
46335 if (!SWIG_IsOK(ecode7)) {
46336 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46337 }
46338 arg7 = static_cast< long >(val7);
46339 }
46340 if (obj7) {
46341 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46342 if (!SWIG_IsOK(res8)) {
46343 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46344 }
46345 if (!argp8) {
46346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46347 }
46348 arg8 = reinterpret_cast< wxValidator * >(argp8);
46349 }
46350 if (obj8) {
46351 {
46352 arg9 = wxString_in_helper(obj8);
46353 if (arg9 == NULL) SWIG_fail;
46354 temp9 = true;
46355 }
46356 }
46357 {
46358 PyThreadState* __tstate = wxPyBeginAllowThreads();
46359 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46360 wxPyEndAllowThreads(__tstate);
46361 if (PyErr_Occurred()) SWIG_fail;
46362 }
46363 {
46364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46365 }
46366 {
46367 if (temp4)
46368 delete arg4;
46369 }
46370 {
46371 if (temp9)
46372 delete arg9;
46373 }
46374 return resultobj;
46375fail:
46376 {
46377 if (temp4)
46378 delete arg4;
46379 }
46380 {
46381 if (temp9)
46382 delete arg9;
46383 }
46384 return NULL;
46385}
46386
46387
46388SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46389 PyObject *resultobj = 0;
46390 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46391 wxMenu *arg2 = (wxMenu *) 0 ;
46392 void *argp1 = 0 ;
46393 int res1 = 0 ;
46394 void *argp2 = 0 ;
46395 int res2 = 0 ;
46396 PyObject * obj0 = 0 ;
46397 PyObject * obj1 = 0 ;
46398 char * kwnames[] = {
46399 (char *) "self",(char *) "menu", NULL
46400 };
46401
46402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46404 if (!SWIG_IsOK(res1)) {
46405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46406 }
46407 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46409 if (!SWIG_IsOK(res2)) {
46410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46411 }
46412 arg2 = reinterpret_cast< wxMenu * >(argp2);
46413 {
46414 PyThreadState* __tstate = wxPyBeginAllowThreads();
46415 (arg1)->SetMenu(arg2);
46416 wxPyEndAllowThreads(__tstate);
46417 if (PyErr_Occurred()) SWIG_fail;
46418 }
46419 resultobj = SWIG_Py_Void();
46420 return resultobj;
46421fail:
46422 return NULL;
46423}
46424
46425
46426SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46427 PyObject *resultobj = 0;
46428 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46429 wxMenu *result = 0 ;
46430 void *argp1 = 0 ;
46431 int res1 = 0 ;
46432 PyObject *swig_obj[1] ;
46433
46434 if (!args) SWIG_fail;
46435 swig_obj[0] = args;
46436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46437 if (!SWIG_IsOK(res1)) {
46438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46439 }
46440 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46441 {
46442 PyThreadState* __tstate = wxPyBeginAllowThreads();
46443 result = (wxMenu *)(arg1)->GetMenu();
46444 wxPyEndAllowThreads(__tstate);
46445 if (PyErr_Occurred()) SWIG_fail;
46446 }
46447 {
46448 resultobj = wxPyMake_wxObject(result, 0);
46449 }
46450 return resultobj;
46451fail:
46452 return NULL;
46453}
46454
46455
70b63a99 46456SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3f7f284d
RD
46457 PyObject *resultobj = 0;
46458 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46459 bool arg2 ;
46460 void *argp1 = 0 ;
46461 int res1 = 0 ;
46462 bool val2 ;
46463 int ecode2 = 0 ;
46464 PyObject * obj0 = 0 ;
46465 PyObject * obj1 = 0 ;
46466 char * kwnames[] = {
46467 (char *) "self",(char *) "show", NULL
46468 };
46469
70b63a99 46470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail;
3f7f284d
RD
46471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46472 if (!SWIG_IsOK(res1)) {
70b63a99 46473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
3f7f284d
RD
46474 }
46475 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46476 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46477 if (!SWIG_IsOK(ecode2)) {
70b63a99 46478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
3f7f284d
RD
46479 }
46480 arg2 = static_cast< bool >(val2);
46481 {
46482 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46483 (arg1)->ShowSearchButton(arg2);
3f7f284d
RD
46484 wxPyEndAllowThreads(__tstate);
46485 if (PyErr_Occurred()) SWIG_fail;
46486 }
46487 resultobj = SWIG_Py_Void();
46488 return resultobj;
46489fail:
46490 return NULL;
46491}
46492
46493
70b63a99 46494SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3f7f284d
RD
46495 PyObject *resultobj = 0;
46496 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46497 bool result;
46498 void *argp1 = 0 ;
46499 int res1 = 0 ;
46500 PyObject *swig_obj[1] ;
46501
46502 if (!args) SWIG_fail;
46503 swig_obj[0] = args;
46504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46505 if (!SWIG_IsOK(res1)) {
70b63a99 46506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
3f7f284d
RD
46507 }
46508 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46509 {
46510 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46511 result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible();
3f7f284d
RD
46512 wxPyEndAllowThreads(__tstate);
46513 if (PyErr_Occurred()) SWIG_fail;
46514 }
46515 {
46516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46517 }
46518 return resultobj;
46519fail:
46520 return NULL;
46521}
46522
46523
70b63a99 46524SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3f7f284d
RD
46525 PyObject *resultobj = 0;
46526 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46527 bool arg2 ;
46528 void *argp1 = 0 ;
46529 int res1 = 0 ;
46530 bool val2 ;
46531 int ecode2 = 0 ;
46532 PyObject * obj0 = 0 ;
46533 PyObject * obj1 = 0 ;
46534 char * kwnames[] = {
46535 (char *) "self",(char *) "show", NULL
46536 };
46537
70b63a99 46538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail;
3f7f284d
RD
46539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46540 if (!SWIG_IsOK(res1)) {
70b63a99 46541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
3f7f284d
RD
46542 }
46543 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46544 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46545 if (!SWIG_IsOK(ecode2)) {
70b63a99 46546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
3f7f284d
RD
46547 }
46548 arg2 = static_cast< bool >(val2);
46549 {
46550 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46551 (arg1)->ShowCancelButton(arg2);
3f7f284d
RD
46552 wxPyEndAllowThreads(__tstate);
46553 if (PyErr_Occurred()) SWIG_fail;
46554 }
46555 resultobj = SWIG_Py_Void();
46556 return resultobj;
46557fail:
46558 return NULL;
46559}
46560
46561
70b63a99 46562SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3f7f284d
RD
46563 PyObject *resultobj = 0;
46564 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46565 bool result;
46566 void *argp1 = 0 ;
46567 int res1 = 0 ;
46568 PyObject *swig_obj[1] ;
46569
46570 if (!args) SWIG_fail;
46571 swig_obj[0] = args;
46572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46573 if (!SWIG_IsOK(res1)) {
70b63a99 46574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
3f7f284d
RD
46575 }
46576 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46577 {
46578 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46579 result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible();
3f7f284d
RD
46580 wxPyEndAllowThreads(__tstate);
46581 if (PyErr_Occurred()) SWIG_fail;
46582 }
46583 {
46584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46585 }
46586 return resultobj;
46587fail:
46588 return NULL;
46589}
46590
46591
6646ca90
RD
46592SWIGINTERN PyObject *_wrap_SearchCtrl_SetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46593 PyObject *resultobj = 0;
46594 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46595 wxString *arg2 = 0 ;
46596 void *argp1 = 0 ;
46597 int res1 = 0 ;
46598 bool temp2 = false ;
46599 PyObject * obj0 = 0 ;
46600 PyObject * obj1 = 0 ;
46601 char * kwnames[] = {
46602 (char *) "self",(char *) "text", NULL
46603 };
46604
46605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames,&obj0,&obj1)) SWIG_fail;
46606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46607 if (!SWIG_IsOK(res1)) {
46608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46609 }
46610 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46611 {
46612 arg2 = wxString_in_helper(obj1);
46613 if (arg2 == NULL) SWIG_fail;
46614 temp2 = true;
46615 }
46616 {
46617 PyThreadState* __tstate = wxPyBeginAllowThreads();
46618 (arg1)->SetDescriptiveText((wxString const &)*arg2);
46619 wxPyEndAllowThreads(__tstate);
46620 if (PyErr_Occurred()) SWIG_fail;
46621 }
46622 resultobj = SWIG_Py_Void();
46623 {
46624 if (temp2)
46625 delete arg2;
46626 }
46627 return resultobj;
46628fail:
46629 {
46630 if (temp2)
46631 delete arg2;
46632 }
46633 return NULL;
46634}
46635
46636
46637SWIGINTERN PyObject *_wrap_SearchCtrl_GetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46638 PyObject *resultobj = 0;
46639 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46640 wxString result;
46641 void *argp1 = 0 ;
46642 int res1 = 0 ;
46643 PyObject *swig_obj[1] ;
46644
46645 if (!args) SWIG_fail;
46646 swig_obj[0] = args;
46647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46648 if (!SWIG_IsOK(res1)) {
46649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46650 }
46651 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46652 {
46653 PyThreadState* __tstate = wxPyBeginAllowThreads();
46654 result = ((wxSearchCtrl const *)arg1)->GetDescriptiveText();
46655 wxPyEndAllowThreads(__tstate);
46656 if (PyErr_Occurred()) SWIG_fail;
46657 }
46658 {
46659#if wxUSE_UNICODE
46660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
46661#else
46662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
46663#endif
46664 }
46665 return resultobj;
46666fail:
46667 return NULL;
46668}
46669
46670
3f7f284d
RD
46671SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46672 PyObject *resultobj = 0;
46673 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46674 wxBitmap *arg2 = 0 ;
46675 void *argp1 = 0 ;
46676 int res1 = 0 ;
46677 void *argp2 = 0 ;
46678 int res2 = 0 ;
46679 PyObject * obj0 = 0 ;
46680 PyObject * obj1 = 0 ;
46681 char * kwnames[] = {
46682 (char *) "self",(char *)"arg2", NULL
46683 };
46684
46685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46687 if (!SWIG_IsOK(res1)) {
46688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46689 }
46690 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46692 if (!SWIG_IsOK(res2)) {
46693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46694 }
46695 if (!argp2) {
46696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46697 }
46698 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46699 {
46700 PyThreadState* __tstate = wxPyBeginAllowThreads();
46701 wxSearchCtrl_SetSearchBitmap(arg1,(wxBitmap const &)*arg2);
46702 wxPyEndAllowThreads(__tstate);
46703 if (PyErr_Occurred()) SWIG_fail;
46704 }
46705 resultobj = SWIG_Py_Void();
46706 return resultobj;
46707fail:
46708 return NULL;
46709}
46710
46711
46712SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46713 PyObject *resultobj = 0;
46714 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46715 wxBitmap *arg2 = 0 ;
46716 void *argp1 = 0 ;
46717 int res1 = 0 ;
46718 void *argp2 = 0 ;
46719 int res2 = 0 ;
46720 PyObject * obj0 = 0 ;
46721 PyObject * obj1 = 0 ;
46722 char * kwnames[] = {
46723 (char *) "self",(char *)"arg2", NULL
46724 };
46725
46726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46728 if (!SWIG_IsOK(res1)) {
46729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46730 }
46731 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46732 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46733 if (!SWIG_IsOK(res2)) {
46734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46735 }
46736 if (!argp2) {
46737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46738 }
46739 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46740 {
46741 PyThreadState* __tstate = wxPyBeginAllowThreads();
46742 wxSearchCtrl_SetSearchMenuBitmap(arg1,(wxBitmap const &)*arg2);
46743 wxPyEndAllowThreads(__tstate);
46744 if (PyErr_Occurred()) SWIG_fail;
46745 }
46746 resultobj = SWIG_Py_Void();
46747 return resultobj;
46748fail:
46749 return NULL;
46750}
46751
46752
46753SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46754 PyObject *resultobj = 0;
46755 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46756 wxBitmap *arg2 = 0 ;
46757 void *argp1 = 0 ;
46758 int res1 = 0 ;
46759 void *argp2 = 0 ;
46760 int res2 = 0 ;
46761 PyObject * obj0 = 0 ;
46762 PyObject * obj1 = 0 ;
46763 char * kwnames[] = {
46764 (char *) "self",(char *)"arg2", NULL
46765 };
46766
46767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46769 if (!SWIG_IsOK(res1)) {
46770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46771 }
46772 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46774 if (!SWIG_IsOK(res2)) {
46775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46776 }
46777 if (!argp2) {
46778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46779 }
46780 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46781 {
46782 PyThreadState* __tstate = wxPyBeginAllowThreads();
46783 wxSearchCtrl_SetCancelBitmap(arg1,(wxBitmap const &)*arg2);
46784 wxPyEndAllowThreads(__tstate);
46785 if (PyErr_Occurred()) SWIG_fail;
46786 }
46787 resultobj = SWIG_Py_Void();
46788 return resultobj;
46789fail:
46790 return NULL;
46791}
46792
46793
46794SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46795 PyObject *obj;
46796 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46797 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
46798 return SWIG_Py_Void();
46799}
46800
46801SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46802 return SWIG_Python_InitShadowInstance(args);
46803}
46804
b850e7f3
RD
46805static PyMethodDef SwigMethods[] = {
46806 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46807 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46808 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46809 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46810 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46811 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46812 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46813 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46814 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46815 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46816 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46817 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46818 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46819 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46820 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46821 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46822 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46823 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46824 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46825 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46826 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46827 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46828 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46829 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46830 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46831 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46832 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46833 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46834 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46835 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46836 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46837 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46838 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46839 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46840 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46841 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46842 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46843 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46844 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46845 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46846 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46847 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46848 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46849 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46850 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46851 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46852 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46853 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46854 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46855 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46856 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46857 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46858 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46859 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46860 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46861 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46862 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46863 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46864 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46866 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46867 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46868 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46869 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46870 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46871 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46872 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46873 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46874 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46875 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46876 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46877 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46878 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46879 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46881 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46882 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46883 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46884 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46886 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46887 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
0d2c9713 46889 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
46890 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46891 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46892 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46893 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46895 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46896 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46897 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46898 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46899 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46900 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46901 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46902 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46903 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46904 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46906 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46907 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46908 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46909 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46910 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46911 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46912 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46913 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46914 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46917 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46918 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46919 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46920 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46921 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46923 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46924 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46925 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46927 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46928 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46930 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46932 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46935 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46937 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
46938 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
46939 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46940 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
46941 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
46942 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46945 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
46946 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46947 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46948 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46950 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46951 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
46952 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
46953 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46954 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
46955 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46956 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46957 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46958 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
46959 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
46960 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46961 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
46962 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
46963 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46965 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46967 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
46969 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46970 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46972 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
46973 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
46974 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
46975 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
46976 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
46977 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
46978 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
46979 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46980 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
46981 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
46982 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
46983 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
46984 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
46985 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
46986 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
46987 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
46988 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
46989 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
46990 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
46992 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
46993 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46994 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
46995 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
46997 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
46998 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
46999 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47000 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47002 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47004 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47005 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47006 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47007 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47008 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47009 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47010 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47011 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47012 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47015 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47016 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 47017 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47018 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47019 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47023 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47024 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47025 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47026 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47027 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47029 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47032 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47033 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47034 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47035 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47036 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47037 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47038 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47039 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47040 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47041 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47042 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47043 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47044 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47045 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47046 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47047 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
d7645bfd 47048 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47049 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
47050 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47051 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47052 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47053 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47054 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47055 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47056 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47057 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47058 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47059 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47060 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47061 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47062 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47063 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47064 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47065 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47066 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47067 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47068 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47069 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47071 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47072 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47073 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47074 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47075 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47076 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47077 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47078 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47079 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47080 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47081 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47082 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47083 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47084 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47085 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47086 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47087 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47088 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47089 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47090 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47091 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47092 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47093 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47095 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47096 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47097 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47099 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47100 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47101 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47102 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47103 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47104 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47105 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47107 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47108 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47109 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47110 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47111 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47112 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47113 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47114 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47116 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47117 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47118 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47119 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47120 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47121 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47122 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47123 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47124 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47125 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47126 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47127 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47129 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47130 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47131 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47132 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47133 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47134 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47135 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47136 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47137 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47138 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47139 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47140 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47141 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47142 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47144 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47145 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47146 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47147 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47148 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47150 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47151 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47152 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47153 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47154 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47155 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47156 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47157 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47158 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47159 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47160 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47161 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47162 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47164 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47165 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47166 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47167 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47168 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47169 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47170 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47171 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47172 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47173 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47174 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47175 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47176 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47177 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47179 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47180 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47182 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47184 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47186 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47187 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47188 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
47189 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 47190 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
1bd55598
RD
47191 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 47193 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
1bd55598
RD
47194 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47196 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47197 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47198 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47200 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 47201 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47202 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47203 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47204 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47205 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47206 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47207 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47209 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47211 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47212 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47213 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47214 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47215 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47216 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47217 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47218 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47219 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
47220 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47221 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47222 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47223 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47224 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47225 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47226 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47227 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47229 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47230 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47231 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47232 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47233 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47234 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47235 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47236 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47238 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47239 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47240 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47241 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47242 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47243 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47244 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47245 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47246 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47247 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47248 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47249 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47250 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47251 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47252 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47253 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47255 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47256 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47257 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47258 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47259 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47260 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47262 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47263 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47264 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47265 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47266 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47267 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47268 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47269 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47270 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47271 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47272 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47273 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47274 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47275 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47276 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47277 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47278 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47279 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47280 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47281 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47282 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47283 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47284 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47285 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47286 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47287 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47288 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47289 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47290 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47291 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47292 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47293 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47294 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47295 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47296 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47297 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47298 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47299 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47300 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47301 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47302 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47304 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47305 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47306 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47307 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47308 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47309 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47310 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47311 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47313 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47314 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47315 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47316 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47319 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47320 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47321 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47322 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47324 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47325 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47326 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47327 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47328 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47329 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47330 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47331 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47332 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47333 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47334 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47335 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47336 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47337 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47338 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47339 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47340 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47341 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47342 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47343 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47344 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47345 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47346 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47347 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47348 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47349 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47350 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47351 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47352 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47353 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47354 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47355 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47356 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47357 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47358 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47359 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47360 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47361 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47362 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47363 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47364 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47365 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47366 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47367 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47368 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47369 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47370 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47371 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47373 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47374 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47379 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47380 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47382 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47383 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47385 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47386 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47387 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47388 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47389 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47390 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47391 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47392 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47393 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47394 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47395 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47396 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47397 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47398 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47399 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47400 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47401 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47402 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47403 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47404 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47405 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47406 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47407 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47408 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47409 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47410 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47411 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47412 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47413 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47414 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47415 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47416 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47417 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47418 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47419 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47420 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47421 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47422 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47423 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47424 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47425 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47426 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47427 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47428 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47429 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47430 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47431 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47432 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47433 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47434 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47435 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47436 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47437 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47438 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47439 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47440 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47441 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47442 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47443 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47444 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47445 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47447 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47448 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47450 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47452 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47454 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47455 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47456 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47457 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47458 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47459 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47460 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47461 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47462 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47463 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47464 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47465 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47466 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47467 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47468 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47469 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47470 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47471 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47472 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47473 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47474 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47475 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47476 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47477 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47478 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47479 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47480 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47481 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47482 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47483 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47484 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47485 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47486 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47487 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47488 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47489 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47490 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47491 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47492 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47493 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47494 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47495 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47496 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47497 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47498 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47499 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47500 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47501 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47502 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47503 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47504 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47505 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47506 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47507 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47508 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47509 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47510 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47511 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47512 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47513 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47514 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47516 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47517 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47519 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47520 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47521 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47522 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47523 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47524 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47525 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47526 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47527 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47528 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47530 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47532 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47533 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47534 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47535 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47536 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47537 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47538 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47540 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47541 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47542 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47543 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47544 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47545 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47546 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47547 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47549 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47550 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47551 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47552 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 47553 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
1bd55598
RD
47554 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47555 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47556 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47557 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47559 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47561 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47562 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47563 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47564 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47566 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47568 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47569 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47570 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47571 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47573 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47574 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47576 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47577 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47579 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47581 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47582 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47585 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47588 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47591 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47593 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47594 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47595 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47597 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47598 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47599 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47603 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47604 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47605 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47606 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47607 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
1ceb4f4d 47608 { (char *)"TreeCtrl_IsEmpty", (PyCFunction)_wrap_TreeCtrl_IsEmpty, METH_O, NULL},
1bd55598
RD
47609 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47610 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47611 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47612 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47613 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47615 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47616 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47617 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47618 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47619 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47620 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47621 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47622 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47623 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47624 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47625 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47626 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47627 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47628 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47629 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47630 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
3d6c9062
RD
47631 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47632 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
1bd55598 47633 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
1ceb4f4d
RD
47634 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction) _wrap_TreeCtrl_CollapseAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"TreeCtrl_CollapseAll", (PyCFunction)_wrap_TreeCtrl_CollapseAll, METH_O, NULL},
1bd55598
RD
47636 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47637 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47639 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47641 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47642 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47645 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47646 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47647 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47648 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47649 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47650 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
47651 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47652 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
1bd55598
RD
47653 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47654 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47655 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47656 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47657 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47659 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47660 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47661 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47663 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47664 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47667 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47668 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47670 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47671 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47672 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47673 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47674 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47676 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47677 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47678 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47679 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47680 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47681 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47682 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47683 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47684 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47685 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47686 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47687 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47688 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47691 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47692 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47693 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47694 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47695 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47696 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47697 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47698 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47699 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47700 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47701 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47702 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47703 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47704 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47705 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47706 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47707 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47708 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
47709 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47710 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47711 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47712 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47713 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47715 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47717 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47718 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47719 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47720 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47721 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 47722 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
1bd55598
RD
47723 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47724 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47725 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47726 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 47727 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
47728 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47729 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47730 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47732 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47733 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47734 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47735 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47736 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47737 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47738 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47739 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47741 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47742 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47743 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47744 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47745 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47746 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47747 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47748 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47749 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47750 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47751 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47753 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47754 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47755 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47756 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47757 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47759 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47760 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47761 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47762 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47763 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47764 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
47765 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47766 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47767 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47768 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47769 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47770 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47771 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47772 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47773 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47774 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47775 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47776 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47777 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47778 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47779 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47780 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47781 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47782 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47783 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47784 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
47785 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47786 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47787 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47788 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47789 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
1eeb270e
RD
47790 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47791 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
47792 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47793 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47794 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47795 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47796 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47797 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47798 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47799 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47800 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47801 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47802 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47803 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47804 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47805 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47806 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47807 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47808 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47809 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47810 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47811 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47812 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47814 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47815 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47816 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47817 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47818 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47819 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47820 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47821 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47822 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47823 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47824 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47825 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47826 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47827 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47828 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47829 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47830 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47831 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47832 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47833 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47834 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47835 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47836 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47837 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47838 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47839 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47840 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47841 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47842 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47843 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47844 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47845 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47846 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47847 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47848 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
5172800e
RD
47849 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47850 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47851 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47853 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47854 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47855 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47856 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47857 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47858 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47859 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47860 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47861 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47862 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47863 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
3f7f284d
RD
47864 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47865 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
47866 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47867 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47868 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
70b63a99
RD
47869 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL},
47870 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL},
47871 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
47872 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL},
6646ca90
RD
47873 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction) _wrap_SearchCtrl_SetDescriptiveText, METH_VARARGS | METH_KEYWORDS, NULL},
47874 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction)_wrap_SearchCtrl_GetDescriptiveText, METH_O, NULL},
3f7f284d
RD
47875 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47876 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47877 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47878 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
47879 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
1bd55598
RD
47880 { NULL, NULL, 0, NULL }
47881};
47882
47883
47884/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47885
47886static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47887 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47888}
47889static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47890 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47891}
47892static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47893 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47894}
47895static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47896 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47897}
47898static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47899 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47900}
47901static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47902 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47903}
47904static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47905 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47906}
47907static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47908 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47909}
b850e7f3
RD
47910static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47912}
47913static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47914 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47915}
47916static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47917 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47918}
1bd55598
RD
47919static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47920 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47921}
47922static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47923 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47924}
47925static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47926 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47927}
1bd55598
RD
47928static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47930}
34e0a3bb
RD
47931static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47932 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47933}
2131d850
RD
47934static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47935 return (void *)((wxEvent *) ((wxPyEvent *) x));
47936}
1bd55598
RD
47937static void *_p_wxListEventTo_p_wxEvent(void *x) {
47938 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47939}
47940static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
47941 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47942}
47943static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
47944 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47945}
47946static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
47947 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47948}
47949static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
47950 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47951}
47952static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
47953 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47954}
47955static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
47956 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
47957}
47958static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47959 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47960}
47961static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47963}
47964static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47965 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47966}
47967static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47968 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47969}
47970static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47971 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47972}
47973static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47974 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47975}
47976static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47977 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47978}
47979static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47980 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47981}
47982static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47983 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47984}
5172800e
RD
47985static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
47986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47987}
1bd55598
RD
47988static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47989 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47990}
47991static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47992 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47993}
34e0a3bb
RD
47994static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
47995 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
47996}
1bd55598
RD
47997static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47998 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47999}
48000static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48001 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48002}
48003static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48004 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48005}
48006static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48007 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48008}
48009static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48010 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48011}
704eda0c
RD
48012static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48013 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48014}
1bd55598
RD
48015static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48016 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48017}
48018static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48019 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48020}
48021static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48022 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48023}
48024static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48025 return (void *)((wxEvent *) ((wxShowEvent *) x));
48026}
48027static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48028 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48029}
48030static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48032}
48033static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48034 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48035}
48036static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48037 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48038}
48039static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48040 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48041}
48042static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48043 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48044}
48045static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48046 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48047}
b850e7f3
RD
48048static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48049 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48050}
48051static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48052 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48053}
48054static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48055 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48056}
48057static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48058 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48059}
1bd55598
RD
48060static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48061 return (void *)((wxItemContainer *) ((wxComboBox *) x));
48062}
48063static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48064 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48065}
48066static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48067 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48068}
48069static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48070 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48071}
48072static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48073 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48074}
48075static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48076 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48077}
48078static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48079 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48080}
5172800e
RD
48081static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48082 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48083}
1bd55598
RD
48084static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48085 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48086}
48087static void *_p_wxToolBarTo_p_wxControl(void *x) {
48088 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48089}
b850e7f3
RD
48090static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48091 return (void *)((wxControl *) ((wxPickerBase *) x));
48092}
1bd55598
RD
48093static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48094 return (void *)((wxControl *) ((wxToggleButton *) x));
48095}
48096static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48097 return (void *)((wxControl *) ((wxRadioButton *) x));
48098}
3f7f284d
RD
48099static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48100 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48101}
1bd55598
RD
48102static void *_p_wxToolbookTo_p_wxControl(void *x) {
48103 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48104}
48105static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48106 return (void *)((wxControl *) ((wxToolBarBase *) x));
48107}
48108static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48109 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48110}
48111static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48112 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48113}
48114static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48115 return (void *)((wxControl *) ((wxComboBox *) x));
48116}
48117static void *_p_wxPyControlTo_p_wxControl(void *x) {
48118 return (void *)((wxControl *) ((wxPyControl *) x));
48119}
48120static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48121 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48122}
48123static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48124 return (void *)((wxControl *) ((wxScrollBar *) x));
48125}
48126static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48127 return (void *)((wxControl *) ((wxControlWithItems *) x));
48128}
48129static void *_p_wxGaugeTo_p_wxControl(void *x) {
48130 return (void *)((wxControl *) ((wxGauge *) x));
48131}
48132static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48133 return (void *)((wxControl *) ((wxStaticLine *) x));
48134}
48135static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48136 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48137}
48138static void *_p_wxListbookTo_p_wxControl(void *x) {
48139 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48140}
704eda0c
RD
48141static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48142 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48143}
1bd55598
RD
48144static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48145 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48146}
48147static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48148 return (void *)((wxControl *) ((wxCheckBox *) x));
48149}
48150static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48151 return (void *)((wxControl *) ((wxRadioBox *) x));
48152}
48153static void *_p_wxChoiceTo_p_wxControl(void *x) {
48154 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48155}
48156static void *_p_wxListBoxTo_p_wxControl(void *x) {
48157 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48158}
48159static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48160 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48161}
48162static void *_p_wxListViewTo_p_wxControl(void *x) {
48163 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48164}
48165static void *_p_wxNotebookTo_p_wxControl(void *x) {
48166 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48167}
48168static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48169 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48170}
48171static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48172 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48173}
48174static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48175 return (void *)((wxControl *) ((wxStaticText *) x));
48176}
48177static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48178 return (void *)((wxControl *) ((wxStaticBox *) x));
48179}
48180static void *_p_wxSliderTo_p_wxControl(void *x) {
48181 return (void *)((wxControl *) ((wxSlider *) x));
48182}
48183static void *_p_wxTreebookTo_p_wxControl(void *x) {
48184 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48185}
48186static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48187 return (void *)((wxControl *) ((wxSpinButton *) x));
48188}
48189static void *_p_wxButtonTo_p_wxControl(void *x) {
48190 return (void *)((wxControl *) ((wxButton *) x));
48191}
48192static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48193 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48194}
48195static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48196 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48197}
48198static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48199 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48200}
b850e7f3
RD
48201static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48202 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48203}
48204static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48205 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48206}
48207static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48208 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48209}
48210static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48211 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48212}
1bd55598
RD
48213static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48214 return (void *)((wxControl *) ((wxTextCtrl *) x));
48215}
48216static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48217 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48218}
48219static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48220 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48221}
3f7f284d
RD
48222static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48223 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48224}
1bd55598
RD
48225static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48226 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48227}
48228static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48229 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48230}
48231static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48232 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48233}
48234static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48235 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48236}
48237static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48238 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48239}
48240static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48241 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48242}
48243static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48244 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48245}
48246static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48247 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48248}
48249static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48250 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48251}
48252static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48253 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48254}
48255static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48256 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48257}
48258static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48259 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48260}
48261static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48262 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48263}
48264static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48265 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48266}
5172800e
RD
48267static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48268 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48269}
1bd55598
RD
48270static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48272}
48273static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48274 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48275}
48276static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48277 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48278}
48279static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48280 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48281}
48282static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48283 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48284}
b850e7f3
RD
48285static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48287}
1bd55598
RD
48288static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48289 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48290}
48291static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48292 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48293}
48294static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48296}
3f7f284d
RD
48297static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48299}
1bd55598
RD
48300static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48302}
48303static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48304 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48305}
48306static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48307 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48308}
48309static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48310 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
48311}
48312static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48313 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48314}
48315static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48317}
48318static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48320}
48321static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48323}
48324static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48325 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48326}
48327static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48328 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48329}
48330static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48332}
48333static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48335}
48336static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48338}
48339static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48341}
48342static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48344}
48345static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48347}
704eda0c
RD
48348static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48350}
1bd55598
RD
48351static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48353}
48354static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48356}
48357static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48359}
48360static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48362}
48363static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48365}
48366static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48368}
48369static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48371}
48372static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48374}
48375static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48377}
48378static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48380}
48381static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48383}
48384static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48386}
48387static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48389}
48390static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48392}
48393static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48395}
48396static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48398}
48399static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48401}
48402static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48404}
48405static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48407}
b850e7f3
RD
48408static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48410}
48411static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48413}
48414static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48416}
48417static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48419}
1bd55598
RD
48420static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48422}
48423static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48424 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48425}
48426static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48427 return (void *)((wxButton *) ((wxBitmapButton *) x));
48428}
48429static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48430 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48431}
48432static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48433 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48434}
48435static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48436 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48437}
48438static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48439 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48440}
48441static void *_p_wxToolbookTo_p_wxObject(void *x) {
48442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48443}
1bd55598
RD
48444static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48445 return (void *)((wxObject *) ((wxSizerItem *) x));
48446}
34e0a3bb
RD
48447static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48448 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48449}
1bd55598
RD
48450static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48452}
48453static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48454 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48455}
48456static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48458}
48459static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48460 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48461}
48462static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48463 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48464}
48465static void *_p_wxSizerTo_p_wxObject(void *x) {
48466 return (void *)((wxObject *) ((wxSizer *) x));
48467}
48468static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48469 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48470}
48471static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48473}
48474static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48476}
48477static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48479}
48480static void *_p_wxEventTo_p_wxObject(void *x) {
48481 return (void *)((wxObject *) ((wxEvent *) x));
48482}
48483static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48484 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48485}
48486static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48487 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48488}
3f7f284d
RD
48489static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48491}
1bd55598
RD
48492static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48493 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48494}
48495static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48497}
b850e7f3
RD
48498static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48500}
1bd55598
RD
48501static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48503}
48504static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48506}
2131d850
RD
48507static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48509}
1bd55598
RD
48510static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48511 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48512}
48513static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48514 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48515}
48516static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48517 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48518}
48519static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48520 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48521}
48522static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48523 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48524}
48525static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48526 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48527}
48528static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48530}
48531static void *_p_wxControlTo_p_wxObject(void *x) {
48532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48533}
48534static void *_p_wxPyControlTo_p_wxObject(void *x) {
48535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48536}
48537static void *_p_wxGaugeTo_p_wxObject(void *x) {
48538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48539}
48540static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48542}
48543static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48545}
48546static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48548}
48549static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48550 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48551}
b850e7f3
RD
48552static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48553 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48554}
48555static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48557}
48558static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48560}
1bd55598
RD
48561static void *_p_wxChoiceTo_p_wxObject(void *x) {
48562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48563}
48564static void *_p_wxFSFileTo_p_wxObject(void *x) {
48565 return (void *)((wxObject *) ((wxFSFile *) x));
48566}
48567static void *_p_wxPySizerTo_p_wxObject(void *x) {
48568 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48569}
48570static void *_p_wxTreebookTo_p_wxObject(void *x) {
48571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48572}
48573static void *_p_wxListViewTo_p_wxObject(void *x) {
48574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48575}
704eda0c
RD
48576static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48577 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48578}
1bd55598
RD
48579static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48581}
48582static void *_p_wxNotebookTo_p_wxObject(void *x) {
48583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48584}
48585static void *_p_wxPyEventTo_p_wxObject(void *x) {
48586 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48587}
48588static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48589 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48590}
48591static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48593}
48594static void *_p_wxListbookTo_p_wxObject(void *x) {
48595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48596}
48597static void *_p_wxShowEventTo_p_wxObject(void *x) {
48598 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48599}
48600static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48602}
48603static void *_p_wxSliderTo_p_wxObject(void *x) {
48604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48605}
48606static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48607 return (void *)((wxObject *) ((wxMenuItem *) x));
48608}
48609static void *_p_wxDateEventTo_p_wxObject(void *x) {
48610 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48611}
48612static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48613 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48614}
48615static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48617}
48618static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48619 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48620}
48621static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48622 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48623}
48624static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48625 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48626}
48627static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48628 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48629}
48630static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48631 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48632}
48633static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48634 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48635}
48636static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48638}
48639static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48640 return (void *)((wxObject *) ((wxContextHelp *) x));
48641}
5172800e
RD
48642static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48644}
1bd55598
RD
48645static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48647}
48648static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48649 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48650}
48651static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48652 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48653}
48654static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48655 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48656}
48657static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48658 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48659}
48660static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48661 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48662}
48663static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48664 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48665}
48666static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48667 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48668}
48669static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48670 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48671}
48672static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48673 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48674}
48675static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48676 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48677}
48678static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48679 return (void *)((wxObject *) ((wxImageHandler *) x));
48680}
48681static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48682 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48683}
48684static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48685 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48686}
580080c5
RD
48687static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48688 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48689}
1bd55598
RD
48690static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48691 return (void *)((wxObject *) ((wxEvtHandler *) x));
48692}
34e0a3bb
RD
48693static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48694 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48695}
1bd55598
RD
48696static void *_p_wxListEventTo_p_wxObject(void *x) {
48697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48698}
48699static void *_p_wxListBoxTo_p_wxObject(void *x) {
48700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48701}
48702static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48704}
48705static void *_p_wxButtonTo_p_wxObject(void *x) {
48706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48707}
48708static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48710}
48711static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48713}
48714static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48716}
1bd55598
RD
48717static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48718 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48719}
580080c5
RD
48720static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48721 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48722}
1bd55598
RD
48723static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48725}
48726static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48728}
48729static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
48731}
48732static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48734}
48735static void *_p_wxListItemTo_p_wxObject(void *x) {
48736 return (void *)((wxObject *) ((wxListItem *) x));
48737}
48738static void *_p_wxImageTo_p_wxObject(void *x) {
48739 return (void *)((wxObject *) ((wxImage *) x));
48740}
48741static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48742 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48743}
48744static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48746}
48747static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48748 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48749}
48750static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48752}
48753static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48755}
48756static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48758}
48759static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48761}
48762static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48764}
48765static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48767}
48768static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48770}
48771static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48772 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48773}
48774static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48775 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48776}
48777static void *_p_wxWindowTo_p_wxObject(void *x) {
48778 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48779}
48780static void *_p_wxMenuTo_p_wxObject(void *x) {
48781 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48782}
48783static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48785}
48786static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48787 return (void *)((wxObject *) ((wxFileSystem *) x));
48788}
5172800e
RD
48789static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48791}
1bd55598
RD
48792static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48794}
48795static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48796 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48797}
48798static void *_p_wxPyAppTo_p_wxObject(void *x) {
48799 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48800}
48801static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48802 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48803}
48804static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48805 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48806}
48807static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48808 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48809}
48810static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48811 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48812}
48813static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48815}
48816static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48818}
48819static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48820 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48821}
48822static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48824}
48825static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48826 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48827}
48828static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48829 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48830}
48831static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48833}
48834static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48836}
b850e7f3
RD
48837static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48839}
48840static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48842}
48843static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48845}
48846static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48848}
1bd55598
RD
48849static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48851}
704eda0c
RD
48852static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48854}
1bd55598
RD
48855static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48856 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48857}
48858static void *_p_wxToolBarTo_p_wxObject(void *x) {
48859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48860}
48861static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48862 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48863}
48864static void *_p_wxValidatorTo_p_wxObject(void *x) {
48865 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48866}
5172800e
RD
48867static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48868 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48869}
1bd55598
RD
48870static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48871 return (void *)((wxWindow *) ((wxMenuBar *) x));
48872}
48873static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48874 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48875}
48876static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48877 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48878}
b850e7f3
RD
48879static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48880 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48881}
1bd55598
RD
48882static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48883 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48884}
48885static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48886 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48887}
3f7f284d
RD
48888static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
48889 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48890}
1bd55598
RD
48891static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48892 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48893}
48894static void *_p_wxControlTo_p_wxWindow(void *x) {
48895 return (void *)((wxWindow *) ((wxControl *) x));
48896}
48897static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48898 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48899}
48900static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48901 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48902}
48903static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48904 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
48905}
48906static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48907 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48908}
48909static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48910 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48911}
48912static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48913 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48914}
48915static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48916 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48917}
48918static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48919 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48920}
48921static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48922 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48923}
48924static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48925 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48926}
48927static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48928 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48929}
48930static void *_p_wxListbookTo_p_wxWindow(void *x) {
48931 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48932}
704eda0c
RD
48933static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
48934 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
48935}
1bd55598
RD
48936static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
48937 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
48938}
48939static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
48940 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
48941}
48942static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
48943 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
48944}
48945static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
48946 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48947}
48948static void *_p_wxChoiceTo_p_wxWindow(void *x) {
48949 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48950}
48951static void *_p_wxListBoxTo_p_wxWindow(void *x) {
48952 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48953}
48954static void *_p_wxListViewTo_p_wxWindow(void *x) {
48955 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48956}
48957static void *_p_wxNotebookTo_p_wxWindow(void *x) {
48958 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48959}
48960static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
48961 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
48962}
48963static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
48964 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
48965}
48966static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
48967 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
48968}
48969static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
48970 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
48971}
48972static void *_p_wxSliderTo_p_wxWindow(void *x) {
48973 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
48974}
48975static void *_p_wxTreebookTo_p_wxWindow(void *x) {
48976 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48977}
48978static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
48979 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
48980}
48981static void *_p_wxButtonTo_p_wxWindow(void *x) {
48982 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
48983}
48984static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
48985 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
48986}
48987static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
48988 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48989}
48990static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
48991 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
48992}
b850e7f3
RD
48993static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
48994 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48995}
48996static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
48997 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48998}
48999static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49000 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49001}
49002static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49003 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49004}
1bd55598
RD
49005static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49006 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49007}
49008static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49009 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49010}
49011static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49012 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49013}
49014static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49015 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49016}
49017static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49018 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49019}
49020static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49021 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49022}
49023static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49024 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49025}
704eda0c
RD
49026static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49027 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49028}
2131d850
RD
49029static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49030 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49031}
b850e7f3
RD
49032static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49033 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49034}
49035static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49036 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49037}
49038static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49039 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49040}
1bd55598
RD
49041static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49042 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49043}
49044static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49045 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49046}
49047static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49048 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49049}
49050static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49051 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49052}
49053static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49054 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49055}
1bd55598
RD
49056static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49057 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49058}
2131d850
RD
49059static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49060 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49061}
1bd55598
RD
49062static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49063 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49064}
49065static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49066 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49067}
49068static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49069 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49070}
49071static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49072 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49073}
49074static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49075 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49076}
49077static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49078 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49079}
5172800e
RD
49080static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49081 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49082}
1bd55598
RD
49083static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49084 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49085}
49086static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49087 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49088}
49089static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49090 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49091}
49092static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49093 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49094}
49095static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49096 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49097}
49098static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49099 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49100}
49101static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49102 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49103}
49104static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49105 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49106}
49107static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49108 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49109}
49110static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49111 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49112}
49113static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49114 return (void *)((wxValidator *) ((wxPyValidator *) x));
49115}
49116static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49117static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49118static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
49119static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49120static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49121static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49122static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49123static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49124static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49125static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49126static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49127static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49128static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49129static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49130static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49131static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49132static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49133static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49134static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49135static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49136static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
5172800e
RD
49137static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49138static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
1bd55598 49139static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
49140static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49141static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
49142static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49143static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49144static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 49145static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598
RD
49146static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49147static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49148static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49149static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49150static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49151static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49152static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49153static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49154static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49155static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49156static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49157static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49158static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49159static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49160static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49161static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 49162static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
1bd55598
RD
49163static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49164static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49165static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49166static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49167static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49168static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49169static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49170static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 49171static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
49172static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49173static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49174static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49175static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49176static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49177static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
34e0a3bb 49178static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
1bd55598
RD
49179static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49180static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49181static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49182static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49183static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49184static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49185static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49186static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49187static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49188static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49189static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49190static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49191static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49192static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49193static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
b850e7f3
RD
49194static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49195static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
1bd55598 49196static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
49197static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49198static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
49199static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49200static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49201static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49202static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49203static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
49204static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49205static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
49206static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49207static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49208static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49209static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49210static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49211static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49212static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49213static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49214static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49215static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49216static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49217static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
3f7f284d 49218static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
1bd55598
RD
49219static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49220static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49221static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49222static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49223static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49224static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 49225static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 49226static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
49227static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49228static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49229static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49230static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49231static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49232static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49233static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49234static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49235static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49236static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
49237static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49238static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49239static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
3f7f284d 49240static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
5172800e 49241static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
49242static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49243static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49244static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49245static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 49246static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 49247static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
49248static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49249static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 49250static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598 49251static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 49252static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
1bd55598
RD
49253static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49254static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49255static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 49256static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
1bd55598
RD
49257static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49258static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49259static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49260static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49261static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49262static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49263static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49264static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49265static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
3f7f284d 49266static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
1bd55598
RD
49267static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49268static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49269static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49270static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49271static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49272static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49273static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49274static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49275static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49276static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49277static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49278static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49279static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49280static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49281static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49282static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49283static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49284static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49285static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49286static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
1bd55598
RD
49287static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49288static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49289static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49290static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49291static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49292static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49293static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 49294static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
1bd55598
RD
49295
49296static swig_type_info *swig_type_initial[] = {
49297 &_swigt__p_bool,
49298 &_swigt__p_char,
49299 &_swigt__p_form_ops_t,
49300 &_swigt__p_int,
49301 &_swigt__p_long,
49302 &_swigt__p_unsigned_char,
49303 &_swigt__p_unsigned_int,
49304 &_swigt__p_unsigned_long,
49305 &_swigt__p_void,
49306 &_swigt__p_wxANIHandler,
49307 &_swigt__p_wxAcceleratorTable,
49308 &_swigt__p_wxActivateEvent,
49309 &_swigt__p_wxArrayInt,
49310 &_swigt__p_wxArrayString,
49311 &_swigt__p_wxBMPHandler,
49312 &_swigt__p_wxBitmap,
49313 &_swigt__p_wxBitmapButton,
49314 &_swigt__p_wxBookCtrlBase,
49315 &_swigt__p_wxBookCtrlBaseEvent,
49316 &_swigt__p_wxBoxSizer,
49317 &_swigt__p_wxButton,
49318 &_swigt__p_wxCURHandler,
49319 &_swigt__p_wxCheckBox,
49320 &_swigt__p_wxCheckListBox,
49321 &_swigt__p_wxChildFocusEvent,
49322 &_swigt__p_wxChoice,
49323 &_swigt__p_wxChoicebook,
49324 &_swigt__p_wxChoicebookEvent,
2131d850 49325 &_swigt__p_wxClipboardTextEvent,
1bd55598 49326 &_swigt__p_wxCloseEvent,
5172800e
RD
49327 &_swigt__p_wxCollapsiblePane,
49328 &_swigt__p_wxCollapsiblePaneEvent,
1bd55598 49329 &_swigt__p_wxColour,
b850e7f3
RD
49330 &_swigt__p_wxColourPickerCtrl,
49331 &_swigt__p_wxColourPickerEvent,
1bd55598
RD
49332 &_swigt__p_wxComboBox,
49333 &_swigt__p_wxCommandEvent,
49334 &_swigt__p_wxContextHelp,
49335 &_swigt__p_wxContextHelpButton,
49336 &_swigt__p_wxContextMenuEvent,
49337 &_swigt__p_wxControl,
49338 &_swigt__p_wxControlWithItems,
49339 &_swigt__p_wxCursor,
49340 &_swigt__p_wxDC,
49341 &_swigt__p_wxDateEvent,
49342 &_swigt__p_wxDatePickerCtrl,
49343 &_swigt__p_wxDateTime,
49344 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 49345 &_swigt__p_wxDirPickerCtrl,
1bd55598
RD
49346 &_swigt__p_wxDisplayChangedEvent,
49347 &_swigt__p_wxDropFilesEvent,
49348 &_swigt__p_wxDuplexMode,
49349 &_swigt__p_wxEraseEvent,
49350 &_swigt__p_wxEvent,
49351 &_swigt__p_wxEvtHandler,
49352 &_swigt__p_wxFSFile,
b850e7f3
RD
49353 &_swigt__p_wxFileDirPickerEvent,
49354 &_swigt__p_wxFilePickerCtrl,
1bd55598
RD
49355 &_swigt__p_wxFileSystem,
49356 &_swigt__p_wxFlexGridSizer,
49357 &_swigt__p_wxFocusEvent,
49358 &_swigt__p_wxFont,
b850e7f3
RD
49359 &_swigt__p_wxFontPickerCtrl,
49360 &_swigt__p_wxFontPickerEvent,
1bd55598
RD
49361 &_swigt__p_wxGBSizerItem,
49362 &_swigt__p_wxGIFHandler,
49363 &_swigt__p_wxGauge,
49364 &_swigt__p_wxGenericDirCtrl,
49365 &_swigt__p_wxGenericDragImage,
49366 &_swigt__p_wxGridBagSizer,
49367 &_swigt__p_wxGridSizer,
49368 &_swigt__p_wxHelpEvent,
49369 &_swigt__p_wxHelpProvider,
704eda0c
RD
49370 &_swigt__p_wxHyperlinkCtrl,
49371 &_swigt__p_wxHyperlinkEvent,
1bd55598
RD
49372 &_swigt__p_wxICOHandler,
49373 &_swigt__p_wxIcon,
49374 &_swigt__p_wxIconizeEvent,
49375 &_swigt__p_wxIdleEvent,
49376 &_swigt__p_wxImage,
49377 &_swigt__p_wxImageHandler,
49378 &_swigt__p_wxImageList,
49379 &_swigt__p_wxIndividualLayoutConstraint,
49380 &_swigt__p_wxInitDialogEvent,
49381 &_swigt__p_wxItemContainer,
49382 &_swigt__p_wxJPEGHandler,
49383 &_swigt__p_wxKeyEvent,
49384 &_swigt__p_wxLayoutConstraints,
49385 &_swigt__p_wxListBox,
49386 &_swigt__p_wxListEvent,
49387 &_swigt__p_wxListItem,
49388 &_swigt__p_wxListItemAttr,
49389 &_swigt__p_wxListView,
49390 &_swigt__p_wxListbook,
49391 &_swigt__p_wxListbookEvent,
49392 &_swigt__p_wxMaximizeEvent,
49393 &_swigt__p_wxMemoryDC,
49394 &_swigt__p_wxMenu,
49395 &_swigt__p_wxMenuBar,
49396 &_swigt__p_wxMenuEvent,
49397 &_swigt__p_wxMenuItem,
49398 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 49399 &_swigt__p_wxMouseCaptureLostEvent,
1bd55598
RD
49400 &_swigt__p_wxMouseEvent,
49401 &_swigt__p_wxMoveEvent,
49402 &_swigt__p_wxNavigationKeyEvent,
49403 &_swigt__p_wxNcPaintEvent,
49404 &_swigt__p_wxNotebook,
49405 &_swigt__p_wxNotebookEvent,
49406 &_swigt__p_wxNotifyEvent,
49407 &_swigt__p_wxObject,
49408 &_swigt__p_wxPCXHandler,
49409 &_swigt__p_wxPNGHandler,
49410 &_swigt__p_wxPNMHandler,
49411 &_swigt__p_wxPaintEvent,
49412 &_swigt__p_wxPaletteChangedEvent,
49413 &_swigt__p_wxPaperSize,
b850e7f3 49414 &_swigt__p_wxPickerBase,
1bd55598
RD
49415 &_swigt__p_wxPoint,
49416 &_swigt__p_wxPyApp,
49417 &_swigt__p_wxPyCommandEvent,
49418 &_swigt__p_wxPyControl,
49419 &_swigt__p_wxPyEvent,
49420 &_swigt__p_wxPyImageHandler,
49421 &_swigt__p_wxPyListCtrl,
49422 &_swigt__p_wxPySizer,
49423 &_swigt__p_wxPyTreeCtrl,
49424 &_swigt__p_wxPyTreeItemData,
49425 &_swigt__p_wxPyValidator,
49426 &_swigt__p_wxQueryNewPaletteEvent,
49427 &_swigt__p_wxRadioBox,
49428 &_swigt__p_wxRadioButton,
49429 &_swigt__p_wxRect,
49430 &_swigt__p_wxScrollBar,
49431 &_swigt__p_wxScrollEvent,
49432 &_swigt__p_wxScrollWinEvent,
3f7f284d 49433 &_swigt__p_wxSearchCtrl,
1bd55598
RD
49434 &_swigt__p_wxSetCursorEvent,
49435 &_swigt__p_wxShowEvent,
49436 &_swigt__p_wxSimpleHelpProvider,
49437 &_swigt__p_wxSize,
49438 &_swigt__p_wxSizeEvent,
49439 &_swigt__p_wxSizer,
49440 &_swigt__p_wxSizerItem,
49441 &_swigt__p_wxSlider,
49442 &_swigt__p_wxSpinButton,
49443 &_swigt__p_wxSpinCtrl,
49444 &_swigt__p_wxSpinEvent,
49445 &_swigt__p_wxStaticBitmap,
49446 &_swigt__p_wxStaticBox,
49447 &_swigt__p_wxStaticBoxSizer,
49448 &_swigt__p_wxStaticLine,
49449 &_swigt__p_wxStaticText,
49450 &_swigt__p_wxStdDialogButtonSizer,
49451 &_swigt__p_wxString,
49452 &_swigt__p_wxSysColourChangedEvent,
580080c5 49453 &_swigt__p_wxTGAHandler,
1bd55598
RD
49454 &_swigt__p_wxTIFFHandler,
49455 &_swigt__p_wxTextAttr,
49456 &_swigt__p_wxTextCtrl,
49457 &_swigt__p_wxTextUrlEvent,
49458 &_swigt__p_wxToggleButton,
49459 &_swigt__p_wxToolBar,
49460 &_swigt__p_wxToolBarBase,
49461 &_swigt__p_wxToolBarToolBase,
49462 &_swigt__p_wxToolbook,
49463 &_swigt__p_wxToolbookEvent,
1bd55598
RD
49464 &_swigt__p_wxTreeEvent,
49465 &_swigt__p_wxTreeItemId,
49466 &_swigt__p_wxTreebook,
49467 &_swigt__p_wxTreebookEvent,
49468 &_swigt__p_wxUpdateUIEvent,
49469 &_swigt__p_wxValidator,
49470 &_swigt__p_wxVisualAttributes,
49471 &_swigt__p_wxWindow,
b850e7f3 49472 &_swigt__p_wxWindowBase,
1bd55598
RD
49473 &_swigt__p_wxWindowCreateEvent,
49474 &_swigt__p_wxWindowDestroyEvent,
49475 &_swigt__p_wxXPMHandler,
49476};
49477
49478static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49479static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49480static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49481static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49482static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49483static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49484static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49485static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49486static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49487static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49488static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49489static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49490static 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}};
49491static 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}};
49492static 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}};
49493static 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}};
49494static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49495static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49496static 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}};
49497static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49498static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e
RD
49499static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49500static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 49501static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49502static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49503static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49504static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49505static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49506static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49507static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49508static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49509static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49510static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49511static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49512static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49513static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49514static 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
49515static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49516static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49517static 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_wxSearchCtrl, _p_wxSearchCtrlTo_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
49518static 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}};
49519static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49520static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49521static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49522static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49523static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49524static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49525static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49526static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49527static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49528static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49529static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49530static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49531static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49532static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49533static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49534static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49535static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49536static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49537static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49538static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49539static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49540static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49541static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49542static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49543static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49544static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49545static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49546static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49547static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49548static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49549static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49550static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49551static 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
49552static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49553static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49554static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49555static 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_wxSearchCtrl, _p_wxSearchCtrlTo_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
49556static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49557static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 49558static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49559static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49560static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49561static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49562static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49563static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49564static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49565static 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
49566static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49567static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49568static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49569static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49570static 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}};
49571static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49572static 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}};
49573static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49574static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49575static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49576static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49577static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49578static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49579static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49580static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49581static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49582static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49583static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49584static 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}};
49585static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 49586static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49587static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49588static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49589static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49590static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49591static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49592static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49593static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49594static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49595static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49596static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49597static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49598static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49599static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49600static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49601static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49602static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49603static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49604static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49605static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49606static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 49607static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49608static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49609static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49610static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49611static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
1bd55598 49612static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49613static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49614static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49615static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49616static 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_wxSearchCtrl, _p_wxSearchCtrlTo_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_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_wxGIFHandler, _p_wxGIFHandlerTo_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_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_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 49617static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49618static 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
49619static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49620static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49621static 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}};
49622static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49623static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49624static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49625static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49626static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49627static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49628static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49629static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49630static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49631static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49632static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49633static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49634static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49635static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49636static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49637static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49638static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49639static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49640static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49641static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49642static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49643static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49644static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49645static 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}};
49646static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49647static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49648static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49649static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49650static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49651static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49652static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49653static 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}};
49654static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49655static 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_wxSearchCtrl, _p_wxSearchCtrlTo_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 49656static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
1bd55598
RD
49657
49658static swig_cast_info *swig_cast_initial[] = {
49659 _swigc__p_bool,
49660 _swigc__p_char,
49661 _swigc__p_form_ops_t,
49662 _swigc__p_int,
49663 _swigc__p_long,
49664 _swigc__p_unsigned_char,
49665 _swigc__p_unsigned_int,
49666 _swigc__p_unsigned_long,
49667 _swigc__p_void,
49668 _swigc__p_wxANIHandler,
49669 _swigc__p_wxAcceleratorTable,
49670 _swigc__p_wxActivateEvent,
49671 _swigc__p_wxArrayInt,
49672 _swigc__p_wxArrayString,
49673 _swigc__p_wxBMPHandler,
49674 _swigc__p_wxBitmap,
49675 _swigc__p_wxBitmapButton,
49676 _swigc__p_wxBookCtrlBase,
49677 _swigc__p_wxBookCtrlBaseEvent,
49678 _swigc__p_wxBoxSizer,
49679 _swigc__p_wxButton,
49680 _swigc__p_wxCURHandler,
49681 _swigc__p_wxCheckBox,
49682 _swigc__p_wxCheckListBox,
49683 _swigc__p_wxChildFocusEvent,
49684 _swigc__p_wxChoice,
49685 _swigc__p_wxChoicebook,
49686 _swigc__p_wxChoicebookEvent,
2131d850 49687 _swigc__p_wxClipboardTextEvent,
1bd55598 49688 _swigc__p_wxCloseEvent,
5172800e
RD
49689 _swigc__p_wxCollapsiblePane,
49690 _swigc__p_wxCollapsiblePaneEvent,
1bd55598 49691 _swigc__p_wxColour,
b850e7f3
RD
49692 _swigc__p_wxColourPickerCtrl,
49693 _swigc__p_wxColourPickerEvent,
1bd55598
RD
49694 _swigc__p_wxComboBox,
49695 _swigc__p_wxCommandEvent,
49696 _swigc__p_wxContextHelp,
49697 _swigc__p_wxContextHelpButton,
49698 _swigc__p_wxContextMenuEvent,
49699 _swigc__p_wxControl,
49700 _swigc__p_wxControlWithItems,
49701 _swigc__p_wxCursor,
49702 _swigc__p_wxDC,
49703 _swigc__p_wxDateEvent,
49704 _swigc__p_wxDatePickerCtrl,
49705 _swigc__p_wxDateTime,
49706 _swigc__p_wxDirFilterListCtrl,
b850e7f3 49707 _swigc__p_wxDirPickerCtrl,
1bd55598
RD
49708 _swigc__p_wxDisplayChangedEvent,
49709 _swigc__p_wxDropFilesEvent,
49710 _swigc__p_wxDuplexMode,
49711 _swigc__p_wxEraseEvent,
49712 _swigc__p_wxEvent,
49713 _swigc__p_wxEvtHandler,
49714 _swigc__p_wxFSFile,
b850e7f3
RD
49715 _swigc__p_wxFileDirPickerEvent,
49716 _swigc__p_wxFilePickerCtrl,
1bd55598
RD
49717 _swigc__p_wxFileSystem,
49718 _swigc__p_wxFlexGridSizer,
49719 _swigc__p_wxFocusEvent,
49720 _swigc__p_wxFont,
b850e7f3
RD
49721 _swigc__p_wxFontPickerCtrl,
49722 _swigc__p_wxFontPickerEvent,
1bd55598
RD
49723 _swigc__p_wxGBSizerItem,
49724 _swigc__p_wxGIFHandler,
49725 _swigc__p_wxGauge,
49726 _swigc__p_wxGenericDirCtrl,
49727 _swigc__p_wxGenericDragImage,
49728 _swigc__p_wxGridBagSizer,
49729 _swigc__p_wxGridSizer,
49730 _swigc__p_wxHelpEvent,
49731 _swigc__p_wxHelpProvider,
704eda0c
RD
49732 _swigc__p_wxHyperlinkCtrl,
49733 _swigc__p_wxHyperlinkEvent,
1bd55598
RD
49734 _swigc__p_wxICOHandler,
49735 _swigc__p_wxIcon,
49736 _swigc__p_wxIconizeEvent,
49737 _swigc__p_wxIdleEvent,
49738 _swigc__p_wxImage,
49739 _swigc__p_wxImageHandler,
49740 _swigc__p_wxImageList,
49741 _swigc__p_wxIndividualLayoutConstraint,
49742 _swigc__p_wxInitDialogEvent,
49743 _swigc__p_wxItemContainer,
49744 _swigc__p_wxJPEGHandler,
49745 _swigc__p_wxKeyEvent,
49746 _swigc__p_wxLayoutConstraints,
49747 _swigc__p_wxListBox,
49748 _swigc__p_wxListEvent,
49749 _swigc__p_wxListItem,
49750 _swigc__p_wxListItemAttr,
49751 _swigc__p_wxListView,
49752 _swigc__p_wxListbook,
49753 _swigc__p_wxListbookEvent,
49754 _swigc__p_wxMaximizeEvent,
49755 _swigc__p_wxMemoryDC,
49756 _swigc__p_wxMenu,
49757 _swigc__p_wxMenuBar,
49758 _swigc__p_wxMenuEvent,
49759 _swigc__p_wxMenuItem,
49760 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 49761 _swigc__p_wxMouseCaptureLostEvent,
1bd55598
RD
49762 _swigc__p_wxMouseEvent,
49763 _swigc__p_wxMoveEvent,
49764 _swigc__p_wxNavigationKeyEvent,
49765 _swigc__p_wxNcPaintEvent,
49766 _swigc__p_wxNotebook,
49767 _swigc__p_wxNotebookEvent,
49768 _swigc__p_wxNotifyEvent,
49769 _swigc__p_wxObject,
49770 _swigc__p_wxPCXHandler,
49771 _swigc__p_wxPNGHandler,
49772 _swigc__p_wxPNMHandler,
49773 _swigc__p_wxPaintEvent,
49774 _swigc__p_wxPaletteChangedEvent,
49775 _swigc__p_wxPaperSize,
b850e7f3 49776 _swigc__p_wxPickerBase,
1bd55598
RD
49777 _swigc__p_wxPoint,
49778 _swigc__p_wxPyApp,
49779 _swigc__p_wxPyCommandEvent,
49780 _swigc__p_wxPyControl,
49781 _swigc__p_wxPyEvent,
49782 _swigc__p_wxPyImageHandler,
49783 _swigc__p_wxPyListCtrl,
49784 _swigc__p_wxPySizer,
49785 _swigc__p_wxPyTreeCtrl,
49786 _swigc__p_wxPyTreeItemData,
49787 _swigc__p_wxPyValidator,
49788 _swigc__p_wxQueryNewPaletteEvent,
49789 _swigc__p_wxRadioBox,
49790 _swigc__p_wxRadioButton,
49791 _swigc__p_wxRect,
49792 _swigc__p_wxScrollBar,
49793 _swigc__p_wxScrollEvent,
49794 _swigc__p_wxScrollWinEvent,
3f7f284d 49795 _swigc__p_wxSearchCtrl,
1bd55598
RD
49796 _swigc__p_wxSetCursorEvent,
49797 _swigc__p_wxShowEvent,
49798 _swigc__p_wxSimpleHelpProvider,
49799 _swigc__p_wxSize,
49800 _swigc__p_wxSizeEvent,
49801 _swigc__p_wxSizer,
49802 _swigc__p_wxSizerItem,
49803 _swigc__p_wxSlider,
49804 _swigc__p_wxSpinButton,
49805 _swigc__p_wxSpinCtrl,
49806 _swigc__p_wxSpinEvent,
49807 _swigc__p_wxStaticBitmap,
49808 _swigc__p_wxStaticBox,
49809 _swigc__p_wxStaticBoxSizer,
49810 _swigc__p_wxStaticLine,
49811 _swigc__p_wxStaticText,
49812 _swigc__p_wxStdDialogButtonSizer,
49813 _swigc__p_wxString,
49814 _swigc__p_wxSysColourChangedEvent,
580080c5 49815 _swigc__p_wxTGAHandler,
1bd55598
RD
49816 _swigc__p_wxTIFFHandler,
49817 _swigc__p_wxTextAttr,
49818 _swigc__p_wxTextCtrl,
49819 _swigc__p_wxTextUrlEvent,
49820 _swigc__p_wxToggleButton,
49821 _swigc__p_wxToolBar,
49822 _swigc__p_wxToolBarBase,
49823 _swigc__p_wxToolBarToolBase,
49824 _swigc__p_wxToolbook,
49825 _swigc__p_wxToolbookEvent,
1bd55598
RD
49826 _swigc__p_wxTreeEvent,
49827 _swigc__p_wxTreeItemId,
49828 _swigc__p_wxTreebook,
49829 _swigc__p_wxTreebookEvent,
49830 _swigc__p_wxUpdateUIEvent,
49831 _swigc__p_wxValidator,
49832 _swigc__p_wxVisualAttributes,
49833 _swigc__p_wxWindow,
b850e7f3 49834 _swigc__p_wxWindowBase,
1bd55598
RD
49835 _swigc__p_wxWindowCreateEvent,
49836 _swigc__p_wxWindowDestroyEvent,
49837 _swigc__p_wxXPMHandler,
49838};
49839
49840
49841/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49842
49843static swig_const_info swig_const_table[] = {
49844{0, 0, 0, 0.0, 0, 0}};
49845
49846#ifdef __cplusplus
49847}
49848#endif
49849/* -----------------------------------------------------------------------------
49850 * Type initialization:
49851 * This problem is tough by the requirement that no dynamic
49852 * memory is used. Also, since swig_type_info structures store pointers to
49853 * swig_cast_info structures and swig_cast_info structures store pointers back
49854 * to swig_type_info structures, we need some lookup code at initialization.
49855 * The idea is that swig generates all the structures that are needed.
49856 * The runtime then collects these partially filled structures.
49857 * The SWIG_InitializeModule function takes these initial arrays out of
49858 * swig_module, and does all the lookup, filling in the swig_module.types
49859 * array with the correct data and linking the correct swig_cast_info
49860 * structures together.
49861 *
49862 * The generated swig_type_info structures are assigned staticly to an initial
49863 * array. We just loop though that array, and handle each type individually.
49864 * First we lookup if this type has been already loaded, and if so, use the
49865 * loaded structure instead of the generated one. Then we have to fill in the
49866 * cast linked list. The cast data is initially stored in something like a
49867 * two-dimensional array. Each row corresponds to a type (there are the same
49868 * number of rows as there are in the swig_type_initial array). Each entry in
49869 * a column is one of the swig_cast_info structures for that type.
49870 * The cast_initial array is actually an array of arrays, because each row has
49871 * a variable number of columns. So to actually build the cast linked list,
49872 * we find the array of casts associated with the type, and loop through it
49873 * adding the casts to the list. The one last trick we need to do is making
49874 * sure the type pointer in the swig_cast_info struct is correct.
49875 *
49876 * First off, we lookup the cast->type name to see if it is already loaded.
49877 * There are three cases to handle:
49878 * 1) If the cast->type has already been loaded AND the type we are adding
49879 * casting info to has not been loaded (it is in this module), THEN we
49880 * replace the cast->type pointer with the type pointer that has already
49881 * been loaded.
49882 * 2) If BOTH types (the one we are adding casting info to, and the
49883 * cast->type) are loaded, THEN the cast info has already been loaded by
49884 * the previous module so we just ignore it.
49885 * 3) Finally, if cast->type has not already been loaded, then we add that
49886 * swig_cast_info to the linked list (because the cast->type) pointer will
49887 * be correct.
49888 * ----------------------------------------------------------------------------- */
49889
49890#ifdef __cplusplus
49891extern "C" {
49892#if 0
49893} /* c-mode */
49894#endif
49895#endif
49896
49897#if 0
49898#define SWIGRUNTIME_DEBUG
49899#endif
49900
49901SWIGRUNTIME void
49902SWIG_InitializeModule(void *clientdata) {
49903 size_t i;
49904 swig_module_info *module_head;
49905 static int init_run = 0;
49906
49907 clientdata = clientdata;
49908
49909 if (init_run) return;
49910 init_run = 1;
49911
49912 /* Initialize the swig_module */
49913 swig_module.type_initial = swig_type_initial;
49914 swig_module.cast_initial = swig_cast_initial;
49915
49916 /* Try and load any already created modules */
49917 module_head = SWIG_GetModule(clientdata);
49918 if (module_head) {
49919 swig_module.next = module_head->next;
49920 module_head->next = &swig_module;
49921 } else {
49922 /* This is the first module loaded */
49923 swig_module.next = &swig_module;
49924 SWIG_SetModule(clientdata, &swig_module);
49925 }
49926
49927 /* Now work on filling in swig_module.types */
49928#ifdef SWIGRUNTIME_DEBUG
49929 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
49930#endif
49931 for (i = 0; i < swig_module.size; ++i) {
49932 swig_type_info *type = 0;
49933 swig_type_info *ret;
49934 swig_cast_info *cast;
d55e5bfc 49935
1bd55598
RD
49936#ifdef SWIGRUNTIME_DEBUG
49937 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49938#endif
d55e5bfc 49939
1bd55598
RD
49940 /* if there is another module already loaded */
49941 if (swig_module.next != &swig_module) {
49942 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 49943 }
1bd55598
RD
49944 if (type) {
49945 /* Overwrite clientdata field */
49946#ifdef SWIGRUNTIME_DEBUG
49947 printf("SWIG_InitializeModule: found type %s\n", type->name);
49948#endif
49949 if (swig_module.type_initial[i]->clientdata) {
49950 type->clientdata = swig_module.type_initial[i]->clientdata;
49951#ifdef SWIGRUNTIME_DEBUG
49952 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
49953#endif
49954 }
49955 } else {
49956 type = swig_module.type_initial[i];
36ed4f51 49957 }
d55e5bfc 49958
1bd55598
RD
49959 /* Insert casting types */
49960 cast = swig_module.cast_initial[i];
49961 while (cast->type) {
49962 /* Don't need to add information already in the list */
49963 ret = 0;
49964#ifdef SWIGRUNTIME_DEBUG
49965 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
49966#endif
49967 if (swig_module.next != &swig_module) {
49968 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
49969#ifdef SWIGRUNTIME_DEBUG
49970 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
49971#endif
49972 }
49973 if (ret) {
49974 if (type == swig_module.type_initial[i]) {
49975#ifdef SWIGRUNTIME_DEBUG
49976 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
49977#endif
49978 cast->type = ret;
49979 ret = 0;
49980 } else {
49981 /* Check for casting already in the list */
49982 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
49983#ifdef SWIGRUNTIME_DEBUG
49984 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
49985#endif
49986 if (!ocast) ret = 0;
49987 }
49988 }
49989
49990 if (!ret) {
49991#ifdef SWIGRUNTIME_DEBUG
49992 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
49993#endif
49994 if (type->cast) {
49995 type->cast->prev = cast;
49996 cast->next = type->cast;
49997 }
49998 type->cast = cast;
49999 }
50000 cast++;
36ed4f51 50001 }
1bd55598
RD
50002 /* Set entry in modules->types array equal to the type */
50003 swig_module.types[i] = type;
50004 }
50005 swig_module.types[i] = 0;
50006
50007#ifdef SWIGRUNTIME_DEBUG
50008 printf("**** SWIG_InitializeModule: Cast List ******\n");
50009 for (i = 0; i < swig_module.size; ++i) {
50010 int j = 0;
50011 swig_cast_info *cast = swig_module.cast_initial[i];
50012 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50013 while (cast->type) {
50014 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50015 cast++;
50016 ++j;
50017 }
50018 printf("---- Total casts: %d\n",j);
50019 }
50020 printf("**** SWIG_InitializeModule: Cast List ******\n");
50021#endif
50022}
50023
50024/* This function will propagate the clientdata field of type to
50025* any new swig_type_info structures that have been added into the list
50026* of equivalent types. It is like calling
50027* SWIG_TypeClientData(type, clientdata) a second time.
50028*/
50029SWIGRUNTIME void
50030SWIG_PropagateClientData(void) {
50031 size_t i;
50032 swig_cast_info *equiv;
50033 static int init_run = 0;
50034
50035 if (init_run) return;
50036 init_run = 1;
50037
50038 for (i = 0; i < swig_module.size; i++) {
50039 if (swig_module.types[i]->clientdata) {
50040 equiv = swig_module.types[i]->cast;
50041 while (equiv) {
50042 if (!equiv->converter) {
50043 if (equiv->type && !equiv->type->clientdata)
50044 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50045 }
50046 equiv = equiv->next;
50047 }
36ed4f51 50048 }
1bd55598
RD
50049 }
50050}
50051
50052#ifdef __cplusplus
50053#if 0
50054{
50055 /* c-mode */
50056#endif
50057}
50058#endif
50059
50060
50061
50062#ifdef __cplusplus
50063extern "C" {
50064#endif
50065
50066 /* Python-specific SWIG API */
50067#define SWIG_newvarlink() SWIG_Python_newvarlink()
50068#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50069#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50070
50071 /* -----------------------------------------------------------------------------
50072 * global variable support code.
50073 * ----------------------------------------------------------------------------- */
50074
50075 typedef struct swig_globalvar {
50076 char *name; /* Name of global variable */
50077 PyObject *(*get_attr)(void); /* Return the current value */
50078 int (*set_attr)(PyObject *); /* Set the value */
50079 struct swig_globalvar *next;
50080 } swig_globalvar;
50081
50082 typedef struct swig_varlinkobject {
50083 PyObject_HEAD
50084 swig_globalvar *vars;
50085 } swig_varlinkobject;
50086
50087 SWIGINTERN PyObject *
50088 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50089 return PyString_FromString("<Swig global variables>");
50090 }
50091
50092 SWIGINTERN PyObject *
50093 swig_varlink_str(swig_varlinkobject *v) {
50094 PyObject *str = PyString_FromString("(");
50095 swig_globalvar *var;
50096 for (var = v->vars; var; var=var->next) {
50097 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50098 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50099 }
50100 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50101 return str;
50102 }
50103
50104 SWIGINTERN int
50105 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50106 PyObject *str = swig_varlink_str(v);
50107 fprintf(fp,"Swig global variables ");
50108 fprintf(fp,"%s\n", PyString_AsString(str));
50109 Py_DECREF(str);
50110 return 0;
50111 }
50112
50113 SWIGINTERN void
50114 swig_varlink_dealloc(swig_varlinkobject *v) {
50115 swig_globalvar *var = v->vars;
50116 while (var) {
50117 swig_globalvar *n = var->next;
50118 free(var->name);
50119 free(var);
50120 var = n;
36ed4f51 50121 }
1bd55598
RD
50122 }
50123
50124 SWIGINTERN PyObject *
50125 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50126 PyObject *res = NULL;
50127 swig_globalvar *var = v->vars;
50128 while (var) {
50129 if (strcmp(var->name,n) == 0) {
50130 res = (*var->get_attr)();
50131 break;
50132 }
50133 var = var->next;
36ed4f51 50134 }
1bd55598
RD
50135 if (res == NULL && !PyErr_Occurred()) {
50136 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 50137 }
1bd55598
RD
50138 return res;
50139 }
50140
50141 SWIGINTERN int
50142 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50143 int res = 1;
50144 swig_globalvar *var = v->vars;
50145 while (var) {
50146 if (strcmp(var->name,n) == 0) {
50147 res = (*var->set_attr)(p);
50148 break;
50149 }
50150 var = var->next;
36ed4f51 50151 }
1bd55598
RD
50152 if (res == 1 && !PyErr_Occurred()) {
50153 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 50154 }
1bd55598
RD
50155 return res;
50156 }
50157
50158 SWIGINTERN PyTypeObject*
50159 swig_varlink_type(void) {
50160 static char varlink__doc__[] = "Swig var link object";
50161 static PyTypeObject varlink_type;
50162 static int type_init = 0;
50163 if (!type_init) {
50164 const PyTypeObject tmp
50165 = {
50166 PyObject_HEAD_INIT(NULL)
50167 0, /* Number of items in variable part (ob_size) */
50168 (char *)"swigvarlink", /* Type name (tp_name) */
50169 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50170 0, /* Itemsize (tp_itemsize) */
50171 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50172 (printfunc) swig_varlink_print, /* Print (tp_print) */
50173 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50174 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50175 0, /* tp_compare */
50176 (reprfunc) swig_varlink_repr, /* tp_repr */
50177 0, /* tp_as_number */
50178 0, /* tp_as_sequence */
50179 0, /* tp_as_mapping */
50180 0, /* tp_hash */
50181 0, /* tp_call */
50182 (reprfunc)swig_varlink_str, /* tp_str */
50183 0, /* tp_getattro */
50184 0, /* tp_setattro */
50185 0, /* tp_as_buffer */
50186 0, /* tp_flags */
50187 varlink__doc__, /* tp_doc */
50188 0, /* tp_traverse */
50189 0, /* tp_clear */
50190 0, /* tp_richcompare */
50191 0, /* tp_weaklistoffset */
50192#if PY_VERSION_HEX >= 0x02020000
50193 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50194#endif
50195#if PY_VERSION_HEX >= 0x02030000
50196 0, /* tp_del */
50197#endif
50198#ifdef COUNT_ALLOCS
50199 0,0,0,0 /* tp_alloc -> tp_next */
50200#endif
50201 };
50202 varlink_type = tmp;
50203 varlink_type.ob_type = &PyType_Type;
50204 type_init = 1;
53aa7709 50205 }
1bd55598
RD
50206 return &varlink_type;
50207 }
50208
50209 /* Create a variable linking object for use later */
50210 SWIGINTERN PyObject *
50211 SWIG_Python_newvarlink(void) {
50212 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50213 if (result) {
50214 result->vars = 0;
50215 }
50216 return ((PyObject*) result);
50217 }
50218
50219 SWIGINTERN void
50220 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50221 swig_varlinkobject *v = (swig_varlinkobject *) p;
50222 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50223 if (gv) {
50224 size_t size = strlen(name)+1;
50225 gv->name = (char *)malloc(size);
50226 if (gv->name) {
50227 strncpy(gv->name,name,size);
50228 gv->get_attr = get_attr;
50229 gv->set_attr = set_attr;
50230 gv->next = v->vars;
50231 }
53aa7709 50232 }
1bd55598
RD
50233 v->vars = gv;
50234 }
50235
50236 SWIGINTERN PyObject *
50237 SWIG_globals() {
50238 static PyObject *_SWIG_globals = 0;
50239 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50240 return _SWIG_globals;
50241 }
50242
50243 /* -----------------------------------------------------------------------------
50244 * constants/methods manipulation
50245 * ----------------------------------------------------------------------------- */
50246
50247 /* Install Constants */
50248 SWIGINTERN void
50249 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50250 PyObject *obj = 0;
50251 size_t i;
50252 for (i = 0; constants[i].type; ++i) {
50253 switch(constants[i].type) {
50254 case SWIG_PY_POINTER:
50255 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50256 break;
50257 case SWIG_PY_BINARY:
50258 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50259 break;
50260 default:
50261 obj = 0;
50262 break;
50263 }
50264 if (obj) {
50265 PyDict_SetItemString(d, constants[i].name, obj);
50266 Py_DECREF(obj);
50267 }
53aa7709 50268 }
1bd55598
RD
50269 }
50270
50271 /* -----------------------------------------------------------------------------*/
50272 /* Fix SwigMethods to carry the callback ptrs when needed */
50273 /* -----------------------------------------------------------------------------*/
50274
50275 SWIGINTERN void
50276 SWIG_Python_FixMethods(PyMethodDef *methods,
50277 swig_const_info *const_table,
50278 swig_type_info **types,
50279 swig_type_info **types_initial) {
50280 size_t i;
50281 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 50282 const char *c = methods[i].ml_doc;
1bd55598
RD
50283 if (c && (c = strstr(c, "swig_ptr: "))) {
50284 int j;
50285 swig_const_info *ci = 0;
3d6c9062 50286 const char *name = c + 10;
1bd55598
RD
50287 for (j = 0; const_table[j].type; ++j) {
50288 if (strncmp(const_table[j].name, name,
50289 strlen(const_table[j].name)) == 0) {
50290 ci = &(const_table[j]);
50291 break;
50292 }
50293 }
50294 if (ci) {
50295 size_t shift = (ci->ptype) - types;
50296 swig_type_info *ty = types_initial[shift];
50297 size_t ldoc = (c - methods[i].ml_doc);
50298 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50299 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50300 if (ndoc) {
50301 char *buff = ndoc;
50302 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50303 if (ptr) {
50304 strncpy(buff, methods[i].ml_doc, ldoc);
50305 buff += ldoc;
50306 strncpy(buff, "swig_ptr: ", 10);
50307 buff += 10;
50308 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50309 methods[i].ml_doc = ndoc;
50310 }
50311 }
50312 }
50313 }
53aa7709 50314 }
1bd55598
RD
50315 }
50316
50317#ifdef __cplusplus
50318}
50319#endif
50320
50321/* -----------------------------------------------------------------------------*
50322 * Partial Init method
50323 * -----------------------------------------------------------------------------*/
50324
50325#ifdef __cplusplus
50326extern "C"
50327#endif
50328SWIGEXPORT void SWIG_init(void) {
50329 PyObject *m, *d;
50330
50331 /* Fix SwigMethods to carry the callback ptrs when needed */
50332 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50333
50334 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50335 d = PyModule_GetDict(m);
50336
50337 SWIG_InitializeModule(0);
50338 SWIG_InstallConstants(d,swig_const_table);
50339
50340
50341 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50342 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50343 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50344 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50345 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50346 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50347 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50348 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50349 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50350 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50351 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50352 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50353 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50354 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50355 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50356 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50357 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50358 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50359 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50360 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50361 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50362 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
1bd55598
RD
50363 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50364 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50365 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
3f7f284d 50366 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
1bd55598
RD
50367 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50368 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50369 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50370 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50371 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50372 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50373 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50374 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50375 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50376 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50377 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50378 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50379 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50380 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50381 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50382 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50383 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50384 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50385 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50386 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
1bd55598
RD
50387 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50388 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50389 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50390 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50391 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50392 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50393 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50394 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50395 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50396 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50397 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50398 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50399 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50400 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50401 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50402 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50403 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50404 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50405 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50406 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50407 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50408 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50409 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50410 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50411 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50412 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50413 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 50414 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
1bd55598
RD
50415 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50416 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50417 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50418 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50419 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50420 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50421 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50422 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50423 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50424 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50425 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50426 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50427 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50428 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50429 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50430 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50431 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50432 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50433 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50434 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50435 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50436 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50437 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50438 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50439 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50440 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50441 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50442 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50443 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50444 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50445 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50446 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50447 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50448 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50449 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50450 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 50451 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
50452 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50453 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50454 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50455 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50456 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
1bd55598
RD
50457 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50458 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50459 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50460 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50461 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50462 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50463 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50464 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50465 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50466 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50467 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 50468 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
1bd55598
RD
50469 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50470 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50471 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50472 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50473 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50474 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50475 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50476 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50477 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50478 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50479 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50480 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50481 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50482 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50483 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50484 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50485 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50486 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50487 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50488 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50489 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50490 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50491 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50492 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50493 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50494 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50495 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50496 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50497 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
50498 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50499 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50500 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50501 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
1bd55598
RD
50502 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50503 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50504 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50505 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50506 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50507 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50508 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50509 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50510 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 50511 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
1bd55598
RD
50512 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50513 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50514 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50515 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50516 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50517 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50518 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50519 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50520 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50521 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50522 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50523 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50524 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50525 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50526 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50527 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50528 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50529 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50530 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50531 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50532 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50533 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50534 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50535 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50536 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50537 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50538 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50539 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50540 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50541 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50542 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50543 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50544 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50545 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50546 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50547 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50548 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50549 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50550 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50551 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50552 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50553 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50554 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50555 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50556 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50557 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50558 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 50559 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
1bd55598
RD
50560 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50561 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50562 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50563 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50564 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50565 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50566 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50567 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50568 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50569 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50570 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50571 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50572 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50573 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50574 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50575 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50576 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50577 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50578 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50579 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50580 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50581 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50582 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50583 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50584 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50585 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50586 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50587 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50588 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50589 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50590 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50591 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50592 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50593 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50594 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50595 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50596 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50597 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50598 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50599 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50600 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50601 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50602
50603 // Map renamed classes back to their common name for OOR
50604 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50605
50606 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50607 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50608 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50609 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50610 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50611 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50612 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50613 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50614 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50615 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50616 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50617 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50618 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50619 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50620 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
1bd55598
RD
50621 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50622 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50623 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50624 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50625 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50626 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50627 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50628 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50629 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50630 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50631 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50632 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50633 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50634 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50635 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50636 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50637 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50638 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50639 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50640 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50641 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50642 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50643 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50644 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50645 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50646 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50647 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50648 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50649 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50650 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50651 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50652 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50653 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50654 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50655 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50656 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50657 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50658 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50659 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50660 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 50661 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
1bd55598
RD
50662
50663 // Map renamed classes back to their common name for OOR
50664 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50665 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50666
50667 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50668 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50669 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50670 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50671 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50672 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
1bd55598
RD
50673 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50674 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
50675 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50676 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50677 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
1bd55598
RD
50678
50679 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50680
50681 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50682 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50683 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50684 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50685 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50686 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
50687 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50688 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
50689 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50690 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50691 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
50692 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50693 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
50694 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50695 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50696 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50697 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50698 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50699 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50700 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50701 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50702 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50703 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50704 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50705 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50706 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50707 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50708 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50709 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50710 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50711 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50712 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50713 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50714 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50715 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50716 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50717 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50718 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50719 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50720 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50721 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50722 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50723 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
5172800e
RD
50724 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50725 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50726 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50727 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
3f7f284d 50728 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
4ed51f4d
RD
50729 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN));
50730 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN));
d55e5bfc
RD
50731}
50732