]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Docstring fixes
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d55e5bfc 47
7449af73
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
554f62e9
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
554f62e9
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
7449af73
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
554f62e9
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
7449af73
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
7449af73
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
554f62e9
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
554f62e9
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
554f62e9
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
554f62e9
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
554f62e9
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
554f62e9
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1016
d55e5bfc 1017
554f62e9 1018/* Runtime API */
d55e5bfc 1019
554f62e9
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1023
554f62e9
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
7449af73 1029
d55e5bfc 1030
554f62e9 1031/* Runtime API implementation */
093d3ff1 1032
554f62e9 1033/* Error manipulation */
093d3ff1 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1041}
1042
554f62e9
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1048}
d55e5bfc 1049
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
093d3ff1 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
d55e5bfc
RD
1058}
1059
554f62e9 1060/* Append a value to the result obj */
d55e5bfc 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
c32bde28 1088 } else {
554f62e9
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
554f62e9
RD
1101 return result;
1102#endif
d55e5bfc 1103}
093d3ff1 1104
554f62e9 1105/* Unpack the argument tuple */
093d3ff1 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
554f62e9
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
d55e5bfc 1672#endif
093d3ff1 1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
554f62e9
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1
RD
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1733 }
1734}
1735
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
554f62e9
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1757
1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
093d3ff1 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
554f62e9
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1
RD
1880}
1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1
RD
1884 * ----------------------------------------------------------------------------- */
1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
554f62e9
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
554f62e9
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1
RD
1963}
1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
2071
554f62e9 2072/* Convert a packed value value */
093d3ff1 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
093d3ff1 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
554f62e9
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
554f62e9
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
554f62e9
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
554f62e9
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1
RD
2158}
2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
554f62e9
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
554f62e9 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
7449af73
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
7449af73
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
7449af73
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
554f62e9 2263 return SWIG_ERROR;
7449af73
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7449af73
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
554f62e9 2276 return SWIG_ERROR;
7449af73
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7449af73 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
093d3ff1 2282}
7449af73 2283#endif
093d3ff1 2284
554f62e9
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
7449af73
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7449af73
RD
2312 }
2313}
093d3ff1 2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
554f62e9
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
7449af73
RD
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_long swig_types[4]
2471#define SWIGTYPE_p_unsigned_char swig_types[5]
2472#define SWIGTYPE_p_unsigned_int swig_types[6]
2473#define SWIGTYPE_p_unsigned_long swig_types[7]
2474#define SWIGTYPE_p_void swig_types[8]
2475#define SWIGTYPE_p_wxANIHandler swig_types[9]
2476#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478#define SWIGTYPE_p_wxArrayInt swig_types[12]
2479#define SWIGTYPE_p_wxArrayString swig_types[13]
2480#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481#define SWIGTYPE_p_wxBitmap swig_types[15]
2482#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486#define SWIGTYPE_p_wxButton swig_types[20]
2487#define SWIGTYPE_p_wxCURHandler swig_types[21]
2488#define SWIGTYPE_p_wxCheckBox swig_types[22]
2489#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491#define SWIGTYPE_p_wxChoice swig_types[25]
2492#define SWIGTYPE_p_wxChoicebook swig_types[26]
2493#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2494#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495#define SWIGTYPE_p_wxCloseEvent swig_types[29]
5172800e
RD
2496#define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498#define SWIGTYPE_p_wxColour swig_types[32]
2499#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500#define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501#define SWIGTYPE_p_wxComboBox swig_types[35]
2502#define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503#define SWIGTYPE_p_wxContextHelp swig_types[37]
2504#define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505#define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506#define SWIGTYPE_p_wxControl swig_types[40]
2507#define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508#define SWIGTYPE_p_wxCursor swig_types[42]
2509#define SWIGTYPE_p_wxDC swig_types[43]
2510#define SWIGTYPE_p_wxDateEvent swig_types[44]
2511#define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDateTime swig_types[46]
2513#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514#define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516#define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517#define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518#define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519#define SWIGTYPE_p_wxEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521#define SWIGTYPE_p_wxFSFile swig_types[55]
2522#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523#define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524#define SWIGTYPE_p_wxFileSystem swig_types[58]
2525#define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526#define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527#define SWIGTYPE_p_wxFont swig_types[61]
2528#define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529#define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530#define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531#define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532#define SWIGTYPE_p_wxGauge swig_types[66]
2533#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534#define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535#define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536#define SWIGTYPE_p_wxGridSizer swig_types[70]
2537#define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538#define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540#define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541#define SWIGTYPE_p_wxICOHandler swig_types[75]
2542#define SWIGTYPE_p_wxIcon swig_types[76]
2543#define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544#define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545#define SWIGTYPE_p_wxImage swig_types[79]
2546#define SWIGTYPE_p_wxImageHandler swig_types[80]
2547#define SWIGTYPE_p_wxImageList swig_types[81]
2548#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549#define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550#define SWIGTYPE_p_wxItemContainer swig_types[84]
2551#define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552#define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553#define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554#define SWIGTYPE_p_wxListBox swig_types[88]
2555#define SWIGTYPE_p_wxListEvent swig_types[89]
2556#define SWIGTYPE_p_wxListItem swig_types[90]
2557#define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558#define SWIGTYPE_p_wxListView swig_types[92]
2559#define SWIGTYPE_p_wxListbook swig_types[93]
2560#define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561#define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562#define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563#define SWIGTYPE_p_wxMenu swig_types[97]
2564#define SWIGTYPE_p_wxMenuBar swig_types[98]
2565#define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566#define SWIGTYPE_p_wxMenuItem swig_types[100]
2567#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569#define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570#define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572#define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573#define SWIGTYPE_p_wxNotebook swig_types[107]
2574#define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575#define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576#define SWIGTYPE_p_wxObject swig_types[110]
2577#define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578#define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579#define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580#define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582#define SWIGTYPE_p_wxPaperSize swig_types[116]
2583#define SWIGTYPE_p_wxPickerBase swig_types[117]
2584#define SWIGTYPE_p_wxPoint swig_types[118]
2585#define SWIGTYPE_p_wxPyApp swig_types[119]
2586#define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587#define SWIGTYPE_p_wxPyControl swig_types[121]
2588#define SWIGTYPE_p_wxPyEvent swig_types[122]
2589#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590#define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593#define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594#define SWIGTYPE_p_wxPyValidator swig_types[128]
2595#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596#define SWIGTYPE_p_wxRadioBox swig_types[130]
2597#define SWIGTYPE_p_wxRadioButton swig_types[131]
2598#define SWIGTYPE_p_wxRect swig_types[132]
2599#define SWIGTYPE_p_wxScrollBar swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
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};
7449af73
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)
093d3ff1
RD
2649
2650/* -------- TYPES TABLE (END) -------- */
2651
554f62e9
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
093d3ff1
RD
2666
2667/*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670#define SWIG_init init_controls_
2671
2672#define SWIG_name "_controls_"
2673
554f62e9
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
093d3ff1
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
554f62e9 2755 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2756
2757
554f62e9
RD
2758SWIGINTERNINLINE PyObject *
2759SWIG_From_int (int value)
2760{
2761 return SWIG_From_long (value);
2762}
093d3ff1
RD
2763
2764
554f62e9
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
093d3ff1
RD
2775
2776
2777SWIGINTERN int
554f62e9 2778SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2779{
2780 if (PyNumber_Check(obj)) {
2781 if (val) *val = PyInt_AsLong(obj);
554f62e9 2782 return SWIG_OK;
093d3ff1 2783 }
554f62e9 2784 return SWIG_TypeError;
093d3ff1
RD
2785}
2786
2787
093d3ff1 2788SWIGINTERN int
554f62e9
RD
2789SWIG_AsVal_int (PyObject * obj, int *val)
2790{
093d3ff1 2791 long v;
554f62e9
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;
093d3ff1 2796 } else {
554f62e9 2797 if (val) *val = static_cast< int >(v);
093d3ff1 2798 }
554f62e9
RD
2799 }
2800 return res;
d55e5bfc
RD
2801}
2802
c32bde28 2803 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2804
093d3ff1 2805SWIGINTERN int
554f62e9 2806SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2807{
c32bde28
RD
2808 if (obj == Py_True) {
2809 if (val) *val = true;
554f62e9
RD
2810 return SWIG_OK;
2811 } else if (obj == Py_False) {
c32bde28 2812 if (val) *val = false;
554f62e9 2813 return SWIG_OK;
093d3ff1 2814 } else {
554f62e9
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;
c32bde28 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);
554f62e9 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
554f62e9 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 }
554f62e9 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 }
554f62e9 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 }
554f62e9 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);
d7645bfd 2902SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
554f62e9 2903SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2904 self->AppendText(text);
2905 }
554f62e9 2906SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2907 return self->GetValue().Mid(from, to - from);
2908 }
2909 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2910 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2911 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2913 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2914
1c71765a
RD
2915SWIGINTERNINLINE PyObject*
2916SWIG_From_unsigned_SS_long (unsigned long value)
2917{
2918 return (value > LONG_MAX) ?
2919 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2920}
2921
2922
2923SWIGINTERNINLINE PyObject *
2924SWIG_From_size_t (size_t value)
2925{
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2927}
2928
2929
50f151d7
RD
2930SWIGINTERNINLINE PyObject *
2931SWIG_From_unsigned_SS_int (unsigned int value)
2932{
2933 return SWIG_From_unsigned_SS_long (value);
2934}
2935
2936
d55e5bfc
RD
2937#include <wx/slider.h>
2938
2939
2940 static const wxString wxPySliderNameStr(wxSliderNameStr);
2941 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942
2943#if !wxUSE_TOGGLEBTN
2944// implement dummy items for platforms that don't have this class
2945
2946#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947
2948class wxToggleButton : public wxControl
2949{
2950public:
2951 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2952 const wxPoint&, const wxSize&, long,
2953 const wxValidator&, const wxString&)
2954 { wxPyRaiseNotImplemented(); }
2955
2956 wxToggleButton()
2957 { wxPyRaiseNotImplemented(); }
2958};
2959#endif
2960
51b83b37 2961 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2962
7e08d4ef 2963SWIGINTERNINLINE int
554f62e9 2964SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2965{
7e08d4ef 2966 unsigned long v;
554f62e9
RD
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
7e08d4ef 2970}
7e08d4ef 2971
d55e5bfc 2972 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9 2973SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2974 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2975 if (udata) {
2976 Py_INCREF(udata->m_obj);
2977 return udata->m_obj;
2978 } else {
2979 Py_INCREF(Py_None);
2980 return Py_None;
2981 }
2982 }
554f62e9 2983SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2984 self->SetClientData(new wxPyUserData(clientData));
2985 }
554f62e9 2986SWIGINTERN 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
2987 wxPyUserData* udata = NULL;
2988 if (clientData && clientData != Py_None)
2989 udata = new wxPyUserData(clientData);
2990 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2991 shortHelp, longHelp, udata);
2992 }
554f62e9 2993SWIGINTERN 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
2994 wxPyUserData* udata = NULL;
2995 if (clientData && clientData != Py_None)
2996 udata = new wxPyUserData(clientData);
2997 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2998 shortHelp, longHelp, udata);
2999 }
554f62e9 3000SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
3001 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3002 if (udata) {
3003 Py_INCREF(udata->m_obj);
3004 return udata->m_obj;
3005 } else {
3006 Py_INCREF(Py_None);
3007 return Py_None;
3008 }
3009 }
554f62e9 3010SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
3011 self->SetToolClientData(id, new wxPyUserData(clientData));
3012 }
3013
3014#include <wx/listctrl.h>
3015
fef4c27a 3016 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
554f62e9 3017SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3020 int retval = 0;
3021 PyObject* func = (PyObject*)funcPtr;
5a446332 3022 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3023
3024 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3025 PyObject* result = PyEval_CallObject(func, args);
3026 Py_DECREF(args);
3027 if (result) {
3028 retval = PyInt_AsLong(result);
3029 Py_DECREF(result);
3030 }
3031
3032 wxPyEndBlockThreads(blocked);
3033 return retval;
3034 }
3035
3036 // C++ Version of a Python aware class
3037class wxPyListCtrl : public wxListCtrl {
7449af73 3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3039public:
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3042 const wxPoint& pos,
3043 const wxSize& size,
3044 long style,
3045 const wxValidator& validator,
3046 const wxString& name) :
3047 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3048
3049 bool Create(wxWindow* parent, wxWindowID id,
3050 const wxPoint& pos,
3051 const wxSize& size,
3052 long style,
3053 const wxValidator& validator,
3054 const wxString& name) {
3055 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3056 }
3057
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3060
84f85550
RD
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3064
d55e5bfc
RD
3065 PYPRIVATE;
3066};
3067
3068IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3069
3070IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3071IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3072IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
c25f90f6 3073IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
7e08d4ef 3074
d55e5bfc 3075
554f62e9 3076SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3077 wxListItem item;
3078 item.SetMask( wxLIST_MASK_STATE |
3079 wxLIST_MASK_TEXT |
3080 wxLIST_MASK_IMAGE |
3081 wxLIST_MASK_DATA |
3082 wxLIST_SET_ITEM |
3083 wxLIST_MASK_WIDTH |
3084 wxLIST_MASK_FORMAT
3085 );
3086 if (self->GetColumn(col, item))
3087 return new wxListItem(item);
3088 else
3089 return NULL;
3090 }
554f62e9 3091SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3092 wxListItem* info = new wxListItem;
3093 info->m_itemId = itemId;
3094 info->m_col = col;
3095 info->m_mask = 0xFFFF;
3096 self->GetItem(*info);
3097 return info;
3098 }
554f62e9 3099SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3100 wxPoint pos;
3101 self->GetItemPosition(item, pos);
3102 return pos;
3103 }
554f62e9 3104SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3105 wxRect rect;
3106 self->GetItemRect(item, rect, code);
3107 return rect;
3108 }
554f62e9 3109SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3110 if (!PyCallable_Check(func))
ae8162c8 3111 return false;
d55e5bfc
RD
3112 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3113 }
554f62e9 3114SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
3115
3116 return self;
3117
3118
3119
3120 }
3121
3122#include <wx/treectrl.h>
3123#include "wx/wxPython/pytree.h"
3124
3125 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
554f62e9
RD
3126SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3127SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3128SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3129
3130 static wxTreeItemId wxNullTreeItemId;
3131
d55e5bfc
RD
3132 // C++ version of Python aware wxTreeCtrl
3133class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3135public:
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3138 const wxPoint& pos,
3139 const wxSize& size,
3140 long style,
3141 const wxValidator& validator,
3142 const wxString& name) :
3143 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3144
3145 bool Create(wxWindow *parent, wxWindowID id,
3146 const wxPoint& pos,
3147 const wxSize& size,
3148 long style,
3149 const wxValidator& validator,
3150 const wxString& name) {
3151 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3152 }
3153
3154
3155 int OnCompareItems(const wxTreeItemId& item1,
3156 const wxTreeItemId& item2) {
3157 int rval = 0;
3158 bool found;
5a446332 3159 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3160 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3161 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3162 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3164 Py_DECREF(o1);
3165 Py_DECREF(o2);
3166 }
3167 wxPyEndBlockThreads(blocked);
3168 if (! found)
3169 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3170 return rval;
3171 }
3172 PYPRIVATE;
3173};
3174
3175IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3176
3177
554f62e9 3178SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3179 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3180 if (data == NULL) {
3181 data = new wxPyTreeItemData();
3182 data->SetId(item); // set the id
3183 self->SetItemData(item, data);
3184 }
3185 return data;
3186 }
554f62e9 3187SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData();
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 return data->GetData();
3195 }
554f62e9 3196SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3197 data->SetId(item); // set the id
3198 self->SetItemData(item, data);
3199 }
554f62e9 3200SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3201 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3202 if (data == NULL) {
3203 data = new wxPyTreeItemData(obj);
3204 data->SetId(item); // set the id
3205 self->SetItemData(item, data);
3206 } else
3207 data->SetData(obj);
3208 }
554f62e9 3209SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3211 PyObject* rval = PyList_New(0);
3212 wxArrayTreeItemIds array;
3213 size_t num, x;
3214 num = self->GetSelections(array);
3215 for (x=0; x < num; x++) {
3216 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3217 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3218 PyList_Append(rval, item);
a07a67e6 3219 Py_DECREF(item);
d55e5bfc
RD
3220 }
3221 wxPyEndBlockThreads(blocked);
3222 return rval;
3223 }
554f62e9 3224SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3225 void* cookie = 0;
3226 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3228 PyObject* tup = PyTuple_New(2);
ae8162c8 3229 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3230 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3231 wxPyEndBlockThreads(blocked);
3232 return tup;
3233 }
554f62e9 3234SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3235 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3237 PyObject* tup = PyTuple_New(2);
ae8162c8 3238 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3239 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3240 wxPyEndBlockThreads(blocked);
3241 return tup;
3242 }
554f62e9 3243SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3244 wxRect rect;
3245 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3246 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3247 wxRect* r = new wxRect(rect);
ae8162c8 3248 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3249 wxPyEndBlockThreads(blocked);
3250 return val;
3251 }
3252 else
3253 RETURN_NONE();
3254 }
3255 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3256
7449af73 3257SWIGINTERNINLINE PyObject*
554f62e9 3258 SWIG_From_bool (bool value)
c32bde28 3259{
554f62e9 3260 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3261}
3262
d55e5bfc
RD
3263 // C++ version of Python aware wxControl
3264class wxPyControl : public wxControl
3265{
3266 DECLARE_DYNAMIC_CLASS(wxPyControl)
3267public:
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxValidator& validator=wxDefaultValidator,
3274 const wxString& name = wxPyControlNameStr)
3275 : wxControl(parent, id, pos, size, style, validator, name) {}
3276
3277
60d5fcc1
RD
3278 bool DoEraseBackground(wxDC* dc) {
3279#ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281#else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285#endif
3286 }
3287
d55e5bfc
RD
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
caef1a4d 3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3314
51b83b37
RD
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
8d38bd1d
RD
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
d55e5bfc
RD
3319 PYPRIVATE;
3320};
3321
3322IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3323
3324IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3325IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3326IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3327IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3328
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3331IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3332
3333IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3334IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3335
3336IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3337IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3338IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3339IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3340
3341IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3342IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3343IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3344
3345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3346IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3347
caef1a4d 3348IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 3349IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3350
51b83b37 3351IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3352
3353IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3354
d55e5bfc
RD
3355
3356
554f62e9 3357SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3358
3359#include <wx/generic/dragimgg.h>
3360
53aa7709 3361 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
554f62e9 3362SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3363 wxDateTime rv;
3364 self->GetRange(&rv, NULL);
3365 return rv;
3366 }
554f62e9 3367SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3368 wxDateTime rv;
3369 self->GetRange(NULL, &rv);
3370 return rv;
3371 }
704eda0c 3372 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3373 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3374 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3375 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3376 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3377 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3378 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3379 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
5172800e 3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3f7f284d 3381 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
d55e5bfc
RD
3382#ifdef __cplusplus
3383extern "C" {
3384#endif
554f62e9
RD
3385SWIGINTERN int ButtonNameStr_set(PyObject *) {
3386 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3387 return 1;
d55e5bfc
RD
3388}
3389
3390
554f62e9
RD
3391SWIGINTERN PyObject *ButtonNameStr_get(void) {
3392 PyObject *pyobj = 0;
3393
3394 {
d55e5bfc 3395#if wxUSE_UNICODE
554f62e9 3396 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3397#else
554f62e9 3398 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3399#endif
554f62e9
RD
3400 }
3401 return pyobj;
3402}
3403
3404
3405SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj = 0;
3407 wxWindow *arg1 = (wxWindow *) 0 ;
3408 int arg2 = (int) -1 ;
3409 wxString const &arg3_defvalue = wxPyEmptyString ;
3410 wxString *arg3 = (wxString *) &arg3_defvalue ;
3411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3413 wxSize const &arg5_defvalue = wxDefaultSize ;
3414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3415 long arg6 = (long) 0 ;
3416 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3417 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3418 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3419 wxString *arg8 = (wxString *) &arg8_defvalue ;
3420 wxButton *result = 0 ;
3421 void *argp1 = 0 ;
3422 int res1 = 0 ;
3423 int val2 ;
3424 int ecode2 = 0 ;
3425 bool temp3 = false ;
3426 wxPoint temp4 ;
3427 wxSize temp5 ;
3428 long val6 ;
3429 int ecode6 = 0 ;
3430 void *argp7 = 0 ;
3431 int res7 = 0 ;
3432 bool temp8 = false ;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 PyObject * obj2 = 0 ;
3436 PyObject * obj3 = 0 ;
3437 PyObject * obj4 = 0 ;
3438 PyObject * obj5 = 0 ;
3439 PyObject * obj6 = 0 ;
3440 PyObject * obj7 = 0 ;
3441 char * kwnames[] = {
3442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3443 };
3444
3445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3447 if (!SWIG_IsOK(res1)) {
3448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3449 }
3450 arg1 = reinterpret_cast< wxWindow * >(argp1);
3451 if (obj1) {
3452 ecode2 = SWIG_AsVal_int(obj1, &val2);
3453 if (!SWIG_IsOK(ecode2)) {
3454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3455 }
3456 arg2 = static_cast< int >(val2);
3457 }
3458 if (obj2) {
d55e5bfc 3459 {
554f62e9
RD
3460 arg3 = wxString_in_helper(obj2);
3461 if (arg3 == NULL) SWIG_fail;
3462 temp3 = true;
d55e5bfc 3463 }
554f62e9
RD
3464 }
3465 if (obj3) {
d55e5bfc 3466 {
554f62e9
RD
3467 arg4 = &temp4;
3468 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3469 }
554f62e9
RD
3470 }
3471 if (obj4) {
d55e5bfc 3472 {
554f62e9
RD
3473 arg5 = &temp5;
3474 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3475 }
554f62e9
RD
3476 }
3477 if (obj5) {
3478 ecode6 = SWIG_AsVal_long(obj5, &val6);
3479 if (!SWIG_IsOK(ecode6)) {
3480 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3481 }
3482 arg6 = static_cast< long >(val6);
3483 }
3484 if (obj6) {
3485 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3486 if (!SWIG_IsOK(res7)) {
3487 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3488 }
554f62e9
RD
3489 if (!argp7) {
3490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3491 }
554f62e9
RD
3492 arg7 = reinterpret_cast< wxValidator * >(argp7);
3493 }
3494 if (obj7) {
d55e5bfc 3495 {
554f62e9
RD
3496 arg8 = wxString_in_helper(obj7);
3497 if (arg8 == NULL) SWIG_fail;
3498 temp8 = true;
d55e5bfc 3499 }
554f62e9
RD
3500 }
3501 {
3502 if (!wxPyCheckForApp()) SWIG_fail;
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3509 {
3510 if (temp3)
3511 delete arg3;
3512 }
3513 {
3514 if (temp8)
3515 delete arg8;
3516 }
3517 return resultobj;
3518fail:
3519 {
3520 if (temp3)
3521 delete arg3;
3522 }
3523 {
3524 if (temp8)
3525 delete arg8;
3526 }
3527 return NULL;
d55e5bfc
RD
3528}
3529
3530
554f62e9
RD
3531SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3532 PyObject *resultobj = 0;
3533 wxButton *result = 0 ;
3534
3535 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3536 {
3537 if (!wxPyCheckForApp()) SWIG_fail;
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (wxButton *)new wxButton();
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3544 return resultobj;
3545fail:
3546 return NULL;
3547}
3548
3549
3550SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj = 0;
3552 wxButton *arg1 = (wxButton *) 0 ;
3553 wxWindow *arg2 = (wxWindow *) 0 ;
3554 int arg3 = (int) -1 ;
3555 wxString const &arg4_defvalue = wxPyEmptyString ;
3556 wxString *arg4 = (wxString *) &arg4_defvalue ;
3557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3559 wxSize const &arg6_defvalue = wxDefaultSize ;
3560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3561 long arg7 = (long) 0 ;
3562 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3563 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3564 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3565 wxString *arg9 = (wxString *) &arg9_defvalue ;
3566 bool result;
3567 void *argp1 = 0 ;
3568 int res1 = 0 ;
3569 void *argp2 = 0 ;
3570 int res2 = 0 ;
3571 int val3 ;
3572 int ecode3 = 0 ;
3573 bool temp4 = false ;
3574 wxPoint temp5 ;
3575 wxSize temp6 ;
3576 long val7 ;
3577 int ecode7 = 0 ;
3578 void *argp8 = 0 ;
3579 int res8 = 0 ;
3580 bool temp9 = false ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 PyObject * obj3 = 0 ;
3585 PyObject * obj4 = 0 ;
3586 PyObject * obj5 = 0 ;
3587 PyObject * obj6 = 0 ;
3588 PyObject * obj7 = 0 ;
3589 PyObject * obj8 = 0 ;
3590 char * kwnames[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3592 };
3593
3594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3596 if (!SWIG_IsOK(res1)) {
3597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3598 }
3599 arg1 = reinterpret_cast< wxButton * >(argp1);
3600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3601 if (!SWIG_IsOK(res2)) {
3602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3603 }
3604 arg2 = reinterpret_cast< wxWindow * >(argp2);
3605 if (obj2) {
3606 ecode3 = SWIG_AsVal_int(obj2, &val3);
3607 if (!SWIG_IsOK(ecode3)) {
3608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3609 }
3610 arg3 = static_cast< int >(val3);
3611 }
3612 if (obj3) {
d55e5bfc 3613 {
554f62e9
RD
3614 arg4 = wxString_in_helper(obj3);
3615 if (arg4 == NULL) SWIG_fail;
3616 temp4 = true;
d55e5bfc 3617 }
554f62e9
RD
3618 }
3619 if (obj4) {
d55e5bfc 3620 {
554f62e9
RD
3621 arg5 = &temp5;
3622 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3623 }
554f62e9
RD
3624 }
3625 if (obj5) {
d55e5bfc 3626 {
554f62e9
RD
3627 arg6 = &temp6;
3628 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3629 }
554f62e9
RD
3630 }
3631 if (obj6) {
3632 ecode7 = SWIG_AsVal_long(obj6, &val7);
3633 if (!SWIG_IsOK(ecode7)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3635 }
3636 arg7 = static_cast< long >(val7);
3637 }
3638 if (obj7) {
3639 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3640 if (!SWIG_IsOK(res8)) {
3641 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3642 }
554f62e9
RD
3643 if (!argp8) {
3644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3645 }
554f62e9
RD
3646 arg8 = reinterpret_cast< wxValidator * >(argp8);
3647 }
3648 if (obj8) {
d55e5bfc 3649 {
554f62e9
RD
3650 arg9 = wxString_in_helper(obj8);
3651 if (arg9 == NULL) SWIG_fail;
3652 temp9 = true;
d55e5bfc 3653 }
554f62e9
RD
3654 }
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 {
3662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3663 }
3664 {
3665 if (temp4)
3666 delete arg4;
3667 }
3668 {
3669 if (temp9)
3670 delete arg9;
3671 }
3672 return resultobj;
3673fail:
3674 {
3675 if (temp4)
3676 delete arg4;
3677 }
3678 {
3679 if (temp9)
3680 delete arg9;
3681 }
3682 return NULL;
d55e5bfc
RD
3683}
3684
3685
554f62e9
RD
3686SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3687 PyObject *resultobj = 0;
3688 wxButton *arg1 = (wxButton *) 0 ;
3689 void *argp1 = 0 ;
3690 int res1 = 0 ;
3691 PyObject *swig_obj[1] ;
3692
3693 if (!args) SWIG_fail;
3694 swig_obj[0] = args;
3695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3696 if (!SWIG_IsOK(res1)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3698 }
3699 arg1 = reinterpret_cast< wxButton * >(argp1);
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->SetDefault();
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 resultobj = SWIG_Py_Void();
3707 return resultobj;
3708fail:
3709 return NULL;
d55e5bfc
RD
3710}
3711
3712
554f62e9
RD
3713SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3714 PyObject *resultobj = 0;
3715 wxSize result;
3716
3717 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = wxButton::GetDefaultSize();
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3725 return resultobj;
3726fail:
3727 return NULL;
3728}
3729
3730
3731SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj = 0;
3733 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3734 SwigValueWrapper<wxVisualAttributes > result;
3735 int val1 ;
3736 int ecode1 = 0 ;
3737 PyObject * obj0 = 0 ;
3738 char * kwnames[] = {
3739 (char *) "variant", NULL
3740 };
3741
3742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3743 if (obj0) {
3744 ecode1 = SWIG_AsVal_int(obj0, &val1);
3745 if (!SWIG_IsOK(ecode1)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3747 }
3748 arg1 = static_cast< wxWindowVariant >(val1);
3749 }
3750 {
3751 if (!wxPyCheckForApp()) SWIG_fail;
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = wxButton::GetClassDefaultAttributes(arg1);
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3758 return resultobj;
3759fail:
3760 return NULL;
3761}
3762
3763
3764SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 PyObject *obj;
3766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3767 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3768 return SWIG_Py_Void();
3769}
3770
3771SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3772 return SWIG_Python_InitShadowInstance(args);
3773}
3774
3775SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj = 0;
3777 wxWindow *arg1 = (wxWindow *) 0 ;
3778 int arg2 = (int) -1 ;
3779 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3780 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3781 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3782 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3783 wxSize const &arg5_defvalue = wxDefaultSize ;
3784 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3785 long arg6 = (long) wxBU_AUTODRAW ;
3786 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3787 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3788 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3789 wxString *arg8 = (wxString *) &arg8_defvalue ;
3790 wxBitmapButton *result = 0 ;
3791 void *argp1 = 0 ;
3792 int res1 = 0 ;
3793 int val2 ;
3794 int ecode2 = 0 ;
3795 void *argp3 = 0 ;
3796 int res3 = 0 ;
3797 wxPoint temp4 ;
3798 wxSize temp5 ;
3799 long val6 ;
3800 int ecode6 = 0 ;
3801 void *argp7 = 0 ;
3802 int res7 = 0 ;
3803 bool temp8 = false ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 PyObject * obj2 = 0 ;
3807 PyObject * obj3 = 0 ;
3808 PyObject * obj4 = 0 ;
3809 PyObject * obj5 = 0 ;
3810 PyObject * obj6 = 0 ;
3811 PyObject * obj7 = 0 ;
3812 char * kwnames[] = {
3813 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3814 };
3815
3816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3818 if (!SWIG_IsOK(res1)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3820 }
3821 arg1 = reinterpret_cast< wxWindow * >(argp1);
3822 if (obj1) {
3823 ecode2 = SWIG_AsVal_int(obj1, &val2);
3824 if (!SWIG_IsOK(ecode2)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3826 }
3827 arg2 = static_cast< int >(val2);
3828 }
3829 if (obj2) {
3830 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3831 if (!SWIG_IsOK(res3)) {
3832 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 }
3834 if (!argp3) {
3835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3836 }
3837 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3838 }
3839 if (obj3) {
d55e5bfc 3840 {
554f62e9
RD
3841 arg4 = &temp4;
3842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3843 }
554f62e9
RD
3844 }
3845 if (obj4) {
d55e5bfc 3846 {
554f62e9
RD
3847 arg5 = &temp5;
3848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3849 }
554f62e9
RD
3850 }
3851 if (obj5) {
3852 ecode6 = SWIG_AsVal_long(obj5, &val6);
3853 if (!SWIG_IsOK(ecode6)) {
3854 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3855 }
3856 arg6 = static_cast< long >(val6);
3857 }
3858 if (obj6) {
3859 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3860 if (!SWIG_IsOK(res7)) {
3861 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3862 }
554f62e9
RD
3863 if (!argp7) {
3864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3865 }
554f62e9
RD
3866 arg7 = reinterpret_cast< wxValidator * >(argp7);
3867 }
3868 if (obj7) {
f20a2e1f 3869 {
554f62e9
RD
3870 arg8 = wxString_in_helper(obj7);
3871 if (arg8 == NULL) SWIG_fail;
3872 temp8 = true;
f20a2e1f 3873 }
554f62e9
RD
3874 }
3875 {
3876 if (!wxPyCheckForApp()) SWIG_fail;
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return resultobj;
3888fail:
3889 {
3890 if (temp8)
3891 delete arg8;
3892 }
3893 return NULL;
f20a2e1f
RD
3894}
3895
3896
554f62e9
RD
3897SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3898 PyObject *resultobj = 0;
3899 wxBitmapButton *result = 0 ;
3900
3901 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3902 {
3903 if (!wxPyCheckForApp()) SWIG_fail;
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxBitmapButton *)new wxBitmapButton();
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3910 return resultobj;
3911fail:
3912 return NULL;
3913}
3914
3915
3916SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj = 0;
3918 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3919 wxWindow *arg2 = (wxWindow *) 0 ;
3920 int arg3 = (int) -1 ;
3921 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3922 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3923 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3924 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3925 wxSize const &arg6_defvalue = wxDefaultSize ;
3926 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3927 long arg7 = (long) wxBU_AUTODRAW ;
3928 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3929 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3930 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3931 wxString *arg9 = (wxString *) &arg9_defvalue ;
3932 bool result;
3933 void *argp1 = 0 ;
3934 int res1 = 0 ;
3935 void *argp2 = 0 ;
3936 int res2 = 0 ;
3937 int val3 ;
3938 int ecode3 = 0 ;
3939 void *argp4 = 0 ;
3940 int res4 = 0 ;
3941 wxPoint temp5 ;
3942 wxSize temp6 ;
3943 long val7 ;
3944 int ecode7 = 0 ;
3945 void *argp8 = 0 ;
3946 int res8 = 0 ;
3947 bool temp9 = false ;
3948 PyObject * obj0 = 0 ;
3949 PyObject * obj1 = 0 ;
3950 PyObject * obj2 = 0 ;
3951 PyObject * obj3 = 0 ;
3952 PyObject * obj4 = 0 ;
3953 PyObject * obj5 = 0 ;
3954 PyObject * obj6 = 0 ;
3955 PyObject * obj7 = 0 ;
3956 PyObject * obj8 = 0 ;
3957 char * kwnames[] = {
3958 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3959 };
3960
3961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3965 }
3966 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3968 if (!SWIG_IsOK(res2)) {
3969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3970 }
3971 arg2 = reinterpret_cast< wxWindow * >(argp2);
3972 if (obj2) {
3973 ecode3 = SWIG_AsVal_int(obj2, &val3);
3974 if (!SWIG_IsOK(ecode3)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3976 }
3977 arg3 = static_cast< int >(val3);
3978 }
3979 if (obj3) {
3980 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3981 if (!SWIG_IsOK(res4)) {
3982 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3983 }
554f62e9
RD
3984 if (!argp4) {
3985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3986 }
554f62e9
RD
3987 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3988 }
3989 if (obj4) {
d55e5bfc 3990 {
554f62e9
RD
3991 arg5 = &temp5;
3992 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3993 }
554f62e9
RD
3994 }
3995 if (obj5) {
d55e5bfc 3996 {
554f62e9
RD
3997 arg6 = &temp6;
3998 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3999 }
4000 }
4001 if (obj6) {
4002 ecode7 = SWIG_AsVal_long(obj6, &val7);
4003 if (!SWIG_IsOK(ecode7)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4005 }
4006 arg7 = static_cast< long >(val7);
4007 }
4008 if (obj7) {
4009 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4010 if (!SWIG_IsOK(res8)) {
4011 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 }
4013 if (!argp8) {
4014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4015 }
554f62e9
RD
4016 arg8 = reinterpret_cast< wxValidator * >(argp8);
4017 }
4018 if (obj8) {
d55e5bfc 4019 {
554f62e9
RD
4020 arg9 = wxString_in_helper(obj8);
4021 if (arg9 == NULL) SWIG_fail;
4022 temp9 = true;
d55e5bfc 4023 }
554f62e9
RD
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 {
4032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4033 }
4034 {
4035 if (temp9)
4036 delete arg9;
4037 }
4038 return resultobj;
4039fail:
4040 {
4041 if (temp9)
4042 delete arg9;
4043 }
4044 return NULL;
d55e5bfc
RD
4045}
4046
4047
554f62e9
RD
4048SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4049 PyObject *resultobj = 0;
4050 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4051 wxBitmap result;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4061 }
4062 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = (arg1)->GetBitmapLabel();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4070 return resultobj;
4071fail:
4072 return NULL;
d55e5bfc
RD
4073}
4074
4075
554f62e9
RD
4076SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4077 PyObject *resultobj = 0;
4078 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4079 wxBitmap result;
4080 void *argp1 = 0 ;
4081 int res1 = 0 ;
4082 PyObject *swig_obj[1] ;
4083
4084 if (!args) SWIG_fail;
4085 swig_obj[0] = args;
4086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4087 if (!SWIG_IsOK(res1)) {
4088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4089 }
4090 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (arg1)->GetBitmapDisabled();
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4098 return resultobj;
4099fail:
4100 return NULL;
d55e5bfc
RD
4101}
4102
4103
554f62e9
RD
4104SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4105 PyObject *resultobj = 0;
4106 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4107 wxBitmap result;
4108 void *argp1 = 0 ;
4109 int res1 = 0 ;
4110 PyObject *swig_obj[1] ;
4111
4112 if (!args) SWIG_fail;
4113 swig_obj[0] = args;
4114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4115 if (!SWIG_IsOK(res1)) {
4116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4117 }
4118 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 result = (arg1)->GetBitmapFocus();
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4126 return resultobj;
4127fail:
4128 return NULL;
d55e5bfc
RD
4129}
4130
4131
554f62e9
RD
4132SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4133 PyObject *resultobj = 0;
4134 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4135 wxBitmap result;
4136 void *argp1 = 0 ;
4137 int res1 = 0 ;
4138 PyObject *swig_obj[1] ;
4139
4140 if (!args) SWIG_fail;
4141 swig_obj[0] = args;
4142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4143 if (!SWIG_IsOK(res1)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4145 }
4146 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (arg1)->GetBitmapSelected();
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4154 return resultobj;
4155fail:
4156 return NULL;
d55e5bfc
RD
4157}
4158
4159
554f62e9
RD
4160SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4161 PyObject *resultobj = 0;
4162 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4163 wxBitmap result;
4164 void *argp1 = 0 ;
4165 int res1 = 0 ;
4166 PyObject *swig_obj[1] ;
4167
4168 if (!args) SWIG_fail;
4169 swig_obj[0] = args;
4170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4171 if (!SWIG_IsOK(res1)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 }
4174 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (arg1)->GetBitmapHover();
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4182 return resultobj;
4183fail:
4184 return NULL;
4185}
4186
4187
4188SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj = 0;
4190 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4191 wxBitmap *arg2 = 0 ;
4192 void *argp1 = 0 ;
4193 int res1 = 0 ;
4194 void *argp2 = 0 ;
4195 int res2 = 0 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 char * kwnames[] = {
4199 (char *) "self",(char *) "bitmap", NULL
4200 };
4201
4202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4204 if (!SWIG_IsOK(res1)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4206 }
4207 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4209 if (!SWIG_IsOK(res2)) {
4210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 }
4212 if (!argp2) {
4213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4214 }
4215 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 resultobj = SWIG_Py_Void();
4223 return resultobj;
4224fail:
4225 return NULL;
4226}
4227
4228
4229SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4230 PyObject *resultobj = 0;
4231 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4232 wxBitmap *arg2 = 0 ;
4233 void *argp1 = 0 ;
4234 int res1 = 0 ;
4235 void *argp2 = 0 ;
4236 int res2 = 0 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char * kwnames[] = {
4240 (char *) "self",(char *) "bitmap", NULL
4241 };
4242
4243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4245 if (!SWIG_IsOK(res1)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4247 }
4248 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4249 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4250 if (!SWIG_IsOK(res2)) {
4251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 }
4253 if (!argp2) {
4254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4255 }
4256 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 resultobj = SWIG_Py_Void();
4264 return resultobj;
4265fail:
4266 return NULL;
4267}
4268
4269
4270SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj = 0;
4272 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4273 wxBitmap *arg2 = 0 ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 void *argp2 = 0 ;
4277 int res2 = 0 ;
4278 PyObject * obj0 = 0 ;
4279 PyObject * obj1 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "bitmap", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4288 }
4289 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4290 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4291 if (!SWIG_IsOK(res2)) {
4292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 }
4294 if (!argp2) {
4295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4296 }
4297 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 resultobj = SWIG_Py_Void();
4305 return resultobj;
4306fail:
4307 return NULL;
4308}
4309
4310
4311SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = 0;
4313 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4314 wxBitmap *arg2 = 0 ;
4315 void *argp1 = 0 ;
4316 int res1 = 0 ;
4317 void *argp2 = 0 ;
4318 int res2 = 0 ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj1 = 0 ;
4321 char * kwnames[] = {
4322 (char *) "self",(char *) "bitmap", NULL
4323 };
4324
4325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4327 if (!SWIG_IsOK(res1)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4329 }
4330 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4332 if (!SWIG_IsOK(res2)) {
4333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 }
4335 if (!argp2) {
4336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4337 }
4338 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = SWIG_Py_Void();
4346 return resultobj;
4347fail:
4348 return NULL;
4349}
4350
4351
4352SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4353 PyObject *resultobj = 0;
4354 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4355 wxBitmap *arg2 = 0 ;
4356 void *argp1 = 0 ;
4357 int res1 = 0 ;
4358 void *argp2 = 0 ;
4359 int res2 = 0 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 char * kwnames[] = {
4363 (char *) "self",(char *) "hover", NULL
4364 };
4365
4366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4368 if (!SWIG_IsOK(res1)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4370 }
4371 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4372 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4373 if (!SWIG_IsOK(res2)) {
4374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 }
4376 if (!argp2) {
4377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4378 }
4379 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388fail:
4389 return NULL;
4390}
4391
4392
4393SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4396 int arg2 ;
4397 int arg3 ;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 int val3 ;
4403 int ecode3 = 0 ;
4404 PyObject * obj0 = 0 ;
4405 PyObject * obj1 = 0 ;
4406 PyObject * obj2 = 0 ;
4407 char * kwnames[] = {
4408 (char *) "self",(char *) "x",(char *) "y", NULL
4409 };
4410
4411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4413 if (!SWIG_IsOK(res1)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4415 }
4416 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4417 ecode2 = SWIG_AsVal_int(obj1, &val2);
4418 if (!SWIG_IsOK(ecode2)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4420 }
4421 arg2 = static_cast< int >(val2);
4422 ecode3 = SWIG_AsVal_int(obj2, &val3);
4423 if (!SWIG_IsOK(ecode3)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4425 }
4426 arg3 = static_cast< int >(val3);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetMargins(arg2,arg3);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_Py_Void();
4434 return resultobj;
4435fail:
4436 return NULL;
d55e5bfc
RD
4437}
4438
4439
554f62e9
RD
4440SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4441 PyObject *resultobj = 0;
4442 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4443 int result;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 PyObject *swig_obj[1] ;
4447
4448 if (!args) SWIG_fail;
4449 swig_obj[0] = args;
4450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4453 }
4454 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_From_int(static_cast< int >(result));
4462 return resultobj;
4463fail:
4464 return NULL;
d55e5bfc
RD
4465}
4466
4467
554f62e9
RD
4468SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4469 PyObject *resultobj = 0;
4470 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4471 int result;
4472 void *argp1 = 0 ;
4473 int res1 = 0 ;
4474 PyObject *swig_obj[1] ;
4475
4476 if (!args) SWIG_fail;
4477 swig_obj[0] = args;
4478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4479 if (!SWIG_IsOK(res1)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4481 }
4482 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 resultobj = SWIG_From_int(static_cast< int >(result));
4490 return resultobj;
4491fail:
4492 return NULL;
b1fcee84
RD
4493}
4494
4495
554f62e9
RD
4496SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 PyObject *obj;
4498 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4499 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4500 return SWIG_Py_Void();
d55e5bfc
RD
4501}
4502
554f62e9
RD
4503SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4504 return SWIG_Python_InitShadowInstance(args);
4505}
d55e5bfc 4506
554f62e9
RD
4507SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4508 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4509 return 1;
d55e5bfc
RD
4510}
4511
4512
554f62e9
RD
4513SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4514 PyObject *pyobj = 0;
4515
4516 {
4517#if wxUSE_UNICODE
4518 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4519#else
4520 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4521#endif
4522 }
4523 return pyobj;
4524}
4525
4526
4527SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj = 0;
4529 wxWindow *arg1 = (wxWindow *) 0 ;
4530 int arg2 = (int) -1 ;
4531 wxString const &arg3_defvalue = wxPyEmptyString ;
4532 wxString *arg3 = (wxString *) &arg3_defvalue ;
4533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4535 wxSize const &arg5_defvalue = wxDefaultSize ;
4536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4537 long arg6 = (long) 0 ;
4538 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4539 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4540 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4541 wxString *arg8 = (wxString *) &arg8_defvalue ;
4542 wxCheckBox *result = 0 ;
4543 void *argp1 = 0 ;
4544 int res1 = 0 ;
4545 int val2 ;
4546 int ecode2 = 0 ;
4547 bool temp3 = false ;
4548 wxPoint temp4 ;
4549 wxSize temp5 ;
4550 long val6 ;
4551 int ecode6 = 0 ;
4552 void *argp7 = 0 ;
4553 int res7 = 0 ;
4554 bool temp8 = false ;
4555 PyObject * obj0 = 0 ;
4556 PyObject * obj1 = 0 ;
4557 PyObject * obj2 = 0 ;
4558 PyObject * obj3 = 0 ;
4559 PyObject * obj4 = 0 ;
4560 PyObject * obj5 = 0 ;
4561 PyObject * obj6 = 0 ;
4562 PyObject * obj7 = 0 ;
4563 char * kwnames[] = {
4564 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4565 };
4566
4567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4569 if (!SWIG_IsOK(res1)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4571 }
4572 arg1 = reinterpret_cast< wxWindow * >(argp1);
4573 if (obj1) {
4574 ecode2 = SWIG_AsVal_int(obj1, &val2);
4575 if (!SWIG_IsOK(ecode2)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4577 }
4578 arg2 = static_cast< int >(val2);
4579 }
4580 if (obj2) {
d55e5bfc 4581 {
554f62e9
RD
4582 arg3 = wxString_in_helper(obj2);
4583 if (arg3 == NULL) SWIG_fail;
4584 temp3 = true;
d55e5bfc 4585 }
554f62e9
RD
4586 }
4587 if (obj3) {
4588 {
4589 arg4 = &temp4;
4590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4591 }
554f62e9
RD
4592 }
4593 if (obj4) {
d55e5bfc 4594 {
554f62e9
RD
4595 arg5 = &temp5;
4596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4597 }
554f62e9
RD
4598 }
4599 if (obj5) {
4600 ecode6 = SWIG_AsVal_long(obj5, &val6);
4601 if (!SWIG_IsOK(ecode6)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4603 }
4604 arg6 = static_cast< long >(val6);
4605 }
4606 if (obj6) {
4607 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4608 if (!SWIG_IsOK(res7)) {
4609 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4610 }
554f62e9
RD
4611 if (!argp7) {
4612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4613 }
4614 arg7 = reinterpret_cast< wxValidator * >(argp7);
4615 }
4616 if (obj7) {
b1fcee84 4617 {
554f62e9
RD
4618 arg8 = wxString_in_helper(obj7);
4619 if (arg8 == NULL) SWIG_fail;
4620 temp8 = true;
b1fcee84 4621 }
554f62e9
RD
4622 }
4623 {
4624 if (!wxPyCheckForApp()) SWIG_fail;
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4631 {
4632 if (temp3)
4633 delete arg3;
4634 }
4635 {
4636 if (temp8)
4637 delete arg8;
4638 }
4639 return resultobj;
4640fail:
4641 {
4642 if (temp3)
4643 delete arg3;
4644 }
4645 {
4646 if (temp8)
4647 delete arg8;
4648 }
4649 return NULL;
b1fcee84
RD
4650}
4651
4652
554f62e9
RD
4653SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4654 PyObject *resultobj = 0;
4655 wxCheckBox *result = 0 ;
4656
4657 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4658 {
4659 if (!wxPyCheckForApp()) SWIG_fail;
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (wxCheckBox *)new wxCheckBox();
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4666 return resultobj;
4667fail:
4668 return NULL;
4669}
4670
4671
4672SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj = 0;
4674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4675 wxWindow *arg2 = (wxWindow *) 0 ;
4676 int arg3 = (int) -1 ;
4677 wxString const &arg4_defvalue = wxPyEmptyString ;
4678 wxString *arg4 = (wxString *) &arg4_defvalue ;
4679 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4680 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4681 wxSize const &arg6_defvalue = wxDefaultSize ;
4682 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4683 long arg7 = (long) 0 ;
4684 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4685 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4686 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4687 wxString *arg9 = (wxString *) &arg9_defvalue ;
4688 bool result;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 void *argp2 = 0 ;
4692 int res2 = 0 ;
4693 int val3 ;
4694 int ecode3 = 0 ;
4695 bool temp4 = false ;
4696 wxPoint temp5 ;
4697 wxSize temp6 ;
4698 long val7 ;
4699 int ecode7 = 0 ;
4700 void *argp8 = 0 ;
4701 int res8 = 0 ;
4702 bool temp9 = false ;
4703 PyObject * obj0 = 0 ;
4704 PyObject * obj1 = 0 ;
4705 PyObject * obj2 = 0 ;
4706 PyObject * obj3 = 0 ;
4707 PyObject * obj4 = 0 ;
4708 PyObject * obj5 = 0 ;
4709 PyObject * obj6 = 0 ;
4710 PyObject * obj7 = 0 ;
4711 PyObject * obj8 = 0 ;
4712 char * kwnames[] = {
4713 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4714 };
4715
4716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4718 if (!SWIG_IsOK(res1)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4720 }
4721 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res2)) {
4724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4725 }
4726 arg2 = reinterpret_cast< wxWindow * >(argp2);
4727 if (obj2) {
4728 ecode3 = SWIG_AsVal_int(obj2, &val3);
4729 if (!SWIG_IsOK(ecode3)) {
4730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4731 }
4732 arg3 = static_cast< int >(val3);
4733 }
4734 if (obj3) {
093d3ff1 4735 {
554f62e9
RD
4736 arg4 = wxString_in_helper(obj3);
4737 if (arg4 == NULL) SWIG_fail;
4738 temp4 = true;
093d3ff1 4739 }
554f62e9
RD
4740 }
4741 if (obj4) {
093d3ff1 4742 {
554f62e9
RD
4743 arg5 = &temp5;
4744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4745 }
554f62e9
RD
4746 }
4747 if (obj5) {
d55e5bfc 4748 {
554f62e9
RD
4749 arg6 = &temp6;
4750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4751 }
554f62e9
RD
4752 }
4753 if (obj6) {
4754 ecode7 = SWIG_AsVal_long(obj6, &val7);
4755 if (!SWIG_IsOK(ecode7)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4757 }
4758 arg7 = static_cast< long >(val7);
4759 }
4760 if (obj7) {
4761 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4762 if (!SWIG_IsOK(res8)) {
4763 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4764 }
554f62e9
RD
4765 if (!argp8) {
4766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4767 }
4768 arg8 = reinterpret_cast< wxValidator * >(argp8);
4769 }
4770 if (obj8) {
093d3ff1 4771 {
554f62e9
RD
4772 arg9 = wxString_in_helper(obj8);
4773 if (arg9 == NULL) SWIG_fail;
4774 temp9 = true;
093d3ff1 4775 }
554f62e9
RD
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 {
4784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4785 }
4786 {
4787 if (temp4)
4788 delete arg4;
4789 }
4790 {
4791 if (temp9)
4792 delete arg9;
4793 }
4794 return resultobj;
4795fail:
4796 {
4797 if (temp4)
4798 delete arg4;
4799 }
4800 {
4801 if (temp9)
4802 delete arg9;
4803 }
4804 return NULL;
d55e5bfc
RD
4805}
4806
4807
554f62e9
RD
4808SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4809 PyObject *resultobj = 0;
4810 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4811 bool result;
4812 void *argp1 = 0 ;
4813 int res1 = 0 ;
4814 PyObject *swig_obj[1] ;
4815
4816 if (!args) SWIG_fail;
4817 swig_obj[0] = args;
4818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4819 if (!SWIG_IsOK(res1)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4821 }
4822 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (bool)(arg1)->GetValue();
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 {
4830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4831 }
4832 return resultobj;
4833fail:
4834 return NULL;
d55e5bfc
RD
4835}
4836
4837
554f62e9
RD
4838SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4839 PyObject *resultobj = 0;
4840 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4841 bool result;
4842 void *argp1 = 0 ;
4843 int res1 = 0 ;
4844 PyObject *swig_obj[1] ;
4845
4846 if (!args) SWIG_fail;
4847 swig_obj[0] = args;
4848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4849 if (!SWIG_IsOK(res1)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4851 }
4852 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (bool)(arg1)->IsChecked();
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 {
4860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4861 }
4862 return resultobj;
4863fail:
4864 return NULL;
4865}
4866
4867
4868SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj = 0;
4870 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4871 bool arg2 ;
4872 void *argp1 = 0 ;
4873 int res1 = 0 ;
4874 bool val2 ;
4875 int ecode2 = 0 ;
4876 PyObject * obj0 = 0 ;
4877 PyObject * obj1 = 0 ;
4878 char * kwnames[] = {
4879 (char *) "self",(char *) "state", NULL
4880 };
4881
4882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4884 if (!SWIG_IsOK(res1)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4886 }
4887 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4888 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4889 if (!SWIG_IsOK(ecode2)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4891 }
4892 arg2 = static_cast< bool >(val2);
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetValue(arg2);
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 resultobj = SWIG_Py_Void();
4900 return resultobj;
4901fail:
4902 return NULL;
d55e5bfc 4903}
554f62e9
RD
4904
4905
4906SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4907 PyObject *resultobj = 0;
4908 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4909 wxCheckBoxState result;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 PyObject *swig_obj[1] ;
4913
4914 if (!args) SWIG_fail;
4915 swig_obj[0] = args;
4916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4917 if (!SWIG_IsOK(res1)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4919 }
4920 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 resultobj = SWIG_From_int(static_cast< int >(result));
4928 return resultobj;
4929fail:
4930 return NULL;
4931}
4932
4933
4934SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj = 0;
4936 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4937 wxCheckBoxState arg2 ;
4938 void *argp1 = 0 ;
4939 int res1 = 0 ;
4940 int val2 ;
4941 int ecode2 = 0 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 char * kwnames[] = {
4945 (char *) "self",(char *) "state", NULL
4946 };
4947
4948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4950 if (!SWIG_IsOK(res1)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4952 }
4953 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4954 ecode2 = SWIG_AsVal_int(obj1, &val2);
4955 if (!SWIG_IsOK(ecode2)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4957 }
4958 arg2 = static_cast< wxCheckBoxState >(val2);
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 (arg1)->Set3StateValue(arg2);
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 resultobj = SWIG_Py_Void();
4966 return resultobj;
4967fail:
4968 return NULL;
d55e5bfc
RD
4969}
4970
4971
554f62e9
RD
4972SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4973 PyObject *resultobj = 0;
4974 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4975 bool result;
4976 void *argp1 = 0 ;
4977 int res1 = 0 ;
4978 PyObject *swig_obj[1] ;
4979
4980 if (!args) SWIG_fail;
4981 swig_obj[0] = args;
4982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4983 if (!SWIG_IsOK(res1)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4985 }
4986 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
4996 return resultobj;
4997fail:
4998 return NULL;
d55e5bfc
RD
4999}
5000
5001
554f62e9
RD
5002SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5005 bool result;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 PyObject *swig_obj[1] ;
5009
5010 if (!args) SWIG_fail;
5011 swig_obj[0] = args;
5012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5013 if (!SWIG_IsOK(res1)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5015 }
5016 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 {
5024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5025 }
5026 return resultobj;
5027fail:
5028 return NULL;
d55e5bfc
RD
5029}
5030
5031
554f62e9
RD
5032SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = 0;
5034 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5035 SwigValueWrapper<wxVisualAttributes > result;
5036 int val1 ;
5037 int ecode1 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 char * kwnames[] = {
5040 (char *) "variant", NULL
5041 };
5042
5043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5044 if (obj0) {
5045 ecode1 = SWIG_AsVal_int(obj0, &val1);
5046 if (!SWIG_IsOK(ecode1)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5048 }
5049 arg1 = static_cast< wxWindowVariant >(val1);
5050 }
5051 {
5052 if (!wxPyCheckForApp()) SWIG_fail;
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5059 return resultobj;
5060fail:
5061 return NULL;
d55e5bfc
RD
5062}
5063
5064
554f62e9
RD
5065SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 PyObject *obj;
5067 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5068 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5069 return SWIG_Py_Void();
d55e5bfc
RD
5070}
5071
554f62e9
RD
5072SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5073 return SWIG_Python_InitShadowInstance(args);
5074}
d55e5bfc 5075
554f62e9
RD
5076SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5077 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5078 return 1;
d55e5bfc
RD
5079}
5080
5081
554f62e9
RD
5082SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5083 PyObject *pyobj = 0;
5084
5085 {
5086#if wxUSE_UNICODE
5087 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5088#else
5089 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5090#endif
5091 }
5092 return pyobj;
5093}
5094
5095
5096SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj = 0;
5098 wxWindow *arg1 = (wxWindow *) 0 ;
5099 int arg2 = (int) -1 ;
5100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5102 wxSize const &arg4_defvalue = wxDefaultSize ;
5103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5104 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5105 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5106 long arg6 = (long) 0 ;
5107 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5108 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5109 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5110 wxString *arg8 = (wxString *) &arg8_defvalue ;
5111 wxChoice *result = 0 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 int val2 ;
5115 int ecode2 = 0 ;
5116 wxPoint temp3 ;
5117 wxSize temp4 ;
5118 bool temp5 = false ;
5119 long val6 ;
5120 int ecode6 = 0 ;
5121 void *argp7 = 0 ;
5122 int res7 = 0 ;
5123 bool temp8 = false ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 PyObject * obj2 = 0 ;
5127 PyObject * obj3 = 0 ;
5128 PyObject * obj4 = 0 ;
5129 PyObject * obj5 = 0 ;
5130 PyObject * obj6 = 0 ;
5131 PyObject * obj7 = 0 ;
5132 char * kwnames[] = {
5133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5134 };
5135
5136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5138 if (!SWIG_IsOK(res1)) {
5139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5140 }
5141 arg1 = reinterpret_cast< wxWindow * >(argp1);
5142 if (obj1) {
5143 ecode2 = SWIG_AsVal_int(obj1, &val2);
5144 if (!SWIG_IsOK(ecode2)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5146 }
5147 arg2 = static_cast< int >(val2);
5148 }
5149 if (obj2) {
093d3ff1 5150 {
554f62e9
RD
5151 arg3 = &temp3;
5152 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5153 }
554f62e9
RD
5154 }
5155 if (obj3) {
d55e5bfc 5156 {
554f62e9
RD
5157 arg4 = &temp4;
5158 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5159 }
554f62e9
RD
5160 }
5161 if (obj4) {
d55e5bfc 5162 {
554f62e9
RD
5163 if (! PySequence_Check(obj4)) {
5164 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5165 SWIG_fail;
5166 }
5167 arg5 = new wxArrayString;
5168 temp5 = true;
5169 int i, len=PySequence_Length(obj4);
5170 for (i=0; i<len; i++) {
5171 PyObject* item = PySequence_GetItem(obj4, i);
5172 wxString* s = wxString_in_helper(item);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 arg5->Add(*s);
5175 delete s;
5176 Py_DECREF(item);
5177 }
d55e5bfc 5178 }
554f62e9
RD
5179 }
5180 if (obj5) {
5181 ecode6 = SWIG_AsVal_long(obj5, &val6);
5182 if (!SWIG_IsOK(ecode6)) {
5183 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5184 }
5185 arg6 = static_cast< long >(val6);
5186 }
5187 if (obj6) {
5188 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5189 if (!SWIG_IsOK(res7)) {
5190 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5191 }
554f62e9
RD
5192 if (!argp7) {
5193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5194 }
5195 arg7 = reinterpret_cast< wxValidator * >(argp7);
5196 }
5197 if (obj7) {
d55e5bfc 5198 {
554f62e9
RD
5199 arg8 = wxString_in_helper(obj7);
5200 if (arg8 == NULL) SWIG_fail;
5201 temp8 = true;
d55e5bfc 5202 }
554f62e9
RD
5203 }
5204 {
5205 if (!wxPyCheckForApp()) SWIG_fail;
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5212 {
5213 if (temp5) delete arg5;
5214 }
5215 {
5216 if (temp8)
5217 delete arg8;
5218 }
5219 return resultobj;
5220fail:
5221 {
5222 if (temp5) delete arg5;
5223 }
5224 {
5225 if (temp8)
5226 delete arg8;
5227 }
5228 return NULL;
d55e5bfc
RD
5229}
5230
5231
554f62e9
RD
5232SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5233 PyObject *resultobj = 0;
5234 wxChoice *result = 0 ;
5235
5236 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5237 {
5238 if (!wxPyCheckForApp()) SWIG_fail;
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (wxChoice *)new wxChoice();
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5245 return resultobj;
5246fail:
5247 return NULL;
5248}
5249
5250
5251SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj = 0;
5253 wxChoice *arg1 = (wxChoice *) 0 ;
5254 wxWindow *arg2 = (wxWindow *) 0 ;
5255 int arg3 = (int) -1 ;
5256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5258 wxSize const &arg5_defvalue = wxDefaultSize ;
5259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5260 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5261 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5262 long arg7 = (long) 0 ;
5263 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5264 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5265 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5266 wxString *arg9 = (wxString *) &arg9_defvalue ;
5267 bool result;
5268 void *argp1 = 0 ;
5269 int res1 = 0 ;
5270 void *argp2 = 0 ;
5271 int res2 = 0 ;
5272 int val3 ;
5273 int ecode3 = 0 ;
5274 wxPoint temp4 ;
5275 wxSize temp5 ;
5276 bool temp6 = false ;
5277 long val7 ;
5278 int ecode7 = 0 ;
5279 void *argp8 = 0 ;
5280 int res8 = 0 ;
5281 bool temp9 = false ;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 PyObject * obj2 = 0 ;
5285 PyObject * obj3 = 0 ;
5286 PyObject * obj4 = 0 ;
5287 PyObject * obj5 = 0 ;
5288 PyObject * obj6 = 0 ;
5289 PyObject * obj7 = 0 ;
5290 PyObject * obj8 = 0 ;
5291 char * kwnames[] = {
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5293 };
5294
5295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5297 if (!SWIG_IsOK(res1)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5299 }
5300 arg1 = reinterpret_cast< wxChoice * >(argp1);
5301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5302 if (!SWIG_IsOK(res2)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5304 }
5305 arg2 = reinterpret_cast< wxWindow * >(argp2);
5306 if (obj2) {
5307 ecode3 = SWIG_AsVal_int(obj2, &val3);
5308 if (!SWIG_IsOK(ecode3)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5310 }
5311 arg3 = static_cast< int >(val3);
5312 }
5313 if (obj3) {
d55e5bfc 5314 {
554f62e9
RD
5315 arg4 = &temp4;
5316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5317 }
554f62e9
RD
5318 }
5319 if (obj4) {
d55e5bfc 5320 {
554f62e9
RD
5321 arg5 = &temp5;
5322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5323 }
554f62e9
RD
5324 }
5325 if (obj5) {
d55e5bfc 5326 {
554f62e9
RD
5327 if (! PySequence_Check(obj5)) {
5328 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5329 SWIG_fail;
5330 }
5331 arg6 = new wxArrayString;
5332 temp6 = true;
5333 int i, len=PySequence_Length(obj5);
5334 for (i=0; i<len; i++) {
5335 PyObject* item = PySequence_GetItem(obj5, i);
5336 wxString* s = wxString_in_helper(item);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 arg6->Add(*s);
5339 delete s;
5340 Py_DECREF(item);
5341 }
5342 }
5343 }
5344 if (obj6) {
5345 ecode7 = SWIG_AsVal_long(obj6, &val7);
5346 if (!SWIG_IsOK(ecode7)) {
5347 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5348 }
5349 arg7 = static_cast< long >(val7);
5350 }
5351 if (obj7) {
5352 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5353 if (!SWIG_IsOK(res8)) {
5354 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5355 }
554f62e9
RD
5356 if (!argp8) {
5357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5358 }
5359 arg8 = reinterpret_cast< wxValidator * >(argp8);
5360 }
5361 if (obj8) {
d55e5bfc 5362 {
554f62e9
RD
5363 arg9 = wxString_in_helper(obj8);
5364 if (arg9 == NULL) SWIG_fail;
5365 temp9 = true;
d55e5bfc 5366 }
554f62e9
RD
5367 }
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 {
5375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5376 }
5377 {
5378 if (temp6) delete arg6;
5379 }
5380 {
5381 if (temp9)
5382 delete arg9;
5383 }
5384 return resultobj;
5385fail:
5386 {
5387 if (temp6) delete arg6;
5388 }
5389 {
5390 if (temp9)
5391 delete arg9;
5392 }
5393 return NULL;
d55e5bfc
RD
5394}
5395
5396
554f62e9
RD
5397SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5398 PyObject *resultobj = 0;
5399 wxChoice *arg1 = (wxChoice *) 0 ;
5400 int result;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 PyObject *swig_obj[1] ;
5404
5405 if (!args) SWIG_fail;
5406 swig_obj[0] = args;
5407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5408 if (!SWIG_IsOK(res1)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5410 }
5411 arg1 = reinterpret_cast< wxChoice * >(argp1);
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_From_int(static_cast< int >(result));
5419 return resultobj;
5420fail:
5421 return NULL;
5422}
5423
5424
5425SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5428 SwigValueWrapper<wxVisualAttributes > result;
5429 int val1 ;
5430 int ecode1 = 0 ;
5431 PyObject * obj0 = 0 ;
5432 char * kwnames[] = {
5433 (char *) "variant", NULL
5434 };
5435
5436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5437 if (obj0) {
5438 ecode1 = SWIG_AsVal_int(obj0, &val1);
5439 if (!SWIG_IsOK(ecode1)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5441 }
5442 arg1 = static_cast< wxWindowVariant >(val1);
5443 }
5444 {
5445 if (!wxPyCheckForApp()) SWIG_fail;
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = wxChoice::GetClassDefaultAttributes(arg1);
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5452 return resultobj;
5453fail:
5454 return NULL;
f20a2e1f
RD
5455}
5456
5457
554f62e9
RD
5458SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 PyObject *obj;
5460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5461 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5462 return SWIG_Py_Void();
d55e5bfc 5463}
554f62e9
RD
5464
5465SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5466 return SWIG_Python_InitShadowInstance(args);
5467}
5468
5469SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5470 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5471 return 1;
d55e5bfc
RD
5472}
5473
5474
554f62e9
RD
5475SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5476 PyObject *pyobj = 0;
5477
5478 {
d55e5bfc 5479#if wxUSE_UNICODE
554f62e9 5480 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5481#else
554f62e9 5482 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5483#endif
554f62e9
RD
5484 }
5485 return pyobj;
5486}
5487
5488
5489SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj = 0;
5491 wxWindow *arg1 = (wxWindow *) 0 ;
5492 int arg2 = (int) -1 ;
5493 wxString const &arg3_defvalue = wxPyEmptyString ;
5494 wxString *arg3 = (wxString *) &arg3_defvalue ;
5495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5497 wxSize const &arg5_defvalue = wxDefaultSize ;
5498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5499 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5500 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5501 long arg7 = (long) 0 ;
5502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5504 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5505 wxString *arg9 = (wxString *) &arg9_defvalue ;
5506 wxComboBox *result = 0 ;
5507 void *argp1 = 0 ;
5508 int res1 = 0 ;
5509 int val2 ;
5510 int ecode2 = 0 ;
5511 bool temp3 = false ;
5512 wxPoint temp4 ;
5513 wxSize temp5 ;
5514 bool temp6 = false ;
5515 long val7 ;
5516 int ecode7 = 0 ;
5517 void *argp8 = 0 ;
5518 int res8 = 0 ;
5519 bool temp9 = false ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 PyObject * obj2 = 0 ;
5523 PyObject * obj3 = 0 ;
5524 PyObject * obj4 = 0 ;
5525 PyObject * obj5 = 0 ;
5526 PyObject * obj6 = 0 ;
5527 PyObject * obj7 = 0 ;
5528 PyObject * obj8 = 0 ;
5529 char * kwnames[] = {
5530 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5531 };
5532
5533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5537 }
5538 arg1 = reinterpret_cast< wxWindow * >(argp1);
5539 if (obj1) {
5540 ecode2 = SWIG_AsVal_int(obj1, &val2);
5541 if (!SWIG_IsOK(ecode2)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5543 }
5544 arg2 = static_cast< int >(val2);
5545 }
5546 if (obj2) {
d55e5bfc 5547 {
554f62e9
RD
5548 arg3 = wxString_in_helper(obj2);
5549 if (arg3 == NULL) SWIG_fail;
5550 temp3 = true;
d55e5bfc 5551 }
554f62e9
RD
5552 }
5553 if (obj3) {
d55e5bfc 5554 {
554f62e9
RD
5555 arg4 = &temp4;
5556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5557 }
554f62e9
RD
5558 }
5559 if (obj4) {
d55e5bfc 5560 {
554f62e9
RD
5561 arg5 = &temp5;
5562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5563 }
554f62e9
RD
5564 }
5565 if (obj5) {
d55e5bfc 5566 {
554f62e9
RD
5567 if (! PySequence_Check(obj5)) {
5568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5569 SWIG_fail;
5570 }
5571 arg6 = new wxArrayString;
5572 temp6 = true;
5573 int i, len=PySequence_Length(obj5);
5574 for (i=0; i<len; i++) {
5575 PyObject* item = PySequence_GetItem(obj5, i);
5576 wxString* s = wxString_in_helper(item);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 arg6->Add(*s);
5579 delete s;
5580 Py_DECREF(item);
5581 }
d55e5bfc 5582 }
554f62e9
RD
5583 }
5584 if (obj6) {
5585 ecode7 = SWIG_AsVal_long(obj6, &val7);
5586 if (!SWIG_IsOK(ecode7)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5588 }
5589 arg7 = static_cast< long >(val7);
5590 }
5591 if (obj7) {
5592 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5593 if (!SWIG_IsOK(res8)) {
5594 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 }
5596 if (!argp8) {
5597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5598 }
5599 arg8 = reinterpret_cast< wxValidator * >(argp8);
5600 }
5601 if (obj8) {
d55e5bfc 5602 {
554f62e9
RD
5603 arg9 = wxString_in_helper(obj8);
5604 if (arg9 == NULL) SWIG_fail;
5605 temp9 = true;
d55e5bfc 5606 }
554f62e9
RD
5607 }
5608 {
5609 if (!wxPyCheckForApp()) SWIG_fail;
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 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);
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5616 {
5617 if (temp3)
5618 delete arg3;
5619 }
5620 {
5621 if (temp6) delete arg6;
5622 }
5623 {
5624 if (temp9)
5625 delete arg9;
5626 }
5627 return resultobj;
5628fail:
5629 {
5630 if (temp3)
5631 delete arg3;
5632 }
5633 {
5634 if (temp6) delete arg6;
5635 }
5636 {
5637 if (temp9)
5638 delete arg9;
5639 }
5640 return NULL;
d55e5bfc
RD
5641}
5642
5643
554f62e9
RD
5644SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5645 PyObject *resultobj = 0;
5646 wxComboBox *result = 0 ;
5647
5648 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5649 {
5650 if (!wxPyCheckForApp()) SWIG_fail;
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (wxComboBox *)new wxComboBox();
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5657 return resultobj;
5658fail:
5659 return NULL;
5660}
5661
5662
5663SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj = 0;
5665 wxComboBox *arg1 = (wxComboBox *) 0 ;
5666 wxWindow *arg2 = (wxWindow *) 0 ;
5667 int arg3 = (int) -1 ;
5668 wxString const &arg4_defvalue = wxPyEmptyString ;
5669 wxString *arg4 = (wxString *) &arg4_defvalue ;
5670 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5671 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5672 wxSize const &arg6_defvalue = wxDefaultSize ;
5673 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5674 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5675 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5676 long arg8 = (long) 0 ;
5677 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5678 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5679 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5680 wxString *arg10 = (wxString *) &arg10_defvalue ;
5681 bool result;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 void *argp2 = 0 ;
5685 int res2 = 0 ;
5686 int val3 ;
5687 int ecode3 = 0 ;
5688 bool temp4 = false ;
5689 wxPoint temp5 ;
5690 wxSize temp6 ;
5691 bool temp7 = false ;
5692 long val8 ;
5693 int ecode8 = 0 ;
5694 void *argp9 = 0 ;
5695 int res9 = 0 ;
5696 bool temp10 = false ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
5700 PyObject * obj3 = 0 ;
5701 PyObject * obj4 = 0 ;
5702 PyObject * obj5 = 0 ;
5703 PyObject * obj6 = 0 ;
5704 PyObject * obj7 = 0 ;
5705 PyObject * obj8 = 0 ;
5706 PyObject * obj9 = 0 ;
5707 char * kwnames[] = {
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5709 };
5710
5711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5713 if (!SWIG_IsOK(res1)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5715 }
5716 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5718 if (!SWIG_IsOK(res2)) {
5719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5720 }
5721 arg2 = reinterpret_cast< wxWindow * >(argp2);
5722 if (obj2) {
5723 ecode3 = SWIG_AsVal_int(obj2, &val3);
5724 if (!SWIG_IsOK(ecode3)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5726 }
5727 arg3 = static_cast< int >(val3);
5728 }
5729 if (obj3) {
d55e5bfc 5730 {
554f62e9
RD
5731 arg4 = wxString_in_helper(obj3);
5732 if (arg4 == NULL) SWIG_fail;
5733 temp4 = true;
d55e5bfc 5734 }
554f62e9
RD
5735 }
5736 if (obj4) {
d55e5bfc 5737 {
554f62e9
RD
5738 arg5 = &temp5;
5739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5740 }
554f62e9
RD
5741 }
5742 if (obj5) {
d55e5bfc 5743 {
554f62e9
RD
5744 arg6 = &temp6;
5745 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5746 }
554f62e9
RD
5747 }
5748 if (obj6) {
d55e5bfc 5749 {
554f62e9
RD
5750 if (! PySequence_Check(obj6)) {
5751 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5752 SWIG_fail;
5753 }
5754 arg7 = new wxArrayString;
5755 temp7 = true;
5756 int i, len=PySequence_Length(obj6);
5757 for (i=0; i<len; i++) {
5758 PyObject* item = PySequence_GetItem(obj6, i);
5759 wxString* s = wxString_in_helper(item);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 arg7->Add(*s);
5762 delete s;
5763 Py_DECREF(item);
5764 }
d55e5bfc 5765 }
554f62e9
RD
5766 }
5767 if (obj7) {
5768 ecode8 = SWIG_AsVal_long(obj7, &val8);
5769 if (!SWIG_IsOK(ecode8)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5771 }
5772 arg8 = static_cast< long >(val8);
5773 }
5774 if (obj8) {
5775 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5776 if (!SWIG_IsOK(res9)) {
5777 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5778 }
554f62e9
RD
5779 if (!argp9) {
5780 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5781 }
554f62e9
RD
5782 arg9 = reinterpret_cast< wxValidator * >(argp9);
5783 }
5784 if (obj9) {
d55e5bfc 5785 {
554f62e9
RD
5786 arg10 = wxString_in_helper(obj9);
5787 if (arg10 == NULL) SWIG_fail;
5788 temp10 = true;
d55e5bfc 5789 }
554f62e9
RD
5790 }
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 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);
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5799 }
5800 {
5801 if (temp4)
5802 delete arg4;
5803 }
5804 {
5805 if (temp7) delete arg7;
5806 }
5807 {
5808 if (temp10)
5809 delete arg10;
5810 }
5811 return resultobj;
5812fail:
5813 {
5814 if (temp4)
5815 delete arg4;
5816 }
5817 {
5818 if (temp7) delete arg7;
5819 }
5820 {
5821 if (temp10)
5822 delete arg10;
5823 }
5824 return NULL;
d55e5bfc
RD
5825}
5826
5827
554f62e9
RD
5828SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5829 PyObject *resultobj = 0;
5830 wxComboBox *arg1 = (wxComboBox *) 0 ;
5831 wxString result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 PyObject *swig_obj[1] ;
5835
5836 if (!args) SWIG_fail;
5837 swig_obj[0] = args;
5838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5839 if (!SWIG_IsOK(res1)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5841 }
5842 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = ((wxComboBox const *)arg1)->GetValue();
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
d55e5bfc 5850#if wxUSE_UNICODE
554f62e9 5851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5852#else
554f62e9 5853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5854#endif
554f62e9
RD
5855 }
5856 return resultobj;
5857fail:
5858 return NULL;
5859}
5860
5861
5862SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj = 0;
5864 wxComboBox *arg1 = (wxComboBox *) 0 ;
5865 wxString *arg2 = 0 ;
5866 void *argp1 = 0 ;
5867 int res1 = 0 ;
5868 bool temp2 = false ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 char * kwnames[] = {
5872 (char *) "self",(char *) "value", NULL
5873 };
5874
5875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5877 if (!SWIG_IsOK(res1)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5879 }
5880 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5881 {
5882 arg2 = wxString_in_helper(obj1);
5883 if (arg2 == NULL) SWIG_fail;
5884 temp2 = true;
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetValue((wxString const &)*arg2);
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_Py_Void();
5893 {
5894 if (temp2)
5895 delete arg2;
5896 }
5897 return resultobj;
5898fail:
5899 {
5900 if (temp2)
5901 delete arg2;
5902 }
5903 return NULL;
d55e5bfc
RD
5904}
5905
5906
554f62e9
RD
5907SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5908 PyObject *resultobj = 0;
5909 wxComboBox *arg1 = (wxComboBox *) 0 ;
5910 void *argp1 = 0 ;
5911 int res1 = 0 ;
5912 PyObject *swig_obj[1] ;
5913
5914 if (!args) SWIG_fail;
5915 swig_obj[0] = args;
5916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5917 if (!SWIG_IsOK(res1)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5919 }
5920 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 (arg1)->Copy();
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = SWIG_Py_Void();
5928 return resultobj;
5929fail:
5930 return NULL;
d55e5bfc
RD
5931}
5932
5933
554f62e9
RD
5934SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5935 PyObject *resultobj = 0;
5936 wxComboBox *arg1 = (wxComboBox *) 0 ;
5937 void *argp1 = 0 ;
5938 int res1 = 0 ;
5939 PyObject *swig_obj[1] ;
5940
5941 if (!args) SWIG_fail;
5942 swig_obj[0] = args;
5943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5946 }
5947 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->Cut();
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_Py_Void();
5955 return resultobj;
5956fail:
5957 return NULL;
d55e5bfc
RD
5958}
5959
5960
554f62e9
RD
5961SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5962 PyObject *resultobj = 0;
5963 wxComboBox *arg1 = (wxComboBox *) 0 ;
5964 void *argp1 = 0 ;
5965 int res1 = 0 ;
5966 PyObject *swig_obj[1] ;
5967
5968 if (!args) SWIG_fail;
5969 swig_obj[0] = args;
5970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 }
5974 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 (arg1)->Paste();
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = SWIG_Py_Void();
5982 return resultobj;
5983fail:
5984 return NULL;
5985}
5986
5987
5988SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj = 0;
5990 wxComboBox *arg1 = (wxComboBox *) 0 ;
5991 long arg2 ;
5992 void *argp1 = 0 ;
5993 int res1 = 0 ;
5994 long val2 ;
5995 int ecode2 = 0 ;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char * kwnames[] = {
5999 (char *) "self",(char *) "pos", NULL
6000 };
6001
6002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6004 if (!SWIG_IsOK(res1)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6006 }
6007 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6008 ecode2 = SWIG_AsVal_long(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6011 }
6012 arg2 = static_cast< long >(val2);
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->SetInsertionPoint(arg2);
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 resultobj = SWIG_Py_Void();
6020 return resultobj;
6021fail:
6022 return NULL;
d55e5bfc
RD
6023}
6024
6025
554f62e9
RD
6026SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6027 PyObject *resultobj = 0;
6028 wxComboBox *arg1 = (wxComboBox *) 0 ;
6029 long result;
6030 void *argp1 = 0 ;
6031 int res1 = 0 ;
6032 PyObject *swig_obj[1] ;
6033
6034 if (!args) SWIG_fail;
6035 swig_obj[0] = args;
6036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6037 if (!SWIG_IsOK(res1)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6039 }
6040 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 resultobj = SWIG_From_long(static_cast< long >(result));
6048 return resultobj;
6049fail:
6050 return NULL;
d55e5bfc
RD
6051}
6052
6053
554f62e9
RD
6054SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6055 PyObject *resultobj = 0;
6056 wxComboBox *arg1 = (wxComboBox *) 0 ;
6057 long result;
6058 void *argp1 = 0 ;
6059 int res1 = 0 ;
6060 PyObject *swig_obj[1] ;
6061
6062 if (!args) SWIG_fail;
6063 swig_obj[0] = args;
6064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6065 if (!SWIG_IsOK(res1)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6067 }
6068 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 resultobj = SWIG_From_long(static_cast< long >(result));
6076 return resultobj;
6077fail:
6078 return NULL;
6079}
6080
6081
6082SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj = 0;
6084 wxComboBox *arg1 = (wxComboBox *) 0 ;
6085 long arg2 ;
6086 long arg3 ;
6087 wxString *arg4 = 0 ;
6088 void *argp1 = 0 ;
6089 int res1 = 0 ;
6090 long val2 ;
6091 int ecode2 = 0 ;
6092 long val3 ;
6093 int ecode3 = 0 ;
6094 bool temp4 = false ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 PyObject * obj2 = 0 ;
6098 PyObject * obj3 = 0 ;
6099 char * kwnames[] = {
f460c29d 6100 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
6101 };
6102
6103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6107 }
6108 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6109 ecode2 = SWIG_AsVal_long(obj1, &val2);
6110 if (!SWIG_IsOK(ecode2)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6112 }
6113 arg2 = static_cast< long >(val2);
6114 ecode3 = SWIG_AsVal_long(obj2, &val3);
6115 if (!SWIG_IsOK(ecode3)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6117 }
6118 arg3 = static_cast< long >(val3);
6119 {
6120 arg4 = wxString_in_helper(obj3);
6121 if (arg4 == NULL) SWIG_fail;
6122 temp4 = true;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 resultobj = SWIG_Py_Void();
6131 {
6132 if (temp4)
6133 delete arg4;
6134 }
6135 return resultobj;
6136fail:
6137 {
6138 if (temp4)
6139 delete arg4;
6140 }
6141 return NULL;
6142}
6143
6144
6145SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj = 0;
6147 wxComboBox *arg1 = (wxComboBox *) 0 ;
6148 long arg2 ;
6149 long arg3 ;
6150 void *argp1 = 0 ;
6151 int res1 = 0 ;
6152 long val2 ;
6153 int ecode2 = 0 ;
6154 long val3 ;
6155 int ecode3 = 0 ;
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj1 = 0 ;
6158 PyObject * obj2 = 0 ;
6159 char * kwnames[] = {
f460c29d 6160 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6161 };
6162
6163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6165 if (!SWIG_IsOK(res1)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6167 }
6168 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6169 ecode2 = SWIG_AsVal_long(obj1, &val2);
6170 if (!SWIG_IsOK(ecode2)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6172 }
6173 arg2 = static_cast< long >(val2);
6174 ecode3 = SWIG_AsVal_long(obj2, &val3);
6175 if (!SWIG_IsOK(ecode3)) {
6176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6177 }
6178 arg3 = static_cast< long >(val3);
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 (arg1)->SetSelection(arg2,arg3);
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 resultobj = SWIG_Py_Void();
6186 return resultobj;
6187fail:
6188 return NULL;
6189}
6190
6191
6192SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6193 PyObject *resultobj = 0;
6194 wxComboBox *arg1 = (wxComboBox *) 0 ;
6195 long *arg2 = (long *) 0 ;
6196 long *arg3 = (long *) 0 ;
6197 void *argp1 = 0 ;
6198 int res1 = 0 ;
6199 long temp2 ;
6200 int res2 = SWIG_TMPOBJ ;
6201 long temp3 ;
6202 int res3 = SWIG_TMPOBJ ;
6203 PyObject *swig_obj[1] ;
6204
6205 arg2 = &temp2;
6206 arg3 = &temp3;
6207 if (!args) SWIG_fail;
6208 swig_obj[0] = args;
6209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6212 }
6213 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->GetSelection(arg2,arg3);
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_Py_Void();
6221 if (SWIG_IsTmpObj(res2)) {
6222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6223 } else {
6224 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6226 }
6227 if (SWIG_IsTmpObj(res3)) {
6228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6229 } else {
6230 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6232 }
6233 return resultobj;
6234fail:
6235 return NULL;
d55e5bfc
RD
6236}
6237
6238
554f62e9
RD
6239SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6240 PyObject *resultobj = 0;
6241 wxComboBox *arg1 = (wxComboBox *) 0 ;
6242 int result;
6243 void *argp1 = 0 ;
6244 int res1 = 0 ;
6245 PyObject *swig_obj[1] ;
6246
6247 if (!args) SWIG_fail;
6248 swig_obj[0] = args;
6249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6250 if (!SWIG_IsOK(res1)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6252 }
6253 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = SWIG_From_int(static_cast< int >(result));
6261 return resultobj;
6262fail:
6263 return NULL;
6264}
6265
6266
6267SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj = 0;
6269 wxComboBox *arg1 = (wxComboBox *) 0 ;
6270 wxString *arg2 = 0 ;
6271 bool result;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 bool temp2 = false ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "self",(char *) "string", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6285 }
6286 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6287 {
6288 arg2 = wxString_in_helper(obj1);
6289 if (arg2 == NULL) SWIG_fail;
6290 temp2 = true;
6291 }
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 {
6299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6300 }
6301 {
6302 if (temp2)
6303 delete arg2;
6304 }
6305 return resultobj;
6306fail:
6307 {
6308 if (temp2)
6309 delete arg2;
6310 }
6311 return NULL;
6312}
6313
6314
6315SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj = 0;
6317 wxComboBox *arg1 = (wxComboBox *) 0 ;
6318 bool arg2 ;
6319 void *argp1 = 0 ;
6320 int res1 = 0 ;
6321 bool val2 ;
6322 int ecode2 = 0 ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 char * kwnames[] = {
6326 (char *) "self",(char *) "editable", NULL
6327 };
6328
6329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6331 if (!SWIG_IsOK(res1)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 }
6334 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6336 if (!SWIG_IsOK(ecode2)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6338 }
6339 arg2 = static_cast< bool >(val2);
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 (arg1)->SetEditable(arg2);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_Py_Void();
6347 return resultobj;
6348fail:
6349 return NULL;
d55e5bfc
RD
6350}
6351
6352
554f62e9
RD
6353SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6354 PyObject *resultobj = 0;
6355 wxComboBox *arg1 = (wxComboBox *) 0 ;
6356 void *argp1 = 0 ;
6357 int res1 = 0 ;
6358 PyObject *swig_obj[1] ;
6359
6360 if (!args) SWIG_fail;
6361 swig_obj[0] = args;
6362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6363 if (!SWIG_IsOK(res1)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6365 }
6366 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = SWIG_Py_Void();
6374 return resultobj;
6375fail:
6376 return NULL;
6377}
6378
6379
6380SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj = 0;
6382 wxComboBox *arg1 = (wxComboBox *) 0 ;
6383 long arg2 ;
6384 long arg3 ;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 long val2 ;
6388 int ecode2 = 0 ;
6389 long val3 ;
6390 int ecode3 = 0 ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 char * kwnames[] = {
f460c29d 6395 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6396 };
6397
6398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6400 if (!SWIG_IsOK(res1)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6402 }
6403 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6404 ecode2 = SWIG_AsVal_long(obj1, &val2);
6405 if (!SWIG_IsOK(ecode2)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6407 }
6408 arg2 = static_cast< long >(val2);
6409 ecode3 = SWIG_AsVal_long(obj2, &val3);
6410 if (!SWIG_IsOK(ecode3)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6412 }
6413 arg3 = static_cast< long >(val3);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->Remove(arg2,arg3);
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422fail:
6423 return NULL;
d55e5bfc
RD
6424}
6425
6426
554f62e9
RD
6427SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 bool result;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 PyObject *swig_obj[1] ;
6434
6435 if (!args) SWIG_fail;
6436 swig_obj[0] = args;
6437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6438 if (!SWIG_IsOK(res1)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6440 }
6441 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450 }
6451 return resultobj;
6452fail:
6453 return NULL;
d55e5bfc
RD
6454}
6455
6456
554f62e9
RD
6457SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6458 PyObject *resultobj = 0;
6459 wxComboBox *arg1 = (wxComboBox *) 0 ;
6460 void *argp1 = 0 ;
6461 int res1 = 0 ;
6462 PyObject *swig_obj[1] ;
6463
6464 if (!args) SWIG_fail;
6465 swig_obj[0] = args;
6466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6467 if (!SWIG_IsOK(res1)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6469 }
6470 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 (arg1)->Undo();
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 resultobj = SWIG_Py_Void();
6478 return resultobj;
6479fail:
6480 return NULL;
d55e5bfc
RD
6481}
6482
6483
554f62e9
RD
6484SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6485 PyObject *resultobj = 0;
6486 wxComboBox *arg1 = (wxComboBox *) 0 ;
6487 void *argp1 = 0 ;
6488 int res1 = 0 ;
6489 PyObject *swig_obj[1] ;
6490
6491 if (!args) SWIG_fail;
6492 swig_obj[0] = args;
6493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6496 }
6497 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 (arg1)->Redo();
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_Py_Void();
6505 return resultobj;
6506fail:
6507 return NULL;
d55e5bfc
RD
6508}
6509
6510
554f62e9
RD
6511SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6512 PyObject *resultobj = 0;
6513 wxComboBox *arg1 = (wxComboBox *) 0 ;
6514 void *argp1 = 0 ;
6515 int res1 = 0 ;
6516 PyObject *swig_obj[1] ;
6517
6518 if (!args) SWIG_fail;
6519 swig_obj[0] = args;
6520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6521 if (!SWIG_IsOK(res1)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6523 }
6524 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 (arg1)->SelectAll();
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = SWIG_Py_Void();
6532 return resultobj;
6533fail:
6534 return NULL;
f78cc896
RD
6535}
6536
6537
554f62e9
RD
6538SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6539 PyObject *resultobj = 0;
6540 wxComboBox *arg1 = (wxComboBox *) 0 ;
6541 bool result;
6542 void *argp1 = 0 ;
6543 int res1 = 0 ;
6544 PyObject *swig_obj[1] ;
6545
6546 if (!args) SWIG_fail;
6547 swig_obj[0] = args;
6548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6549 if (!SWIG_IsOK(res1)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6551 }
6552 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 {
6560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6561 }
6562 return resultobj;
6563fail:
6564 return NULL;
9d7dfdff
RD
6565}
6566
6567
554f62e9
RD
6568SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6569 PyObject *resultobj = 0;
6570 wxComboBox *arg1 = (wxComboBox *) 0 ;
6571 bool result;
6572 void *argp1 = 0 ;
6573 int res1 = 0 ;
6574 PyObject *swig_obj[1] ;
6575
6576 if (!args) SWIG_fail;
6577 swig_obj[0] = args;
6578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6579 if (!SWIG_IsOK(res1)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6581 }
6582 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = (bool)((wxComboBox const *)arg1)->CanCut();
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 {
6590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6591 }
6592 return resultobj;
6593fail:
6594 return NULL;
121b9a67
RD
6595}
6596
6597
554f62e9
RD
6598SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6599 PyObject *resultobj = 0;
6600 wxComboBox *arg1 = (wxComboBox *) 0 ;
6601 bool result;
6602 void *argp1 = 0 ;
6603 int res1 = 0 ;
6604 PyObject *swig_obj[1] ;
6605
6606 if (!args) SWIG_fail;
6607 swig_obj[0] = args;
6608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6609 if (!SWIG_IsOK(res1)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6611 }
6612 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 {
6620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6621 }
6622 return resultobj;
6623fail:
6624 return NULL;
121b9a67
RD
6625}
6626
6627
554f62e9
RD
6628SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6629 PyObject *resultobj = 0;
6630 wxComboBox *arg1 = (wxComboBox *) 0 ;
6631 bool result;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 PyObject *swig_obj[1] ;
6635
6636 if (!args) SWIG_fail;
6637 swig_obj[0] = args;
6638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6639 if (!SWIG_IsOK(res1)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6641 }
6642 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 {
6650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6651 }
6652 return resultobj;
6653fail:
6654 return NULL;
d55e5bfc
RD
6655}
6656
6657
554f62e9
RD
6658SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6659 PyObject *resultobj = 0;
6660 wxComboBox *arg1 = (wxComboBox *) 0 ;
6661 bool result;
6662 void *argp1 = 0 ;
6663 int res1 = 0 ;
6664 PyObject *swig_obj[1] ;
6665
6666 if (!args) SWIG_fail;
6667 swig_obj[0] = args;
6668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6669 if (!SWIG_IsOK(res1)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6671 }
6672 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 {
6680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6681 }
6682 return resultobj;
6683fail:
6684 return NULL;
d55e5bfc
RD
6685}
6686
6687
554f62e9
RD
6688SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj = 0;
6690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6691 SwigValueWrapper<wxVisualAttributes > result;
6692 int val1 ;
6693 int ecode1 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "variant", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6700 if (obj0) {
6701 ecode1 = SWIG_AsVal_int(obj0, &val1);
6702 if (!SWIG_IsOK(ecode1)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6704 }
6705 arg1 = static_cast< wxWindowVariant >(val1);
6706 }
6707 {
6708 if (!wxPyCheckForApp()) SWIG_fail;
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = wxComboBox::GetClassDefaultAttributes(arg1);
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6715 return resultobj;
6716fail:
6717 return NULL;
d55e5bfc
RD
6718}
6719
6720
554f62e9
RD
6721SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6722 PyObject *obj;
6723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6725 return SWIG_Py_Void();
b519803b
RD
6726}
6727
554f62e9
RD
6728SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6729 return SWIG_Python_InitShadowInstance(args);
6730}
b519803b 6731
554f62e9
RD
6732SWIGINTERN int GaugeNameStr_set(PyObject *) {
6733 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6734 return 1;
b519803b
RD
6735}
6736
6737
554f62e9
RD
6738SWIGINTERN PyObject *GaugeNameStr_get(void) {
6739 PyObject *pyobj = 0;
6740
6741 {
6742#if wxUSE_UNICODE
6743 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6744#else
6745 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6746#endif
6747 }
6748 return pyobj;
6749}
6750
6751
6752SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj = 0;
6754 wxWindow *arg1 = (wxWindow *) 0 ;
6755 int arg2 = (int) -1 ;
6756 int arg3 = (int) 100 ;
6757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6759 wxSize const &arg5_defvalue = wxDefaultSize ;
6760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6761 long arg6 = (long) wxGA_HORIZONTAL ;
6762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6764 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6765 wxString *arg8 = (wxString *) &arg8_defvalue ;
6766 wxGauge *result = 0 ;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 int val2 ;
6770 int ecode2 = 0 ;
6771 int val3 ;
6772 int ecode3 = 0 ;
6773 wxPoint temp4 ;
6774 wxSize temp5 ;
6775 long val6 ;
6776 int ecode6 = 0 ;
6777 void *argp7 = 0 ;
6778 int res7 = 0 ;
6779 bool temp8 = false ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 PyObject * obj2 = 0 ;
6783 PyObject * obj3 = 0 ;
6784 PyObject * obj4 = 0 ;
6785 PyObject * obj5 = 0 ;
6786 PyObject * obj6 = 0 ;
6787 PyObject * obj7 = 0 ;
6788 char * kwnames[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6790 };
6791
6792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6794 if (!SWIG_IsOK(res1)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6796 }
6797 arg1 = reinterpret_cast< wxWindow * >(argp1);
6798 if (obj1) {
6799 ecode2 = SWIG_AsVal_int(obj1, &val2);
6800 if (!SWIG_IsOK(ecode2)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6802 }
6803 arg2 = static_cast< int >(val2);
6804 }
6805 if (obj2) {
6806 ecode3 = SWIG_AsVal_int(obj2, &val3);
6807 if (!SWIG_IsOK(ecode3)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6809 }
6810 arg3 = static_cast< int >(val3);
6811 }
6812 if (obj3) {
b519803b 6813 {
554f62e9
RD
6814 arg4 = &temp4;
6815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b519803b 6816 }
554f62e9
RD
6817 }
6818 if (obj4) {
b519803b 6819 {
554f62e9
RD
6820 arg5 = &temp5;
6821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b519803b 6822 }
554f62e9
RD
6823 }
6824 if (obj5) {
6825 ecode6 = SWIG_AsVal_long(obj5, &val6);
6826 if (!SWIG_IsOK(ecode6)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6828 }
6829 arg6 = static_cast< long >(val6);
6830 }
6831 if (obj6) {
6832 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6833 if (!SWIG_IsOK(res7)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 }
6836 if (!argp7) {
6837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
b519803b 6838 }
554f62e9
RD
6839 arg7 = reinterpret_cast< wxValidator * >(argp7);
6840 }
6841 if (obj7) {
b519803b 6842 {
554f62e9
RD
6843 arg8 = wxString_in_helper(obj7);
6844 if (arg8 == NULL) SWIG_fail;
6845 temp8 = true;
b519803b 6846 }
554f62e9
RD
6847 }
6848 {
6849 if (!wxPyCheckForApp()) SWIG_fail;
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6856 {
6857 if (temp8)
6858 delete arg8;
6859 }
6860 return resultobj;
6861fail:
6862 {
6863 if (temp8)
6864 delete arg8;
6865 }
6866 return NULL;
b519803b
RD
6867}
6868
6869
554f62e9
RD
6870SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6871 PyObject *resultobj = 0;
6872 wxGauge *result = 0 ;
6873
6874 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6875 {
6876 if (!wxPyCheckForApp()) SWIG_fail;
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 result = (wxGauge *)new wxGauge();
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6883 return resultobj;
6884fail:
6885 return NULL;
6886}
6887
6888
6889SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj = 0;
6891 wxGauge *arg1 = (wxGauge *) 0 ;
6892 wxWindow *arg2 = (wxWindow *) 0 ;
6893 int arg3 = (int) -1 ;
6894 int arg4 = (int) 100 ;
6895 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6896 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6897 wxSize const &arg6_defvalue = wxDefaultSize ;
6898 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6899 long arg7 = (long) wxGA_HORIZONTAL ;
6900 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6901 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6902 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6903 wxString *arg9 = (wxString *) &arg9_defvalue ;
6904 bool result;
6905 void *argp1 = 0 ;
6906 int res1 = 0 ;
6907 void *argp2 = 0 ;
6908 int res2 = 0 ;
6909 int val3 ;
6910 int ecode3 = 0 ;
6911 int val4 ;
6912 int ecode4 = 0 ;
6913 wxPoint temp5 ;
6914 wxSize temp6 ;
6915 long val7 ;
6916 int ecode7 = 0 ;
6917 void *argp8 = 0 ;
6918 int res8 = 0 ;
6919 bool temp9 = false ;
6920 PyObject * obj0 = 0 ;
6921 PyObject * obj1 = 0 ;
6922 PyObject * obj2 = 0 ;
6923 PyObject * obj3 = 0 ;
6924 PyObject * obj4 = 0 ;
6925 PyObject * obj5 = 0 ;
6926 PyObject * obj6 = 0 ;
6927 PyObject * obj7 = 0 ;
6928 PyObject * obj8 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6937 }
6938 arg1 = reinterpret_cast< wxGauge * >(argp1);
6939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6940 if (!SWIG_IsOK(res2)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6942 }
6943 arg2 = reinterpret_cast< wxWindow * >(argp2);
6944 if (obj2) {
6945 ecode3 = SWIG_AsVal_int(obj2, &val3);
6946 if (!SWIG_IsOK(ecode3)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6948 }
6949 arg3 = static_cast< int >(val3);
6950 }
6951 if (obj3) {
6952 ecode4 = SWIG_AsVal_int(obj3, &val4);
6953 if (!SWIG_IsOK(ecode4)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6955 }
6956 arg4 = static_cast< int >(val4);
6957 }
6958 if (obj4) {
b519803b 6959 {
554f62e9
RD
6960 arg5 = &temp5;
6961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b519803b 6962 }
554f62e9
RD
6963 }
6964 if (obj5) {
b519803b 6965 {
554f62e9
RD
6966 arg6 = &temp6;
6967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b519803b 6968 }
554f62e9
RD
6969 }
6970 if (obj6) {
6971 ecode7 = SWIG_AsVal_long(obj6, &val7);
6972 if (!SWIG_IsOK(ecode7)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6974 }
6975 arg7 = static_cast< long >(val7);
6976 }
6977 if (obj7) {
6978 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6979 if (!SWIG_IsOK(res8)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
b519803b 6981 }
554f62e9
RD
6982 if (!argp8) {
6983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 }
6985 arg8 = reinterpret_cast< wxValidator * >(argp8);
6986 }
6987 if (obj8) {
b519803b 6988 {
554f62e9
RD
6989 arg9 = wxString_in_helper(obj8);
6990 if (arg9 == NULL) SWIG_fail;
6991 temp9 = true;
b519803b 6992 }
554f62e9
RD
6993 }
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7002 }
7003 {
7004 if (temp9)
7005 delete arg9;
7006 }
7007 return resultobj;
7008fail:
7009 {
7010 if (temp9)
7011 delete arg9;
7012 }
7013 return NULL;
7014}
7015
7016
7017SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxGauge *arg1 = (wxGauge *) 0 ;
7020 int arg2 ;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 int val2 ;
7024 int ecode2 = 0 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "self",(char *) "range", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7035 }
7036 arg1 = reinterpret_cast< wxGauge * >(argp1);
7037 ecode2 = SWIG_AsVal_int(obj1, &val2);
7038 if (!SWIG_IsOK(ecode2)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7040 }
7041 arg2 = static_cast< int >(val2);
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetRange(arg2);
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 resultobj = SWIG_Py_Void();
7049 return resultobj;
7050fail:
7051 return NULL;
b519803b
RD
7052}
7053
7054
554f62e9
RD
7055SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7056 PyObject *resultobj = 0;
7057 wxGauge *arg1 = (wxGauge *) 0 ;
7058 int result;
7059 void *argp1 = 0 ;
7060 int res1 = 0 ;
7061 PyObject *swig_obj[1] ;
7062
7063 if (!args) SWIG_fail;
7064 swig_obj[0] = args;
7065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7066 if (!SWIG_IsOK(res1)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7068 }
7069 arg1 = reinterpret_cast< wxGauge * >(argp1);
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (int)((wxGauge const *)arg1)->GetRange();
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_From_int(static_cast< int >(result));
7077 return resultobj;
7078fail:
7079 return NULL;
7080}
7081
7082
7083SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = 0;
7085 wxGauge *arg1 = (wxGauge *) 0 ;
7086 int arg2 ;
7087 void *argp1 = 0 ;
7088 int res1 = 0 ;
7089 int val2 ;
7090 int ecode2 = 0 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char * kwnames[] = {
7094 (char *) "self",(char *) "pos", NULL
7095 };
7096
7097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7099 if (!SWIG_IsOK(res1)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7101 }
7102 arg1 = reinterpret_cast< wxGauge * >(argp1);
7103 ecode2 = SWIG_AsVal_int(obj1, &val2);
7104 if (!SWIG_IsOK(ecode2)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7106 }
7107 arg2 = static_cast< int >(val2);
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetValue(arg2);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 resultobj = SWIG_Py_Void();
7115 return resultobj;
7116fail:
7117 return NULL;
b519803b
RD
7118}
7119
7120
554f62e9
RD
7121SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7122 PyObject *resultobj = 0;
7123 wxGauge *arg1 = (wxGauge *) 0 ;
7124 int result;
7125 void *argp1 = 0 ;
7126 int res1 = 0 ;
7127 PyObject *swig_obj[1] ;
7128
7129 if (!args) SWIG_fail;
7130 swig_obj[0] = args;
7131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7132 if (!SWIG_IsOK(res1)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7134 }
7135 arg1 = reinterpret_cast< wxGauge * >(argp1);
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (int)((wxGauge const *)arg1)->GetValue();
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = SWIG_From_int(static_cast< int >(result));
7143 return resultobj;
7144fail:
7145 return NULL;
b519803b
RD
7146}
7147
7148
0d2c9713
RD
7149SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7150 PyObject *resultobj = 0;
7151 wxGauge *arg1 = (wxGauge *) 0 ;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 PyObject *swig_obj[1] ;
7155
7156 if (!args) SWIG_fail;
7157 swig_obj[0] = args;
7158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7161 }
7162 arg1 = reinterpret_cast< wxGauge * >(argp1);
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->Pulse();
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 resultobj = SWIG_Py_Void();
7170 return resultobj;
7171fail:
7172 return NULL;
7173}
7174
7175
554f62e9
RD
7176SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7177 PyObject *resultobj = 0;
7178 wxGauge *arg1 = (wxGauge *) 0 ;
7179 bool result;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 PyObject *swig_obj[1] ;
7183
7184 if (!args) SWIG_fail;
7185 swig_obj[0] = args;
7186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7187 if (!SWIG_IsOK(res1)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7189 }
7190 arg1 = reinterpret_cast< wxGauge * >(argp1);
7191 {
7192 PyThreadState* __tstate = wxPyBeginAllowThreads();
7193 result = (bool)((wxGauge const *)arg1)->IsVertical();
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 return resultobj;
7201fail:
7202 return NULL;
7203}
7204
7205
7206SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj = 0;
7208 wxGauge *arg1 = (wxGauge *) 0 ;
7209 int arg2 ;
7210 void *argp1 = 0 ;
7211 int res1 = 0 ;
7212 int val2 ;
7213 int ecode2 = 0 ;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 char * kwnames[] = {
7217 (char *) "self",(char *) "w", NULL
7218 };
7219
7220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7222 if (!SWIG_IsOK(res1)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7224 }
7225 arg1 = reinterpret_cast< wxGauge * >(argp1);
7226 ecode2 = SWIG_AsVal_int(obj1, &val2);
7227 if (!SWIG_IsOK(ecode2)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7229 }
7230 arg2 = static_cast< int >(val2);
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->SetShadowWidth(arg2);
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_Py_Void();
7238 return resultobj;
7239fail:
7240 return NULL;
f20a2e1f
RD
7241}
7242
7243
554f62e9
RD
7244SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7245 PyObject *resultobj = 0;
7246 wxGauge *arg1 = (wxGauge *) 0 ;
7247 int result;
7248 void *argp1 = 0 ;
7249 int res1 = 0 ;
7250 PyObject *swig_obj[1] ;
7251
7252 if (!args) SWIG_fail;
7253 swig_obj[0] = args;
7254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7257 }
7258 arg1 = reinterpret_cast< wxGauge * >(argp1);
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_From_int(static_cast< int >(result));
7266 return resultobj;
7267fail:
7268 return NULL;
7269}
7270
7271
7272SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj = 0;
7274 wxGauge *arg1 = (wxGauge *) 0 ;
7275 int arg2 ;
7276 void *argp1 = 0 ;
7277 int res1 = 0 ;
7278 int val2 ;
7279 int ecode2 = 0 ;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "self",(char *) "w", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7288 if (!SWIG_IsOK(res1)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7290 }
7291 arg1 = reinterpret_cast< wxGauge * >(argp1);
7292 ecode2 = SWIG_AsVal_int(obj1, &val2);
7293 if (!SWIG_IsOK(ecode2)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7295 }
7296 arg2 = static_cast< int >(val2);
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 (arg1)->SetBezelFace(arg2);
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_Py_Void();
7304 return resultobj;
7305fail:
7306 return NULL;
d55e5bfc 7307}
554f62e9
RD
7308
7309
7310SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7311 PyObject *resultobj = 0;
7312 wxGauge *arg1 = (wxGauge *) 0 ;
7313 int result;
7314 void *argp1 = 0 ;
7315 int res1 = 0 ;
7316 PyObject *swig_obj[1] ;
7317
7318 if (!args) SWIG_fail;
7319 swig_obj[0] = args;
7320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7321 if (!SWIG_IsOK(res1)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7323 }
7324 arg1 = reinterpret_cast< wxGauge * >(argp1);
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 resultobj = SWIG_From_int(static_cast< int >(result));
7332 return resultobj;
7333fail:
7334 return NULL;
7335}
7336
7337
7338SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj = 0;
7340 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7341 SwigValueWrapper<wxVisualAttributes > result;
7342 int val1 ;
7343 int ecode1 = 0 ;
7344 PyObject * obj0 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "variant", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7350 if (obj0) {
7351 ecode1 = SWIG_AsVal_int(obj0, &val1);
7352 if (!SWIG_IsOK(ecode1)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7354 }
7355 arg1 = static_cast< wxWindowVariant >(val1);
7356 }
7357 {
7358 if (!wxPyCheckForApp()) SWIG_fail;
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = wxGauge::GetClassDefaultAttributes(arg1);
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7365 return resultobj;
7366fail:
7367 return NULL;
d55e5bfc
RD
7368}
7369
7370
554f62e9
RD
7371SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7372 PyObject *obj;
7373 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7375 return SWIG_Py_Void();
7376}
7377
7378SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7379 return SWIG_Python_InitShadowInstance(args);
7380}
7381
7382SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7383 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7384 return 1;
7385}
7386
7387
7388SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7389 PyObject *pyobj = 0;
7390
7391 {
d55e5bfc 7392#if wxUSE_UNICODE
554f62e9 7393 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7394#else
554f62e9 7395 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7396#endif
554f62e9
RD
7397 }
7398 return pyobj;
d55e5bfc
RD
7399}
7400
7401
554f62e9
RD
7402SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7403 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7404 return 1;
d55e5bfc
RD
7405}
7406
7407
554f62e9
RD
7408SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7409 PyObject *pyobj = 0;
7410
7411 {
7412#if wxUSE_UNICODE
7413 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7414#else
7415 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7416#endif
7417 }
7418 return pyobj;
7419}
7420
7421
7422SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7423 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7424 return 1;
7425}
7426
7427
7428SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7429 PyObject *pyobj = 0;
7430
7431 {
7432#if wxUSE_UNICODE
7433 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7434#else
7435 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7436#endif
7437 }
7438 return pyobj;
7439}
7440
7441
3f7f284d
RD
7442SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7443 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7444 return 1;
7445}
7446
7447
7448SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7449 PyObject *pyobj = 0;
7450
7451 {
7452#if wxUSE_UNICODE
7453 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7454#else
7455 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7456#endif
7457 }
7458 return pyobj;
7459}
7460
7461
554f62e9
RD
7462SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj = 0;
7464 wxWindow *arg1 = (wxWindow *) 0 ;
7465 int arg2 = (int) -1 ;
7466 wxString const &arg3_defvalue = wxPyEmptyString ;
7467 wxString *arg3 = (wxString *) &arg3_defvalue ;
7468 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7469 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7470 wxSize const &arg5_defvalue = wxDefaultSize ;
7471 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7472 long arg6 = (long) 0 ;
7473 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7474 wxString *arg7 = (wxString *) &arg7_defvalue ;
7475 wxStaticBox *result = 0 ;
7476 void *argp1 = 0 ;
7477 int res1 = 0 ;
7478 int val2 ;
7479 int ecode2 = 0 ;
7480 bool temp3 = false ;
7481 wxPoint temp4 ;
7482 wxSize temp5 ;
7483 long val6 ;
7484 int ecode6 = 0 ;
7485 bool temp7 = false ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 PyObject * obj2 = 0 ;
7489 PyObject * obj3 = 0 ;
7490 PyObject * obj4 = 0 ;
7491 PyObject * obj5 = 0 ;
7492 PyObject * obj6 = 0 ;
7493 char * kwnames[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7495 };
7496
7497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7499 if (!SWIG_IsOK(res1)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7501 }
7502 arg1 = reinterpret_cast< wxWindow * >(argp1);
7503 if (obj1) {
7504 ecode2 = SWIG_AsVal_int(obj1, &val2);
7505 if (!SWIG_IsOK(ecode2)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7507 }
7508 arg2 = static_cast< int >(val2);
7509 }
7510 if (obj2) {
d55e5bfc 7511 {
554f62e9
RD
7512 arg3 = wxString_in_helper(obj2);
7513 if (arg3 == NULL) SWIG_fail;
7514 temp3 = true;
d55e5bfc 7515 }
554f62e9
RD
7516 }
7517 if (obj3) {
d55e5bfc 7518 {
554f62e9
RD
7519 arg4 = &temp4;
7520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7521 }
554f62e9
RD
7522 }
7523 if (obj4) {
d55e5bfc 7524 {
554f62e9
RD
7525 arg5 = &temp5;
7526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7527 }
554f62e9
RD
7528 }
7529 if (obj5) {
7530 ecode6 = SWIG_AsVal_long(obj5, &val6);
7531 if (!SWIG_IsOK(ecode6)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7533 }
7534 arg6 = static_cast< long >(val6);
7535 }
7536 if (obj6) {
d55e5bfc 7537 {
554f62e9
RD
7538 arg7 = wxString_in_helper(obj6);
7539 if (arg7 == NULL) SWIG_fail;
7540 temp7 = true;
d55e5bfc 7541 }
554f62e9
RD
7542 }
7543 {
7544 if (!wxPyCheckForApp()) SWIG_fail;
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7551 {
7552 if (temp3)
7553 delete arg3;
7554 }
7555 {
7556 if (temp7)
7557 delete arg7;
7558 }
7559 return resultobj;
7560fail:
7561 {
7562 if (temp3)
7563 delete arg3;
7564 }
7565 {
7566 if (temp7)
7567 delete arg7;
7568 }
7569 return NULL;
d55e5bfc
RD
7570}
7571
7572
554f62e9
RD
7573SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7574 PyObject *resultobj = 0;
7575 wxStaticBox *result = 0 ;
7576
7577 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7578 {
7579 if (!wxPyCheckForApp()) SWIG_fail;
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (wxStaticBox *)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7586 return resultobj;
7587fail:
7588 return NULL;
7589}
7590
7591
7592SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj = 0;
7594 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7595 wxWindow *arg2 = (wxWindow *) 0 ;
7596 int arg3 = (int) -1 ;
7597 wxString const &arg4_defvalue = wxPyEmptyString ;
7598 wxString *arg4 = (wxString *) &arg4_defvalue ;
7599 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7600 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7601 wxSize const &arg6_defvalue = wxDefaultSize ;
7602 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7603 long arg7 = (long) 0 ;
7604 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7605 wxString *arg8 = (wxString *) &arg8_defvalue ;
7606 bool result;
7607 void *argp1 = 0 ;
7608 int res1 = 0 ;
7609 void *argp2 = 0 ;
7610 int res2 = 0 ;
7611 int val3 ;
7612 int ecode3 = 0 ;
7613 bool temp4 = false ;
7614 wxPoint temp5 ;
7615 wxSize temp6 ;
7616 long val7 ;
7617 int ecode7 = 0 ;
7618 bool temp8 = false ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 PyObject * obj2 = 0 ;
7622 PyObject * obj3 = 0 ;
7623 PyObject * obj4 = 0 ;
7624 PyObject * obj5 = 0 ;
7625 PyObject * obj6 = 0 ;
7626 PyObject * obj7 = 0 ;
7627 char * kwnames[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7629 };
7630
7631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7633 if (!SWIG_IsOK(res1)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7635 }
7636 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7638 if (!SWIG_IsOK(res2)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7640 }
7641 arg2 = reinterpret_cast< wxWindow * >(argp2);
7642 if (obj2) {
7643 ecode3 = SWIG_AsVal_int(obj2, &val3);
7644 if (!SWIG_IsOK(ecode3)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7646 }
7647 arg3 = static_cast< int >(val3);
7648 }
7649 if (obj3) {
093d3ff1 7650 {
554f62e9
RD
7651 arg4 = wxString_in_helper(obj3);
7652 if (arg4 == NULL) SWIG_fail;
7653 temp4 = true;
093d3ff1 7654 }
554f62e9
RD
7655 }
7656 if (obj4) {
d55e5bfc 7657 {
554f62e9
RD
7658 arg5 = &temp5;
7659 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7660 }
554f62e9
RD
7661 }
7662 if (obj5) {
d55e5bfc 7663 {
554f62e9
RD
7664 arg6 = &temp6;
7665 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7666 }
554f62e9
RD
7667 }
7668 if (obj6) {
7669 ecode7 = SWIG_AsVal_long(obj6, &val7);
7670 if (!SWIG_IsOK(ecode7)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7672 }
7673 arg7 = static_cast< long >(val7);
7674 }
7675 if (obj7) {
093d3ff1 7676 {
554f62e9
RD
7677 arg8 = wxString_in_helper(obj7);
7678 if (arg8 == NULL) SWIG_fail;
7679 temp8 = true;
093d3ff1 7680 }
554f62e9
RD
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
7691 {
7692 if (temp4)
7693 delete arg4;
7694 }
7695 {
7696 if (temp8)
7697 delete arg8;
7698 }
7699 return resultobj;
7700fail:
7701 {
7702 if (temp4)
7703 delete arg4;
7704 }
7705 {
7706 if (temp8)
7707 delete arg8;
7708 }
7709 return NULL;
7710}
d55e5bfc 7711
554f62e9
RD
7712
7713SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj = 0;
7715 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7716 SwigValueWrapper<wxVisualAttributes > result;
7717 int val1 ;
7718 int ecode1 = 0 ;
7719 PyObject * obj0 = 0 ;
7720 char * kwnames[] = {
7721 (char *) "variant", NULL
7722 };
7723
7724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7725 if (obj0) {
7726 ecode1 = SWIG_AsVal_int(obj0, &val1);
7727 if (!SWIG_IsOK(ecode1)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7729 }
7730 arg1 = static_cast< wxWindowVariant >(val1);
7731 }
7732 {
7733 if (!wxPyCheckForApp()) SWIG_fail;
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7740 return resultobj;
7741fail:
7742 return NULL;
7743}
7744
7745
7746SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7747 PyObject *obj;
7748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7750 return SWIG_Py_Void();
7751}
7752
7753SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7754 return SWIG_Python_InitShadowInstance(args);
7755}
7756
7757SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = 0;
7759 wxWindow *arg1 = (wxWindow *) 0 ;
7760 int arg2 = (int) -1 ;
7761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7763 wxSize const &arg4_defvalue = wxDefaultSize ;
7764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7765 long arg5 = (long) wxLI_HORIZONTAL ;
3f7f284d 7766 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
554f62e9
RD
7767 wxString *arg6 = (wxString *) &arg6_defvalue ;
7768 wxStaticLine *result = 0 ;
7769 void *argp1 = 0 ;
7770 int res1 = 0 ;
7771 int val2 ;
7772 int ecode2 = 0 ;
7773 wxPoint temp3 ;
7774 wxSize temp4 ;
7775 long val5 ;
7776 int ecode5 = 0 ;
7777 bool temp6 = false ;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 PyObject * obj2 = 0 ;
7781 PyObject * obj3 = 0 ;
7782 PyObject * obj4 = 0 ;
7783 PyObject * obj5 = 0 ;
7784 char * kwnames[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7786 };
7787
7788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7790 if (!SWIG_IsOK(res1)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7792 }
7793 arg1 = reinterpret_cast< wxWindow * >(argp1);
7794 if (obj1) {
7795 ecode2 = SWIG_AsVal_int(obj1, &val2);
7796 if (!SWIG_IsOK(ecode2)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7798 }
7799 arg2 = static_cast< int >(val2);
7800 }
7801 if (obj2) {
093d3ff1 7802 {
554f62e9
RD
7803 arg3 = &temp3;
7804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7805 }
554f62e9
RD
7806 }
7807 if (obj3) {
d55e5bfc 7808 {
554f62e9
RD
7809 arg4 = &temp4;
7810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7811 }
554f62e9
RD
7812 }
7813 if (obj4) {
7814 ecode5 = SWIG_AsVal_long(obj4, &val5);
7815 if (!SWIG_IsOK(ecode5)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7817 }
7818 arg5 = static_cast< long >(val5);
7819 }
7820 if (obj5) {
7821 {
7822 arg6 = wxString_in_helper(obj5);
7823 if (arg6 == NULL) SWIG_fail;
7824 temp6 = true;
7825 }
7826 }
7827 {
7828 if (!wxPyCheckForApp()) SWIG_fail;
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7835 {
7836 if (temp6)
7837 delete arg6;
7838 }
7839 return resultobj;
7840fail:
7841 {
7842 if (temp6)
7843 delete arg6;
7844 }
7845 return NULL;
d55e5bfc
RD
7846}
7847
7848
554f62e9
RD
7849SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7850 PyObject *resultobj = 0;
7851 wxStaticLine *result = 0 ;
7852
7853 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7862 return resultobj;
7863fail:
7864 return NULL;
7865}
7866
7867
7868SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj = 0;
7870 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7871 wxWindow *arg2 = (wxWindow *) 0 ;
7872 int arg3 = (int) -1 ;
7873 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7874 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7875 wxSize const &arg5_defvalue = wxDefaultSize ;
7876 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7877 long arg6 = (long) wxLI_HORIZONTAL ;
3f7f284d 7878 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
554f62e9
RD
7879 wxString *arg7 = (wxString *) &arg7_defvalue ;
7880 bool result;
7881 void *argp1 = 0 ;
7882 int res1 = 0 ;
7883 void *argp2 = 0 ;
7884 int res2 = 0 ;
7885 int val3 ;
7886 int ecode3 = 0 ;
7887 wxPoint temp4 ;
7888 wxSize temp5 ;
7889 long val6 ;
7890 int ecode6 = 0 ;
7891 bool temp7 = false ;
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 PyObject * obj2 = 0 ;
7895 PyObject * obj3 = 0 ;
7896 PyObject * obj4 = 0 ;
7897 PyObject * obj5 = 0 ;
7898 PyObject * obj6 = 0 ;
7899 char * kwnames[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 };
7902
7903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7905 if (!SWIG_IsOK(res1)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7907 }
7908 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7910 if (!SWIG_IsOK(res2)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7912 }
7913 arg2 = reinterpret_cast< wxWindow * >(argp2);
7914 if (obj2) {
7915 ecode3 = SWIG_AsVal_int(obj2, &val3);
7916 if (!SWIG_IsOK(ecode3)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7918 }
7919 arg3 = static_cast< int >(val3);
7920 }
7921 if (obj3) {
d55e5bfc 7922 {
554f62e9
RD
7923 arg4 = &temp4;
7924 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7925 }
554f62e9
RD
7926 }
7927 if (obj4) {
093d3ff1 7928 {
554f62e9
RD
7929 arg5 = &temp5;
7930 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7931 }
554f62e9
RD
7932 }
7933 if (obj5) {
7934 ecode6 = SWIG_AsVal_long(obj5, &val6);
7935 if (!SWIG_IsOK(ecode6)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7937 }
7938 arg6 = static_cast< long >(val6);
7939 }
7940 if (obj6) {
7941 {
7942 arg7 = wxString_in_helper(obj6);
7943 if (arg7 == NULL) SWIG_fail;
7944 temp7 = true;
7945 }
7946 }
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7955 }
7956 {
7957 if (temp7)
7958 delete arg7;
7959 }
7960 return resultobj;
7961fail:
7962 {
7963 if (temp7)
7964 delete arg7;
7965 }
7966 return NULL;
d55e5bfc
RD
7967}
7968
7969
554f62e9
RD
7970SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7971 PyObject *resultobj = 0;
7972 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7973 bool result;
7974 void *argp1 = 0 ;
7975 int res1 = 0 ;
7976 PyObject *swig_obj[1] ;
7977
7978 if (!args) SWIG_fail;
7979 swig_obj[0] = args;
7980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7981 if (!SWIG_IsOK(res1)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7983 }
7984 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 {
7992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7993 }
7994 return resultobj;
7995fail:
7996 return NULL;
7997}
7998
7999
8000SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8001 PyObject *resultobj = 0;
8002 int result;
8003
8004 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 resultobj = SWIG_From_int(static_cast< int >(result));
8012 return resultobj;
8013fail:
8014 return NULL;
8015}
8016
8017
8018SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj = 0;
8020 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8021 SwigValueWrapper<wxVisualAttributes > result;
8022 int val1 ;
8023 int ecode1 = 0 ;
8024 PyObject * obj0 = 0 ;
8025 char * kwnames[] = {
8026 (char *) "variant", NULL
8027 };
8028
8029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8030 if (obj0) {
8031 ecode1 = SWIG_AsVal_int(obj0, &val1);
8032 if (!SWIG_IsOK(ecode1)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8034 }
8035 arg1 = static_cast< wxWindowVariant >(val1);
8036 }
8037 {
8038 if (!wxPyCheckForApp()) SWIG_fail;
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8045 return resultobj;
8046fail:
8047 return NULL;
8048}
8049
8050
8051SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 PyObject *obj;
8053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8055 return SWIG_Py_Void();
8056}
8057
8058SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8059 return SWIG_Python_InitShadowInstance(args);
8060}
8061
8062SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxWindow *arg1 = (wxWindow *) 0 ;
8065 int arg2 = (int) -1 ;
8066 wxString const &arg3_defvalue = wxPyEmptyString ;
8067 wxString *arg3 = (wxString *) &arg3_defvalue ;
8068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8070 wxSize const &arg5_defvalue = wxDefaultSize ;
8071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8072 long arg6 = (long) 0 ;
8073 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8074 wxString *arg7 = (wxString *) &arg7_defvalue ;
8075 wxStaticText *result = 0 ;
8076 void *argp1 = 0 ;
8077 int res1 = 0 ;
8078 int val2 ;
8079 int ecode2 = 0 ;
8080 bool temp3 = false ;
8081 wxPoint temp4 ;
8082 wxSize temp5 ;
8083 long val6 ;
8084 int ecode6 = 0 ;
8085 bool temp7 = false ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 PyObject * obj3 = 0 ;
8090 PyObject * obj4 = 0 ;
8091 PyObject * obj5 = 0 ;
8092 PyObject * obj6 = 0 ;
8093 char * kwnames[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 };
8096
8097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8099 if (!SWIG_IsOK(res1)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8101 }
8102 arg1 = reinterpret_cast< wxWindow * >(argp1);
8103 if (obj1) {
8104 ecode2 = SWIG_AsVal_int(obj1, &val2);
8105 if (!SWIG_IsOK(ecode2)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8107 }
8108 arg2 = static_cast< int >(val2);
8109 }
8110 if (obj2) {
d55e5bfc 8111 {
554f62e9
RD
8112 arg3 = wxString_in_helper(obj2);
8113 if (arg3 == NULL) SWIG_fail;
8114 temp3 = true;
d55e5bfc 8115 }
554f62e9
RD
8116 }
8117 if (obj3) {
d55e5bfc 8118 {
554f62e9
RD
8119 arg4 = &temp4;
8120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8121 }
554f62e9
RD
8122 }
8123 if (obj4) {
093d3ff1 8124 {
554f62e9
RD
8125 arg5 = &temp5;
8126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8127 }
554f62e9
RD
8128 }
8129 if (obj5) {
8130 ecode6 = SWIG_AsVal_long(obj5, &val6);
8131 if (!SWIG_IsOK(ecode6)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8133 }
8134 arg6 = static_cast< long >(val6);
8135 }
8136 if (obj6) {
d55e5bfc 8137 {
554f62e9
RD
8138 arg7 = wxString_in_helper(obj6);
8139 if (arg7 == NULL) SWIG_fail;
8140 temp7 = true;
d55e5bfc 8141 }
554f62e9
RD
8142 }
8143 {
8144 if (!wxPyCheckForApp()) SWIG_fail;
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8151 {
8152 if (temp3)
8153 delete arg3;
8154 }
8155 {
8156 if (temp7)
8157 delete arg7;
8158 }
8159 return resultobj;
8160fail:
8161 {
8162 if (temp3)
8163 delete arg3;
8164 }
8165 {
8166 if (temp7)
8167 delete arg7;
8168 }
8169 return NULL;
d55e5bfc
RD
8170}
8171
8172
554f62e9
RD
8173SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8174 PyObject *resultobj = 0;
8175 wxStaticText *result = 0 ;
8176
8177 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8178 {
8179 if (!wxPyCheckForApp()) SWIG_fail;
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (wxStaticText *)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8186 return resultobj;
8187fail:
8188 return NULL;
8189}
8190
8191
8192SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj = 0;
8194 wxStaticText *arg1 = (wxStaticText *) 0 ;
8195 wxWindow *arg2 = (wxWindow *) 0 ;
8196 int arg3 = (int) -1 ;
8197 wxString const &arg4_defvalue = wxPyEmptyString ;
8198 wxString *arg4 = (wxString *) &arg4_defvalue ;
8199 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8200 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8201 wxSize const &arg6_defvalue = wxDefaultSize ;
8202 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8203 long arg7 = (long) 0 ;
8204 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8205 wxString *arg8 = (wxString *) &arg8_defvalue ;
8206 bool result;
8207 void *argp1 = 0 ;
8208 int res1 = 0 ;
8209 void *argp2 = 0 ;
8210 int res2 = 0 ;
8211 int val3 ;
8212 int ecode3 = 0 ;
8213 bool temp4 = false ;
8214 wxPoint temp5 ;
8215 wxSize temp6 ;
8216 long val7 ;
8217 int ecode7 = 0 ;
8218 bool temp8 = false ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 PyObject * obj2 = 0 ;
8222 PyObject * obj3 = 0 ;
8223 PyObject * obj4 = 0 ;
8224 PyObject * obj5 = 0 ;
8225 PyObject * obj6 = 0 ;
8226 PyObject * obj7 = 0 ;
8227 char * kwnames[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8229 };
8230
8231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8233 if (!SWIG_IsOK(res1)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8235 }
8236 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8237 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8238 if (!SWIG_IsOK(res2)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8240 }
8241 arg2 = reinterpret_cast< wxWindow * >(argp2);
8242 if (obj2) {
8243 ecode3 = SWIG_AsVal_int(obj2, &val3);
8244 if (!SWIG_IsOK(ecode3)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8246 }
8247 arg3 = static_cast< int >(val3);
8248 }
8249 if (obj3) {
d55e5bfc 8250 {
554f62e9
RD
8251 arg4 = wxString_in_helper(obj3);
8252 if (arg4 == NULL) SWIG_fail;
8253 temp4 = true;
8254 }
8255 }
8256 if (obj4) {
8257 {
8258 arg5 = &temp5;
8259 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8260 }
554f62e9
RD
8261 }
8262 if (obj5) {
093d3ff1 8263 {
554f62e9
RD
8264 arg6 = &temp6;
8265 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8266 }
554f62e9
RD
8267 }
8268 if (obj6) {
8269 ecode7 = SWIG_AsVal_long(obj6, &val7);
8270 if (!SWIG_IsOK(ecode7)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8272 }
8273 arg7 = static_cast< long >(val7);
8274 }
8275 if (obj7) {
093d3ff1 8276 {
554f62e9
RD
8277 arg8 = wxString_in_helper(obj7);
8278 if (arg8 == NULL) SWIG_fail;
8279 temp8 = true;
8280 }
8281 }
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 {
8289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8290 }
8291 {
8292 if (temp4)
8293 delete arg4;
8294 }
8295 {
8296 if (temp8)
8297 delete arg8;
8298 }
8299 return resultobj;
8300fail:
8301 {
8302 if (temp4)
8303 delete arg4;
8304 }
8305 {
8306 if (temp8)
8307 delete arg8;
8308 }
8309 return NULL;
8310}
8311
8312
8313SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj = 0;
8315 wxStaticText *arg1 = (wxStaticText *) 0 ;
8316 int arg2 ;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 int val2 ;
8320 int ecode2 = 0 ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 char * kwnames[] = {
8324 (char *) "self",(char *) "width", NULL
8325 };
8326
8327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8329 if (!SWIG_IsOK(res1)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8331 }
8332 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8333 ecode2 = SWIG_AsVal_int(obj1, &val2);
8334 if (!SWIG_IsOK(ecode2)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8336 }
8337 arg2 = static_cast< int >(val2);
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 (arg1)->Wrap(arg2);
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 resultobj = SWIG_Py_Void();
8345 return resultobj;
8346fail:
8347 return NULL;
8348}
8349
8350
8351SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj = 0;
8353 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8354 SwigValueWrapper<wxVisualAttributes > result;
8355 int val1 ;
8356 int ecode1 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 char * kwnames[] = {
8359 (char *) "variant", NULL
8360 };
8361
8362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8363 if (obj0) {
8364 ecode1 = SWIG_AsVal_int(obj0, &val1);
8365 if (!SWIG_IsOK(ecode1)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8367 }
8368 arg1 = static_cast< wxWindowVariant >(val1);
8369 }
8370 {
8371 if (!wxPyCheckForApp()) SWIG_fail;
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = wxStaticText::GetClassDefaultAttributes(arg1);
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8378 return resultobj;
8379fail:
8380 return NULL;
8381}
8382
8383
8384SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8385 PyObject *obj;
8386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8388 return SWIG_Py_Void();
8389}
8390
8391SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8392 return SWIG_Python_InitShadowInstance(args);
8393}
8394
8395SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj = 0;
8397 wxWindow *arg1 = (wxWindow *) 0 ;
8398 int arg2 = (int) -1 ;
8399 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8400 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8403 wxSize const &arg5_defvalue = wxDefaultSize ;
8404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8405 long arg6 = (long) 0 ;
8406 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8407 wxString *arg7 = (wxString *) &arg7_defvalue ;
8408 wxStaticBitmap *result = 0 ;
8409 void *argp1 = 0 ;
8410 int res1 = 0 ;
8411 int val2 ;
8412 int ecode2 = 0 ;
8413 void *argp3 = 0 ;
8414 int res3 = 0 ;
8415 wxPoint temp4 ;
8416 wxSize temp5 ;
8417 long val6 ;
8418 int ecode6 = 0 ;
8419 bool temp7 = false ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 PyObject * obj2 = 0 ;
8423 PyObject * obj3 = 0 ;
8424 PyObject * obj4 = 0 ;
8425 PyObject * obj5 = 0 ;
8426 PyObject * obj6 = 0 ;
8427 char * kwnames[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 };
8430
8431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8433 if (!SWIG_IsOK(res1)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8435 }
8436 arg1 = reinterpret_cast< wxWindow * >(argp1);
8437 if (obj1) {
8438 ecode2 = SWIG_AsVal_int(obj1, &val2);
8439 if (!SWIG_IsOK(ecode2)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8441 }
8442 arg2 = static_cast< int >(val2);
8443 }
8444 if (obj2) {
8445 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8446 if (!SWIG_IsOK(res3)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 }
8449 if (!argp3) {
8450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8451 }
554f62e9
RD
8452 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8453 }
8454 if (obj3) {
d55e5bfc 8455 {
554f62e9
RD
8456 arg4 = &temp4;
8457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8458 }
554f62e9
RD
8459 }
8460 if (obj4) {
d55e5bfc 8461 {
554f62e9
RD
8462 arg5 = &temp5;
8463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8464 }
554f62e9
RD
8465 }
8466 if (obj5) {
8467 ecode6 = SWIG_AsVal_long(obj5, &val6);
8468 if (!SWIG_IsOK(ecode6)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8470 }
8471 arg6 = static_cast< long >(val6);
8472 }
8473 if (obj6) {
093d3ff1 8474 {
554f62e9
RD
8475 arg7 = wxString_in_helper(obj6);
8476 if (arg7 == NULL) SWIG_fail;
8477 temp7 = true;
093d3ff1 8478 }
554f62e9
RD
8479 }
8480 {
8481 if (!wxPyCheckForApp()) SWIG_fail;
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8488 {
8489 if (temp7)
8490 delete arg7;
8491 }
8492 return resultobj;
8493fail:
8494 {
8495 if (temp7)
8496 delete arg7;
8497 }
8498 return NULL;
d55e5bfc
RD
8499}
8500
8501
554f62e9
RD
8502SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 PyObject *resultobj = 0;
8504 wxStaticBitmap *result = 0 ;
8505
8506 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8515 return resultobj;
8516fail:
8517 return NULL;
8518}
8519
8520
8521SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj = 0;
8523 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8524 wxWindow *arg2 = (wxWindow *) 0 ;
8525 int arg3 = (int) -1 ;
8526 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8527 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8528 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8529 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8530 wxSize const &arg6_defvalue = wxDefaultSize ;
8531 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8532 long arg7 = (long) 0 ;
8533 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8534 wxString *arg8 = (wxString *) &arg8_defvalue ;
8535 bool result;
8536 void *argp1 = 0 ;
8537 int res1 = 0 ;
8538 void *argp2 = 0 ;
8539 int res2 = 0 ;
8540 int val3 ;
8541 int ecode3 = 0 ;
8542 void *argp4 = 0 ;
8543 int res4 = 0 ;
8544 wxPoint temp5 ;
8545 wxSize temp6 ;
8546 long val7 ;
8547 int ecode7 = 0 ;
8548 bool temp8 = false ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 PyObject * obj3 = 0 ;
8553 PyObject * obj4 = 0 ;
8554 PyObject * obj5 = 0 ;
8555 PyObject * obj6 = 0 ;
8556 PyObject * obj7 = 0 ;
8557 char * kwnames[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8559 };
8560
8561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8565 }
8566 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8568 if (!SWIG_IsOK(res2)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8570 }
8571 arg2 = reinterpret_cast< wxWindow * >(argp2);
8572 if (obj2) {
8573 ecode3 = SWIG_AsVal_int(obj2, &val3);
8574 if (!SWIG_IsOK(ecode3)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8576 }
8577 arg3 = static_cast< int >(val3);
8578 }
8579 if (obj3) {
8580 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8581 if (!SWIG_IsOK(res4)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 }
8584 if (!argp4) {
8585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
f20a2e1f 8586 }
554f62e9
RD
8587 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8588 }
8589 if (obj4) {
f20a2e1f 8590 {
554f62e9
RD
8591 arg5 = &temp5;
8592 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8593 }
554f62e9
RD
8594 }
8595 if (obj5) {
f20a2e1f 8596 {
554f62e9
RD
8597 arg6 = &temp6;
8598 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
f20a2e1f 8599 }
554f62e9
RD
8600 }
8601 if (obj6) {
8602 ecode7 = SWIG_AsVal_long(obj6, &val7);
8603 if (!SWIG_IsOK(ecode7)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8605 }
8606 arg7 = static_cast< long >(val7);
8607 }
8608 if (obj7) {
d55e5bfc 8609 {
554f62e9
RD
8610 arg8 = wxString_in_helper(obj7);
8611 if (arg8 == NULL) SWIG_fail;
8612 temp8 = true;
d55e5bfc 8613 }
554f62e9
RD
8614 }
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 {
8622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8623 }
8624 {
8625 if (temp8)
8626 delete arg8;
8627 }
8628 return resultobj;
8629fail:
8630 {
8631 if (temp8)
8632 delete arg8;
8633 }
8634 return NULL;
d55e5bfc
RD
8635}
8636
8637
554f62e9
RD
8638SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8639 PyObject *resultobj = 0;
8640 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8641 wxBitmap result;
8642 void *argp1 = 0 ;
8643 int res1 = 0 ;
8644 PyObject *swig_obj[1] ;
8645
8646 if (!args) SWIG_fail;
8647 swig_obj[0] = args;
8648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8649 if (!SWIG_IsOK(res1)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8651 }
8652 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 result = (arg1)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8660 return resultobj;
8661fail:
8662 return NULL;
8663}
8664
8665
8666SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj = 0;
8668 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8669 wxBitmap *arg2 = 0 ;
8670 void *argp1 = 0 ;
8671 int res1 = 0 ;
8672 void *argp2 = 0 ;
8673 int res2 = 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 char * kwnames[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8678 };
8679
8680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 }
8685 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8686 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8687 if (!SWIG_IsOK(res2)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 }
8690 if (!argp2) {
8691 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 }
8693 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_Py_Void();
8701 return resultobj;
8702fail:
8703 return NULL;
8704}
8705
8706
8707SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj = 0;
8709 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8710 wxIcon *arg2 = 0 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 void *argp2 = 0 ;
8714 int res2 = 0 ;
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 char * kwnames[] = {
8718 (char *) "self",(char *) "icon", NULL
8719 };
8720
8721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8723 if (!SWIG_IsOK(res1)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8725 }
8726 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8728 if (!SWIG_IsOK(res2)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 }
8731 if (!argp2) {
8732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 }
8734 arg2 = reinterpret_cast< wxIcon * >(argp2);
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 (arg1)->SetIcon((wxIcon const &)*arg2);
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_Py_Void();
8742 return resultobj;
8743fail:
8744 return NULL;
8745}
8746
8747
8748SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj = 0;
8750 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8751 SwigValueWrapper<wxVisualAttributes > result;
8752 int val1 ;
8753 int ecode1 = 0 ;
8754 PyObject * obj0 = 0 ;
8755 char * kwnames[] = {
8756 (char *) "variant", NULL
8757 };
8758
8759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8760 if (obj0) {
8761 ecode1 = SWIG_AsVal_int(obj0, &val1);
8762 if (!SWIG_IsOK(ecode1)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8764 }
8765 arg1 = static_cast< wxWindowVariant >(val1);
8766 }
8767 {
8768 if (!wxPyCheckForApp()) SWIG_fail;
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8775 return resultobj;
8776fail:
8777 return NULL;
d55e5bfc
RD
8778}
8779
8780
554f62e9
RD
8781SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8782 PyObject *obj;
8783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8785 return SWIG_Py_Void();
d55e5bfc
RD
8786}
8787
554f62e9
RD
8788SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8789 return SWIG_Python_InitShadowInstance(args);
8790}
d55e5bfc 8791
554f62e9
RD
8792SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8793 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8794 return 1;
d55e5bfc
RD
8795}
8796
8797
554f62e9
RD
8798SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8799 PyObject *pyobj = 0;
8800
8801 {
d55e5bfc 8802#if wxUSE_UNICODE
554f62e9 8803 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8804#else
554f62e9 8805 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8806#endif
554f62e9
RD
8807 }
8808 return pyobj;
8809}
8810
8811
8812SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = 0;
8814 wxWindow *arg1 = (wxWindow *) 0 ;
8815 int arg2 = (int) -1 ;
8816 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8817 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8818 wxSize const &arg4_defvalue = wxDefaultSize ;
8819 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8820 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8821 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8822 long arg6 = (long) 0 ;
8823 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8824 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8825 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8826 wxString *arg8 = (wxString *) &arg8_defvalue ;
8827 wxListBox *result = 0 ;
8828 void *argp1 = 0 ;
8829 int res1 = 0 ;
8830 int val2 ;
8831 int ecode2 = 0 ;
8832 wxPoint temp3 ;
8833 wxSize temp4 ;
8834 bool temp5 = false ;
8835 long val6 ;
8836 int ecode6 = 0 ;
8837 void *argp7 = 0 ;
8838 int res7 = 0 ;
8839 bool temp8 = false ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 PyObject * obj2 = 0 ;
8843 PyObject * obj3 = 0 ;
8844 PyObject * obj4 = 0 ;
8845 PyObject * obj5 = 0 ;
8846 PyObject * obj6 = 0 ;
8847 PyObject * obj7 = 0 ;
8848 char * kwnames[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8850 };
8851
8852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8854 if (!SWIG_IsOK(res1)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8856 }
8857 arg1 = reinterpret_cast< wxWindow * >(argp1);
8858 if (obj1) {
8859 ecode2 = SWIG_AsVal_int(obj1, &val2);
8860 if (!SWIG_IsOK(ecode2)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8862 }
8863 arg2 = static_cast< int >(val2);
8864 }
8865 if (obj2) {
d55e5bfc 8866 {
554f62e9
RD
8867 arg3 = &temp3;
8868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8869 }
554f62e9
RD
8870 }
8871 if (obj3) {
d55e5bfc 8872 {
554f62e9
RD
8873 arg4 = &temp4;
8874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8875 }
554f62e9
RD
8876 }
8877 if (obj4) {
d55e5bfc 8878 {
554f62e9
RD
8879 if (! PySequence_Check(obj4)) {
8880 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8881 SWIG_fail;
8882 }
8883 arg5 = new wxArrayString;
8884 temp5 = true;
8885 int i, len=PySequence_Length(obj4);
8886 for (i=0; i<len; i++) {
8887 PyObject* item = PySequence_GetItem(obj4, i);
8888 wxString* s = wxString_in_helper(item);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 arg5->Add(*s);
8891 delete s;
8892 Py_DECREF(item);
8893 }
d55e5bfc 8894 }
554f62e9
RD
8895 }
8896 if (obj5) {
8897 ecode6 = SWIG_AsVal_long(obj5, &val6);
8898 if (!SWIG_IsOK(ecode6)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8900 }
8901 arg6 = static_cast< long >(val6);
8902 }
8903 if (obj6) {
8904 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8905 if (!SWIG_IsOK(res7)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8907 }
554f62e9
RD
8908 if (!argp7) {
8909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8910 }
554f62e9
RD
8911 arg7 = reinterpret_cast< wxValidator * >(argp7);
8912 }
8913 if (obj7) {
d55e5bfc 8914 {
554f62e9
RD
8915 arg8 = wxString_in_helper(obj7);
8916 if (arg8 == NULL) SWIG_fail;
8917 temp8 = true;
d55e5bfc 8918 }
554f62e9
RD
8919 }
8920 {
8921 if (!wxPyCheckForApp()) SWIG_fail;
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8928 {
8929 if (temp5) delete arg5;
8930 }
8931 {
8932 if (temp8)
8933 delete arg8;
8934 }
8935 return resultobj;
8936fail:
8937 {
8938 if (temp5) delete arg5;
8939 }
8940 {
8941 if (temp8)
8942 delete arg8;
8943 }
8944 return NULL;
d55e5bfc
RD
8945}
8946
8947
554f62e9
RD
8948SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8949 PyObject *resultobj = 0;
8950 wxListBox *result = 0 ;
8951
8952 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8953 {
8954 if (!wxPyCheckForApp()) SWIG_fail;
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (wxListBox *)new wxListBox();
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8961 return resultobj;
8962fail:
8963 return NULL;
8964}
8965
8966
8967SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj = 0;
8969 wxListBox *arg1 = (wxListBox *) 0 ;
8970 wxWindow *arg2 = (wxWindow *) 0 ;
8971 int arg3 = (int) -1 ;
8972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8974 wxSize const &arg5_defvalue = wxDefaultSize ;
8975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8976 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8977 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8978 long arg7 = (long) 0 ;
8979 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8980 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8981 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8982 wxString *arg9 = (wxString *) &arg9_defvalue ;
8983 bool result;
8984 void *argp1 = 0 ;
8985 int res1 = 0 ;
8986 void *argp2 = 0 ;
8987 int res2 = 0 ;
8988 int val3 ;
8989 int ecode3 = 0 ;
8990 wxPoint temp4 ;
8991 wxSize temp5 ;
8992 bool temp6 = false ;
8993 long val7 ;
8994 int ecode7 = 0 ;
8995 void *argp8 = 0 ;
8996 int res8 = 0 ;
8997 bool temp9 = false ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 PyObject * obj2 = 0 ;
9001 PyObject * obj3 = 0 ;
9002 PyObject * obj4 = 0 ;
9003 PyObject * obj5 = 0 ;
9004 PyObject * obj6 = 0 ;
9005 PyObject * obj7 = 0 ;
9006 PyObject * obj8 = 0 ;
9007 char * kwnames[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9009 };
9010
9011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9013 if (!SWIG_IsOK(res1)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9015 }
9016 arg1 = reinterpret_cast< wxListBox * >(argp1);
9017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9018 if (!SWIG_IsOK(res2)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9020 }
9021 arg2 = reinterpret_cast< wxWindow * >(argp2);
9022 if (obj2) {
9023 ecode3 = SWIG_AsVal_int(obj2, &val3);
9024 if (!SWIG_IsOK(ecode3)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9026 }
9027 arg3 = static_cast< int >(val3);
9028 }
9029 if (obj3) {
d55e5bfc 9030 {
554f62e9
RD
9031 arg4 = &temp4;
9032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9033 }
554f62e9
RD
9034 }
9035 if (obj4) {
d55e5bfc 9036 {
554f62e9
RD
9037 arg5 = &temp5;
9038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9039 }
554f62e9
RD
9040 }
9041 if (obj5) {
d55e5bfc 9042 {
554f62e9
RD
9043 if (! PySequence_Check(obj5)) {
9044 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9045 SWIG_fail;
9046 }
9047 arg6 = new wxArrayString;
9048 temp6 = true;
9049 int i, len=PySequence_Length(obj5);
9050 for (i=0; i<len; i++) {
9051 PyObject* item = PySequence_GetItem(obj5, i);
9052 wxString* s = wxString_in_helper(item);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 arg6->Add(*s);
9055 delete s;
9056 Py_DECREF(item);
9057 }
d55e5bfc 9058 }
554f62e9
RD
9059 }
9060 if (obj6) {
9061 ecode7 = SWIG_AsVal_long(obj6, &val7);
9062 if (!SWIG_IsOK(ecode7)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9064 }
9065 arg7 = static_cast< long >(val7);
9066 }
9067 if (obj7) {
9068 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9069 if (!SWIG_IsOK(res8)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 9071 }
554f62e9
RD
9072 if (!argp8) {
9073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9074 }
554f62e9
RD
9075 arg8 = reinterpret_cast< wxValidator * >(argp8);
9076 }
9077 if (obj8) {
f20a2e1f 9078 {
554f62e9
RD
9079 arg9 = wxString_in_helper(obj8);
9080 if (arg9 == NULL) SWIG_fail;
9081 temp9 = true;
f20a2e1f 9082 }
554f62e9
RD
9083 }
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 {
9091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9092 }
9093 {
9094 if (temp6) delete arg6;
9095 }
9096 {
9097 if (temp9)
9098 delete arg9;
9099 }
9100 return resultobj;
9101fail:
9102 {
9103 if (temp6) delete arg6;
9104 }
9105 {
9106 if (temp9)
9107 delete arg9;
9108 }
9109 return NULL;
9110}
9111
9112
9113SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj = 0;
9115 wxListBox *arg1 = (wxListBox *) 0 ;
9116 wxString *arg2 = 0 ;
9117 int arg3 ;
9118 PyObject *arg4 = (PyObject *) NULL ;
9119 void *argp1 = 0 ;
9120 int res1 = 0 ;
9121 bool temp2 = false ;
9122 int val3 ;
9123 int ecode3 = 0 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 PyObject * obj2 = 0 ;
9127 PyObject * obj3 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9136 }
9137 arg1 = reinterpret_cast< wxListBox * >(argp1);
9138 {
9139 arg2 = wxString_in_helper(obj1);
9140 if (arg2 == NULL) SWIG_fail;
9141 temp2 = true;
9142 }
9143 ecode3 = SWIG_AsVal_int(obj2, &val3);
9144 if (!SWIG_IsOK(ecode3)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9146 }
9147 arg3 = static_cast< int >(val3);
9148 if (obj3) {
9149 arg4 = obj3;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (temp2)
9160 delete arg2;
9161 }
9162 return resultobj;
9163fail:
9164 {
9165 if (temp2)
9166 delete arg2;
9167 }
9168 return NULL;
9169}
9170
9171
9172SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj = 0;
9174 wxListBox *arg1 = (wxListBox *) 0 ;
9175 wxArrayString *arg2 = 0 ;
50f151d7 9176 unsigned int arg3 ;
554f62e9
RD
9177 void *argp1 = 0 ;
9178 int res1 = 0 ;
9179 bool temp2 = false ;
50f151d7 9180 unsigned int val3 ;
554f62e9
RD
9181 int ecode3 = 0 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 PyObject * obj2 = 0 ;
9185 char * kwnames[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9187 };
9188
9189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9191 if (!SWIG_IsOK(res1)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9193 }
9194 arg1 = reinterpret_cast< wxListBox * >(argp1);
9195 {
9196 if (! PySequence_Check(obj1)) {
9197 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9198 SWIG_fail;
9199 }
9200 arg2 = new wxArrayString;
9201 temp2 = true;
9202 int i, len=PySequence_Length(obj1);
9203 for (i=0; i<len; i++) {
9204 PyObject* item = PySequence_GetItem(obj1, i);
9205 wxString* s = wxString_in_helper(item);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 arg2->Add(*s);
9208 delete s;
9209 Py_DECREF(item);
f20a2e1f 9210 }
554f62e9 9211 }
50f151d7 9212 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
554f62e9 9213 if (!SWIG_IsOK(ecode3)) {
50f151d7 9214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
554f62e9 9215 }
50f151d7 9216 arg3 = static_cast< unsigned int >(val3);
554f62e9
RD
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_Py_Void();
9224 {
9225 if (temp2) delete arg2;
9226 }
9227 return resultobj;
9228fail:
9229 {
9230 if (temp2) delete arg2;
9231 }
9232 return NULL;
f20a2e1f
RD
9233}
9234
9235
554f62e9
RD
9236SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj = 0;
9238 wxListBox *arg1 = (wxListBox *) 0 ;
9239 wxArrayString *arg2 = 0 ;
9240 void *argp1 = 0 ;
9241 int res1 = 0 ;
9242 bool temp2 = false ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char * kwnames[] = {
9246 (char *) "self",(char *) "items", NULL
9247 };
9248
9249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9251 if (!SWIG_IsOK(res1)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9253 }
9254 arg1 = reinterpret_cast< wxListBox * >(argp1);
9255 {
9256 if (! PySequence_Check(obj1)) {
9257 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9258 SWIG_fail;
9259 }
9260 arg2 = new wxArrayString;
9261 temp2 = true;
9262 int i, len=PySequence_Length(obj1);
9263 for (i=0; i<len; i++) {
9264 PyObject* item = PySequence_GetItem(obj1, i);
9265 wxString* s = wxString_in_helper(item);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 arg2->Add(*s);
9268 delete s;
9269 Py_DECREF(item);
d55e5bfc 9270 }
554f62e9
RD
9271 }
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 (arg1)->Set((wxArrayString const &)*arg2);
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = SWIG_Py_Void();
9279 {
9280 if (temp2) delete arg2;
9281 }
9282 return resultobj;
9283fail:
9284 {
9285 if (temp2) delete arg2;
9286 }
9287 return NULL;
9288}
9289
9290
9291SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj = 0;
9293 wxListBox *arg1 = (wxListBox *) 0 ;
9294 int arg2 ;
9295 bool result;
9296 void *argp1 = 0 ;
9297 int res1 = 0 ;
9298 int val2 ;
9299 int ecode2 = 0 ;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 char * kwnames[] = {
9303 (char *) "self",(char *) "n", NULL
9304 };
9305
9306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9308 if (!SWIG_IsOK(res1)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9310 }
9311 arg1 = reinterpret_cast< wxListBox * >(argp1);
9312 ecode2 = SWIG_AsVal_int(obj1, &val2);
9313 if (!SWIG_IsOK(ecode2)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9315 }
9316 arg2 = static_cast< int >(val2);
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 {
9324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9325 }
9326 return resultobj;
9327fail:
9328 return NULL;
9329}
9330
9331
9332SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj = 0;
9334 wxListBox *arg1 = (wxListBox *) 0 ;
9335 int arg2 ;
9336 bool arg3 = (bool) true ;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 int val2 ;
9340 int ecode2 = 0 ;
9341 bool val3 ;
9342 int ecode3 = 0 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 PyObject * obj2 = 0 ;
9346 char * kwnames[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9348 };
9349
9350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9354 }
9355 arg1 = reinterpret_cast< wxListBox * >(argp1);
9356 ecode2 = SWIG_AsVal_int(obj1, &val2);
9357 if (!SWIG_IsOK(ecode2)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9359 }
9360 arg2 = static_cast< int >(val2);
9361 if (obj2) {
9362 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9363 if (!SWIG_IsOK(ecode3)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9365 }
9366 arg3 = static_cast< bool >(val3);
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetSelection(arg2,arg3);
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_Py_Void();
9375 return resultobj;
9376fail:
9377 return NULL;
9378}
9379
9380
9381SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj = 0;
9383 wxListBox *arg1 = (wxListBox *) 0 ;
9384 int arg2 ;
9385 void *argp1 = 0 ;
9386 int res1 = 0 ;
9387 int val2 ;
9388 int ecode2 = 0 ;
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 char * kwnames[] = {
9392 (char *) "self",(char *) "n", NULL
9393 };
9394
9395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9397 if (!SWIG_IsOK(res1)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9399 }
9400 arg1 = reinterpret_cast< wxListBox * >(argp1);
9401 ecode2 = SWIG_AsVal_int(obj1, &val2);
9402 if (!SWIG_IsOK(ecode2)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9404 }
9405 arg2 = static_cast< int >(val2);
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 (arg1)->Select(arg2);
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_Py_Void();
9413 return resultobj;
9414fail:
9415 return NULL;
9416}
9417
9418
9419SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj = 0;
9421 wxListBox *arg1 = (wxListBox *) 0 ;
9422 int arg2 ;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 int val2 ;
9426 int ecode2 = 0 ;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 char * kwnames[] = {
9430 (char *) "self",(char *) "n", NULL
9431 };
9432
9433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9435 if (!SWIG_IsOK(res1)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9437 }
9438 arg1 = reinterpret_cast< wxListBox * >(argp1);
9439 ecode2 = SWIG_AsVal_int(obj1, &val2);
9440 if (!SWIG_IsOK(ecode2)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9442 }
9443 arg2 = static_cast< int >(val2);
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 (arg1)->Deselect(arg2);
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 resultobj = SWIG_Py_Void();
9451 return resultobj;
9452fail:
9453 return NULL;
9454}
9455
9456
9457SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj = 0;
9459 wxListBox *arg1 = (wxListBox *) 0 ;
9460 int arg2 = (int) -1 ;
9461 void *argp1 = 0 ;
9462 int res1 = 0 ;
9463 int val2 ;
9464 int ecode2 = 0 ;
9465 PyObject * obj0 = 0 ;
9466 PyObject * obj1 = 0 ;
9467 char * kwnames[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9469 };
9470
9471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 }
9476 arg1 = reinterpret_cast< wxListBox * >(argp1);
9477 if (obj1) {
9478 ecode2 = SWIG_AsVal_int(obj1, &val2);
9479 if (!SWIG_IsOK(ecode2)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9481 }
9482 arg2 = static_cast< int >(val2);
9483 }
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 (arg1)->DeselectAll(arg2);
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 resultobj = SWIG_Py_Void();
9491 return resultobj;
9492fail:
9493 return NULL;
9494}
9495
9496
9497SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj = 0;
9499 wxListBox *arg1 = (wxListBox *) 0 ;
9500 wxString *arg2 = 0 ;
9501 bool arg3 = (bool) true ;
9502 bool result;
9503 void *argp1 = 0 ;
9504 int res1 = 0 ;
9505 bool temp2 = false ;
9506 bool val3 ;
9507 int ecode3 = 0 ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 PyObject * obj2 = 0 ;
9511 char * kwnames[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9513 };
9514
9515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9517 if (!SWIG_IsOK(res1)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 }
9520 arg1 = reinterpret_cast< wxListBox * >(argp1);
9521 {
9522 arg2 = wxString_in_helper(obj1);
9523 if (arg2 == NULL) SWIG_fail;
9524 temp2 = true;
9525 }
9526 if (obj2) {
9527 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9528 if (!SWIG_IsOK(ecode3)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9530 }
9531 arg3 = static_cast< bool >(val3);
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 {
9540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9541 }
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return resultobj;
9547fail:
9548 {
9549 if (temp2)
9550 delete arg2;
9551 }
9552 return NULL;
d55e5bfc
RD
9553}
9554
9555
554f62e9
RD
9556SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9557 PyObject *resultobj = 0;
9558 wxListBox *arg1 = (wxListBox *) 0 ;
9559 PyObject *result = 0 ;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 PyObject *swig_obj[1] ;
9563
9564 if (!args) SWIG_fail;
9565 swig_obj[0] = args;
9566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9567 if (!SWIG_IsOK(res1)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9569 }
9570 arg1 = reinterpret_cast< wxListBox * >(argp1);
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (PyObject *)wxListBox_GetSelections(arg1);
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = result;
9578 return resultobj;
9579fail:
9580 return NULL;
9581}
9582
9583
9584SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj = 0;
9586 wxListBox *arg1 = (wxListBox *) 0 ;
9587 int arg2 ;
9588 void *argp1 = 0 ;
9589 int res1 = 0 ;
9590 int val2 ;
9591 int ecode2 = 0 ;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char * kwnames[] = {
9595 (char *) "self",(char *) "n", NULL
9596 };
9597
9598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9600 if (!SWIG_IsOK(res1)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9602 }
9603 arg1 = reinterpret_cast< wxListBox * >(argp1);
9604 ecode2 = SWIG_AsVal_int(obj1, &val2);
9605 if (!SWIG_IsOK(ecode2)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9607 }
9608 arg2 = static_cast< int >(val2);
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetFirstItem(arg2);
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_Py_Void();
9616 return resultobj;
9617fail:
9618 return NULL;
9619}
9620
9621
9622SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj = 0;
9624 wxListBox *arg1 = (wxListBox *) 0 ;
9625 wxString *arg2 = 0 ;
9626 void *argp1 = 0 ;
9627 int res1 = 0 ;
9628 bool temp2 = false ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char * kwnames[] = {
9632 (char *) "self",(char *) "s", NULL
9633 };
9634
9635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9637 if (!SWIG_IsOK(res1)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 }
9640 arg1 = reinterpret_cast< wxListBox * >(argp1);
9641 {
9642 arg2 = wxString_in_helper(obj1);
9643 if (arg2 == NULL) SWIG_fail;
9644 temp2 = true;
9645 }
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 (arg1)->SetFirstItem((wxString const &)*arg2);
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 resultobj = SWIG_Py_Void();
9653 {
9654 if (temp2)
9655 delete arg2;
9656 }
9657 return resultobj;
9658fail:
9659 {
9660 if (temp2)
9661 delete arg2;
9662 }
9663 return NULL;
9664}
9665
9666
9667SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj = 0;
9669 wxListBox *arg1 = (wxListBox *) 0 ;
9670 int arg2 ;
9671 void *argp1 = 0 ;
9672 int res1 = 0 ;
9673 int val2 ;
9674 int ecode2 = 0 ;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "n", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 }
9686 arg1 = reinterpret_cast< wxListBox * >(argp1);
9687 ecode2 = SWIG_AsVal_int(obj1, &val2);
9688 if (!SWIG_IsOK(ecode2)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9690 }
9691 arg2 = static_cast< int >(val2);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 (arg1)->EnsureVisible(arg2);
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_Py_Void();
9699 return resultobj;
9700fail:
9701 return NULL;
9702}
9703
9704
9705SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = 0;
9707 wxListBox *arg1 = (wxListBox *) 0 ;
9708 wxString *arg2 = 0 ;
9709 void *argp1 = 0 ;
9710 int res1 = 0 ;
9711 bool temp2 = false ;
9712 PyObject * obj0 = 0 ;
9713 PyObject * obj1 = 0 ;
9714 char * kwnames[] = {
9715 (char *) "self",(char *) "s", NULL
9716 };
9717
9718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9720 if (!SWIG_IsOK(res1)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9722 }
9723 arg1 = reinterpret_cast< wxListBox * >(argp1);
9724 {
9725 arg2 = wxString_in_helper(obj1);
9726 if (arg2 == NULL) SWIG_fail;
9727 temp2 = true;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_Py_Void();
9736 {
9737 if (temp2)
9738 delete arg2;
9739 }
9740 return resultobj;
9741fail:
9742 {
9743 if (temp2)
9744 delete arg2;
9745 }
9746 return NULL;
d55e5bfc
RD
9747}
9748
9749
554f62e9
RD
9750SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9751 PyObject *resultobj = 0;
9752 wxListBox *arg1 = (wxListBox *) 0 ;
9753 bool result;
9754 void *argp1 = 0 ;
9755 int res1 = 0 ;
9756 PyObject *swig_obj[1] ;
9757
9758 if (!args) SWIG_fail;
9759 swig_obj[0] = args;
9760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9761 if (!SWIG_IsOK(res1)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9763 }
9764 arg1 = reinterpret_cast< wxListBox * >(argp1);
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)((wxListBox const *)arg1)->IsSorted();
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 {
9772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9773 }
9774 return resultobj;
9775fail:
9776 return NULL;
9777}
9778
9779
9780SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj = 0;
9782 wxListBox *arg1 = (wxListBox *) 0 ;
9783 wxPoint *arg2 = 0 ;
9784 int result;
9785 void *argp1 = 0 ;
9786 int res1 = 0 ;
9787 wxPoint temp2 ;
9788 PyObject * obj0 = 0 ;
9789 PyObject * obj1 = 0 ;
9790 char * kwnames[] = {
9791 (char *) "self",(char *) "pt", NULL
9792 };
9793
9794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9796 if (!SWIG_IsOK(res1)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9798 }
9799 arg1 = reinterpret_cast< wxListBox * >(argp1);
9800 {
9801 arg2 = &temp2;
9802 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = SWIG_From_int(static_cast< int >(result));
9811 return resultobj;
9812fail:
9813 return NULL;
9814}
9815
9816
9817SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj = 0;
9819 wxListBox *arg1 = (wxListBox *) 0 ;
9820 int arg2 ;
9821 wxColour *arg3 = 0 ;
9822 void *argp1 = 0 ;
9823 int res1 = 0 ;
9824 int val2 ;
9825 int ecode2 = 0 ;
9826 wxColour temp3 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9838 }
9839 arg1 = reinterpret_cast< wxListBox * >(argp1);
9840 ecode2 = SWIG_AsVal_int(obj1, &val2);
9841 if (!SWIG_IsOK(ecode2)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9843 }
9844 arg2 = static_cast< int >(val2);
9845 {
9846 arg3 = &temp3;
9847 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 resultobj = SWIG_Py_Void();
9856 return resultobj;
9857fail:
9858 return NULL;
9859}
9860
9861
9862SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj = 0;
9864 wxListBox *arg1 = (wxListBox *) 0 ;
9865 int arg2 ;
9866 wxColour *arg3 = 0 ;
9867 void *argp1 = 0 ;
9868 int res1 = 0 ;
9869 int val2 ;
9870 int ecode2 = 0 ;
9871 wxColour temp3 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 PyObject * obj2 = 0 ;
9875 char * kwnames[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9877 };
9878
9879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9881 if (!SWIG_IsOK(res1)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 }
9884 arg1 = reinterpret_cast< wxListBox * >(argp1);
9885 ecode2 = SWIG_AsVal_int(obj1, &val2);
9886 if (!SWIG_IsOK(ecode2)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9888 }
9889 arg2 = static_cast< int >(val2);
9890 {
9891 arg3 = &temp3;
9892 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 resultobj = SWIG_Py_Void();
9901 return resultobj;
9902fail:
9903 return NULL;
9904}
9905
9906
9907SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9908 PyObject *resultobj = 0;
9909 wxListBox *arg1 = (wxListBox *) 0 ;
9910 int arg2 ;
9911 wxFont *arg3 = 0 ;
9912 void *argp1 = 0 ;
9913 int res1 = 0 ;
9914 int val2 ;
9915 int ecode2 = 0 ;
9916 void *argp3 = 0 ;
9917 int res3 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9929 }
9930 arg1 = reinterpret_cast< wxListBox * >(argp1);
9931 ecode2 = SWIG_AsVal_int(obj1, &val2);
9932 if (!SWIG_IsOK(ecode2)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9934 }
9935 arg2 = static_cast< int >(val2);
9936 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9937 if (!SWIG_IsOK(res3)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 }
9940 if (!argp3) {
9941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 }
9943 arg3 = reinterpret_cast< wxFont * >(argp3);
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 resultobj = SWIG_Py_Void();
9951 return resultobj;
9952fail:
9953 return NULL;
9954}
9955
9956
9957SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj = 0;
9959 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9960 SwigValueWrapper<wxVisualAttributes > result;
9961 int val1 ;
9962 int ecode1 = 0 ;
9963 PyObject * obj0 = 0 ;
9964 char * kwnames[] = {
9965 (char *) "variant", NULL
9966 };
9967
9968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9969 if (obj0) {
9970 ecode1 = SWIG_AsVal_int(obj0, &val1);
9971 if (!SWIG_IsOK(ecode1)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9973 }
9974 arg1 = static_cast< wxWindowVariant >(val1);
9975 }
9976 {
9977 if (!wxPyCheckForApp()) SWIG_fail;
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = wxListBox::GetClassDefaultAttributes(arg1);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9984 return resultobj;
9985fail:
9986 return NULL;
9987}
9988
9989
9990SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9991 PyObject *obj;
9992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9994 return SWIG_Py_Void();
9995}
9996
9997SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9998 return SWIG_Python_InitShadowInstance(args);
9999}
10000
10001SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj = 0;
10003 wxWindow *arg1 = (wxWindow *) 0 ;
10004 int arg2 = (int) -1 ;
10005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10007 wxSize const &arg4_defvalue = wxDefaultSize ;
10008 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10009 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10010 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10011 long arg6 = (long) 0 ;
10012 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10013 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10014 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10015 wxString *arg8 = (wxString *) &arg8_defvalue ;
10016 wxCheckListBox *result = 0 ;
10017 void *argp1 = 0 ;
10018 int res1 = 0 ;
10019 int val2 ;
10020 int ecode2 = 0 ;
10021 wxPoint temp3 ;
10022 wxSize temp4 ;
10023 bool temp5 = false ;
10024 long val6 ;
10025 int ecode6 = 0 ;
10026 void *argp7 = 0 ;
10027 int res7 = 0 ;
10028 bool temp8 = false ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 PyObject * obj3 = 0 ;
10033 PyObject * obj4 = 0 ;
10034 PyObject * obj5 = 0 ;
10035 PyObject * obj6 = 0 ;
10036 PyObject * obj7 = 0 ;
10037 char * kwnames[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10039 };
10040
10041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10043 if (!SWIG_IsOK(res1)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 }
10046 arg1 = reinterpret_cast< wxWindow * >(argp1);
10047 if (obj1) {
10048 ecode2 = SWIG_AsVal_int(obj1, &val2);
10049 if (!SWIG_IsOK(ecode2)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10051 }
10052 arg2 = static_cast< int >(val2);
10053 }
10054 if (obj2) {
d55e5bfc 10055 {
554f62e9
RD
10056 arg3 = &temp3;
10057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10058 }
554f62e9
RD
10059 }
10060 if (obj3) {
d55e5bfc 10061 {
554f62e9
RD
10062 arg4 = &temp4;
10063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10064 }
554f62e9
RD
10065 }
10066 if (obj4) {
d55e5bfc 10067 {
554f62e9
RD
10068 if (! PySequence_Check(obj4)) {
10069 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10070 SWIG_fail;
10071 }
10072 arg5 = new wxArrayString;
10073 temp5 = true;
10074 int i, len=PySequence_Length(obj4);
10075 for (i=0; i<len; i++) {
10076 PyObject* item = PySequence_GetItem(obj4, i);
10077 wxString* s = wxString_in_helper(item);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 arg5->Add(*s);
10080 delete s;
10081 Py_DECREF(item);
10082 }
d55e5bfc 10083 }
554f62e9
RD
10084 }
10085 if (obj5) {
10086 ecode6 = SWIG_AsVal_long(obj5, &val6);
10087 if (!SWIG_IsOK(ecode6)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10089 }
10090 arg6 = static_cast< long >(val6);
10091 }
10092 if (obj6) {
10093 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10094 if (!SWIG_IsOK(res7)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10096 }
554f62e9
RD
10097 if (!argp7) {
10098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10099 }
554f62e9
RD
10100 arg7 = reinterpret_cast< wxValidator * >(argp7);
10101 }
10102 if (obj7) {
093d3ff1 10103 {
554f62e9
RD
10104 arg8 = wxString_in_helper(obj7);
10105 if (arg8 == NULL) SWIG_fail;
10106 temp8 = true;
093d3ff1 10107 }
554f62e9
RD
10108 }
10109 {
10110 if (!wxPyCheckForApp()) SWIG_fail;
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10117 {
10118 if (temp5) delete arg5;
10119 }
10120 {
10121 if (temp8)
10122 delete arg8;
10123 }
10124 return resultobj;
10125fail:
10126 {
10127 if (temp5) delete arg5;
10128 }
10129 {
10130 if (temp8)
10131 delete arg8;
10132 }
10133 return NULL;
d55e5bfc
RD
10134}
10135
10136
554f62e9
RD
10137SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10138 PyObject *resultobj = 0;
10139 wxCheckListBox *result = 0 ;
10140
10141 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10142 {
10143 if (!wxPyCheckForApp()) SWIG_fail;
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = (wxCheckListBox *)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10150 return resultobj;
10151fail:
10152 return NULL;
10153}
10154
10155
10156SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj = 0;
10158 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10159 wxWindow *arg2 = (wxWindow *) 0 ;
10160 int arg3 = (int) -1 ;
10161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10163 wxSize const &arg5_defvalue = wxDefaultSize ;
10164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10165 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10166 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10167 long arg7 = (long) 0 ;
10168 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10169 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10170 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10171 wxString *arg9 = (wxString *) &arg9_defvalue ;
10172 bool result;
10173 void *argp1 = 0 ;
10174 int res1 = 0 ;
10175 void *argp2 = 0 ;
10176 int res2 = 0 ;
10177 int val3 ;
10178 int ecode3 = 0 ;
10179 wxPoint temp4 ;
10180 wxSize temp5 ;
10181 bool temp6 = false ;
10182 long val7 ;
10183 int ecode7 = 0 ;
10184 void *argp8 = 0 ;
10185 int res8 = 0 ;
10186 bool temp9 = false ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj1 = 0 ;
10189 PyObject * obj2 = 0 ;
10190 PyObject * obj3 = 0 ;
10191 PyObject * obj4 = 0 ;
10192 PyObject * obj5 = 0 ;
10193 PyObject * obj6 = 0 ;
10194 PyObject * obj7 = 0 ;
10195 PyObject * obj8 = 0 ;
10196 char * kwnames[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10198 };
10199
10200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10202 if (!SWIG_IsOK(res1)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10204 }
10205 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10207 if (!SWIG_IsOK(res2)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10209 }
10210 arg2 = reinterpret_cast< wxWindow * >(argp2);
10211 if (obj2) {
10212 ecode3 = SWIG_AsVal_int(obj2, &val3);
10213 if (!SWIG_IsOK(ecode3)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10215 }
10216 arg3 = static_cast< int >(val3);
10217 }
10218 if (obj3) {
f20a2e1f 10219 {
554f62e9
RD
10220 arg4 = &temp4;
10221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10222 }
554f62e9
RD
10223 }
10224 if (obj4) {
d55e5bfc 10225 {
554f62e9
RD
10226 arg5 = &temp5;
10227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10228 }
554f62e9
RD
10229 }
10230 if (obj5) {
d55e5bfc 10231 {
554f62e9
RD
10232 if (! PySequence_Check(obj5)) {
10233 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10234 SWIG_fail;
10235 }
10236 arg6 = new wxArrayString;
10237 temp6 = true;
10238 int i, len=PySequence_Length(obj5);
10239 for (i=0; i<len; i++) {
10240 PyObject* item = PySequence_GetItem(obj5, i);
10241 wxString* s = wxString_in_helper(item);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 arg6->Add(*s);
10244 delete s;
10245 Py_DECREF(item);
10246 }
d55e5bfc 10247 }
554f62e9
RD
10248 }
10249 if (obj6) {
10250 ecode7 = SWIG_AsVal_long(obj6, &val7);
10251 if (!SWIG_IsOK(ecode7)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10253 }
10254 arg7 = static_cast< long >(val7);
10255 }
10256 if (obj7) {
10257 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10258 if (!SWIG_IsOK(res8)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10260 }
554f62e9
RD
10261 if (!argp8) {
10262 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10263 }
554f62e9
RD
10264 arg8 = reinterpret_cast< wxValidator * >(argp8);
10265 }
10266 if (obj8) {
d55e5bfc 10267 {
554f62e9
RD
10268 arg9 = wxString_in_helper(obj8);
10269 if (arg9 == NULL) SWIG_fail;
10270 temp9 = true;
d55e5bfc 10271 }
554f62e9
RD
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 {
10280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10281 }
10282 {
10283 if (temp6) delete arg6;
10284 }
10285 {
10286 if (temp9)
10287 delete arg9;
10288 }
10289 return resultobj;
10290fail:
10291 {
10292 if (temp6) delete arg6;
10293 }
10294 {
10295 if (temp9)
10296 delete arg9;
10297 }
10298 return NULL;
10299}
10300
10301
10302SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj = 0;
10304 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10305 unsigned int arg2 ;
554f62e9
RD
10306 bool result;
10307 void *argp1 = 0 ;
10308 int res1 = 0 ;
50f151d7 10309 unsigned int val2 ;
554f62e9
RD
10310 int ecode2 = 0 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char * kwnames[] = {
10314 (char *) "self",(char *) "index", NULL
10315 };
10316
10317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10321 }
10322 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10323 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10324 if (!SWIG_IsOK(ecode2)) {
50f151d7 10325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10326 }
50f151d7 10327 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (bool)(arg1)->IsChecked(arg2);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 {
10335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10336 }
10337 return resultobj;
10338fail:
10339 return NULL;
10340}
10341
10342
10343SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj = 0;
10345 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10346 unsigned int arg2 ;
554f62e9
RD
10347 int arg3 = (int) true ;
10348 void *argp1 = 0 ;
10349 int res1 = 0 ;
50f151d7 10350 unsigned int val2 ;
554f62e9
RD
10351 int ecode2 = 0 ;
10352 int val3 ;
10353 int ecode3 = 0 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 PyObject * obj2 = 0 ;
10357 char * kwnames[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10359 };
10360
10361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10363 if (!SWIG_IsOK(res1)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10365 }
10366 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10367 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10368 if (!SWIG_IsOK(ecode2)) {
50f151d7 10369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10370 }
50f151d7 10371 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10372 if (obj2) {
10373 ecode3 = SWIG_AsVal_int(obj2, &val3);
10374 if (!SWIG_IsOK(ecode3)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10376 }
10377 arg3 = static_cast< int >(val3);
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->Check(arg2,arg3);
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 resultobj = SWIG_Py_Void();
10386 return resultobj;
10387fail:
10388 return NULL;
d55e5bfc
RD
10389}
10390
10391
554f62e9
RD
10392SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10393 PyObject *resultobj = 0;
10394 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10395 int result;
10396 void *argp1 = 0 ;
10397 int res1 = 0 ;
10398 PyObject *swig_obj[1] ;
10399
10400 if (!args) SWIG_fail;
10401 swig_obj[0] = args;
10402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10403 if (!SWIG_IsOK(res1)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10405 }
10406 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (int)(arg1)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = SWIG_From_int(static_cast< int >(result));
10414 return resultobj;
10415fail:
10416 return NULL;
d55e5bfc
RD
10417}
10418
10419
554f62e9
RD
10420SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10421 PyObject *obj;
10422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10424 return SWIG_Py_Void();
d55e5bfc
RD
10425}
10426
554f62e9
RD
10427SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10428 return SWIG_Python_InitShadowInstance(args);
9d7dfdff
RD
10429}
10430
554f62e9
RD
10431SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10432 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10433 return 1;
f20a2e1f
RD
10434}
10435
10436
554f62e9
RD
10437SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10438 PyObject *pyobj = 0;
10439
10440 {
10441#if wxUSE_UNICODE
10442 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10443#else
10444 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10445#endif
10446 }
10447 return pyobj;
10448}
10449
10450
10451SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj = 0;
10453 wxColour const &arg1_defvalue = wxNullColour ;
10454 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10455 wxColour const &arg2_defvalue = wxNullColour ;
10456 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10457 wxFont const &arg3_defvalue = wxNullFont ;
10458 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10459 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10460 wxTextAttr *result = 0 ;
10461 wxColour temp1 ;
10462 wxColour temp2 ;
10463 void *argp3 = 0 ;
10464 int res3 = 0 ;
10465 int val4 ;
10466 int ecode4 = 0 ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 PyObject * obj3 = 0 ;
10471 char * kwnames[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10473 };
10474
10475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10476 if (obj0) {
d55e5bfc 10477 {
554f62e9
RD
10478 arg1 = &temp1;
10479 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10480 }
554f62e9
RD
10481 }
10482 if (obj1) {
d55e5bfc 10483 {
554f62e9
RD
10484 arg2 = &temp2;
10485 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10486 }
554f62e9
RD
10487 }
10488 if (obj2) {
10489 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10490 if (!SWIG_IsOK(res3)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10492 }
554f62e9
RD
10493 if (!argp3) {
10494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10495 }
10496 arg3 = reinterpret_cast< wxFont * >(argp3);
10497 }
10498 if (obj3) {
10499 ecode4 = SWIG_AsVal_int(obj3, &val4);
10500 if (!SWIG_IsOK(ecode4)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10502 }
10503 arg4 = static_cast< wxTextAttrAlignment >(val4);
10504 }
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10512 return resultobj;
10513fail:
10514 return NULL;
d55e5bfc
RD
10515}
10516
10517
554f62e9
RD
10518SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10519 PyObject *resultobj = 0;
10520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10521 void *argp1 = 0 ;
10522 int res1 = 0 ;
10523 PyObject *swig_obj[1] ;
10524
10525 if (!args) SWIG_fail;
10526 swig_obj[0] = args;
10527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10530 }
10531 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 delete arg1;
d55e5bfc 10535
554f62e9
RD
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 resultobj = SWIG_Py_Void();
10540 return resultobj;
10541fail:
10542 return NULL;
d55e5bfc
RD
10543}
10544
10545
554f62e9
RD
10546SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 PyObject *swig_obj[1] ;
10552
10553 if (!args) SWIG_fail;
10554 swig_obj[0] = args;
10555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 }
10559 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->Init();
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568fail:
10569 return NULL;
10570}
10571
10572
f460c29d
RD
10573SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = 0 ;
10576 wxTextAttr *arg2 = 0 ;
10577 wxTextAttr result;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 void *argp2 = 0 ;
10581 int res2 = 0 ;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 char * kwnames[] = {
10585 (char *) "base",(char *) "overlay", NULL
10586 };
10587
10588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10589 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10590 if (!SWIG_IsOK(res1)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10592 }
10593 if (!argp1) {
10594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10595 }
10596 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10598 if (!SWIG_IsOK(res2)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10600 }
10601 if (!argp2) {
10602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10603 }
10604 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10612 return resultobj;
10613fail:
10614 return NULL;
10615}
10616
10617
554f62e9
RD
10618SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj = 0;
10620 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10621 wxColour *arg2 = 0 ;
10622 void *argp1 = 0 ;
10623 int res1 = 0 ;
10624 wxColour temp2 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char * kwnames[] = {
10628 (char *) "self",(char *) "colText", NULL
10629 };
10630
10631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10633 if (!SWIG_IsOK(res1)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10635 }
10636 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10637 {
10638 arg2 = &temp2;
10639 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10640 }
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetTextColour((wxColour const &)*arg2);
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 resultobj = SWIG_Py_Void();
10648 return resultobj;
10649fail:
10650 return NULL;
10651}
10652
10653
10654SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10655 PyObject *resultobj = 0;
10656 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10657 wxColour *arg2 = 0 ;
10658 void *argp1 = 0 ;
10659 int res1 = 0 ;
10660 wxColour temp2 ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 char * kwnames[] = {
10664 (char *) "self",(char *) "colBack", NULL
10665 };
10666
10667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10669 if (!SWIG_IsOK(res1)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10671 }
10672 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10673 {
10674 arg2 = &temp2;
10675 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10676 }
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = SWIG_Py_Void();
10684 return resultobj;
10685fail:
10686 return NULL;
10687}
10688
10689
10690SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj = 0;
10692 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10693 wxFont *arg2 = 0 ;
10694 long arg3 = (long) wxTEXT_ATTR_FONT ;
10695 void *argp1 = 0 ;
10696 int res1 = 0 ;
10697 void *argp2 = 0 ;
10698 int res2 = 0 ;
10699 long val3 ;
10700 int ecode3 = 0 ;
10701 PyObject * obj0 = 0 ;
10702 PyObject * obj1 = 0 ;
10703 PyObject * obj2 = 0 ;
10704 char * kwnames[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10706 };
10707
10708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10712 }
10713 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10715 if (!SWIG_IsOK(res2)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10717 }
10718 if (!argp2) {
10719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10720 }
10721 arg2 = reinterpret_cast< wxFont * >(argp2);
10722 if (obj2) {
10723 ecode3 = SWIG_AsVal_long(obj2, &val3);
10724 if (!SWIG_IsOK(ecode3)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10726 }
10727 arg3 = static_cast< long >(val3);
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 resultobj = SWIG_Py_Void();
10736 return resultobj;
10737fail:
10738 return NULL;
10739}
10740
10741
10742SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj = 0;
10744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10745 wxTextAttrAlignment arg2 ;
10746 void *argp1 = 0 ;
10747 int res1 = 0 ;
10748 int val2 ;
10749 int ecode2 = 0 ;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char * kwnames[] = {
10753 (char *) "self",(char *) "alignment", NULL
10754 };
10755
10756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10758 if (!SWIG_IsOK(res1)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 }
10761 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10762 ecode2 = SWIG_AsVal_int(obj1, &val2);
10763 if (!SWIG_IsOK(ecode2)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10765 }
10766 arg2 = static_cast< wxTextAttrAlignment >(val2);
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 (arg1)->SetAlignment(arg2);
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = SWIG_Py_Void();
10774 return resultobj;
10775fail:
10776 return NULL;
10777}
10778
10779
10780SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj = 0;
10782 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10783 wxArrayInt *arg2 = 0 ;
10784 void *argp1 = 0 ;
10785 int res1 = 0 ;
10786 bool temp2 = false ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 char * kwnames[] = {
10790 (char *) "self",(char *) "tabs", NULL
10791 };
10792
10793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10795 if (!SWIG_IsOK(res1)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10797 }
10798 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10799 {
10800 if (! PySequence_Check(obj1)) {
10801 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10802 SWIG_fail;
10803 }
10804 arg2 = new wxArrayInt;
10805 temp2 = true;
10806 int i, len=PySequence_Length(obj1);
10807 for (i=0; i<len; i++) {
10808 PyObject* item = PySequence_GetItem(obj1, i);
10809 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10810 if (!number) {
10811 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10812 SWIG_fail;
10813 }
554f62e9
RD
10814 arg2->Add(PyInt_AS_LONG(number));
10815 Py_DECREF(item);
10816 Py_DECREF(number);
d55e5bfc 10817 }
554f62e9
RD
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 resultobj = SWIG_Py_Void();
10826 {
10827 if (temp2) delete arg2;
10828 }
10829 return resultobj;
10830fail:
10831 {
10832 if (temp2) delete arg2;
10833 }
10834 return NULL;
10835}
10836
10837
10838SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj = 0;
10840 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10841 int arg2 ;
10842 int arg3 = (int) 0 ;
10843 void *argp1 = 0 ;
10844 int res1 = 0 ;
10845 int val2 ;
10846 int ecode2 = 0 ;
10847 int val3 ;
10848 int ecode3 = 0 ;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char * kwnames[] = {
10853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10854 };
10855
10856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10858 if (!SWIG_IsOK(res1)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10860 }
10861 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10862 ecode2 = SWIG_AsVal_int(obj1, &val2);
10863 if (!SWIG_IsOK(ecode2)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10865 }
10866 arg2 = static_cast< int >(val2);
10867 if (obj2) {
10868 ecode3 = SWIG_AsVal_int(obj2, &val3);
10869 if (!SWIG_IsOK(ecode3)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10871 }
10872 arg3 = static_cast< int >(val3);
10873 }
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->SetLeftIndent(arg2,arg3);
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = SWIG_Py_Void();
10881 return resultobj;
10882fail:
10883 return NULL;
10884}
10885
10886
10887SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj = 0;
10889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10890 int arg2 ;
10891 void *argp1 = 0 ;
10892 int res1 = 0 ;
10893 int val2 ;
10894 int ecode2 = 0 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "self",(char *) "indent", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10905 }
10906 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10907 ecode2 = SWIG_AsVal_int(obj1, &val2);
10908 if (!SWIG_IsOK(ecode2)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10910 }
10911 arg2 = static_cast< int >(val2);
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->SetRightIndent(arg2);
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_Py_Void();
10919 return resultobj;
10920fail:
10921 return NULL;
10922}
10923
10924
10925SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj = 0;
10927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10928 long arg2 ;
10929 void *argp1 = 0 ;
10930 int res1 = 0 ;
10931 long val2 ;
10932 int ecode2 = 0 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char * kwnames[] = {
10936 (char *) "self",(char *) "flags", NULL
10937 };
10938
10939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10941 if (!SWIG_IsOK(res1)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10943 }
10944 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10945 ecode2 = SWIG_AsVal_long(obj1, &val2);
10946 if (!SWIG_IsOK(ecode2)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10948 }
10949 arg2 = static_cast< long >(val2);
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 (arg1)->SetFlags(arg2);
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 resultobj = SWIG_Py_Void();
10957 return resultobj;
10958fail:
10959 return NULL;
d55e5bfc
RD
10960}
10961
10962
554f62e9
RD
10963SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10964 PyObject *resultobj = 0;
10965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10966 bool result;
10967 void *argp1 = 0 ;
10968 int res1 = 0 ;
10969 PyObject *swig_obj[1] ;
10970
10971 if (!args) SWIG_fail;
10972 swig_obj[0] = args;
10973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10976 }
10977 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 {
10985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10986 }
10987 return resultobj;
10988fail:
10989 return NULL;
d55e5bfc
RD
10990}
10991
10992
554f62e9
RD
10993SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10994 PyObject *resultobj = 0;
10995 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10996 bool result;
10997 void *argp1 = 0 ;
10998 int res1 = 0 ;
10999 PyObject *swig_obj[1] ;
11000
11001 if (!args) SWIG_fail;
11002 swig_obj[0] = args;
11003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11004 if (!SWIG_IsOK(res1)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11006 }
11007 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 {
11015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11016 }
11017 return resultobj;
11018fail:
11019 return NULL;
d55e5bfc
RD
11020}
11021
11022
554f62e9
RD
11023SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11024 PyObject *resultobj = 0;
11025 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11026 bool result;
11027 void *argp1 = 0 ;
11028 int res1 = 0 ;
11029 PyObject *swig_obj[1] ;
11030
11031 if (!args) SWIG_fail;
11032 swig_obj[0] = args;
11033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11034 if (!SWIG_IsOK(res1)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11036 }
11037 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 {
11045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11046 }
11047 return resultobj;
11048fail:
11049 return NULL;
d55e5bfc
RD
11050}
11051
11052
554f62e9
RD
11053SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11054 PyObject *resultobj = 0;
11055 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11056 bool result;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 PyObject *swig_obj[1] ;
11060
11061 if (!args) SWIG_fail;
11062 swig_obj[0] = args;
11063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11064 if (!SWIG_IsOK(res1)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11066 }
11067 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 {
11075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11076 }
11077 return resultobj;
11078fail:
11079 return NULL;
f20a2e1f
RD
11080}
11081
11082
554f62e9
RD
11083SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11084 PyObject *resultobj = 0;
11085 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11086 bool result;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 PyObject *swig_obj[1] ;
11090
11091 if (!args) SWIG_fail;
11092 swig_obj[0] = args;
11093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11094 if (!SWIG_IsOK(res1)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11096 }
11097 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 {
11105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11106 }
11107 return resultobj;
11108fail:
11109 return NULL;
d55e5bfc
RD
11110}
11111
11112
554f62e9
RD
11113SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11114 PyObject *resultobj = 0;
11115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11116 bool result;
11117 void *argp1 = 0 ;
11118 int res1 = 0 ;
11119 PyObject *swig_obj[1] ;
11120
11121 if (!args) SWIG_fail;
11122 swig_obj[0] = args;
11123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11124 if (!SWIG_IsOK(res1)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11126 }
11127 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11136 }
11137 return resultobj;
11138fail:
11139 return NULL;
d55e5bfc
RD
11140}
11141
11142
554f62e9
RD
11143SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11144 PyObject *resultobj = 0;
11145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11146 bool result;
11147 void *argp1 = 0 ;
11148 int res1 = 0 ;
11149 PyObject *swig_obj[1] ;
11150
11151 if (!args) SWIG_fail;
11152 swig_obj[0] = args;
11153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11154 if (!SWIG_IsOK(res1)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11156 }
11157 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 {
11165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11166 }
11167 return resultobj;
11168fail:
11169 return NULL;
11170}
11171
11172
11173SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj = 0;
11175 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11176 long arg2 ;
11177 bool result;
11178 void *argp1 = 0 ;
11179 int res1 = 0 ;
11180 long val2 ;
11181 int ecode2 = 0 ;
11182 PyObject * obj0 = 0 ;
11183 PyObject * obj1 = 0 ;
11184 char * kwnames[] = {
11185 (char *) "self",(char *) "flag", NULL
11186 };
11187
11188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11192 }
11193 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11194 ecode2 = SWIG_AsVal_long(obj1, &val2);
11195 if (!SWIG_IsOK(ecode2)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11197 }
11198 arg2 = static_cast< long >(val2);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11207 }
11208 return resultobj;
11209fail:
11210 return NULL;
d55e5bfc
RD
11211}
11212
11213
554f62e9
RD
11214SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11215 PyObject *resultobj = 0;
11216 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11217 wxColour *result = 0 ;
11218 void *argp1 = 0 ;
11219 int res1 = 0 ;
11220 PyObject *swig_obj[1] ;
11221
11222 if (!args) SWIG_fail;
11223 swig_obj[0] = args;
11224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11225 if (!SWIG_IsOK(res1)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11227 }
11228 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11231 {
554f62e9
RD
11232 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11233 result = (wxColour *) &_result_ref;
d55e5bfc 11234 }
554f62e9
RD
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11239 return resultobj;
11240fail:
11241 return NULL;
d55e5bfc
RD
11242}
11243
11244
554f62e9
RD
11245SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11246 PyObject *resultobj = 0;
11247 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11248 wxColour *result = 0 ;
11249 void *argp1 = 0 ;
11250 int res1 = 0 ;
11251 PyObject *swig_obj[1] ;
11252
11253 if (!args) SWIG_fail;
11254 swig_obj[0] = args;
11255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11256 if (!SWIG_IsOK(res1)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11258 }
11259 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11262 {
554f62e9
RD
11263 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11264 result = (wxColour *) &_result_ref;
d55e5bfc 11265 }
554f62e9
RD
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11270 return resultobj;
11271fail:
11272 return NULL;
d55e5bfc
RD
11273}
11274
11275
554f62e9
RD
11276SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11277 PyObject *resultobj = 0;
11278 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11279 wxFont *result = 0 ;
11280 void *argp1 = 0 ;
11281 int res1 = 0 ;
11282 PyObject *swig_obj[1] ;
11283
11284 if (!args) SWIG_fail;
11285 swig_obj[0] = args;
11286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11287 if (!SWIG_IsOK(res1)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11289 }
11290 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11293 {
554f62e9
RD
11294 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11295 result = (wxFont *) &_result_ref;
d55e5bfc 11296 }
554f62e9
RD
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 wxFont* resultptr = new wxFont(*result);
11302 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11303 }
11304 return resultobj;
11305fail:
11306 return NULL;
d55e5bfc
RD
11307}
11308
11309
554f62e9
RD
11310SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11311 PyObject *resultobj = 0;
11312 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11313 wxTextAttrAlignment result;
11314 void *argp1 = 0 ;
11315 int res1 = 0 ;
11316 PyObject *swig_obj[1] ;
11317
11318 if (!args) SWIG_fail;
11319 swig_obj[0] = args;
11320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11321 if (!SWIG_IsOK(res1)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11323 }
11324 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_From_int(static_cast< int >(result));
11332 return resultobj;
11333fail:
11334 return NULL;
d55e5bfc
RD
11335}
11336
11337
554f62e9
RD
11338SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11339 PyObject *resultobj = 0;
11340 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11341 wxArrayInt *result = 0 ;
11342 void *argp1 = 0 ;
11343 int res1 = 0 ;
11344 PyObject *swig_obj[1] ;
11345
11346 if (!args) SWIG_fail;
11347 swig_obj[0] = args;
11348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11349 if (!SWIG_IsOK(res1)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11351 }
11352 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11355 {
554f62e9
RD
11356 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11357 result = (wxArrayInt *) &_result_ref;
d55e5bfc 11358 }
554f62e9
RD
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 {
b39fe951 11363 resultobj = wxArrayInt2PyList_helper(*result);
554f62e9
RD
11364 }
11365 return resultobj;
11366fail:
11367 return NULL;
d55e5bfc
RD
11368}
11369
11370
554f62e9
RD
11371SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11372 PyObject *resultobj = 0;
11373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11374 long result;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 PyObject *swig_obj[1] ;
11378
11379 if (!args) SWIG_fail;
11380 swig_obj[0] = args;
11381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11384 }
11385 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_From_long(static_cast< long >(result));
11393 return resultobj;
11394fail:
11395 return NULL;
d55e5bfc
RD
11396}
11397
11398
554f62e9
RD
11399SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11400 PyObject *resultobj = 0;
11401 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11402 long result;
11403 void *argp1 = 0 ;
11404 int res1 = 0 ;
11405 PyObject *swig_obj[1] ;
11406
11407 if (!args) SWIG_fail;
11408 swig_obj[0] = args;
11409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11410 if (!SWIG_IsOK(res1)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11412 }
11413 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_From_long(static_cast< long >(result));
11421 return resultobj;
11422fail:
11423 return NULL;
d55e5bfc
RD
11424}
11425
11426
554f62e9
RD
11427SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11430 long result;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 PyObject *swig_obj[1] ;
11434
11435 if (!args) SWIG_fail;
11436 swig_obj[0] = args;
11437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11440 }
11441 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = SWIG_From_long(static_cast< long >(result));
11449 return resultobj;
11450fail:
11451 return NULL;
d55e5bfc
RD
11452}
11453
11454
554f62e9
RD
11455SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11456 PyObject *resultobj = 0;
11457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11458 long result;
11459 void *argp1 = 0 ;
11460 int res1 = 0 ;
11461 PyObject *swig_obj[1] ;
11462
11463 if (!args) SWIG_fail;
11464 swig_obj[0] = args;
11465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11466 if (!SWIG_IsOK(res1)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11468 }
11469 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 resultobj = SWIG_From_long(static_cast< long >(result));
11477 return resultobj;
11478fail:
11479 return NULL;
d55e5bfc
RD
11480}
11481
11482
554f62e9
RD
11483SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11484 PyObject *resultobj = 0;
11485 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11486 bool result;
11487 void *argp1 = 0 ;
11488 int res1 = 0 ;
11489 PyObject *swig_obj[1] ;
11490
11491 if (!args) SWIG_fail;
11492 swig_obj[0] = args;
11493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11494 if (!SWIG_IsOK(res1)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11496 }
11497 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11506 }
11507 return resultobj;
11508fail:
11509 return NULL;
11510}
11511
11512
11513SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj = 0;
11515 wxTextAttr *arg1 = 0 ;
11516 wxTextAttr *arg2 = 0 ;
11517 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11518 wxTextAttr result;
11519 void *argp1 = 0 ;
11520 int res1 = 0 ;
11521 void *argp2 = 0 ;
11522 int res2 = 0 ;
11523 void *argp3 = 0 ;
11524 int res3 = 0 ;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 PyObject * obj2 = 0 ;
11528 char * kwnames[] = {
11529 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11530 };
11531
11532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11533 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11534 if (!SWIG_IsOK(res1)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11536 }
11537 if (!argp1) {
11538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11539 }
11540 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11542 if (!SWIG_IsOK(res2)) {
11543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11544 }
11545 if (!argp2) {
11546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11547 }
11548 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11549 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11550 if (!SWIG_IsOK(res3)) {
11551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11552 }
11553 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11561 return resultobj;
11562fail:
11563 return NULL;
11564}
11565
11566
11567SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11568 PyObject *obj;
11569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11570 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11571 return SWIG_Py_Void();
11572}
11573
11574SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11575 return SWIG_Python_InitShadowInstance(args);
11576}
11577
11578SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj = 0;
11580 wxWindow *arg1 = (wxWindow *) 0 ;
11581 int arg2 = (int) -1 ;
11582 wxString const &arg3_defvalue = wxPyEmptyString ;
11583 wxString *arg3 = (wxString *) &arg3_defvalue ;
11584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11586 wxSize const &arg5_defvalue = wxDefaultSize ;
11587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11588 long arg6 = (long) 0 ;
11589 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11590 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11591 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11592 wxString *arg8 = (wxString *) &arg8_defvalue ;
11593 wxTextCtrl *result = 0 ;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 int val2 ;
11597 int ecode2 = 0 ;
11598 bool temp3 = false ;
11599 wxPoint temp4 ;
11600 wxSize temp5 ;
11601 long val6 ;
11602 int ecode6 = 0 ;
11603 void *argp7 = 0 ;
11604 int res7 = 0 ;
11605 bool temp8 = false ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11609 PyObject * obj3 = 0 ;
11610 PyObject * obj4 = 0 ;
11611 PyObject * obj5 = 0 ;
11612 PyObject * obj6 = 0 ;
11613 PyObject * obj7 = 0 ;
11614 char * kwnames[] = {
11615 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11616 };
11617
11618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11620 if (!SWIG_IsOK(res1)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11622 }
11623 arg1 = reinterpret_cast< wxWindow * >(argp1);
11624 if (obj1) {
11625 ecode2 = SWIG_AsVal_int(obj1, &val2);
11626 if (!SWIG_IsOK(ecode2)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11628 }
11629 arg2 = static_cast< int >(val2);
11630 }
11631 if (obj2) {
d55e5bfc 11632 {
554f62e9
RD
11633 arg3 = wxString_in_helper(obj2);
11634 if (arg3 == NULL) SWIG_fail;
11635 temp3 = true;
d55e5bfc 11636 }
554f62e9
RD
11637 }
11638 if (obj3) {
d55e5bfc 11639 {
554f62e9
RD
11640 arg4 = &temp4;
11641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11642 }
554f62e9
RD
11643 }
11644 if (obj4) {
d55e5bfc 11645 {
554f62e9
RD
11646 arg5 = &temp5;
11647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11648 }
554f62e9
RD
11649 }
11650 if (obj5) {
11651 ecode6 = SWIG_AsVal_long(obj5, &val6);
11652 if (!SWIG_IsOK(ecode6)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11654 }
11655 arg6 = static_cast< long >(val6);
11656 }
11657 if (obj6) {
11658 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11659 if (!SWIG_IsOK(res7)) {
11660 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11661 }
554f62e9
RD
11662 if (!argp7) {
11663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11664 }
554f62e9
RD
11665 arg7 = reinterpret_cast< wxValidator * >(argp7);
11666 }
11667 if (obj7) {
d55e5bfc 11668 {
554f62e9
RD
11669 arg8 = wxString_in_helper(obj7);
11670 if (arg8 == NULL) SWIG_fail;
11671 temp8 = true;
d55e5bfc 11672 }
554f62e9
RD
11673 }
11674 {
11675 if (!wxPyCheckForApp()) SWIG_fail;
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11682 {
11683 if (temp3)
11684 delete arg3;
11685 }
11686 {
11687 if (temp8)
11688 delete arg8;
11689 }
11690 return resultobj;
11691fail:
11692 {
11693 if (temp3)
11694 delete arg3;
11695 }
11696 {
11697 if (temp8)
11698 delete arg8;
11699 }
11700 return NULL;
d55e5bfc
RD
11701}
11702
11703
554f62e9
RD
11704SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11705 PyObject *resultobj = 0;
11706 wxTextCtrl *result = 0 ;
11707
11708 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11709 {
11710 if (!wxPyCheckForApp()) SWIG_fail;
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 result = (wxTextCtrl *)new wxTextCtrl();
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11717 return resultobj;
11718fail:
11719 return NULL;
11720}
11721
11722
11723SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj = 0;
11725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11726 wxWindow *arg2 = (wxWindow *) 0 ;
11727 int arg3 = (int) -1 ;
11728 wxString const &arg4_defvalue = wxPyEmptyString ;
11729 wxString *arg4 = (wxString *) &arg4_defvalue ;
11730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11732 wxSize const &arg6_defvalue = wxDefaultSize ;
11733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11734 long arg7 = (long) 0 ;
11735 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11736 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11737 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11738 wxString *arg9 = (wxString *) &arg9_defvalue ;
11739 bool result;
11740 void *argp1 = 0 ;
11741 int res1 = 0 ;
11742 void *argp2 = 0 ;
11743 int res2 = 0 ;
11744 int val3 ;
11745 int ecode3 = 0 ;
11746 bool temp4 = false ;
11747 wxPoint temp5 ;
11748 wxSize temp6 ;
11749 long val7 ;
11750 int ecode7 = 0 ;
11751 void *argp8 = 0 ;
11752 int res8 = 0 ;
11753 bool temp9 = false ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 PyObject * obj2 = 0 ;
11757 PyObject * obj3 = 0 ;
11758 PyObject * obj4 = 0 ;
11759 PyObject * obj5 = 0 ;
11760 PyObject * obj6 = 0 ;
11761 PyObject * obj7 = 0 ;
11762 PyObject * obj8 = 0 ;
11763 char * kwnames[] = {
11764 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11765 };
11766
11767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11769 if (!SWIG_IsOK(res1)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11771 }
11772 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11774 if (!SWIG_IsOK(res2)) {
11775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11776 }
11777 arg2 = reinterpret_cast< wxWindow * >(argp2);
11778 if (obj2) {
11779 ecode3 = SWIG_AsVal_int(obj2, &val3);
11780 if (!SWIG_IsOK(ecode3)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11782 }
11783 arg3 = static_cast< int >(val3);
11784 }
11785 if (obj3) {
d55e5bfc 11786 {
554f62e9
RD
11787 arg4 = wxString_in_helper(obj3);
11788 if (arg4 == NULL) SWIG_fail;
11789 temp4 = true;
d55e5bfc 11790 }
554f62e9
RD
11791 }
11792 if (obj4) {
d55e5bfc 11793 {
554f62e9
RD
11794 arg5 = &temp5;
11795 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11796 }
554f62e9
RD
11797 }
11798 if (obj5) {
d55e5bfc 11799 {
554f62e9
RD
11800 arg6 = &temp6;
11801 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11802 }
554f62e9
RD
11803 }
11804 if (obj6) {
11805 ecode7 = SWIG_AsVal_long(obj6, &val7);
11806 if (!SWIG_IsOK(ecode7)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11808 }
11809 arg7 = static_cast< long >(val7);
11810 }
11811 if (obj7) {
11812 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11813 if (!SWIG_IsOK(res8)) {
11814 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11815 }
554f62e9
RD
11816 if (!argp8) {
11817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11818 }
554f62e9
RD
11819 arg8 = reinterpret_cast< wxValidator * >(argp8);
11820 }
11821 if (obj8) {
d55e5bfc 11822 {
554f62e9
RD
11823 arg9 = wxString_in_helper(obj8);
11824 if (arg9 == NULL) SWIG_fail;
11825 temp9 = true;
d55e5bfc 11826 }
554f62e9
RD
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11836 }
11837 {
11838 if (temp4)
11839 delete arg4;
11840 }
11841 {
11842 if (temp9)
11843 delete arg9;
11844 }
11845 return resultobj;
11846fail:
11847 {
11848 if (temp4)
11849 delete arg4;
11850 }
11851 {
11852 if (temp9)
11853 delete arg9;
11854 }
11855 return NULL;
d55e5bfc
RD
11856}
11857
11858
554f62e9
RD
11859SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11860 PyObject *resultobj = 0;
11861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11862 wxString result;
11863 void *argp1 = 0 ;
11864 int res1 = 0 ;
11865 PyObject *swig_obj[1] ;
11866
11867 if (!args) SWIG_fail;
11868 swig_obj[0] = args;
11869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11870 if (!SWIG_IsOK(res1)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11872 }
11873 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = ((wxTextCtrl const *)arg1)->GetValue();
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 {
11881#if wxUSE_UNICODE
11882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11883#else
11884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11885#endif
11886 }
11887 return resultobj;
11888fail:
11889 return NULL;
11890}
11891
11892
11893SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj = 0;
11895 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11896 wxString *arg2 = 0 ;
11897 void *argp1 = 0 ;
11898 int res1 = 0 ;
11899 bool temp2 = false ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "value", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11910 }
11911 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11912 {
11913 arg2 = wxString_in_helper(obj1);
11914 if (arg2 == NULL) SWIG_fail;
11915 temp2 = true;
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->SetValue((wxString const &)*arg2);
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_Py_Void();
11924 {
11925 if (temp2)
11926 delete arg2;
11927 }
11928 return resultobj;
11929fail:
11930 {
11931 if (temp2)
11932 delete arg2;
11933 }
11934 return NULL;
11935}
11936
11937
b39fe951
RD
11938SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11939 PyObject *resultobj = 0;
11940 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11941 bool result;
11942 void *argp1 = 0 ;
11943 int res1 = 0 ;
11944 PyObject *swig_obj[1] ;
11945
11946 if (!args) SWIG_fail;
11947 swig_obj[0] = args;
11948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11949 if (!SWIG_IsOK(res1)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11951 }
11952 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 {
11960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11961 }
11962 return resultobj;
11963fail:
11964 return NULL;
11965}
11966
11967
11968SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj = 0;
11970 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11971 wxString *arg2 = 0 ;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 bool temp2 = false ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 char * kwnames[] = {
11978 (char *) "self",(char *) "value", NULL
11979 };
11980
11981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
11982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11983 if (!SWIG_IsOK(res1)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11985 }
11986 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11987 {
11988 arg2 = wxString_in_helper(obj1);
11989 if (arg2 == NULL) SWIG_fail;
11990 temp2 = true;
11991 }
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 (arg1)->ChangeValue((wxString const &)*arg2);
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 resultobj = SWIG_Py_Void();
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return resultobj;
12004fail:
12005 {
12006 if (temp2)
12007 delete arg2;
12008 }
12009 return NULL;
12010}
12011
12012
554f62e9
RD
12013SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj = 0;
12015 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12016 long arg2 ;
12017 long arg3 ;
12018 wxString result;
12019 void *argp1 = 0 ;
12020 int res1 = 0 ;
12021 long val2 ;
12022 int ecode2 = 0 ;
12023 long val3 ;
12024 int ecode3 = 0 ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 PyObject * obj2 = 0 ;
12028 char * kwnames[] = {
f460c29d 12029 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12030 };
12031
12032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12034 if (!SWIG_IsOK(res1)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12036 }
12037 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12038 ecode2 = SWIG_AsVal_long(obj1, &val2);
12039 if (!SWIG_IsOK(ecode2)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12041 }
12042 arg2 = static_cast< long >(val2);
12043 ecode3 = SWIG_AsVal_long(obj2, &val3);
12044 if (!SWIG_IsOK(ecode3)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12046 }
12047 arg3 = static_cast< long >(val3);
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055#if wxUSE_UNICODE
12056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12057#else
12058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12059#endif
12060 }
12061 return resultobj;
12062fail:
12063 return NULL;
12064}
12065
12066
12067SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj = 0;
12069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12070 long arg2 ;
12071 int result;
12072 void *argp1 = 0 ;
12073 int res1 = 0 ;
12074 long val2 ;
12075 int ecode2 = 0 ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char * kwnames[] = {
12079 (char *) "self",(char *) "lineNo", NULL
12080 };
12081
12082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12084 if (!SWIG_IsOK(res1)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12086 }
12087 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12088 ecode2 = SWIG_AsVal_long(obj1, &val2);
12089 if (!SWIG_IsOK(ecode2)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12091 }
12092 arg2 = static_cast< long >(val2);
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 resultobj = SWIG_From_int(static_cast< int >(result));
12100 return resultobj;
12101fail:
12102 return NULL;
12103}
12104
12105
12106SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj = 0;
12108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12109 long arg2 ;
12110 wxString result;
12111 void *argp1 = 0 ;
12112 int res1 = 0 ;
12113 long val2 ;
12114 int ecode2 = 0 ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char * kwnames[] = {
12118 (char *) "self",(char *) "lineNo", NULL
12119 };
12120
12121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12123 if (!SWIG_IsOK(res1)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12125 }
12126 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12127 ecode2 = SWIG_AsVal_long(obj1, &val2);
12128 if (!SWIG_IsOK(ecode2)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12130 }
12131 arg2 = static_cast< long >(val2);
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 {
12139#if wxUSE_UNICODE
12140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12141#else
12142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12143#endif
12144 }
12145 return resultobj;
12146fail:
12147 return NULL;
d55e5bfc
RD
12148}
12149
12150
554f62e9
RD
12151SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12152 PyObject *resultobj = 0;
12153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12154 int result;
12155 void *argp1 = 0 ;
12156 int res1 = 0 ;
12157 PyObject *swig_obj[1] ;
12158
12159 if (!args) SWIG_fail;
12160 swig_obj[0] = args;
12161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12162 if (!SWIG_IsOK(res1)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12164 }
12165 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_From_int(static_cast< int >(result));
12173 return resultobj;
12174fail:
12175 return NULL;
d55e5bfc
RD
12176}
12177
12178
554f62e9
RD
12179SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12180 PyObject *resultobj = 0;
12181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12182 bool result;
12183 void *argp1 = 0 ;
12184 int res1 = 0 ;
12185 PyObject *swig_obj[1] ;
12186
12187 if (!args) SWIG_fail;
12188 swig_obj[0] = args;
12189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12190 if (!SWIG_IsOK(res1)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12192 }
12193 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 {
12201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12202 }
12203 return resultobj;
12204fail:
12205 return NULL;
d55e5bfc
RD
12206}
12207
12208
554f62e9
RD
12209SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12212 bool result;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 PyObject *swig_obj[1] ;
12216
12217 if (!args) SWIG_fail;
12218 swig_obj[0] = args;
12219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12222 }
12223 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12232 }
12233 return resultobj;
12234fail:
12235 return NULL;
d55e5bfc
RD
12236}
12237
12238
554f62e9
RD
12239SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12240 PyObject *resultobj = 0;
12241 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12242 bool result;
12243 void *argp1 = 0 ;
12244 int res1 = 0 ;
12245 PyObject *swig_obj[1] ;
12246
12247 if (!args) SWIG_fail;
12248 swig_obj[0] = args;
12249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12252 }
12253 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 {
12261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12262 }
12263 return resultobj;
12264fail:
12265 return NULL;
d55e5bfc
RD
12266}
12267
12268
554f62e9
RD
12269SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12270 PyObject *resultobj = 0;
12271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12272 bool result;
12273 void *argp1 = 0 ;
12274 int res1 = 0 ;
12275 PyObject *swig_obj[1] ;
12276
12277 if (!args) SWIG_fail;
12278 swig_obj[0] = args;
12279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12280 if (!SWIG_IsOK(res1)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12282 }
12283 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12292 }
12293 return resultobj;
12294fail:
12295 return NULL;
12296}
12297
12298
12299SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 PyObject *resultobj = 0;
12301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12302 long *arg2 = (long *) 0 ;
12303 long *arg3 = (long *) 0 ;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 long temp2 ;
12307 int res2 = SWIG_TMPOBJ ;
12308 long temp3 ;
12309 int res3 = SWIG_TMPOBJ ;
12310 PyObject *swig_obj[1] ;
12311
12312 arg2 = &temp2;
12313 arg3 = &temp3;
12314 if (!args) SWIG_fail;
12315 swig_obj[0] = args;
12316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12319 }
12320 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 resultobj = SWIG_Py_Void();
12328 if (SWIG_IsTmpObj(res2)) {
12329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12330 } else {
12331 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12333 }
12334 if (SWIG_IsTmpObj(res3)) {
12335 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12336 } else {
12337 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12338 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12339 }
12340 return resultobj;
12341fail:
12342 return NULL;
d55e5bfc
RD
12343}
12344
12345
554f62e9
RD
12346SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12347 PyObject *resultobj = 0;
12348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12349 wxString result;
12350 void *argp1 = 0 ;
12351 int res1 = 0 ;
12352 PyObject *swig_obj[1] ;
12353
12354 if (!args) SWIG_fail;
12355 swig_obj[0] = args;
12356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12357 if (!SWIG_IsOK(res1)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12359 }
12360 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368#if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12370#else
12371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12372#endif
12373 }
12374 return resultobj;
12375fail:
12376 return NULL;
d55e5bfc
RD
12377}
12378
12379
554f62e9
RD
12380SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12381 PyObject *resultobj = 0;
12382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 PyObject *swig_obj[1] ;
12386
12387 if (!args) SWIG_fail;
12388 swig_obj[0] = args;
12389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12390 if (!SWIG_IsOK(res1)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12392 }
12393 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->Clear();
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_Py_Void();
12401 return resultobj;
12402fail:
12403 return NULL;
12404}
12405
12406
12407SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj = 0;
12409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12410 long arg2 ;
12411 long arg3 ;
12412 wxString *arg4 = 0 ;
12413 void *argp1 = 0 ;
12414 int res1 = 0 ;
12415 long val2 ;
12416 int ecode2 = 0 ;
12417 long val3 ;
12418 int ecode3 = 0 ;
12419 bool temp4 = false ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 PyObject * obj2 = 0 ;
12423 PyObject * obj3 = 0 ;
12424 char * kwnames[] = {
f460c29d 12425 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
12426 };
12427
12428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12430 if (!SWIG_IsOK(res1)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12432 }
12433 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12434 ecode2 = SWIG_AsVal_long(obj1, &val2);
12435 if (!SWIG_IsOK(ecode2)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12437 }
12438 arg2 = static_cast< long >(val2);
12439 ecode3 = SWIG_AsVal_long(obj2, &val3);
12440 if (!SWIG_IsOK(ecode3)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12442 }
12443 arg3 = static_cast< long >(val3);
12444 {
12445 arg4 = wxString_in_helper(obj3);
12446 if (arg4 == NULL) SWIG_fail;
12447 temp4 = true;
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_Py_Void();
12456 {
12457 if (temp4)
12458 delete arg4;
12459 }
12460 return resultobj;
12461fail:
12462 {
12463 if (temp4)
12464 delete arg4;
12465 }
12466 return NULL;
12467}
12468
12469
12470SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj = 0;
12472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12473 long arg2 ;
12474 long arg3 ;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 long val2 ;
12478 int ecode2 = 0 ;
12479 long val3 ;
12480 int ecode3 = 0 ;
12481 PyObject * obj0 = 0 ;
12482 PyObject * obj1 = 0 ;
12483 PyObject * obj2 = 0 ;
12484 char * kwnames[] = {
f460c29d 12485 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12486 };
12487
12488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12490 if (!SWIG_IsOK(res1)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12492 }
12493 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12494 ecode2 = SWIG_AsVal_long(obj1, &val2);
12495 if (!SWIG_IsOK(ecode2)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12497 }
12498 arg2 = static_cast< long >(val2);
12499 ecode3 = SWIG_AsVal_long(obj2, &val3);
12500 if (!SWIG_IsOK(ecode3)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12502 }
12503 arg3 = static_cast< long >(val3);
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->Remove(arg2,arg3);
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 resultobj = SWIG_Py_Void();
12511 return resultobj;
12512fail:
12513 return NULL;
12514}
12515
12516
12517SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12518 PyObject *resultobj = 0;
12519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12520 wxString *arg2 = 0 ;
f5263701 12521 int arg3 = (int) wxTEXT_TYPE_ANY ;
554f62e9
RD
12522 bool result;
12523 void *argp1 = 0 ;
12524 int res1 = 0 ;
12525 bool temp2 = false ;
f5263701
RD
12526 int val3 ;
12527 int ecode3 = 0 ;
554f62e9
RD
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
f5263701 12530 PyObject * obj2 = 0 ;
554f62e9 12531 char * kwnames[] = {
f5263701 12532 (char *) "self",(char *) "file",(char *) "fileType", NULL
554f62e9
RD
12533 };
12534
f5263701 12535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
554f62e9
RD
12536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12537 if (!SWIG_IsOK(res1)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 }
12540 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12541 {
12542 arg2 = wxString_in_helper(obj1);
12543 if (arg2 == NULL) SWIG_fail;
12544 temp2 = true;
12545 }
f5263701
RD
12546 if (obj2) {
12547 ecode3 = SWIG_AsVal_int(obj2, &val3);
12548 if (!SWIG_IsOK(ecode3)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12550 }
12551 arg3 = static_cast< int >(val3);
12552 }
554f62e9
RD
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12555 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
554f62e9
RD
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12561 }
12562 {
12563 if (temp2)
12564 delete arg2;
12565 }
12566 return resultobj;
12567fail:
12568 {
12569 if (temp2)
12570 delete arg2;
12571 }
12572 return NULL;
12573}
12574
12575
12576SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj = 0;
12578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12579 wxString const &arg2_defvalue = wxPyEmptyString ;
12580 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12581 int arg3 = (int) wxTEXT_TYPE_ANY ;
554f62e9
RD
12582 bool result;
12583 void *argp1 = 0 ;
12584 int res1 = 0 ;
12585 bool temp2 = false ;
f5263701
RD
12586 int val3 ;
12587 int ecode3 = 0 ;
554f62e9
RD
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
f5263701 12590 PyObject * obj2 = 0 ;
554f62e9 12591 char * kwnames[] = {
f5263701 12592 (char *) "self",(char *) "file",(char *) "fileType", NULL
554f62e9
RD
12593 };
12594
f5263701 12595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
554f62e9
RD
12596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12597 if (!SWIG_IsOK(res1)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12599 }
12600 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12601 if (obj1) {
d55e5bfc 12602 {
554f62e9
RD
12603 arg2 = wxString_in_helper(obj1);
12604 if (arg2 == NULL) SWIG_fail;
12605 temp2 = true;
d55e5bfc 12606 }
554f62e9 12607 }
f5263701
RD
12608 if (obj2) {
12609 ecode3 = SWIG_AsVal_int(obj2, &val3);
12610 if (!SWIG_IsOK(ecode3)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12612 }
12613 arg3 = static_cast< int >(val3);
12614 }
554f62e9
RD
12615 {
12616 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12617 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
554f62e9
RD
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 {
12622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12623 }
12624 {
12625 if (temp2)
12626 delete arg2;
12627 }
12628 return resultobj;
12629fail:
12630 {
12631 if (temp2)
12632 delete arg2;
12633 }
12634 return NULL;
d55e5bfc
RD
12635}
12636
12637
554f62e9
RD
12638SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(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_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 }
12651 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->MarkDirty();
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 resultobj = SWIG_Py_Void();
12659 return resultobj;
12660fail:
12661 return NULL;
d55e5bfc
RD
12662}
12663
12664
554f62e9
RD
12665SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12666 PyObject *resultobj = 0;
12667 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12668 void *argp1 = 0 ;
12669 int res1 = 0 ;
12670 PyObject *swig_obj[1] ;
12671
12672 if (!args) SWIG_fail;
12673 swig_obj[0] = args;
12674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12675 if (!SWIG_IsOK(res1)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12677 }
12678 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->DiscardEdits();
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_Py_Void();
12686 return resultobj;
12687fail:
12688 return NULL;
12689}
12690
12691
b02396e8
RD
12692SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj = 0;
12694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12695 bool arg2 ;
12696 void *argp1 = 0 ;
12697 int res1 = 0 ;
12698 bool val2 ;
12699 int ecode2 = 0 ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 char * kwnames[] = {
12703 (char *) "self",(char *) "modified", NULL
12704 };
12705
12706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12708 if (!SWIG_IsOK(res1)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12710 }
12711 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12712 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12713 if (!SWIG_IsOK(ecode2)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12715 }
12716 arg2 = static_cast< bool >(val2);
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 (arg1)->SetModified(arg2);
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_Py_Void();
12724 return resultobj;
12725fail:
12726 return NULL;
12727}
12728
12729
554f62e9
RD
12730SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj = 0;
12732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12733 unsigned long arg2 ;
12734 void *argp1 = 0 ;
12735 int res1 = 0 ;
12736 unsigned long val2 ;
12737 int ecode2 = 0 ;
12738 PyObject * obj0 = 0 ;
12739 PyObject * obj1 = 0 ;
12740 char * kwnames[] = {
12741 (char *) "self",(char *) "len", NULL
12742 };
12743
12744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12746 if (!SWIG_IsOK(res1)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12748 }
12749 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12750 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12751 if (!SWIG_IsOK(ecode2)) {
12752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12753 }
12754 arg2 = static_cast< unsigned long >(val2);
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->SetMaxLength(arg2);
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 resultobj = SWIG_Py_Void();
12762 return resultobj;
12763fail:
12764 return NULL;
12765}
12766
12767
12768SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj = 0;
12770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12771 wxString *arg2 = 0 ;
12772 void *argp1 = 0 ;
12773 int res1 = 0 ;
12774 bool temp2 = false ;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12777 char * kwnames[] = {
12778 (char *) "self",(char *) "text", NULL
12779 };
12780
12781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12783 if (!SWIG_IsOK(res1)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12785 }
12786 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12787 {
12788 arg2 = wxString_in_helper(obj1);
12789 if (arg2 == NULL) SWIG_fail;
12790 temp2 = true;
12791 }
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 (arg1)->WriteText((wxString const &)*arg2);
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 resultobj = SWIG_Py_Void();
12799 {
12800 if (temp2)
12801 delete arg2;
12802 }
12803 return resultobj;
12804fail:
12805 {
12806 if (temp2)
12807 delete arg2;
12808 }
12809 return NULL;
d55e5bfc
RD
12810}
12811
12812
554f62e9
RD
12813SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj = 0;
12815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12816 wxString *arg2 = 0 ;
12817 void *argp1 = 0 ;
12818 int res1 = 0 ;
12819 bool temp2 = false ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 char * kwnames[] = {
12823 (char *) "self",(char *) "text", NULL
12824 };
12825
12826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12828 if (!SWIG_IsOK(res1)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12830 }
12831 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12832 {
12833 arg2 = wxString_in_helper(obj1);
12834 if (arg2 == NULL) SWIG_fail;
12835 temp2 = true;
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 (arg1)->AppendText((wxString const &)*arg2);
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 resultobj = SWIG_Py_Void();
12844 {
12845 if (temp2)
12846 delete arg2;
12847 }
12848 return resultobj;
12849fail:
12850 {
12851 if (temp2)
12852 delete arg2;
12853 }
12854 return NULL;
12855}
12856
12857
12858SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12861 wxKeyEvent *arg2 = 0 ;
12862 bool result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 void *argp2 = 0 ;
12866 int res2 = 0 ;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 char * kwnames[] = {
12870 (char *) "self",(char *) "event", NULL
12871 };
12872
12873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12875 if (!SWIG_IsOK(res1)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 }
12878 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12880 if (!SWIG_IsOK(res2)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12882 }
12883 if (!argp2) {
12884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12885 }
12886 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 {
12894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12895 }
12896 return resultobj;
12897fail:
12898 return NULL;
12899}
12900
12901
12902SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = 0;
12904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12905 long arg2 ;
12906 long arg3 ;
12907 wxTextAttr *arg4 = 0 ;
12908 bool result;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 long val2 ;
12912 int ecode2 = 0 ;
12913 long val3 ;
12914 int ecode3 = 0 ;
12915 void *argp4 = 0 ;
12916 int res4 = 0 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 PyObject * obj2 = 0 ;
12920 PyObject * obj3 = 0 ;
12921 char * kwnames[] = {
12922 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12923 };
12924
12925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12927 if (!SWIG_IsOK(res1)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12929 }
12930 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12931 ecode2 = SWIG_AsVal_long(obj1, &val2);
12932 if (!SWIG_IsOK(ecode2)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12934 }
12935 arg2 = static_cast< long >(val2);
12936 ecode3 = SWIG_AsVal_long(obj2, &val3);
12937 if (!SWIG_IsOK(ecode3)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12939 }
12940 arg3 = static_cast< long >(val3);
12941 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12942 if (!SWIG_IsOK(res4)) {
12943 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12944 }
12945 if (!argp4) {
12946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12947 }
12948 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 {
12956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12957 }
12958 return resultobj;
12959fail:
12960 return NULL;
12961}
12962
12963
12964SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj = 0;
12966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12967 long arg2 ;
12968 wxTextAttr *arg3 = 0 ;
12969 bool result;
12970 void *argp1 = 0 ;
12971 int res1 = 0 ;
12972 long val2 ;
12973 int ecode2 = 0 ;
12974 void *argp3 = 0 ;
12975 int res3 = 0 ;
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj1 = 0 ;
12978 PyObject * obj2 = 0 ;
12979 char * kwnames[] = {
12980 (char *) "self",(char *) "position",(char *) "style", NULL
12981 };
12982
12983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12985 if (!SWIG_IsOK(res1)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12987 }
12988 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12989 ecode2 = SWIG_AsVal_long(obj1, &val2);
12990 if (!SWIG_IsOK(ecode2)) {
12991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12992 }
12993 arg2 = static_cast< long >(val2);
12994 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12995 if (!SWIG_IsOK(res3)) {
12996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12997 }
12998 if (!argp3) {
12999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13000 }
13001 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 {
13009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13010 }
13011 return resultobj;
13012fail:
13013 return NULL;
13014}
13015
13016
13017SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj = 0;
13019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13020 wxTextAttr *arg2 = 0 ;
13021 bool result;
13022 void *argp1 = 0 ;
13023 int res1 = 0 ;
13024 void *argp2 = 0 ;
13025 int res2 = 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char * kwnames[] = {
13029 (char *) "self",(char *) "style", NULL
13030 };
13031
13032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13036 }
13037 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13038 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13039 if (!SWIG_IsOK(res2)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13041 }
13042 if (!argp2) {
13043 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13044 }
13045 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 {
13053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13054 }
13055 return resultobj;
13056fail:
13057 return NULL;
d55e5bfc
RD
13058}
13059
13060
554f62e9
RD
13061SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13062 PyObject *resultobj = 0;
13063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13064 wxTextAttr *result = 0 ;
13065 void *argp1 = 0 ;
13066 int res1 = 0 ;
13067 PyObject *swig_obj[1] ;
13068
13069 if (!args) SWIG_fail;
13070 swig_obj[0] = args;
13071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13074 }
13075 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13078 {
554f62e9
RD
13079 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13080 result = (wxTextAttr *) &_result_ref;
093d3ff1 13081 }
554f62e9
RD
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13086 return resultobj;
13087fail:
13088 return NULL;
13089}
13090
13091
13092SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj = 0;
13094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13095 long arg2 ;
13096 long arg3 ;
13097 long result;
13098 void *argp1 = 0 ;
13099 int res1 = 0 ;
13100 long val2 ;
13101 int ecode2 = 0 ;
13102 long val3 ;
13103 int ecode3 = 0 ;
13104 PyObject * obj0 = 0 ;
13105 PyObject * obj1 = 0 ;
13106 PyObject * obj2 = 0 ;
13107 char * kwnames[] = {
13108 (char *) "self",(char *) "x",(char *) "y", NULL
13109 };
13110
13111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13113 if (!SWIG_IsOK(res1)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13115 }
13116 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13117 ecode2 = SWIG_AsVal_long(obj1, &val2);
13118 if (!SWIG_IsOK(ecode2)) {
13119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13120 }
13121 arg2 = static_cast< long >(val2);
13122 ecode3 = SWIG_AsVal_long(obj2, &val3);
13123 if (!SWIG_IsOK(ecode3)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13125 }
13126 arg3 = static_cast< long >(val3);
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 resultobj = SWIG_From_long(static_cast< long >(result));
13134 return resultobj;
13135fail:
13136 return NULL;
13137}
13138
13139
13140SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj = 0;
13142 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13143 long arg2 ;
13144 long *arg3 = (long *) 0 ;
13145 long *arg4 = (long *) 0 ;
13146 void *argp1 = 0 ;
13147 int res1 = 0 ;
13148 long val2 ;
13149 int ecode2 = 0 ;
13150 long temp3 ;
13151 int res3 = SWIG_TMPOBJ ;
13152 long temp4 ;
13153 int res4 = SWIG_TMPOBJ ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char * kwnames[] = {
13157 (char *) "self",(char *) "pos", NULL
13158 };
13159
13160 arg3 = &temp3;
13161 arg4 = &temp4;
13162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13164 if (!SWIG_IsOK(res1)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13166 }
13167 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13168 ecode2 = SWIG_AsVal_long(obj1, &val2);
13169 if (!SWIG_IsOK(ecode2)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13171 }
13172 arg2 = static_cast< long >(val2);
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 resultobj = SWIG_Py_Void();
13180 if (SWIG_IsTmpObj(res3)) {
13181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13182 } else {
13183 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13185 }
13186 if (SWIG_IsTmpObj(res4)) {
13187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13188 } else {
13189 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13191 }
13192 return resultobj;
13193fail:
13194 return NULL;
13195}
13196
13197
13198SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj = 0;
13200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13201 long arg2 ;
13202 void *argp1 = 0 ;
13203 int res1 = 0 ;
13204 long val2 ;
13205 int ecode2 = 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char * kwnames[] = {
13209 (char *) "self",(char *) "pos", NULL
13210 };
13211
13212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13214 if (!SWIG_IsOK(res1)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13216 }
13217 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13218 ecode2 = SWIG_AsVal_long(obj1, &val2);
13219 if (!SWIG_IsOK(ecode2)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13221 }
13222 arg2 = static_cast< long >(val2);
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 (arg1)->ShowPosition(arg2);
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 resultobj = SWIG_Py_Void();
13230 return resultobj;
13231fail:
13232 return NULL;
13233}
13234
13235
13236SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = 0;
13238 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13239 wxPoint *arg2 = 0 ;
13240 long *arg3 = (long *) 0 ;
13241 long *arg4 = (long *) 0 ;
13242 wxTextCtrlHitTestResult result;
13243 void *argp1 = 0 ;
13244 int res1 = 0 ;
13245 wxPoint temp2 ;
13246 long temp3 ;
13247 int res3 = SWIG_TMPOBJ ;
13248 long temp4 ;
13249 int res4 = SWIG_TMPOBJ ;
13250 PyObject * obj0 = 0 ;
13251 PyObject * obj1 = 0 ;
13252 char * kwnames[] = {
13253 (char *) "self",(char *) "pt", NULL
13254 };
13255
13256 arg3 = &temp3;
13257 arg4 = &temp4;
13258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13260 if (!SWIG_IsOK(res1)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13262 }
13263 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13264 {
13265 arg2 = &temp2;
13266 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13267 }
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_From_int(static_cast< int >(result));
13275 if (SWIG_IsTmpObj(res3)) {
13276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13277 } else {
13278 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13280 }
13281 if (SWIG_IsTmpObj(res4)) {
13282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13283 } else {
13284 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13286 }
13287 return resultobj;
13288fail:
13289 return NULL;
13290}
13291
13292
13293SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj = 0;
13295 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13296 wxPoint *arg2 = 0 ;
13297 long *arg3 = (long *) 0 ;
13298 wxTextCtrlHitTestResult result;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 wxPoint temp2 ;
13302 long temp3 ;
13303 int res3 = SWIG_TMPOBJ ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char * kwnames[] = {
13307 (char *) "self",(char *) "pt", NULL
13308 };
13309
13310 arg3 = &temp3;
13311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13313 if (!SWIG_IsOK(res1)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13315 }
13316 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13317 {
13318 arg2 = &temp2;
13319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_From_int(static_cast< int >(result));
13328 if (SWIG_IsTmpObj(res3)) {
13329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13330 } else {
13331 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13333 }
13334 return resultobj;
13335fail:
13336 return NULL;
d55e5bfc
RD
13337}
13338
13339
554f62e9
RD
13340SWIGINTERN PyObject *_wrap_TextCtrl_Copy(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_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13352 }
13353 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 (arg1)->Copy();
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_Py_Void();
13361 return resultobj;
13362fail:
13363 return NULL;
d55e5bfc 13364}
554f62e9
RD
13365
13366
13367SWIGINTERN PyObject *_wrap_TextCtrl_Cut(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_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13379 }
13380 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->Cut();
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
554f62e9
RD
13394SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13395 PyObject *resultobj = 0;
13396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13397 void *argp1 = 0 ;
13398 int res1 = 0 ;
13399 PyObject *swig_obj[1] ;
13400
13401 if (!args) SWIG_fail;
13402 swig_obj[0] = args;
13403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Paste();
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416fail:
13417 return NULL;
d55e5bfc
RD
13418}
13419
13420
554f62e9
RD
13421SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13424 bool result;
13425 void *argp1 = 0 ;
13426 int res1 = 0 ;
13427 PyObject *swig_obj[1] ;
13428
13429 if (!args) SWIG_fail;
13430 swig_obj[0] = args;
13431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13434 }
13435 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 {
13443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13444 }
13445 return resultobj;
13446fail:
13447 return NULL;
d55e5bfc
RD
13448}
13449
13450
554f62e9
RD
13451SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13452 PyObject *resultobj = 0;
13453 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13454 bool result;
13455 void *argp1 = 0 ;
13456 int res1 = 0 ;
13457 PyObject *swig_obj[1] ;
13458
13459 if (!args) SWIG_fail;
13460 swig_obj[0] = args;
13461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13462 if (!SWIG_IsOK(res1)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13464 }
13465 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 {
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 }
13475 return resultobj;
13476fail:
13477 return NULL;
d55e5bfc
RD
13478}
13479
13480
554f62e9
RD
13481SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13482 PyObject *resultobj = 0;
13483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13484 bool result;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject *swig_obj[1] ;
13488
13489 if (!args) SWIG_fail;
13490 swig_obj[0] = args;
13491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13492 if (!SWIG_IsOK(res1)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13494 }
13495 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13504 }
13505 return resultobj;
13506fail:
13507 return NULL;
d55e5bfc
RD
13508}
13509
13510
554f62e9
RD
13511SWIGINTERN PyObject *_wrap_TextCtrl_Undo(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_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 }
13524 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->Undo();
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
554f62e9
RD
13538SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13539 PyObject *resultobj = 0;
13540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13541 void *argp1 = 0 ;
13542 int res1 = 0 ;
13543 PyObject *swig_obj[1] ;
13544
13545 if (!args) SWIG_fail;
13546 swig_obj[0] = args;
13547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13548 if (!SWIG_IsOK(res1)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13550 }
13551 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->Redo();
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_Py_Void();
13559 return resultobj;
13560fail:
13561 return NULL;
d55e5bfc
RD
13562}
13563
13564
554f62e9
RD
13565SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13568 bool result;
13569 void *argp1 = 0 ;
13570 int res1 = 0 ;
13571 PyObject *swig_obj[1] ;
13572
13573 if (!args) SWIG_fail;
13574 swig_obj[0] = args;
13575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13578 }
13579 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 {
13587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13588 }
13589 return resultobj;
13590fail:
13591 return NULL;
d55e5bfc
RD
13592}
13593
13594
554f62e9
RD
13595SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13596 PyObject *resultobj = 0;
13597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13598 bool result;
13599 void *argp1 = 0 ;
13600 int res1 = 0 ;
13601 PyObject *swig_obj[1] ;
13602
13603 if (!args) SWIG_fail;
13604 swig_obj[0] = args;
13605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13606 if (!SWIG_IsOK(res1)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13608 }
13609 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13618 }
13619 return resultobj;
13620fail:
13621 return NULL;
13622}
13623
13624
13625SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj = 0;
13627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13628 long arg2 ;
13629 void *argp1 = 0 ;
13630 int res1 = 0 ;
13631 long val2 ;
13632 int ecode2 = 0 ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char * kwnames[] = {
13636 (char *) "self",(char *) "pos", NULL
13637 };
13638
13639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13643 }
13644 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13645 ecode2 = SWIG_AsVal_long(obj1, &val2);
13646 if (!SWIG_IsOK(ecode2)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13648 }
13649 arg2 = static_cast< long >(val2);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 (arg1)->SetInsertionPoint(arg2);
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
554f62e9
RD
13663SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13664 PyObject *resultobj = 0;
13665 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13666 void *argp1 = 0 ;
13667 int res1 = 0 ;
13668 PyObject *swig_obj[1] ;
13669
13670 if (!args) SWIG_fail;
13671 swig_obj[0] = args;
13672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13673 if (!SWIG_IsOK(res1)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13675 }
13676 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->SetInsertionPointEnd();
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 resultobj = SWIG_Py_Void();
13684 return resultobj;
13685fail:
13686 return NULL;
d55e5bfc
RD
13687}
13688
13689
554f62e9
RD
13690SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13691 PyObject *resultobj = 0;
13692 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13693 long result;
13694 void *argp1 = 0 ;
13695 int res1 = 0 ;
13696 PyObject *swig_obj[1] ;
13697
13698 if (!args) SWIG_fail;
13699 swig_obj[0] = args;
13700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13701 if (!SWIG_IsOK(res1)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13703 }
13704 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 resultobj = SWIG_From_long(static_cast< long >(result));
13712 return resultobj;
13713fail:
13714 return NULL;
d55e5bfc
RD
13715}
13716
13717
554f62e9
RD
13718SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13719 PyObject *resultobj = 0;
13720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13721 long result;
13722 void *argp1 = 0 ;
13723 int res1 = 0 ;
13724 PyObject *swig_obj[1] ;
13725
13726 if (!args) SWIG_fail;
13727 swig_obj[0] = args;
13728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13731 }
13732 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 resultobj = SWIG_From_long(static_cast< long >(result));
13740 return resultobj;
13741fail:
13742 return NULL;
13743}
13744
13745
13746SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj = 0;
13748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13749 long arg2 ;
13750 long arg3 ;
13751 void *argp1 = 0 ;
13752 int res1 = 0 ;
13753 long val2 ;
13754 int ecode2 = 0 ;
13755 long val3 ;
13756 int ecode3 = 0 ;
13757 PyObject * obj0 = 0 ;
13758 PyObject * obj1 = 0 ;
13759 PyObject * obj2 = 0 ;
13760 char * kwnames[] = {
f460c29d 13761 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13762 };
13763
13764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13766 if (!SWIG_IsOK(res1)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13768 }
13769 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13770 ecode2 = SWIG_AsVal_long(obj1, &val2);
13771 if (!SWIG_IsOK(ecode2)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13773 }
13774 arg2 = static_cast< long >(val2);
13775 ecode3 = SWIG_AsVal_long(obj2, &val3);
13776 if (!SWIG_IsOK(ecode3)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13778 }
13779 arg3 = static_cast< long >(val3);
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->SetSelection(arg2,arg3);
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 resultobj = SWIG_Py_Void();
13787 return resultobj;
13788fail:
13789 return NULL;
d55e5bfc
RD
13790}
13791
13792
554f62e9
RD
13793SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13794 PyObject *resultobj = 0;
13795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13796 void *argp1 = 0 ;
13797 int res1 = 0 ;
13798 PyObject *swig_obj[1] ;
13799
13800 if (!args) SWIG_fail;
13801 swig_obj[0] = args;
13802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13805 }
13806 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SelectAll();
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = SWIG_Py_Void();
13814 return resultobj;
13815fail:
13816 return NULL;
13817}
13818
13819
13820SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13823 bool arg2 ;
13824 void *argp1 = 0 ;
13825 int res1 = 0 ;
13826 bool val2 ;
13827 int ecode2 = 0 ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 char * kwnames[] = {
13831 (char *) "self",(char *) "editable", NULL
13832 };
13833
13834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13836 if (!SWIG_IsOK(res1)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13838 }
13839 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13840 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13841 if (!SWIG_IsOK(ecode2)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13843 }
13844 arg2 = static_cast< bool >(val2);
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 (arg1)->SetEditable(arg2);
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 resultobj = SWIG_Py_Void();
13852 return resultobj;
13853fail:
13854 return NULL;
13855}
13856
13857
d7645bfd
VZ
13858SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj = 0;
13860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13861 bool arg2 ;
13862 void *argp1 = 0 ;
13863 int res1 = 0 ;
13864 bool val2 ;
13865 int ecode2 = 0 ;
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 char * kwnames[] = {
13869 (char *) "self",(char *) "check", NULL
13870 };
13871
13872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13874 if (!SWIG_IsOK(res1)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13876 }
13877 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13878 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13879 if (!SWIG_IsOK(ecode2)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13881 }
13882 arg2 = static_cast< bool >(val2);
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 wxTextCtrl_MacCheckSpelling(arg1,arg2);
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
b39fe951
RD
13896SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13897 PyObject *resultobj = 0;
13898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13899 void *argp1 = 0 ;
13900 int res1 = 0 ;
13901 PyObject *swig_obj[1] ;
13902
13903 if (!args) SWIG_fail;
13904 swig_obj[0] = args;
13905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13906 if (!SWIG_IsOK(res1)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13908 }
13909 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 (arg1)->SendTextUpdatedEvent();
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = SWIG_Py_Void();
13917 return resultobj;
13918fail:
13919 return NULL;
13920}
13921
13922
554f62e9
RD
13923SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj = 0;
13925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13926 bool arg2 = (bool) true ;
13927 bool result;
13928 void *argp1 = 0 ;
13929 int res1 = 0 ;
13930 bool val2 ;
13931 int ecode2 = 0 ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 char * kwnames[] = {
13935 (char *) "self",(char *) "show", NULL
13936 };
13937
13938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13940 if (!SWIG_IsOK(res1)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13942 }
13943 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13944 if (obj1) {
13945 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13946 if (!SWIG_IsOK(ecode2)) {
13947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13948 }
13949 arg2 = static_cast< bool >(val2);
13950 }
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (bool)(arg1)->ShowNativeCaret(arg2);
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
13960 return resultobj;
13961fail:
13962 return NULL;
d55e5bfc
RD
13963}
13964
13965
554f62e9
RD
13966SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13967 PyObject *resultobj = 0;
13968 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13969 bool result;
13970 void *argp1 = 0 ;
13971 int res1 = 0 ;
13972 PyObject *swig_obj[1] ;
13973
13974 if (!args) SWIG_fail;
13975 swig_obj[0] = args;
13976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13977 if (!SWIG_IsOK(res1)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13979 }
13980 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (bool)(arg1)->HideNativeCaret();
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 {
13988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13989 }
13990 return resultobj;
13991fail:
13992 return NULL;
13993}
13994
13995
13996SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj = 0;
13998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13999 wxString *arg2 = 0 ;
14000 void *argp1 = 0 ;
14001 int res1 = 0 ;
14002 bool temp2 = false ;
14003 PyObject * obj0 = 0 ;
14004 PyObject * obj1 = 0 ;
14005 char * kwnames[] = {
14006 (char *) "self",(char *) "text", NULL
14007 };
14008
14009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
14010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14011 if (!SWIG_IsOK(res1)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14013 }
14014 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14015 {
14016 arg2 = wxString_in_helper(obj1);
14017 if (arg2 == NULL) SWIG_fail;
14018 temp2 = true;
14019 }
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 resultobj = SWIG_Py_Void();
14027 {
14028 if (temp2)
14029 delete arg2;
14030 }
14031 return resultobj;
14032fail:
14033 {
14034 if (temp2)
14035 delete arg2;
14036 }
14037 return NULL;
14038}
14039
14040
14041SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj = 0;
14043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14044 long arg2 ;
14045 long arg3 ;
14046 wxString result;
14047 void *argp1 = 0 ;
14048 int res1 = 0 ;
14049 long val2 ;
14050 int ecode2 = 0 ;
14051 long val3 ;
14052 int ecode3 = 0 ;
14053 PyObject * obj0 = 0 ;
14054 PyObject * obj1 = 0 ;
14055 PyObject * obj2 = 0 ;
14056 char * kwnames[] = {
f460c29d 14057 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
14058 };
14059
14060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14062 if (!SWIG_IsOK(res1)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14064 }
14065 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14066 ecode2 = SWIG_AsVal_long(obj1, &val2);
14067 if (!SWIG_IsOK(ecode2)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14069 }
14070 arg2 = static_cast< long >(val2);
14071 ecode3 = SWIG_AsVal_long(obj2, &val3);
14072 if (!SWIG_IsOK(ecode3)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14074 }
14075 arg3 = static_cast< long >(val3);
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083#if wxUSE_UNICODE
14084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14085#else
14086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14087#endif
14088 }
14089 return resultobj;
14090fail:
14091 return NULL;
d55e5bfc
RD
14092}
14093
14094
554f62e9
RD
14095SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj = 0;
14097 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14098 SwigValueWrapper<wxVisualAttributes > result;
14099 int val1 ;
14100 int ecode1 = 0 ;
14101 PyObject * obj0 = 0 ;
14102 char * kwnames[] = {
14103 (char *) "variant", NULL
14104 };
14105
14106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14107 if (obj0) {
14108 ecode1 = SWIG_AsVal_int(obj0, &val1);
14109 if (!SWIG_IsOK(ecode1)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14111 }
14112 arg1 = static_cast< wxWindowVariant >(val1);
14113 }
14114 {
14115 if (!wxPyCheckForApp()) SWIG_fail;
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14122 return resultobj;
14123fail:
14124 return NULL;
14125}
14126
14127
14128SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14129 PyObject *obj;
14130 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14131 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14132 return SWIG_Py_Void();
14133}
14134
14135SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14136 return SWIG_Python_InitShadowInstance(args);
14137}
14138
14139SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14140 PyObject *resultobj = 0;
14141 int arg1 ;
14142 wxMouseEvent *arg2 = 0 ;
14143 long arg3 ;
14144 long arg4 ;
14145 wxTextUrlEvent *result = 0 ;
14146 int val1 ;
14147 int ecode1 = 0 ;
14148 void *argp2 = 0 ;
14149 int res2 = 0 ;
14150 long val3 ;
14151 int ecode3 = 0 ;
14152 long val4 ;
14153 int ecode4 = 0 ;
14154 PyObject * obj0 = 0 ;
14155 PyObject * obj1 = 0 ;
14156 PyObject * obj2 = 0 ;
14157 PyObject * obj3 = 0 ;
14158 char * kwnames[] = {
14159 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14160 };
14161
14162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14163 ecode1 = SWIG_AsVal_int(obj0, &val1);
14164 if (!SWIG_IsOK(ecode1)) {
14165 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14166 }
14167 arg1 = static_cast< int >(val1);
14168 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14169 if (!SWIG_IsOK(res2)) {
14170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14171 }
14172 if (!argp2) {
14173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14174 }
14175 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14176 ecode3 = SWIG_AsVal_long(obj2, &val3);
14177 if (!SWIG_IsOK(ecode3)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14179 }
14180 arg3 = static_cast< long >(val3);
14181 ecode4 = SWIG_AsVal_long(obj3, &val4);
14182 if (!SWIG_IsOK(ecode4)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14184 }
14185 arg4 = static_cast< long >(val4);
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14193 return resultobj;
14194fail:
14195 return NULL;
d55e5bfc
RD
14196}
14197
14198
554f62e9
RD
14199SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14200 PyObject *resultobj = 0;
14201 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14202 wxMouseEvent *result = 0 ;
14203 void *argp1 = 0 ;
14204 int res1 = 0 ;
14205 PyObject *swig_obj[1] ;
14206
14207 if (!args) SWIG_fail;
14208 swig_obj[0] = args;
14209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14210 if (!SWIG_IsOK(res1)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14212 }
14213 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 14216 {
554f62e9
RD
14217 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14218 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 14219 }
554f62e9
RD
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14224 return resultobj;
14225fail:
14226 return NULL;
d55e5bfc
RD
14227}
14228
14229
554f62e9
RD
14230SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14231 PyObject *resultobj = 0;
14232 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14233 long result;
14234 void *argp1 = 0 ;
14235 int res1 = 0 ;
14236 PyObject *swig_obj[1] ;
14237
14238 if (!args) SWIG_fail;
14239 swig_obj[0] = args;
14240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14241 if (!SWIG_IsOK(res1)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14243 }
14244 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 resultobj = SWIG_From_long(static_cast< long >(result));
14252 return resultobj;
14253fail:
14254 return NULL;
d55e5bfc
RD
14255}
14256
14257
554f62e9
RD
14258SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14259 PyObject *resultobj = 0;
14260 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14261 long result;
14262 void *argp1 = 0 ;
14263 int res1 = 0 ;
14264 PyObject *swig_obj[1] ;
14265
14266 if (!args) SWIG_fail;
14267 swig_obj[0] = args;
14268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14269 if (!SWIG_IsOK(res1)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14271 }
14272 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = SWIG_From_long(static_cast< long >(result));
14280 return resultobj;
14281fail:
14282 return NULL;
d55e5bfc
RD
14283}
14284
14285
554f62e9
RD
14286SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14287 PyObject *obj;
14288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14289 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14290 return SWIG_Py_Void();
d55e5bfc
RD
14291}
14292
554f62e9
RD
14293SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14294 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14295}
14296
554f62e9
RD
14297SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14298 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14299 return 1;
d55e5bfc
RD
14300}
14301
14302
554f62e9
RD
14303SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14304 PyObject *pyobj = 0;
14305
14306 {
14307#if wxUSE_UNICODE
14308 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14309#else
14310 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14311#endif
14312 }
14313 return pyobj;
14314}
14315
14316
14317SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj = 0;
14319 wxWindow *arg1 = (wxWindow *) 0 ;
14320 int arg2 = (int) -1 ;
14321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14323 wxSize const &arg4_defvalue = wxDefaultSize ;
14324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14325 long arg5 = (long) wxSB_HORIZONTAL ;
14326 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14327 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14328 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14329 wxString *arg7 = (wxString *) &arg7_defvalue ;
14330 wxScrollBar *result = 0 ;
14331 void *argp1 = 0 ;
14332 int res1 = 0 ;
14333 int val2 ;
14334 int ecode2 = 0 ;
14335 wxPoint temp3 ;
14336 wxSize temp4 ;
14337 long val5 ;
14338 int ecode5 = 0 ;
14339 void *argp6 = 0 ;
14340 int res6 = 0 ;
14341 bool temp7 = false ;
14342 PyObject * obj0 = 0 ;
14343 PyObject * obj1 = 0 ;
14344 PyObject * obj2 = 0 ;
14345 PyObject * obj3 = 0 ;
14346 PyObject * obj4 = 0 ;
14347 PyObject * obj5 = 0 ;
14348 PyObject * obj6 = 0 ;
14349 char * kwnames[] = {
14350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14351 };
14352
14353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14355 if (!SWIG_IsOK(res1)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14357 }
14358 arg1 = reinterpret_cast< wxWindow * >(argp1);
14359 if (obj1) {
14360 ecode2 = SWIG_AsVal_int(obj1, &val2);
14361 if (!SWIG_IsOK(ecode2)) {
14362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14363 }
14364 arg2 = static_cast< int >(val2);
14365 }
14366 if (obj2) {
d55e5bfc 14367 {
554f62e9
RD
14368 arg3 = &temp3;
14369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14370 }
554f62e9
RD
14371 }
14372 if (obj3) {
d55e5bfc 14373 {
554f62e9
RD
14374 arg4 = &temp4;
14375 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14376 }
554f62e9
RD
14377 }
14378 if (obj4) {
14379 ecode5 = SWIG_AsVal_long(obj4, &val5);
14380 if (!SWIG_IsOK(ecode5)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14382 }
14383 arg5 = static_cast< long >(val5);
14384 }
14385 if (obj5) {
14386 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14387 if (!SWIG_IsOK(res6)) {
14388 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14389 }
14390 if (!argp6) {
14391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14392 }
554f62e9
RD
14393 arg6 = reinterpret_cast< wxValidator * >(argp6);
14394 }
14395 if (obj6) {
d55e5bfc 14396 {
554f62e9
RD
14397 arg7 = wxString_in_helper(obj6);
14398 if (arg7 == NULL) SWIG_fail;
14399 temp7 = true;
d55e5bfc 14400 }
554f62e9
RD
14401 }
14402 {
14403 if (!wxPyCheckForApp()) SWIG_fail;
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14410 {
14411 if (temp7)
14412 delete arg7;
14413 }
14414 return resultobj;
14415fail:
14416 {
14417 if (temp7)
14418 delete arg7;
14419 }
14420 return NULL;
d55e5bfc
RD
14421}
14422
14423
554f62e9
RD
14424SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14425 PyObject *resultobj = 0;
14426 wxScrollBar *result = 0 ;
14427
14428 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14429 {
14430 if (!wxPyCheckForApp()) SWIG_fail;
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = (wxScrollBar *)new wxScrollBar();
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14437 return resultobj;
14438fail:
14439 return NULL;
14440}
14441
14442
14443SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj = 0;
14445 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14446 wxWindow *arg2 = (wxWindow *) 0 ;
14447 int arg3 = (int) -1 ;
14448 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14449 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14450 wxSize const &arg5_defvalue = wxDefaultSize ;
14451 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14452 long arg6 = (long) wxSB_HORIZONTAL ;
14453 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14454 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14455 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14456 wxString *arg8 = (wxString *) &arg8_defvalue ;
14457 bool result;
14458 void *argp1 = 0 ;
14459 int res1 = 0 ;
14460 void *argp2 = 0 ;
14461 int res2 = 0 ;
14462 int val3 ;
14463 int ecode3 = 0 ;
14464 wxPoint temp4 ;
14465 wxSize temp5 ;
14466 long val6 ;
14467 int ecode6 = 0 ;
14468 void *argp7 = 0 ;
14469 int res7 = 0 ;
14470 bool temp8 = false ;
14471 PyObject * obj0 = 0 ;
14472 PyObject * obj1 = 0 ;
14473 PyObject * obj2 = 0 ;
14474 PyObject * obj3 = 0 ;
14475 PyObject * obj4 = 0 ;
14476 PyObject * obj5 = 0 ;
14477 PyObject * obj6 = 0 ;
14478 PyObject * obj7 = 0 ;
14479 char * kwnames[] = {
14480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14481 };
14482
14483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14485 if (!SWIG_IsOK(res1)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14487 }
14488 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14490 if (!SWIG_IsOK(res2)) {
14491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14492 }
14493 arg2 = reinterpret_cast< wxWindow * >(argp2);
14494 if (obj2) {
14495 ecode3 = SWIG_AsVal_int(obj2, &val3);
14496 if (!SWIG_IsOK(ecode3)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14498 }
14499 arg3 = static_cast< int >(val3);
14500 }
14501 if (obj3) {
d55e5bfc 14502 {
554f62e9
RD
14503 arg4 = &temp4;
14504 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14505 }
554f62e9
RD
14506 }
14507 if (obj4) {
093d3ff1 14508 {
554f62e9
RD
14509 arg5 = &temp5;
14510 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 14511 }
554f62e9
RD
14512 }
14513 if (obj5) {
14514 ecode6 = SWIG_AsVal_long(obj5, &val6);
14515 if (!SWIG_IsOK(ecode6)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14517 }
14518 arg6 = static_cast< long >(val6);
14519 }
14520 if (obj6) {
14521 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14522 if (!SWIG_IsOK(res7)) {
14523 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
a07a67e6 14524 }
554f62e9
RD
14525 if (!argp7) {
14526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14527 }
14528 arg7 = reinterpret_cast< wxValidator * >(argp7);
14529 }
14530 if (obj7) {
093d3ff1 14531 {
554f62e9
RD
14532 arg8 = wxString_in_helper(obj7);
14533 if (arg8 == NULL) SWIG_fail;
14534 temp8 = true;
093d3ff1 14535 }
554f62e9
RD
14536 }
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 {
14544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14545 }
14546 {
14547 if (temp8)
14548 delete arg8;
14549 }
14550 return resultobj;
14551fail:
14552 {
14553 if (temp8)
14554 delete arg8;
14555 }
14556 return NULL;
a07a67e6
RD
14557}
14558
14559
554f62e9
RD
14560SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14561 PyObject *resultobj = 0;
14562 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14563 int result;
14564 void *argp1 = 0 ;
14565 int res1 = 0 ;
14566 PyObject *swig_obj[1] ;
14567
14568 if (!args) SWIG_fail;
14569 swig_obj[0] = args;
14570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14571 if (!SWIG_IsOK(res1)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14573 }
14574 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = SWIG_From_int(static_cast< int >(result));
14582 return resultobj;
14583fail:
14584 return NULL;
d55e5bfc
RD
14585}
14586
14587
554f62e9
RD
14588SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14589 PyObject *resultobj = 0;
14590 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14591 int result;
14592 void *argp1 = 0 ;
14593 int res1 = 0 ;
14594 PyObject *swig_obj[1] ;
14595
14596 if (!args) SWIG_fail;
14597 swig_obj[0] = args;
14598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14599 if (!SWIG_IsOK(res1)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14601 }
14602 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 resultobj = SWIG_From_int(static_cast< int >(result));
14610 return resultobj;
14611fail:
14612 return NULL;
d55e5bfc
RD
14613}
14614
14615
554f62e9
RD
14616SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14617 PyObject *resultobj = 0;
14618 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14619 int result;
14620 void *argp1 = 0 ;
14621 int res1 = 0 ;
14622 PyObject *swig_obj[1] ;
14623
14624 if (!args) SWIG_fail;
14625 swig_obj[0] = args;
14626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14627 if (!SWIG_IsOK(res1)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14629 }
14630 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 resultobj = SWIG_From_int(static_cast< int >(result));
14638 return resultobj;
14639fail:
14640 return NULL;
d55e5bfc
RD
14641}
14642
14643
554f62e9
RD
14644SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14645 PyObject *resultobj = 0;
14646 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14647 int result;
14648 void *argp1 = 0 ;
14649 int res1 = 0 ;
14650 PyObject *swig_obj[1] ;
14651
14652 if (!args) SWIG_fail;
14653 swig_obj[0] = args;
14654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14655 if (!SWIG_IsOK(res1)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14657 }
14658 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (int)((wxScrollBar const *)arg1)->GetRange();
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = SWIG_From_int(static_cast< int >(result));
14666 return resultobj;
14667fail:
14668 return NULL;
d55e5bfc
RD
14669}
14670
14671
554f62e9
RD
14672SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14673 PyObject *resultobj = 0;
14674 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14675 bool result;
14676 void *argp1 = 0 ;
14677 int res1 = 0 ;
14678 PyObject *swig_obj[1] ;
14679
14680 if (!args) SWIG_fail;
14681 swig_obj[0] = args;
14682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14683 if (!SWIG_IsOK(res1)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14685 }
14686 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 {
14694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14695 }
14696 return resultobj;
14697fail:
14698 return NULL;
14699}
14700
14701
14702SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj = 0;
14704 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14705 int arg2 ;
14706 void *argp1 = 0 ;
14707 int res1 = 0 ;
14708 int val2 ;
14709 int ecode2 = 0 ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 char * kwnames[] = {
14713 (char *) "self",(char *) "viewStart", NULL
14714 };
14715
14716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14718 if (!SWIG_IsOK(res1)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14720 }
14721 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14722 ecode2 = SWIG_AsVal_int(obj1, &val2);
14723 if (!SWIG_IsOK(ecode2)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14725 }
14726 arg2 = static_cast< int >(val2);
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 (arg1)->SetThumbPosition(arg2);
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 resultobj = SWIG_Py_Void();
14734 return resultobj;
14735fail:
14736 return NULL;
14737}
14738
14739
14740SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj = 0;
14742 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14743 SwigValueWrapper<wxVisualAttributes > result;
14744 int val1 ;
14745 int ecode1 = 0 ;
14746 PyObject * obj0 = 0 ;
14747 char * kwnames[] = {
14748 (char *) "variant", NULL
14749 };
14750
14751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14752 if (obj0) {
14753 ecode1 = SWIG_AsVal_int(obj0, &val1);
14754 if (!SWIG_IsOK(ecode1)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14756 }
14757 arg1 = static_cast< wxWindowVariant >(val1);
14758 }
14759 {
14760 if (!wxPyCheckForApp()) SWIG_fail;
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14767 return resultobj;
14768fail:
14769 return NULL;
d55e5bfc
RD
14770}
14771
14772
554f62e9
RD
14773SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14774 PyObject *obj;
14775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14776 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14777 return SWIG_Py_Void();
d55e5bfc
RD
14778}
14779
554f62e9
RD
14780SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14781 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14782}
14783
554f62e9
RD
14784SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14785 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14786 return 1;
d55e5bfc
RD
14787}
14788
14789
554f62e9
RD
14790SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14791 PyObject *pyobj = 0;
14792
14793 {
d55e5bfc 14794#if wxUSE_UNICODE
554f62e9 14795 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14796#else
554f62e9 14797 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14798#endif
554f62e9
RD
14799 }
14800 return pyobj;
d55e5bfc
RD
14801}
14802
14803
554f62e9
RD
14804SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14805 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14806 return 1;
d55e5bfc
RD
14807}
14808
14809
554f62e9
RD
14810SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14811 PyObject *pyobj = 0;
14812
14813 {
d55e5bfc 14814#if wxUSE_UNICODE
554f62e9 14815 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14816#else
554f62e9 14817 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14818#endif
554f62e9
RD
14819 }
14820 return pyobj;
14821}
14822
14823
14824SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj = 0;
14826 wxWindow *arg1 = (wxWindow *) 0 ;
14827 int arg2 = (int) -1 ;
14828 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14829 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14830 wxSize const &arg4_defvalue = wxDefaultSize ;
14831 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14832 long arg5 = (long) wxSP_HORIZONTAL ;
14833 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14834 wxString *arg6 = (wxString *) &arg6_defvalue ;
14835 wxSpinButton *result = 0 ;
14836 void *argp1 = 0 ;
14837 int res1 = 0 ;
14838 int val2 ;
14839 int ecode2 = 0 ;
14840 wxPoint temp3 ;
14841 wxSize temp4 ;
14842 long val5 ;
14843 int ecode5 = 0 ;
14844 bool temp6 = false ;
14845 PyObject * obj0 = 0 ;
14846 PyObject * obj1 = 0 ;
14847 PyObject * obj2 = 0 ;
14848 PyObject * obj3 = 0 ;
14849 PyObject * obj4 = 0 ;
14850 PyObject * obj5 = 0 ;
14851 char * kwnames[] = {
14852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14853 };
14854
14855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14857 if (!SWIG_IsOK(res1)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14859 }
14860 arg1 = reinterpret_cast< wxWindow * >(argp1);
14861 if (obj1) {
14862 ecode2 = SWIG_AsVal_int(obj1, &val2);
14863 if (!SWIG_IsOK(ecode2)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14865 }
14866 arg2 = static_cast< int >(val2);
14867 }
14868 if (obj2) {
14869 {
14870 arg3 = &temp3;
14871 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14872 }
554f62e9
RD
14873 }
14874 if (obj3) {
d55e5bfc 14875 {
554f62e9
RD
14876 arg4 = &temp4;
14877 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14878 }
554f62e9
RD
14879 }
14880 if (obj4) {
14881 ecode5 = SWIG_AsVal_long(obj4, &val5);
14882 if (!SWIG_IsOK(ecode5)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14884 }
14885 arg5 = static_cast< long >(val5);
14886 }
14887 if (obj5) {
093d3ff1 14888 {
554f62e9
RD
14889 arg6 = wxString_in_helper(obj5);
14890 if (arg6 == NULL) SWIG_fail;
14891 temp6 = true;
093d3ff1 14892 }
554f62e9
RD
14893 }
14894 {
14895 if (!wxPyCheckForApp()) SWIG_fail;
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14902 {
14903 if (temp6)
14904 delete arg6;
14905 }
14906 return resultobj;
14907fail:
14908 {
14909 if (temp6)
14910 delete arg6;
14911 }
14912 return NULL;
d55e5bfc
RD
14913}
14914
14915
554f62e9
RD
14916SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14917 PyObject *resultobj = 0;
14918 wxSpinButton *result = 0 ;
14919
14920 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14921 {
14922 if (!wxPyCheckForApp()) SWIG_fail;
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 result = (wxSpinButton *)new wxSpinButton();
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14929 return resultobj;
14930fail:
14931 return NULL;
14932}
14933
14934
14935SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj = 0;
14937 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14938 wxWindow *arg2 = (wxWindow *) 0 ;
14939 int arg3 = (int) -1 ;
14940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14942 wxSize const &arg5_defvalue = wxDefaultSize ;
14943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14944 long arg6 = (long) wxSP_HORIZONTAL ;
14945 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14946 wxString *arg7 = (wxString *) &arg7_defvalue ;
14947 bool result;
14948 void *argp1 = 0 ;
14949 int res1 = 0 ;
14950 void *argp2 = 0 ;
14951 int res2 = 0 ;
14952 int val3 ;
14953 int ecode3 = 0 ;
14954 wxPoint temp4 ;
14955 wxSize temp5 ;
14956 long val6 ;
14957 int ecode6 = 0 ;
14958 bool temp7 = false ;
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 PyObject * obj2 = 0 ;
14962 PyObject * obj3 = 0 ;
14963 PyObject * obj4 = 0 ;
14964 PyObject * obj5 = 0 ;
14965 PyObject * obj6 = 0 ;
14966 char * kwnames[] = {
14967 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14968 };
14969
14970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14972 if (!SWIG_IsOK(res1)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14974 }
14975 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14976 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14977 if (!SWIG_IsOK(res2)) {
14978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14979 }
14980 arg2 = reinterpret_cast< wxWindow * >(argp2);
14981 if (obj2) {
14982 ecode3 = SWIG_AsVal_int(obj2, &val3);
14983 if (!SWIG_IsOK(ecode3)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14985 }
14986 arg3 = static_cast< int >(val3);
14987 }
14988 if (obj3) {
d55e5bfc 14989 {
554f62e9
RD
14990 arg4 = &temp4;
14991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14992 }
554f62e9
RD
14993 }
14994 if (obj4) {
d55e5bfc 14995 {
554f62e9
RD
14996 arg5 = &temp5;
14997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14998 }
554f62e9
RD
14999 }
15000 if (obj5) {
15001 ecode6 = SWIG_AsVal_long(obj5, &val6);
15002 if (!SWIG_IsOK(ecode6)) {
15003 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15004 }
15005 arg6 = static_cast< long >(val6);
15006 }
15007 if (obj6) {
d55e5bfc 15008 {
554f62e9
RD
15009 arg7 = wxString_in_helper(obj6);
15010 if (arg7 == NULL) SWIG_fail;
15011 temp7 = true;
d55e5bfc 15012 }
554f62e9
RD
15013 }
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15022 }
15023 {
15024 if (temp7)
15025 delete arg7;
15026 }
15027 return resultobj;
15028fail:
15029 {
15030 if (temp7)
15031 delete arg7;
15032 }
15033 return NULL;
d55e5bfc
RD
15034}
15035
15036
554f62e9
RD
15037SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15038 PyObject *resultobj = 0;
15039 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15040 int result;
15041 void *argp1 = 0 ;
15042 int res1 = 0 ;
15043 PyObject *swig_obj[1] ;
15044
15045 if (!args) SWIG_fail;
15046 swig_obj[0] = args;
15047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15048 if (!SWIG_IsOK(res1)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15050 }
15051 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 result = (int)((wxSpinButton const *)arg1)->GetValue();
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 resultobj = SWIG_From_int(static_cast< int >(result));
15059 return resultobj;
15060fail:
15061 return NULL;
d55e5bfc
RD
15062}
15063
15064
554f62e9
RD
15065SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15066 PyObject *resultobj = 0;
15067 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15068 int result;
15069 void *argp1 = 0 ;
15070 int res1 = 0 ;
15071 PyObject *swig_obj[1] ;
15072
15073 if (!args) SWIG_fail;
15074 swig_obj[0] = args;
15075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15076 if (!SWIG_IsOK(res1)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15078 }
15079 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 result = (int)((wxSpinButton const *)arg1)->GetMin();
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 resultobj = SWIG_From_int(static_cast< int >(result));
15087 return resultobj;
15088fail:
15089 return NULL;
d55e5bfc
RD
15090}
15091
15092
554f62e9
RD
15093SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15094 PyObject *resultobj = 0;
15095 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15096 int result;
15097 void *argp1 = 0 ;
15098 int res1 = 0 ;
15099 PyObject *swig_obj[1] ;
15100
15101 if (!args) SWIG_fail;
15102 swig_obj[0] = args;
15103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15104 if (!SWIG_IsOK(res1)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15106 }
15107 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (int)((wxSpinButton const *)arg1)->GetMax();
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = SWIG_From_int(static_cast< int >(result));
15115 return resultobj;
15116fail:
15117 return NULL;
15118}
15119
15120
15121SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj = 0;
15123 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15124 int arg2 ;
15125 void *argp1 = 0 ;
15126 int res1 = 0 ;
15127 int val2 ;
15128 int ecode2 = 0 ;
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 char * kwnames[] = {
15132 (char *) "self",(char *) "val", NULL
15133 };
15134
15135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15139 }
15140 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15141 ecode2 = SWIG_AsVal_int(obj1, &val2);
15142 if (!SWIG_IsOK(ecode2)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15144 }
15145 arg2 = static_cast< int >(val2);
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 (arg1)->SetValue(arg2);
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 resultobj = SWIG_Py_Void();
15153 return resultobj;
15154fail:
15155 return NULL;
15156}
15157
15158
15159SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj = 0;
15161 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15162 int arg2 ;
15163 void *argp1 = 0 ;
15164 int res1 = 0 ;
15165 int val2 ;
15166 int ecode2 = 0 ;
15167 PyObject * obj0 = 0 ;
15168 PyObject * obj1 = 0 ;
15169 char * kwnames[] = {
15170 (char *) "self",(char *) "minVal", NULL
15171 };
15172
15173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15175 if (!SWIG_IsOK(res1)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15177 }
15178 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15179 ecode2 = SWIG_AsVal_int(obj1, &val2);
15180 if (!SWIG_IsOK(ecode2)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15182 }
15183 arg2 = static_cast< int >(val2);
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 (arg1)->SetMin(arg2);
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 resultobj = SWIG_Py_Void();
15191 return resultobj;
15192fail:
15193 return NULL;
15194}
15195
15196
15197SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj = 0;
15199 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15200 int arg2 ;
15201 void *argp1 = 0 ;
15202 int res1 = 0 ;
15203 int val2 ;
15204 int ecode2 = 0 ;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 char * kwnames[] = {
15208 (char *) "self",(char *) "maxVal", NULL
15209 };
15210
15211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15213 if (!SWIG_IsOK(res1)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15215 }
15216 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15217 ecode2 = SWIG_AsVal_int(obj1, &val2);
15218 if (!SWIG_IsOK(ecode2)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15220 }
15221 arg2 = static_cast< int >(val2);
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 (arg1)->SetMax(arg2);
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 resultobj = SWIG_Py_Void();
15229 return resultobj;
15230fail:
15231 return NULL;
15232}
15233
15234
15235SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj = 0;
15237 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15238 int arg2 ;
15239 int arg3 ;
15240 void *argp1 = 0 ;
15241 int res1 = 0 ;
15242 int val2 ;
15243 int ecode2 = 0 ;
15244 int val3 ;
15245 int ecode3 = 0 ;
15246 PyObject * obj0 = 0 ;
15247 PyObject * obj1 = 0 ;
15248 PyObject * obj2 = 0 ;
15249 char * kwnames[] = {
15250 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15251 };
15252
15253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15255 if (!SWIG_IsOK(res1)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15257 }
15258 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15259 ecode2 = SWIG_AsVal_int(obj1, &val2);
15260 if (!SWIG_IsOK(ecode2)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15262 }
15263 arg2 = static_cast< int >(val2);
15264 ecode3 = SWIG_AsVal_int(obj2, &val3);
15265 if (!SWIG_IsOK(ecode3)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15267 }
15268 arg3 = static_cast< int >(val3);
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->SetRange(arg2,arg3);
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = SWIG_Py_Void();
15276 return resultobj;
15277fail:
15278 return NULL;
d55e5bfc
RD
15279}
15280
15281
554f62e9
RD
15282SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15283 PyObject *resultobj = 0;
15284 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15285 bool result;
15286 void *argp1 = 0 ;
15287 int res1 = 0 ;
15288 PyObject *swig_obj[1] ;
15289
15290 if (!args) SWIG_fail;
15291 swig_obj[0] = args;
15292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15293 if (!SWIG_IsOK(res1)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15295 }
15296 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 {
15304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15305 }
15306 return resultobj;
15307fail:
15308 return NULL;
d55e5bfc
RD
15309}
15310
15311
554f62e9
RD
15312SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj = 0;
15314 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15315 SwigValueWrapper<wxVisualAttributes > result;
15316 int val1 ;
15317 int ecode1 = 0 ;
15318 PyObject * obj0 = 0 ;
15319 char * kwnames[] = {
15320 (char *) "variant", NULL
15321 };
15322
15323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15324 if (obj0) {
15325 ecode1 = SWIG_AsVal_int(obj0, &val1);
15326 if (!SWIG_IsOK(ecode1)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15328 }
15329 arg1 = static_cast< wxWindowVariant >(val1);
15330 }
15331 {
15332 if (!wxPyCheckForApp()) SWIG_fail;
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15339 return resultobj;
15340fail:
15341 return NULL;
15342}
15343
15344
15345SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15346 PyObject *obj;
15347 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15348 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15349 return SWIG_Py_Void();
15350}
15351
15352SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15353 return SWIG_Python_InitShadowInstance(args);
15354}
15355
15356SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj = 0;
15358 wxWindow *arg1 = (wxWindow *) 0 ;
15359 int arg2 = (int) -1 ;
15360 wxString const &arg3_defvalue = wxPyEmptyString ;
15361 wxString *arg3 = (wxString *) &arg3_defvalue ;
15362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15364 wxSize const &arg5_defvalue = wxDefaultSize ;
15365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15366 long arg6 = (long) wxSP_ARROW_KEYS ;
15367 int arg7 = (int) 0 ;
15368 int arg8 = (int) 100 ;
15369 int arg9 = (int) 0 ;
15370 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15371 wxString *arg10 = (wxString *) &arg10_defvalue ;
15372 wxSpinCtrl *result = 0 ;
15373 void *argp1 = 0 ;
15374 int res1 = 0 ;
15375 int val2 ;
15376 int ecode2 = 0 ;
15377 bool temp3 = false ;
15378 wxPoint temp4 ;
15379 wxSize temp5 ;
15380 long val6 ;
15381 int ecode6 = 0 ;
15382 int val7 ;
15383 int ecode7 = 0 ;
15384 int val8 ;
15385 int ecode8 = 0 ;
15386 int val9 ;
15387 int ecode9 = 0 ;
15388 bool temp10 = false ;
15389 PyObject * obj0 = 0 ;
15390 PyObject * obj1 = 0 ;
15391 PyObject * obj2 = 0 ;
15392 PyObject * obj3 = 0 ;
15393 PyObject * obj4 = 0 ;
15394 PyObject * obj5 = 0 ;
15395 PyObject * obj6 = 0 ;
15396 PyObject * obj7 = 0 ;
15397 PyObject * obj8 = 0 ;
15398 PyObject * obj9 = 0 ;
15399 char * kwnames[] = {
15400 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15401 };
15402
15403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15405 if (!SWIG_IsOK(res1)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15407 }
15408 arg1 = reinterpret_cast< wxWindow * >(argp1);
15409 if (obj1) {
15410 ecode2 = SWIG_AsVal_int(obj1, &val2);
15411 if (!SWIG_IsOK(ecode2)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15413 }
15414 arg2 = static_cast< int >(val2);
15415 }
15416 if (obj2) {
d55e5bfc 15417 {
554f62e9
RD
15418 arg3 = wxString_in_helper(obj2);
15419 if (arg3 == NULL) SWIG_fail;
15420 temp3 = true;
d55e5bfc 15421 }
554f62e9
RD
15422 }
15423 if (obj3) {
d55e5bfc 15424 {
554f62e9
RD
15425 arg4 = &temp4;
15426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15427 }
554f62e9
RD
15428 }
15429 if (obj4) {
d55e5bfc 15430 {
554f62e9
RD
15431 arg5 = &temp5;
15432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15433 }
554f62e9
RD
15434 }
15435 if (obj5) {
15436 ecode6 = SWIG_AsVal_long(obj5, &val6);
15437 if (!SWIG_IsOK(ecode6)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15439 }
15440 arg6 = static_cast< long >(val6);
15441 }
15442 if (obj6) {
15443 ecode7 = SWIG_AsVal_int(obj6, &val7);
15444 if (!SWIG_IsOK(ecode7)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15446 }
15447 arg7 = static_cast< int >(val7);
15448 }
15449 if (obj7) {
15450 ecode8 = SWIG_AsVal_int(obj7, &val8);
15451 if (!SWIG_IsOK(ecode8)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15453 }
15454 arg8 = static_cast< int >(val8);
15455 }
15456 if (obj8) {
15457 ecode9 = SWIG_AsVal_int(obj8, &val9);
15458 if (!SWIG_IsOK(ecode9)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15460 }
15461 arg9 = static_cast< int >(val9);
15462 }
15463 if (obj9) {
d55e5bfc 15464 {
554f62e9
RD
15465 arg10 = wxString_in_helper(obj9);
15466 if (arg10 == NULL) SWIG_fail;
15467 temp10 = true;
d55e5bfc 15468 }
554f62e9
RD
15469 }
15470 {
15471 if (!wxPyCheckForApp()) SWIG_fail;
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15478 {
15479 if (temp3)
15480 delete arg3;
15481 }
15482 {
15483 if (temp10)
15484 delete arg10;
15485 }
15486 return resultobj;
15487fail:
15488 {
15489 if (temp3)
15490 delete arg3;
15491 }
15492 {
15493 if (temp10)
15494 delete arg10;
15495 }
15496 return NULL;
d55e5bfc
RD
15497}
15498
15499
554f62e9
RD
15500SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15501 PyObject *resultobj = 0;
15502 wxSpinCtrl *result = 0 ;
15503
15504 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15505 {
15506 if (!wxPyCheckForApp()) SWIG_fail;
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (wxSpinCtrl *)new wxSpinCtrl();
15509 wxPyEndAllowThreads(__tstate);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
15512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15513 return resultobj;
15514fail:
15515 return NULL;
15516}
15517
15518
15519SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj = 0;
15521 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15522 wxWindow *arg2 = (wxWindow *) 0 ;
15523 int arg3 = (int) -1 ;
15524 wxString const &arg4_defvalue = wxPyEmptyString ;
15525 wxString *arg4 = (wxString *) &arg4_defvalue ;
15526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15528 wxSize const &arg6_defvalue = wxDefaultSize ;
15529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15530 long arg7 = (long) wxSP_ARROW_KEYS ;
15531 int arg8 = (int) 0 ;
15532 int arg9 = (int) 100 ;
15533 int arg10 = (int) 0 ;
15534 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15535 wxString *arg11 = (wxString *) &arg11_defvalue ;
15536 bool result;
15537 void *argp1 = 0 ;
15538 int res1 = 0 ;
15539 void *argp2 = 0 ;
15540 int res2 = 0 ;
15541 int val3 ;
15542 int ecode3 = 0 ;
15543 bool temp4 = false ;
15544 wxPoint temp5 ;
15545 wxSize temp6 ;
15546 long val7 ;
15547 int ecode7 = 0 ;
15548 int val8 ;
15549 int ecode8 = 0 ;
15550 int val9 ;
15551 int ecode9 = 0 ;
15552 int val10 ;
15553 int ecode10 = 0 ;
15554 bool temp11 = false ;
15555 PyObject * obj0 = 0 ;
15556 PyObject * obj1 = 0 ;
15557 PyObject * obj2 = 0 ;
15558 PyObject * obj3 = 0 ;
15559 PyObject * obj4 = 0 ;
15560 PyObject * obj5 = 0 ;
15561 PyObject * obj6 = 0 ;
15562 PyObject * obj7 = 0 ;
15563 PyObject * obj8 = 0 ;
15564 PyObject * obj9 = 0 ;
15565 PyObject * obj10 = 0 ;
15566 char * kwnames[] = {
15567 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15568 };
15569
15570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15572 if (!SWIG_IsOK(res1)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15574 }
15575 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15577 if (!SWIG_IsOK(res2)) {
15578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15579 }
15580 arg2 = reinterpret_cast< wxWindow * >(argp2);
15581 if (obj2) {
15582 ecode3 = SWIG_AsVal_int(obj2, &val3);
15583 if (!SWIG_IsOK(ecode3)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15585 }
15586 arg3 = static_cast< int >(val3);
15587 }
15588 if (obj3) {
093d3ff1 15589 {
554f62e9
RD
15590 arg4 = wxString_in_helper(obj3);
15591 if (arg4 == NULL) SWIG_fail;
15592 temp4 = true;
093d3ff1 15593 }
554f62e9
RD
15594 }
15595 if (obj4) {
093d3ff1 15596 {
554f62e9
RD
15597 arg5 = &temp5;
15598 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 15599 }
554f62e9
RD
15600 }
15601 if (obj5) {
d55e5bfc 15602 {
554f62e9
RD
15603 arg6 = &temp6;
15604 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15605 }
554f62e9
RD
15606 }
15607 if (obj6) {
15608 ecode7 = SWIG_AsVal_long(obj6, &val7);
15609 if (!SWIG_IsOK(ecode7)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15611 }
15612 arg7 = static_cast< long >(val7);
15613 }
15614 if (obj7) {
15615 ecode8 = SWIG_AsVal_int(obj7, &val8);
15616 if (!SWIG_IsOK(ecode8)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15618 }
15619 arg8 = static_cast< int >(val8);
15620 }
15621 if (obj8) {
15622 ecode9 = SWIG_AsVal_int(obj8, &val9);
15623 if (!SWIG_IsOK(ecode9)) {
15624 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15625 }
15626 arg9 = static_cast< int >(val9);
15627 }
15628 if (obj9) {
15629 ecode10 = SWIG_AsVal_int(obj9, &val10);
15630 if (!SWIG_IsOK(ecode10)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15632 }
15633 arg10 = static_cast< int >(val10);
15634 }
15635 if (obj10) {
15636 {
15637 arg11 = wxString_in_helper(obj10);
15638 if (arg11 == NULL) SWIG_fail;
15639 temp11 = true;
15640 }
15641 }
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 {
15649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15650 }
15651 {
15652 if (temp4)
15653 delete arg4;
15654 }
15655 {
15656 if (temp11)
15657 delete arg11;
15658 }
15659 return resultobj;
15660fail:
15661 {
15662 if (temp4)
15663 delete arg4;
15664 }
15665 {
15666 if (temp11)
15667 delete arg11;
15668 }
15669 return NULL;
d55e5bfc
RD
15670}
15671
15672
554f62e9
RD
15673SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15674 PyObject *resultobj = 0;
15675 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15676 int result;
15677 void *argp1 = 0 ;
15678 int res1 = 0 ;
15679 PyObject *swig_obj[1] ;
15680
15681 if (!args) SWIG_fail;
15682 swig_obj[0] = args;
15683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15684 if (!SWIG_IsOK(res1)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15686 }
15687 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_From_int(static_cast< int >(result));
15695 return resultobj;
15696fail:
15697 return NULL;
15698}
15699
15700
15701SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj = 0;
15703 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15704 int arg2 ;
15705 void *argp1 = 0 ;
15706 int res1 = 0 ;
15707 int val2 ;
15708 int ecode2 = 0 ;
15709 PyObject * obj0 = 0 ;
15710 PyObject * obj1 = 0 ;
15711 char * kwnames[] = {
15712 (char *) "self",(char *) "value", NULL
15713 };
15714
15715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15717 if (!SWIG_IsOK(res1)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15719 }
15720 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15721 ecode2 = SWIG_AsVal_int(obj1, &val2);
15722 if (!SWIG_IsOK(ecode2)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15724 }
15725 arg2 = static_cast< int >(val2);
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 (arg1)->SetValue(arg2);
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 resultobj = SWIG_Py_Void();
15733 return resultobj;
15734fail:
15735 return NULL;
15736}
15737
15738
15739SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj = 0;
15741 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15742 wxString *arg2 = 0 ;
15743 void *argp1 = 0 ;
15744 int res1 = 0 ;
15745 bool temp2 = false ;
15746 PyObject * obj0 = 0 ;
15747 PyObject * obj1 = 0 ;
15748 char * kwnames[] = {
15749 (char *) "self",(char *) "text", NULL
15750 };
15751
15752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15756 }
15757 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15758 {
15759 arg2 = wxString_in_helper(obj1);
15760 if (arg2 == NULL) SWIG_fail;
15761 temp2 = true;
15762 }
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 (arg1)->SetValue((wxString const &)*arg2);
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 resultobj = SWIG_Py_Void();
15770 {
15771 if (temp2)
15772 delete arg2;
15773 }
15774 return resultobj;
15775fail:
15776 {
15777 if (temp2)
15778 delete arg2;
15779 }
15780 return NULL;
15781}
15782
15783
15784SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj = 0;
15786 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15787 int arg2 ;
15788 int arg3 ;
15789 void *argp1 = 0 ;
15790 int res1 = 0 ;
15791 int val2 ;
15792 int ecode2 = 0 ;
15793 int val3 ;
15794 int ecode3 = 0 ;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 PyObject * obj2 = 0 ;
15798 char * kwnames[] = {
15799 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15800 };
15801
15802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15804 if (!SWIG_IsOK(res1)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15806 }
15807 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15808 ecode2 = SWIG_AsVal_int(obj1, &val2);
15809 if (!SWIG_IsOK(ecode2)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15811 }
15812 arg2 = static_cast< int >(val2);
15813 ecode3 = SWIG_AsVal_int(obj2, &val3);
15814 if (!SWIG_IsOK(ecode3)) {
15815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15816 }
15817 arg3 = static_cast< int >(val3);
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 (arg1)->SetRange(arg2,arg3);
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_Py_Void();
15825 return resultobj;
15826fail:
15827 return NULL;
d55e5bfc
RD
15828}
15829
15830
554f62e9
RD
15831SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15832 PyObject *resultobj = 0;
15833 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15834 int result;
15835 void *argp1 = 0 ;
15836 int res1 = 0 ;
15837 PyObject *swig_obj[1] ;
15838
15839 if (!args) SWIG_fail;
15840 swig_obj[0] = args;
15841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15842 if (!SWIG_IsOK(res1)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15844 }
15845 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 resultobj = SWIG_From_int(static_cast< int >(result));
15853 return resultobj;
15854fail:
15855 return NULL;
d55e5bfc
RD
15856}
15857
15858
554f62e9
RD
15859SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15860 PyObject *resultobj = 0;
15861 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15862 int result;
15863 void *argp1 = 0 ;
15864 int res1 = 0 ;
15865 PyObject *swig_obj[1] ;
15866
15867 if (!args) SWIG_fail;
15868 swig_obj[0] = args;
15869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15870 if (!SWIG_IsOK(res1)) {
15871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15872 }
15873 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 resultobj = SWIG_From_int(static_cast< int >(result));
15881 return resultobj;
15882fail:
15883 return NULL;
15884}
15885
15886
15887SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj = 0;
15889 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15890 long arg2 ;
15891 long arg3 ;
15892 void *argp1 = 0 ;
15893 int res1 = 0 ;
15894 long val2 ;
15895 int ecode2 = 0 ;
15896 long val3 ;
15897 int ecode3 = 0 ;
15898 PyObject * obj0 = 0 ;
15899 PyObject * obj1 = 0 ;
15900 PyObject * obj2 = 0 ;
15901 char * kwnames[] = {
f460c29d 15902 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15903 };
15904
15905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15907 if (!SWIG_IsOK(res1)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15909 }
15910 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15911 ecode2 = SWIG_AsVal_long(obj1, &val2);
15912 if (!SWIG_IsOK(ecode2)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15914 }
15915 arg2 = static_cast< long >(val2);
15916 ecode3 = SWIG_AsVal_long(obj2, &val3);
15917 if (!SWIG_IsOK(ecode3)) {
15918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15919 }
15920 arg3 = static_cast< long >(val3);
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 (arg1)->SetSelection(arg2,arg3);
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = SWIG_Py_Void();
15928 return resultobj;
15929fail:
15930 return NULL;
15931}
15932
15933
15934SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj = 0;
15936 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15937 SwigValueWrapper<wxVisualAttributes > result;
15938 int val1 ;
15939 int ecode1 = 0 ;
15940 PyObject * obj0 = 0 ;
15941 char * kwnames[] = {
15942 (char *) "variant", NULL
15943 };
15944
15945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15946 if (obj0) {
15947 ecode1 = SWIG_AsVal_int(obj0, &val1);
15948 if (!SWIG_IsOK(ecode1)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15950 }
15951 arg1 = static_cast< wxWindowVariant >(val1);
15952 }
15953 {
15954 if (!wxPyCheckForApp()) SWIG_fail;
15955 PyThreadState* __tstate = wxPyBeginAllowThreads();
15956 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15961 return resultobj;
15962fail:
15963 return NULL;
d55e5bfc
RD
15964}
15965
15966
554f62e9
RD
15967SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15968 PyObject *obj;
15969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15970 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15971 return SWIG_Py_Void();
d55e5bfc
RD
15972}
15973
554f62e9
RD
15974SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15975 return SWIG_Python_InitShadowInstance(args);
15976}
d55e5bfc 15977
554f62e9
RD
15978SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj = 0;
15980 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15981 int arg2 = (int) 0 ;
15982 wxSpinEvent *result = 0 ;
15983 int val1 ;
15984 int ecode1 = 0 ;
15985 int val2 ;
15986 int ecode2 = 0 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 char * kwnames[] = {
15990 (char *) "commandType",(char *) "winid", NULL
15991 };
15992
15993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15994 if (obj0) {
15995 ecode1 = SWIG_AsVal_int(obj0, &val1);
15996 if (!SWIG_IsOK(ecode1)) {
15997 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15998 }
15999 arg1 = static_cast< wxEventType >(val1);
16000 }
16001 if (obj1) {
16002 ecode2 = SWIG_AsVal_int(obj1, &val2);
16003 if (!SWIG_IsOK(ecode2)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16005 }
16006 arg2 = static_cast< int >(val2);
16007 }
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16015 return resultobj;
16016fail:
16017 return NULL;
d55e5bfc
RD
16018}
16019
16020
554f62e9
RD
16021SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16022 PyObject *resultobj = 0;
16023 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16024 int result;
16025 void *argp1 = 0 ;
16026 int res1 = 0 ;
16027 PyObject *swig_obj[1] ;
16028
16029 if (!args) SWIG_fail;
16030 swig_obj[0] = args;
16031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16032 if (!SWIG_IsOK(res1)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16034 }
16035 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_From_int(static_cast< int >(result));
16043 return resultobj;
16044fail:
16045 return NULL;
16046}
16047
16048
16049SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj = 0;
16051 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16052 int arg2 ;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 int val2 ;
16056 int ecode2 = 0 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char * kwnames[] = {
16060 (char *) "self",(char *) "pos", NULL
16061 };
16062
16063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16065 if (!SWIG_IsOK(res1)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16067 }
16068 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16069 ecode2 = SWIG_AsVal_int(obj1, &val2);
16070 if (!SWIG_IsOK(ecode2)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16072 }
16073 arg2 = static_cast< int >(val2);
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 (arg1)->SetPosition(arg2);
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_Py_Void();
16081 return resultobj;
16082fail:
16083 return NULL;
d55e5bfc
RD
16084}
16085
16086
554f62e9
RD
16087SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16088 PyObject *obj;
16089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16091 return SWIG_Py_Void();
d55e5bfc
RD
16092}
16093
554f62e9
RD
16094SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16095 return SWIG_Python_InitShadowInstance(args);
16096}
d55e5bfc 16097
554f62e9
RD
16098SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16099 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16100 return 1;
d55e5bfc
RD
16101}
16102
16103
554f62e9
RD
16104SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16105 PyObject *pyobj = 0;
16106
16107 {
16108#if wxUSE_UNICODE
16109 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16110#else
16111 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16112#endif
16113 }
16114 return pyobj;
d55e5bfc
RD
16115}
16116
16117
554f62e9
RD
16118SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16119 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16120 return 1;
16121}
16122
16123
16124SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16125 PyObject *pyobj = 0;
16126
16127 {
16128#if wxUSE_UNICODE
16129 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16130#else
16131 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16132#endif
16133 }
16134 return pyobj;
16135}
16136
16137
16138SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj = 0;
16140 wxWindow *arg1 = (wxWindow *) 0 ;
16141 int arg2 = (int) -1 ;
16142 wxString const &arg3_defvalue = wxPyEmptyString ;
16143 wxString *arg3 = (wxString *) &arg3_defvalue ;
16144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16146 wxSize const &arg5_defvalue = wxDefaultSize ;
16147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16148 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16149 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16150 int arg7 = (int) 0 ;
16151 long arg8 = (long) wxRA_HORIZONTAL ;
16152 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16153 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16154 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16155 wxString *arg10 = (wxString *) &arg10_defvalue ;
16156 wxRadioBox *result = 0 ;
16157 void *argp1 = 0 ;
16158 int res1 = 0 ;
16159 int val2 ;
16160 int ecode2 = 0 ;
16161 bool temp3 = false ;
16162 wxPoint temp4 ;
16163 wxSize temp5 ;
16164 bool temp6 = false ;
16165 int val7 ;
16166 int ecode7 = 0 ;
16167 long val8 ;
16168 int ecode8 = 0 ;
16169 void *argp9 = 0 ;
16170 int res9 = 0 ;
16171 bool temp10 = false ;
16172 PyObject * obj0 = 0 ;
16173 PyObject * obj1 = 0 ;
16174 PyObject * obj2 = 0 ;
16175 PyObject * obj3 = 0 ;
16176 PyObject * obj4 = 0 ;
16177 PyObject * obj5 = 0 ;
16178 PyObject * obj6 = 0 ;
16179 PyObject * obj7 = 0 ;
16180 PyObject * obj8 = 0 ;
16181 PyObject * obj9 = 0 ;
16182 char * kwnames[] = {
16183 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16184 };
16185
16186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16188 if (!SWIG_IsOK(res1)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16190 }
16191 arg1 = reinterpret_cast< wxWindow * >(argp1);
16192 if (obj1) {
16193 ecode2 = SWIG_AsVal_int(obj1, &val2);
16194 if (!SWIG_IsOK(ecode2)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16196 }
16197 arg2 = static_cast< int >(val2);
16198 }
16199 if (obj2) {
093d3ff1 16200 {
554f62e9
RD
16201 arg3 = wxString_in_helper(obj2);
16202 if (arg3 == NULL) SWIG_fail;
16203 temp3 = true;
093d3ff1 16204 }
554f62e9
RD
16205 }
16206 if (obj3) {
093d3ff1 16207 {
554f62e9
RD
16208 arg4 = &temp4;
16209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16210 }
554f62e9
RD
16211 }
16212 if (obj4) {
d55e5bfc 16213 {
554f62e9
RD
16214 arg5 = &temp5;
16215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16216 }
554f62e9
RD
16217 }
16218 if (obj5) {
d55e5bfc 16219 {
554f62e9
RD
16220 if (! PySequence_Check(obj5)) {
16221 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16222 SWIG_fail;
16223 }
16224 arg6 = new wxArrayString;
16225 temp6 = true;
16226 int i, len=PySequence_Length(obj5);
16227 for (i=0; i<len; i++) {
16228 PyObject* item = PySequence_GetItem(obj5, i);
16229 wxString* s = wxString_in_helper(item);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 arg6->Add(*s);
16232 delete s;
16233 Py_DECREF(item);
16234 }
d55e5bfc 16235 }
554f62e9
RD
16236 }
16237 if (obj6) {
16238 ecode7 = SWIG_AsVal_int(obj6, &val7);
16239 if (!SWIG_IsOK(ecode7)) {
16240 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16241 }
16242 arg7 = static_cast< int >(val7);
16243 }
16244 if (obj7) {
16245 ecode8 = SWIG_AsVal_long(obj7, &val8);
16246 if (!SWIG_IsOK(ecode8)) {
16247 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16248 }
16249 arg8 = static_cast< long >(val8);
16250 }
16251 if (obj8) {
16252 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16253 if (!SWIG_IsOK(res9)) {
16254 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16255 }
554f62e9
RD
16256 if (!argp9) {
16257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16258 }
554f62e9
RD
16259 arg9 = reinterpret_cast< wxValidator * >(argp9);
16260 }
16261 if (obj9) {
d55e5bfc 16262 {
554f62e9
RD
16263 arg10 = wxString_in_helper(obj9);
16264 if (arg10 == NULL) SWIG_fail;
16265 temp10 = true;
d55e5bfc 16266 }
554f62e9
RD
16267 }
16268 {
16269 if (!wxPyCheckForApp()) SWIG_fail;
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 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);
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16276 {
16277 if (temp3)
16278 delete arg3;
16279 }
16280 {
16281 if (temp6) delete arg6;
16282 }
16283 {
16284 if (temp10)
16285 delete arg10;
16286 }
16287 return resultobj;
16288fail:
16289 {
16290 if (temp3)
16291 delete arg3;
16292 }
16293 {
16294 if (temp6) delete arg6;
16295 }
16296 {
16297 if (temp10)
16298 delete arg10;
16299 }
16300 return NULL;
d55e5bfc
RD
16301}
16302
16303
554f62e9
RD
16304SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16305 PyObject *resultobj = 0;
16306 wxRadioBox *result = 0 ;
16307
16308 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16309 {
16310 if (!wxPyCheckForApp()) SWIG_fail;
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 result = (wxRadioBox *)new wxRadioBox();
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16317 return resultobj;
16318fail:
16319 return NULL;
16320}
16321
16322
16323SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj = 0;
16325 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16326 wxWindow *arg2 = (wxWindow *) 0 ;
16327 int arg3 = (int) -1 ;
16328 wxString const &arg4_defvalue = wxPyEmptyString ;
16329 wxString *arg4 = (wxString *) &arg4_defvalue ;
16330 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16331 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16332 wxSize const &arg6_defvalue = wxDefaultSize ;
16333 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16334 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16335 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16336 int arg8 = (int) 0 ;
16337 long arg9 = (long) wxRA_HORIZONTAL ;
16338 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16339 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16340 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16341 wxString *arg11 = (wxString *) &arg11_defvalue ;
16342 bool result;
16343 void *argp1 = 0 ;
16344 int res1 = 0 ;
16345 void *argp2 = 0 ;
16346 int res2 = 0 ;
16347 int val3 ;
16348 int ecode3 = 0 ;
16349 bool temp4 = false ;
16350 wxPoint temp5 ;
16351 wxSize temp6 ;
16352 bool temp7 = false ;
16353 int val8 ;
16354 int ecode8 = 0 ;
16355 long val9 ;
16356 int ecode9 = 0 ;
16357 void *argp10 = 0 ;
16358 int res10 = 0 ;
16359 bool temp11 = false ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 PyObject * obj2 = 0 ;
16363 PyObject * obj3 = 0 ;
16364 PyObject * obj4 = 0 ;
16365 PyObject * obj5 = 0 ;
16366 PyObject * obj6 = 0 ;
16367 PyObject * obj7 = 0 ;
16368 PyObject * obj8 = 0 ;
16369 PyObject * obj9 = 0 ;
16370 PyObject * obj10 = 0 ;
16371 char * kwnames[] = {
16372 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16373 };
16374
16375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16379 }
16380 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16381 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16382 if (!SWIG_IsOK(res2)) {
16383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16384 }
16385 arg2 = reinterpret_cast< wxWindow * >(argp2);
16386 if (obj2) {
16387 ecode3 = SWIG_AsVal_int(obj2, &val3);
16388 if (!SWIG_IsOK(ecode3)) {
16389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16390 }
16391 arg3 = static_cast< int >(val3);
16392 }
16393 if (obj3) {
093d3ff1 16394 {
554f62e9
RD
16395 arg4 = wxString_in_helper(obj3);
16396 if (arg4 == NULL) SWIG_fail;
16397 temp4 = true;
093d3ff1 16398 }
554f62e9
RD
16399 }
16400 if (obj4) {
d55e5bfc 16401 {
554f62e9
RD
16402 arg5 = &temp5;
16403 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16404 }
554f62e9
RD
16405 }
16406 if (obj5) {
093d3ff1 16407 {
554f62e9
RD
16408 arg6 = &temp6;
16409 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 16410 }
554f62e9
RD
16411 }
16412 if (obj6) {
093d3ff1 16413 {
554f62e9
RD
16414 if (! PySequence_Check(obj6)) {
16415 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16416 SWIG_fail;
16417 }
16418 arg7 = new wxArrayString;
16419 temp7 = true;
16420 int i, len=PySequence_Length(obj6);
16421 for (i=0; i<len; i++) {
16422 PyObject* item = PySequence_GetItem(obj6, i);
16423 wxString* s = wxString_in_helper(item);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 arg7->Add(*s);
16426 delete s;
16427 Py_DECREF(item);
16428 }
093d3ff1 16429 }
554f62e9
RD
16430 }
16431 if (obj7) {
16432 ecode8 = SWIG_AsVal_int(obj7, &val8);
16433 if (!SWIG_IsOK(ecode8)) {
16434 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16435 }
16436 arg8 = static_cast< int >(val8);
16437 }
16438 if (obj8) {
16439 ecode9 = SWIG_AsVal_long(obj8, &val9);
16440 if (!SWIG_IsOK(ecode9)) {
16441 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16442 }
16443 arg9 = static_cast< long >(val9);
16444 }
16445 if (obj9) {
16446 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16447 if (!SWIG_IsOK(res10)) {
16448 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 16449 }
554f62e9
RD
16450 if (!argp10) {
16451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 16452 }
554f62e9
RD
16453 arg10 = reinterpret_cast< wxValidator * >(argp10);
16454 }
16455 if (obj10) {
d55e5bfc 16456 {
554f62e9
RD
16457 arg11 = wxString_in_helper(obj10);
16458 if (arg11 == NULL) SWIG_fail;
16459 temp11 = true;
d55e5bfc 16460 }
554f62e9
RD
16461 }
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 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);
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 {
16469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16470 }
16471 {
16472 if (temp4)
16473 delete arg4;
16474 }
16475 {
16476 if (temp7) delete arg7;
16477 }
16478 {
16479 if (temp11)
16480 delete arg11;
16481 }
16482 return resultobj;
16483fail:
16484 {
16485 if (temp4)
16486 delete arg4;
16487 }
16488 {
16489 if (temp7) delete arg7;
16490 }
16491 {
16492 if (temp11)
16493 delete arg11;
16494 }
16495 return NULL;
16496}
16497
16498
16499SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj = 0;
16501 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16502 int arg2 ;
16503 void *argp1 = 0 ;
16504 int res1 = 0 ;
16505 int val2 ;
16506 int ecode2 = 0 ;
16507 PyObject * obj0 = 0 ;
16508 PyObject * obj1 = 0 ;
16509 char * kwnames[] = {
16510 (char *) "self",(char *) "n", NULL
16511 };
16512
16513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",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_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16517 }
16518 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16519 ecode2 = SWIG_AsVal_int(obj1, &val2);
16520 if (!SWIG_IsOK(ecode2)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16522 }
16523 arg2 = static_cast< int >(val2);
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 (arg1)->SetSelection(arg2);
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 resultobj = SWIG_Py_Void();
16531 return resultobj;
16532fail:
16533 return NULL;
d55e5bfc
RD
16534}
16535
16536
554f62e9
RD
16537SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16538 PyObject *resultobj = 0;
16539 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16540 int result;
16541 void *argp1 = 0 ;
16542 int res1 = 0 ;
16543 PyObject *swig_obj[1] ;
16544
16545 if (!args) SWIG_fail;
16546 swig_obj[0] = args;
16547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16548 if (!SWIG_IsOK(res1)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16550 }
16551 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 resultobj = SWIG_From_int(static_cast< int >(result));
16559 return resultobj;
16560fail:
16561 return NULL;
4896ac9e
RD
16562}
16563
16564
554f62e9
RD
16565SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16566 PyObject *resultobj = 0;
16567 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16568 wxString result;
16569 void *argp1 = 0 ;
16570 int res1 = 0 ;
16571 PyObject *swig_obj[1] ;
16572
16573 if (!args) SWIG_fail;
16574 swig_obj[0] = args;
16575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16576 if (!SWIG_IsOK(res1)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16578 }
16579 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16580 {
16581 PyThreadState* __tstate = wxPyBeginAllowThreads();
16582 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 {
16587#if wxUSE_UNICODE
16588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16589#else
16590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16591#endif
16592 }
16593 return resultobj;
16594fail:
16595 return NULL;
16596}
16597
16598
16599SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj = 0;
16601 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16602 wxString *arg2 = 0 ;
16603 bool result;
16604 void *argp1 = 0 ;
16605 int res1 = 0 ;
16606 bool temp2 = false ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char * kwnames[] = {
16610 (char *) "self",(char *) "s", NULL
16611 };
16612
16613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16615 if (!SWIG_IsOK(res1)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16617 }
16618 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16619 {
16620 arg2 = wxString_in_helper(obj1);
16621 if (arg2 == NULL) SWIG_fail;
16622 temp2 = true;
16623 }
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16632 }
16633 {
16634 if (temp2)
16635 delete arg2;
16636 }
16637 return resultobj;
16638fail:
16639 {
16640 if (temp2)
16641 delete arg2;
16642 }
16643 return NULL;
d55e5bfc
RD
16644}
16645
16646
554f62e9
RD
16647SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16648 PyObject *resultobj = 0;
16649 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16650 size_t result;
554f62e9
RD
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 PyObject *swig_obj[1] ;
16654
16655 if (!args) SWIG_fail;
16656 swig_obj[0] = args;
16657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16658 if (!SWIG_IsOK(res1)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16660 }
16661 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16664 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
554f62e9
RD
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
1c71765a 16668 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
554f62e9
RD
16669 return resultobj;
16670fail:
16671 return NULL;
16672}
16673
16674
16675SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj = 0;
16677 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16678 wxString *arg2 = 0 ;
16679 int result;
16680 void *argp1 = 0 ;
16681 int res1 = 0 ;
16682 bool temp2 = false ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char * kwnames[] = {
16686 (char *) "self",(char *) "s", NULL
16687 };
16688
16689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16691 if (!SWIG_IsOK(res1)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16693 }
16694 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16695 {
16696 arg2 = wxString_in_helper(obj1);
16697 if (arg2 == NULL) SWIG_fail;
16698 temp2 = true;
16699 }
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 resultobj = SWIG_From_int(static_cast< int >(result));
16707 {
16708 if (temp2)
16709 delete arg2;
16710 }
16711 return resultobj;
16712fail:
16713 {
16714 if (temp2)
16715 delete arg2;
16716 }
16717 return NULL;
16718}
16719
16720
16721SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj = 0;
16723 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16724 int arg2 ;
16725 wxString result;
16726 void *argp1 = 0 ;
16727 int res1 = 0 ;
16728 int val2 ;
16729 int ecode2 = 0 ;
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 char * kwnames[] = {
16733 (char *) "self",(char *) "n", NULL
16734 };
16735
16736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16738 if (!SWIG_IsOK(res1)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16740 }
16741 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16742 ecode2 = SWIG_AsVal_int(obj1, &val2);
16743 if (!SWIG_IsOK(ecode2)) {
16744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16745 }
16746 arg2 = static_cast< int >(val2);
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 {
16754#if wxUSE_UNICODE
16755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16756#else
16757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16758#endif
16759 }
16760 return resultobj;
16761fail:
16762 return NULL;
16763}
16764
16765
16766SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj = 0;
16768 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16769 int arg2 ;
16770 wxString *arg3 = 0 ;
16771 void *argp1 = 0 ;
16772 int res1 = 0 ;
16773 int val2 ;
16774 int ecode2 = 0 ;
16775 bool temp3 = false ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 PyObject * obj2 = 0 ;
16779 char * kwnames[] = {
16780 (char *) "self",(char *) "n",(char *) "label", NULL
16781 };
16782
16783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16785 if (!SWIG_IsOK(res1)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16787 }
16788 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16789 ecode2 = SWIG_AsVal_int(obj1, &val2);
16790 if (!SWIG_IsOK(ecode2)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16792 }
16793 arg2 = static_cast< int >(val2);
16794 {
16795 arg3 = wxString_in_helper(obj2);
16796 if (arg3 == NULL) SWIG_fail;
16797 temp3 = true;
16798 }
16799 {
16800 PyThreadState* __tstate = wxPyBeginAllowThreads();
16801 (arg1)->SetString(arg2,(wxString const &)*arg3);
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = SWIG_Py_Void();
16806 {
16807 if (temp3)
16808 delete arg3;
16809 }
16810 return resultobj;
16811fail:
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 return NULL;
16817}
16818
16819
16820SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj = 0;
16822 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16823 unsigned int arg2 ;
554f62e9
RD
16824 bool arg3 = (bool) true ;
16825 void *argp1 = 0 ;
16826 int res1 = 0 ;
50f151d7 16827 unsigned int val2 ;
554f62e9
RD
16828 int ecode2 = 0 ;
16829 bool val3 ;
16830 int ecode3 = 0 ;
16831 PyObject * obj0 = 0 ;
16832 PyObject * obj1 = 0 ;
16833 PyObject * obj2 = 0 ;
16834 char * kwnames[] = {
16835 (char *) "self",(char *) "n",(char *) "enable", NULL
16836 };
16837
16838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16840 if (!SWIG_IsOK(res1)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16842 }
16843 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16844 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16845 if (!SWIG_IsOK(ecode2)) {
50f151d7 16846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16847 }
50f151d7 16848 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16849 if (obj2) {
16850 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16851 if (!SWIG_IsOK(ecode3)) {
16852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16853 }
16854 arg3 = static_cast< bool >(val3);
16855 }
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->Enable(arg2,arg3);
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 resultobj = SWIG_Py_Void();
16863 return resultobj;
16864fail:
16865 return NULL;
16866}
16867
16868
16869SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj = 0;
16871 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16872 unsigned int arg2 ;
554f62e9
RD
16873 bool arg3 = (bool) true ;
16874 void *argp1 = 0 ;
16875 int res1 = 0 ;
50f151d7 16876 unsigned int val2 ;
554f62e9
RD
16877 int ecode2 = 0 ;
16878 bool val3 ;
16879 int ecode3 = 0 ;
16880 PyObject * obj0 = 0 ;
16881 PyObject * obj1 = 0 ;
16882 PyObject * obj2 = 0 ;
16883 char * kwnames[] = {
16884 (char *) "self",(char *) "n",(char *) "show", NULL
16885 };
16886
16887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16889 if (!SWIG_IsOK(res1)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16891 }
16892 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16893 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16894 if (!SWIG_IsOK(ecode2)) {
50f151d7 16895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16896 }
50f151d7 16897 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16898 if (obj2) {
16899 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16900 if (!SWIG_IsOK(ecode3)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16902 }
16903 arg3 = static_cast< bool >(val3);
16904 }
16905 {
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 (arg1)->Show(arg2,arg3);
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 resultobj = SWIG_Py_Void();
16912 return resultobj;
16913fail:
16914 return NULL;
d55e5bfc
RD
16915}
16916
16917
50f151d7
RD
16918SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj = 0;
16920 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16921 unsigned int arg2 ;
16922 bool result;
16923 void *argp1 = 0 ;
16924 int res1 = 0 ;
16925 unsigned int val2 ;
16926 int ecode2 = 0 ;
16927 PyObject * obj0 = 0 ;
16928 PyObject * obj1 = 0 ;
16929 char * kwnames[] = {
16930 (char *) "self",(char *) "n", NULL
16931 };
16932
16933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16935 if (!SWIG_IsOK(res1)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16937 }
16938 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16939 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16940 if (!SWIG_IsOK(ecode2)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16942 }
16943 arg2 = static_cast< unsigned int >(val2);
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 {
16951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16952 }
16953 return resultobj;
16954fail:
16955 return NULL;
16956}
16957
16958
16959SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj = 0;
16961 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16962 unsigned int arg2 ;
16963 bool result;
16964 void *argp1 = 0 ;
16965 int res1 = 0 ;
16966 unsigned int val2 ;
16967 int ecode2 = 0 ;
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
16970 char * kwnames[] = {
16971 (char *) "self",(char *) "n", NULL
16972 };
16973
16974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16976 if (!SWIG_IsOK(res1)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16978 }
16979 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16980 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16981 if (!SWIG_IsOK(ecode2)) {
16982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16983 }
16984 arg2 = static_cast< unsigned int >(val2);
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 {
16992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16993 }
16994 return resultobj;
16995fail:
16996 return NULL;
16997}
16998
16999
554f62e9
RD
17000SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17001 PyObject *resultobj = 0;
17002 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 17003 unsigned int result;
554f62e9
RD
17004 void *argp1 = 0 ;
17005 int res1 = 0 ;
17006 PyObject *swig_obj[1] ;
17007
17008 if (!args) SWIG_fail;
17009 swig_obj[0] = args;
17010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17011 if (!SWIG_IsOK(res1)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17013 }
17014 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17017 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
554f62e9
RD
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
50f151d7 17021 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
17022 return resultobj;
17023fail:
17024 return NULL;
d55e5bfc
RD
17025}
17026
17027
554f62e9
RD
17028SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17029 PyObject *resultobj = 0;
17030 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 17031 unsigned int result;
554f62e9
RD
17032 void *argp1 = 0 ;
17033 int res1 = 0 ;
17034 PyObject *swig_obj[1] ;
17035
17036 if (!args) SWIG_fail;
17037 swig_obj[0] = args;
17038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17039 if (!SWIG_IsOK(res1)) {
17040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17041 }
17042 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17045 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
554f62e9
RD
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
50f151d7 17049 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
17050 return resultobj;
17051fail:
17052 return NULL;
17053}
17054
17055
17056SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj = 0;
17058 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17059 int arg2 ;
17060 wxDirection arg3 ;
17061 long arg4 ;
17062 int result;
17063 void *argp1 = 0 ;
17064 int res1 = 0 ;
17065 int val2 ;
17066 int ecode2 = 0 ;
17067 int val3 ;
17068 int ecode3 = 0 ;
17069 long val4 ;
17070 int ecode4 = 0 ;
17071 PyObject * obj0 = 0 ;
17072 PyObject * obj1 = 0 ;
17073 PyObject * obj2 = 0 ;
17074 PyObject * obj3 = 0 ;
17075 char * kwnames[] = {
17076 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17077 };
17078
17079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17081 if (!SWIG_IsOK(res1)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17083 }
17084 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17085 ecode2 = SWIG_AsVal_int(obj1, &val2);
17086 if (!SWIG_IsOK(ecode2)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17088 }
17089 arg2 = static_cast< int >(val2);
17090 ecode3 = SWIG_AsVal_int(obj2, &val3);
17091 if (!SWIG_IsOK(ecode3)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17093 }
17094 arg3 = static_cast< wxDirection >(val3);
17095 ecode4 = SWIG_AsVal_long(obj3, &val4);
17096 if (!SWIG_IsOK(ecode4)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17098 }
17099 arg4 = static_cast< long >(val4);
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 resultobj = SWIG_From_int(static_cast< int >(result));
17107 return resultobj;
17108fail:
17109 return NULL;
17110}
17111
17112
f460c29d
RD
17113SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj = 0;
17115 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17116 unsigned int arg2 ;
17117 wxString *arg3 = 0 ;
17118 void *argp1 = 0 ;
17119 int res1 = 0 ;
17120 unsigned int val2 ;
17121 int ecode2 = 0 ;
17122 bool temp3 = false ;
17123 PyObject * obj0 = 0 ;
17124 PyObject * obj1 = 0 ;
17125 PyObject * obj2 = 0 ;
17126 char * kwnames[] = {
17127 (char *) "self",(char *) "item",(char *) "text", NULL
17128 };
17129
17130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17132 if (!SWIG_IsOK(res1)) {
17133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17134 }
17135 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17136 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17137 if (!SWIG_IsOK(ecode2)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17139 }
17140 arg2 = static_cast< unsigned int >(val2);
17141 {
17142 arg3 = wxString_in_helper(obj2);
17143 if (arg3 == NULL) SWIG_fail;
17144 temp3 = true;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = SWIG_Py_Void();
17153 {
17154 if (temp3)
17155 delete arg3;
17156 }
17157 return resultobj;
17158fail:
17159 {
17160 if (temp3)
17161 delete arg3;
17162 }
17163 return NULL;
17164}
17165
17166
17167SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj = 0;
17169 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17170 unsigned int arg2 ;
17171 wxToolTip *result = 0 ;
17172 void *argp1 = 0 ;
17173 int res1 = 0 ;
17174 unsigned int val2 ;
17175 int ecode2 = 0 ;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 char * kwnames[] = {
17179 (char *) "self",(char *) "item", NULL
17180 };
17181
17182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17184 if (!SWIG_IsOK(res1)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17186 }
17187 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17188 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17189 if (!SWIG_IsOK(ecode2)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17191 }
17192 arg2 = static_cast< unsigned int >(val2);
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 {
17200 resultobj = wxPyMake_wxObject(result, (bool)0);
17201 }
17202 return resultobj;
17203fail:
17204 return NULL;
17205}
17206
17207
b850e7f3
RD
17208SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17209 PyObject *resultobj = 0;
17210 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17211 unsigned int arg2 ;
17212 wxString *arg3 = 0 ;
17213 void *argp1 = 0 ;
17214 int res1 = 0 ;
17215 unsigned int val2 ;
17216 int ecode2 = 0 ;
17217 bool temp3 = false ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 PyObject * obj2 = 0 ;
17221 char * kwnames[] = {
17222 (char *) "self",(char *) "n",(char *) "helpText", NULL
17223 };
17224
17225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17227 if (!SWIG_IsOK(res1)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17229 }
17230 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17231 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17232 if (!SWIG_IsOK(ecode2)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17234 }
17235 arg2 = static_cast< unsigned int >(val2);
17236 {
17237 arg3 = wxString_in_helper(obj2);
17238 if (arg3 == NULL) SWIG_fail;
17239 temp3 = true;
17240 }
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17244 wxPyEndAllowThreads(__tstate);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 }
17247 resultobj = SWIG_Py_Void();
17248 {
17249 if (temp3)
17250 delete arg3;
17251 }
17252 return resultobj;
17253fail:
17254 {
17255 if (temp3)
17256 delete arg3;
17257 }
17258 return NULL;
17259}
17260
17261
17262SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17263 PyObject *resultobj = 0;
17264 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17265 unsigned int arg2 ;
17266 wxString result;
17267 void *argp1 = 0 ;
17268 int res1 = 0 ;
17269 unsigned int val2 ;
17270 int ecode2 = 0 ;
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj1 = 0 ;
17273 char * kwnames[] = {
17274 (char *) "self",(char *) "n", NULL
17275 };
17276
17277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17279 if (!SWIG_IsOK(res1)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17281 }
17282 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17283 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17284 if (!SWIG_IsOK(ecode2)) {
17285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17286 }
17287 arg2 = static_cast< unsigned int >(val2);
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295#if wxUSE_UNICODE
17296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17297#else
17298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17299#endif
17300 }
17301 return resultobj;
17302fail:
17303 return NULL;
17304}
17305
17306
554f62e9
RD
17307SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17308 PyObject *resultobj = 0;
17309 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17310 SwigValueWrapper<wxVisualAttributes > result;
17311 int val1 ;
17312 int ecode1 = 0 ;
17313 PyObject * obj0 = 0 ;
17314 char * kwnames[] = {
17315 (char *) "variant", NULL
17316 };
17317
17318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17319 if (obj0) {
17320 ecode1 = SWIG_AsVal_int(obj0, &val1);
17321 if (!SWIG_IsOK(ecode1)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17323 }
17324 arg1 = static_cast< wxWindowVariant >(val1);
17325 }
17326 {
17327 if (!wxPyCheckForApp()) SWIG_fail;
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17334 return resultobj;
17335fail:
17336 return NULL;
17337}
17338
17339
17340SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17341 PyObject *obj;
17342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17343 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17344 return SWIG_Py_Void();
17345}
17346
17347SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17348 return SWIG_Python_InitShadowInstance(args);
17349}
17350
17351SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj = 0;
17353 wxWindow *arg1 = (wxWindow *) 0 ;
17354 int arg2 = (int) -1 ;
17355 wxString const &arg3_defvalue = wxPyEmptyString ;
17356 wxString *arg3 = (wxString *) &arg3_defvalue ;
17357 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17358 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17359 wxSize const &arg5_defvalue = wxDefaultSize ;
17360 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17361 long arg6 = (long) 0 ;
17362 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17363 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17364 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17365 wxString *arg8 = (wxString *) &arg8_defvalue ;
17366 wxRadioButton *result = 0 ;
17367 void *argp1 = 0 ;
17368 int res1 = 0 ;
17369 int val2 ;
17370 int ecode2 = 0 ;
17371 bool temp3 = false ;
17372 wxPoint temp4 ;
17373 wxSize temp5 ;
17374 long val6 ;
17375 int ecode6 = 0 ;
17376 void *argp7 = 0 ;
17377 int res7 = 0 ;
17378 bool temp8 = false ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 PyObject * obj2 = 0 ;
17382 PyObject * obj3 = 0 ;
17383 PyObject * obj4 = 0 ;
17384 PyObject * obj5 = 0 ;
17385 PyObject * obj6 = 0 ;
17386 PyObject * obj7 = 0 ;
17387 char * kwnames[] = {
17388 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17389 };
17390
17391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17395 }
17396 arg1 = reinterpret_cast< wxWindow * >(argp1);
17397 if (obj1) {
17398 ecode2 = SWIG_AsVal_int(obj1, &val2);
17399 if (!SWIG_IsOK(ecode2)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17401 }
17402 arg2 = static_cast< int >(val2);
17403 }
17404 if (obj2) {
d55e5bfc 17405 {
554f62e9
RD
17406 arg3 = wxString_in_helper(obj2);
17407 if (arg3 == NULL) SWIG_fail;
17408 temp3 = true;
d55e5bfc 17409 }
554f62e9
RD
17410 }
17411 if (obj3) {
d55e5bfc 17412 {
554f62e9
RD
17413 arg4 = &temp4;
17414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17415 }
554f62e9
RD
17416 }
17417 if (obj4) {
d55e5bfc 17418 {
554f62e9
RD
17419 arg5 = &temp5;
17420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17421 }
554f62e9
RD
17422 }
17423 if (obj5) {
17424 ecode6 = SWIG_AsVal_long(obj5, &val6);
17425 if (!SWIG_IsOK(ecode6)) {
17426 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17427 }
17428 arg6 = static_cast< long >(val6);
17429 }
17430 if (obj6) {
17431 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17432 if (!SWIG_IsOK(res7)) {
17433 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17434 }
554f62e9
RD
17435 if (!argp7) {
17436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17437 }
554f62e9
RD
17438 arg7 = reinterpret_cast< wxValidator * >(argp7);
17439 }
17440 if (obj7) {
d55e5bfc 17441 {
554f62e9
RD
17442 arg8 = wxString_in_helper(obj7);
17443 if (arg8 == NULL) SWIG_fail;
17444 temp8 = true;
d55e5bfc 17445 }
554f62e9
RD
17446 }
17447 {
17448 if (!wxPyCheckForApp()) SWIG_fail;
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17455 {
17456 if (temp3)
17457 delete arg3;
17458 }
17459 {
17460 if (temp8)
17461 delete arg8;
17462 }
17463 return resultobj;
17464fail:
17465 {
17466 if (temp3)
17467 delete arg3;
17468 }
17469 {
17470 if (temp8)
17471 delete arg8;
17472 }
17473 return NULL;
d55e5bfc
RD
17474}
17475
17476
554f62e9
RD
17477SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17478 PyObject *resultobj = 0;
17479 wxRadioButton *result = 0 ;
17480
17481 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17482 {
17483 if (!wxPyCheckForApp()) SWIG_fail;
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (wxRadioButton *)new wxRadioButton();
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17490 return resultobj;
17491fail:
17492 return NULL;
17493}
17494
17495
17496SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj = 0;
17498 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17499 wxWindow *arg2 = (wxWindow *) 0 ;
17500 int arg3 = (int) -1 ;
17501 wxString const &arg4_defvalue = wxPyEmptyString ;
17502 wxString *arg4 = (wxString *) &arg4_defvalue ;
17503 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17504 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17505 wxSize const &arg6_defvalue = wxDefaultSize ;
17506 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17507 long arg7 = (long) 0 ;
17508 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17509 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17510 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17511 wxString *arg9 = (wxString *) &arg9_defvalue ;
17512 bool result;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 void *argp2 = 0 ;
17516 int res2 = 0 ;
17517 int val3 ;
17518 int ecode3 = 0 ;
17519 bool temp4 = false ;
17520 wxPoint temp5 ;
17521 wxSize temp6 ;
17522 long val7 ;
17523 int ecode7 = 0 ;
17524 void *argp8 = 0 ;
17525 int res8 = 0 ;
17526 bool temp9 = false ;
17527 PyObject * obj0 = 0 ;
17528 PyObject * obj1 = 0 ;
17529 PyObject * obj2 = 0 ;
17530 PyObject * obj3 = 0 ;
17531 PyObject * obj4 = 0 ;
17532 PyObject * obj5 = 0 ;
17533 PyObject * obj6 = 0 ;
17534 PyObject * obj7 = 0 ;
17535 PyObject * obj8 = 0 ;
17536 char * kwnames[] = {
17537 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17538 };
17539
17540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17542 if (!SWIG_IsOK(res1)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17544 }
17545 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17546 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17547 if (!SWIG_IsOK(res2)) {
17548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17549 }
17550 arg2 = reinterpret_cast< wxWindow * >(argp2);
17551 if (obj2) {
17552 ecode3 = SWIG_AsVal_int(obj2, &val3);
17553 if (!SWIG_IsOK(ecode3)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17555 }
17556 arg3 = static_cast< int >(val3);
17557 }
17558 if (obj3) {
d55e5bfc 17559 {
554f62e9
RD
17560 arg4 = wxString_in_helper(obj3);
17561 if (arg4 == NULL) SWIG_fail;
17562 temp4 = true;
d55e5bfc 17563 }
554f62e9
RD
17564 }
17565 if (obj4) {
d55e5bfc 17566 {
554f62e9
RD
17567 arg5 = &temp5;
17568 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17569 }
554f62e9
RD
17570 }
17571 if (obj5) {
d55e5bfc 17572 {
554f62e9
RD
17573 arg6 = &temp6;
17574 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17575 }
554f62e9
RD
17576 }
17577 if (obj6) {
17578 ecode7 = SWIG_AsVal_long(obj6, &val7);
17579 if (!SWIG_IsOK(ecode7)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17581 }
17582 arg7 = static_cast< long >(val7);
17583 }
17584 if (obj7) {
17585 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17586 if (!SWIG_IsOK(res8)) {
17587 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17588 }
17589 if (!argp8) {
17590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17591 }
554f62e9
RD
17592 arg8 = reinterpret_cast< wxValidator * >(argp8);
17593 }
17594 if (obj8) {
d55e5bfc 17595 {
554f62e9
RD
17596 arg9 = wxString_in_helper(obj8);
17597 if (arg9 == NULL) SWIG_fail;
17598 temp9 = true;
d55e5bfc 17599 }
554f62e9
RD
17600 }
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
17608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17609 }
17610 {
17611 if (temp4)
17612 delete arg4;
17613 }
17614 {
17615 if (temp9)
17616 delete arg9;
17617 }
17618 return resultobj;
17619fail:
17620 {
17621 if (temp4)
17622 delete arg4;
17623 }
17624 {
17625 if (temp9)
17626 delete arg9;
17627 }
17628 return NULL;
d55e5bfc
RD
17629}
17630
17631
554f62e9
RD
17632SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17633 PyObject *resultobj = 0;
17634 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17635 bool result;
17636 void *argp1 = 0 ;
17637 int res1 = 0 ;
17638 PyObject *swig_obj[1] ;
17639
17640 if (!args) SWIG_fail;
17641 swig_obj[0] = args;
17642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17643 if (!SWIG_IsOK(res1)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17645 }
17646 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (bool)(arg1)->GetValue();
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 {
17654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17655 }
17656 return resultobj;
17657fail:
17658 return NULL;
17659}
17660
17661
17662SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj = 0;
17664 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17665 bool arg2 ;
17666 void *argp1 = 0 ;
17667 int res1 = 0 ;
17668 bool val2 ;
17669 int ecode2 = 0 ;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 char * kwnames[] = {
17673 (char *) "self",(char *) "value", NULL
17674 };
17675
17676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17678 if (!SWIG_IsOK(res1)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17680 }
17681 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17683 if (!SWIG_IsOK(ecode2)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17685 }
17686 arg2 = static_cast< bool >(val2);
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 (arg1)->SetValue(arg2);
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 resultobj = SWIG_Py_Void();
17694 return resultobj;
17695fail:
17696 return NULL;
17697}
17698
17699
17700SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj = 0;
17702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17703 SwigValueWrapper<wxVisualAttributes > result;
17704 int val1 ;
17705 int ecode1 = 0 ;
17706 PyObject * obj0 = 0 ;
17707 char * kwnames[] = {
17708 (char *) "variant", NULL
17709 };
17710
17711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17712 if (obj0) {
17713 ecode1 = SWIG_AsVal_int(obj0, &val1);
17714 if (!SWIG_IsOK(ecode1)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17716 }
17717 arg1 = static_cast< wxWindowVariant >(val1);
17718 }
17719 {
17720 if (!wxPyCheckForApp()) SWIG_fail;
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17727 return resultobj;
17728fail:
17729 return NULL;
d55e5bfc
RD
17730}
17731
17732
554f62e9
RD
17733SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17734 PyObject *obj;
17735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17736 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17737 return SWIG_Py_Void();
d55e5bfc
RD
17738}
17739
554f62e9
RD
17740SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17741 return SWIG_Python_InitShadowInstance(args);
17742}
d55e5bfc 17743
554f62e9
RD
17744SWIGINTERN int SliderNameStr_set(PyObject *) {
17745 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17746 return 1;
d55e5bfc
RD
17747}
17748
17749
554f62e9
RD
17750SWIGINTERN PyObject *SliderNameStr_get(void) {
17751 PyObject *pyobj = 0;
17752
17753 {
17754#if wxUSE_UNICODE
17755 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17756#else
17757 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17758#endif
17759 }
17760 return pyobj;
17761}
17762
17763
17764SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj = 0;
17766 wxWindow *arg1 = (wxWindow *) 0 ;
17767 int arg2 = (int) -1 ;
17768 int arg3 = (int) 0 ;
17769 int arg4 = (int) 0 ;
17770 int arg5 = (int) 100 ;
17771 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17772 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17773 wxSize const &arg7_defvalue = wxDefaultSize ;
17774 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17775 long arg8 = (long) wxSL_HORIZONTAL ;
17776 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17777 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17778 wxString const &arg10_defvalue = wxPySliderNameStr ;
17779 wxString *arg10 = (wxString *) &arg10_defvalue ;
17780 wxSlider *result = 0 ;
17781 void *argp1 = 0 ;
17782 int res1 = 0 ;
17783 int val2 ;
17784 int ecode2 = 0 ;
17785 int val3 ;
17786 int ecode3 = 0 ;
17787 int val4 ;
17788 int ecode4 = 0 ;
17789 int val5 ;
17790 int ecode5 = 0 ;
17791 wxPoint temp6 ;
17792 wxSize temp7 ;
17793 long val8 ;
17794 int ecode8 = 0 ;
17795 void *argp9 = 0 ;
17796 int res9 = 0 ;
17797 bool temp10 = false ;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 PyObject * obj2 = 0 ;
17801 PyObject * obj3 = 0 ;
17802 PyObject * obj4 = 0 ;
17803 PyObject * obj5 = 0 ;
17804 PyObject * obj6 = 0 ;
17805 PyObject * obj7 = 0 ;
17806 PyObject * obj8 = 0 ;
17807 PyObject * obj9 = 0 ;
17808 char * kwnames[] = {
17809 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17810 };
17811
17812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17814 if (!SWIG_IsOK(res1)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17816 }
17817 arg1 = reinterpret_cast< wxWindow * >(argp1);
17818 if (obj1) {
17819 ecode2 = SWIG_AsVal_int(obj1, &val2);
17820 if (!SWIG_IsOK(ecode2)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17822 }
17823 arg2 = static_cast< int >(val2);
17824 }
17825 if (obj2) {
17826 ecode3 = SWIG_AsVal_int(obj2, &val3);
17827 if (!SWIG_IsOK(ecode3)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17829 }
17830 arg3 = static_cast< int >(val3);
17831 }
17832 if (obj3) {
17833 ecode4 = SWIG_AsVal_int(obj3, &val4);
17834 if (!SWIG_IsOK(ecode4)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17836 }
17837 arg4 = static_cast< int >(val4);
17838 }
17839 if (obj4) {
17840 ecode5 = SWIG_AsVal_int(obj4, &val5);
17841 if (!SWIG_IsOK(ecode5)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17843 }
17844 arg5 = static_cast< int >(val5);
17845 }
17846 if (obj5) {
d55e5bfc 17847 {
554f62e9
RD
17848 arg6 = &temp6;
17849 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17850 }
554f62e9
RD
17851 }
17852 if (obj6) {
093d3ff1 17853 {
554f62e9
RD
17854 arg7 = &temp7;
17855 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17856 }
554f62e9
RD
17857 }
17858 if (obj7) {
17859 ecode8 = SWIG_AsVal_long(obj7, &val8);
17860 if (!SWIG_IsOK(ecode8)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17862 }
17863 arg8 = static_cast< long >(val8);
17864 }
17865 if (obj8) {
17866 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17867 if (!SWIG_IsOK(res9)) {
17868 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17869 }
554f62e9
RD
17870 if (!argp9) {
17871 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17872 }
554f62e9
RD
17873 arg9 = reinterpret_cast< wxValidator * >(argp9);
17874 }
17875 if (obj9) {
d55e5bfc 17876 {
554f62e9
RD
17877 arg10 = wxString_in_helper(obj9);
17878 if (arg10 == NULL) SWIG_fail;
17879 temp10 = true;
d55e5bfc 17880 }
554f62e9
RD
17881 }
17882 {
17883 if (!wxPyCheckForApp()) SWIG_fail;
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17890 {
17891 if (temp10)
17892 delete arg10;
17893 }
17894 return resultobj;
17895fail:
17896 {
17897 if (temp10)
17898 delete arg10;
17899 }
17900 return NULL;
d55e5bfc
RD
17901}
17902
17903
554f62e9
RD
17904SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17905 PyObject *resultobj = 0;
17906 wxSlider *result = 0 ;
17907
17908 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17909 {
17910 if (!wxPyCheckForApp()) SWIG_fail;
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (wxSlider *)new wxSlider();
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17917 return resultobj;
17918fail:
17919 return NULL;
17920}
17921
17922
17923SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj = 0;
17925 wxSlider *arg1 = (wxSlider *) 0 ;
17926 wxWindow *arg2 = (wxWindow *) 0 ;
17927 int arg3 = (int) -1 ;
17928 int arg4 = (int) 0 ;
17929 int arg5 = (int) 0 ;
17930 int arg6 = (int) 100 ;
17931 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17932 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17933 wxSize const &arg8_defvalue = wxDefaultSize ;
17934 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17935 long arg9 = (long) wxSL_HORIZONTAL ;
17936 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17937 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17938 wxString const &arg11_defvalue = wxPySliderNameStr ;
17939 wxString *arg11 = (wxString *) &arg11_defvalue ;
17940 bool result;
17941 void *argp1 = 0 ;
17942 int res1 = 0 ;
17943 void *argp2 = 0 ;
17944 int res2 = 0 ;
17945 int val3 ;
17946 int ecode3 = 0 ;
17947 int val4 ;
17948 int ecode4 = 0 ;
17949 int val5 ;
17950 int ecode5 = 0 ;
17951 int val6 ;
17952 int ecode6 = 0 ;
17953 wxPoint temp7 ;
17954 wxSize temp8 ;
17955 long val9 ;
17956 int ecode9 = 0 ;
17957 void *argp10 = 0 ;
17958 int res10 = 0 ;
17959 bool temp11 = false ;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 PyObject * obj2 = 0 ;
17963 PyObject * obj3 = 0 ;
17964 PyObject * obj4 = 0 ;
17965 PyObject * obj5 = 0 ;
17966 PyObject * obj6 = 0 ;
17967 PyObject * obj7 = 0 ;
17968 PyObject * obj8 = 0 ;
17969 PyObject * obj9 = 0 ;
17970 PyObject * obj10 = 0 ;
17971 char * kwnames[] = {
17972 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17973 };
17974
17975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17977 if (!SWIG_IsOK(res1)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17979 }
17980 arg1 = reinterpret_cast< wxSlider * >(argp1);
17981 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17982 if (!SWIG_IsOK(res2)) {
17983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17984 }
17985 arg2 = reinterpret_cast< wxWindow * >(argp2);
17986 if (obj2) {
17987 ecode3 = SWIG_AsVal_int(obj2, &val3);
17988 if (!SWIG_IsOK(ecode3)) {
17989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17990 }
17991 arg3 = static_cast< int >(val3);
17992 }
17993 if (obj3) {
17994 ecode4 = SWIG_AsVal_int(obj3, &val4);
17995 if (!SWIG_IsOK(ecode4)) {
17996 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17997 }
17998 arg4 = static_cast< int >(val4);
17999 }
18000 if (obj4) {
18001 ecode5 = SWIG_AsVal_int(obj4, &val5);
18002 if (!SWIG_IsOK(ecode5)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18004 }
18005 arg5 = static_cast< int >(val5);
18006 }
18007 if (obj5) {
18008 ecode6 = SWIG_AsVal_int(obj5, &val6);
18009 if (!SWIG_IsOK(ecode6)) {
18010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18011 }
18012 arg6 = static_cast< int >(val6);
18013 }
18014 if (obj6) {
d55e5bfc 18015 {
554f62e9
RD
18016 arg7 = &temp7;
18017 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 18018 }
554f62e9
RD
18019 }
18020 if (obj7) {
093d3ff1 18021 {
554f62e9
RD
18022 arg8 = &temp8;
18023 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18024 }
18025 }
18026 if (obj8) {
18027 ecode9 = SWIG_AsVal_long(obj8, &val9);
18028 if (!SWIG_IsOK(ecode9)) {
18029 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18030 }
18031 arg9 = static_cast< long >(val9);
18032 }
18033 if (obj9) {
18034 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18035 if (!SWIG_IsOK(res10)) {
18036 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 18037 }
554f62e9
RD
18038 if (!argp10) {
18039 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18040 }
18041 arg10 = reinterpret_cast< wxValidator * >(argp10);
18042 }
18043 if (obj10) {
d55e5bfc 18044 {
554f62e9
RD
18045 arg11 = wxString_in_helper(obj10);
18046 if (arg11 == NULL) SWIG_fail;
18047 temp11 = true;
d55e5bfc 18048 }
554f62e9
RD
18049 }
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18058 }
18059 {
18060 if (temp11)
18061 delete arg11;
18062 }
18063 return resultobj;
18064fail:
18065 {
18066 if (temp11)
18067 delete arg11;
18068 }
18069 return NULL;
d55e5bfc
RD
18070}
18071
18072
554f62e9
RD
18073SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18074 PyObject *resultobj = 0;
18075 wxSlider *arg1 = (wxSlider *) 0 ;
18076 int result;
18077 void *argp1 = 0 ;
18078 int res1 = 0 ;
18079 PyObject *swig_obj[1] ;
18080
18081 if (!args) SWIG_fail;
18082 swig_obj[0] = args;
18083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18084 if (!SWIG_IsOK(res1)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18086 }
18087 arg1 = reinterpret_cast< wxSlider * >(argp1);
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (int)((wxSlider const *)arg1)->GetValue();
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = SWIG_From_int(static_cast< int >(result));
18095 return resultobj;
18096fail:
18097 return NULL;
18098}
18099
18100
18101SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj = 0;
18103 wxSlider *arg1 = (wxSlider *) 0 ;
18104 int arg2 ;
18105 void *argp1 = 0 ;
18106 int res1 = 0 ;
18107 int val2 ;
18108 int ecode2 = 0 ;
18109 PyObject * obj0 = 0 ;
18110 PyObject * obj1 = 0 ;
18111 char * kwnames[] = {
18112 (char *) "self",(char *) "value", NULL
18113 };
18114
18115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18117 if (!SWIG_IsOK(res1)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18119 }
18120 arg1 = reinterpret_cast< wxSlider * >(argp1);
18121 ecode2 = SWIG_AsVal_int(obj1, &val2);
18122 if (!SWIG_IsOK(ecode2)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18124 }
18125 arg2 = static_cast< int >(val2);
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 (arg1)->SetValue(arg2);
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 resultobj = SWIG_Py_Void();
18133 return resultobj;
18134fail:
18135 return NULL;
18136}
18137
18138
18139SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj = 0;
18141 wxSlider *arg1 = (wxSlider *) 0 ;
18142 int arg2 ;
18143 int arg3 ;
18144 void *argp1 = 0 ;
18145 int res1 = 0 ;
18146 int val2 ;
18147 int ecode2 = 0 ;
18148 int val3 ;
18149 int ecode3 = 0 ;
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152 PyObject * obj2 = 0 ;
18153 char * kwnames[] = {
18154 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18155 };
18156
18157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18159 if (!SWIG_IsOK(res1)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18161 }
18162 arg1 = reinterpret_cast< wxSlider * >(argp1);
18163 ecode2 = SWIG_AsVal_int(obj1, &val2);
18164 if (!SWIG_IsOK(ecode2)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18166 }
18167 arg2 = static_cast< int >(val2);
18168 ecode3 = SWIG_AsVal_int(obj2, &val3);
18169 if (!SWIG_IsOK(ecode3)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18171 }
18172 arg3 = static_cast< int >(val3);
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 (arg1)->SetRange(arg2,arg3);
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 resultobj = SWIG_Py_Void();
18180 return resultobj;
18181fail:
18182 return NULL;
d55e5bfc
RD
18183}
18184
18185
554f62e9
RD
18186SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18187 PyObject *resultobj = 0;
18188 wxSlider *arg1 = (wxSlider *) 0 ;
18189 int result;
18190 void *argp1 = 0 ;
18191 int res1 = 0 ;
18192 PyObject *swig_obj[1] ;
18193
18194 if (!args) SWIG_fail;
18195 swig_obj[0] = args;
18196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18197 if (!SWIG_IsOK(res1)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18199 }
18200 arg1 = reinterpret_cast< wxSlider * >(argp1);
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (int)((wxSlider const *)arg1)->GetMin();
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 resultobj = SWIG_From_int(static_cast< int >(result));
18208 return resultobj;
18209fail:
18210 return NULL;
d55e5bfc
RD
18211}
18212
18213
554f62e9
RD
18214SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18215 PyObject *resultobj = 0;
18216 wxSlider *arg1 = (wxSlider *) 0 ;
18217 int result;
18218 void *argp1 = 0 ;
18219 int res1 = 0 ;
18220 PyObject *swig_obj[1] ;
18221
18222 if (!args) SWIG_fail;
18223 swig_obj[0] = args;
18224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18225 if (!SWIG_IsOK(res1)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18227 }
18228 arg1 = reinterpret_cast< wxSlider * >(argp1);
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (int)((wxSlider const *)arg1)->GetMax();
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 resultobj = SWIG_From_int(static_cast< int >(result));
18236 return resultobj;
18237fail:
18238 return NULL;
18239}
18240
18241
18242SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj = 0;
18244 wxSlider *arg1 = (wxSlider *) 0 ;
18245 int arg2 ;
18246 void *argp1 = 0 ;
18247 int res1 = 0 ;
18248 int val2 ;
18249 int ecode2 = 0 ;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char * kwnames[] = {
18253 (char *) "self",(char *) "minValue", NULL
18254 };
18255
18256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18258 if (!SWIG_IsOK(res1)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18260 }
18261 arg1 = reinterpret_cast< wxSlider * >(argp1);
18262 ecode2 = SWIG_AsVal_int(obj1, &val2);
18263 if (!SWIG_IsOK(ecode2)) {
18264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18265 }
18266 arg2 = static_cast< int >(val2);
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->SetMin(arg2);
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 resultobj = SWIG_Py_Void();
18274 return resultobj;
18275fail:
18276 return NULL;
18277}
18278
18279
18280SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj = 0;
18282 wxSlider *arg1 = (wxSlider *) 0 ;
18283 int arg2 ;
18284 void *argp1 = 0 ;
18285 int res1 = 0 ;
18286 int val2 ;
18287 int ecode2 = 0 ;
18288 PyObject * obj0 = 0 ;
18289 PyObject * obj1 = 0 ;
18290 char * kwnames[] = {
18291 (char *) "self",(char *) "maxValue", NULL
18292 };
18293
18294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18296 if (!SWIG_IsOK(res1)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18298 }
18299 arg1 = reinterpret_cast< wxSlider * >(argp1);
18300 ecode2 = SWIG_AsVal_int(obj1, &val2);
18301 if (!SWIG_IsOK(ecode2)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18303 }
18304 arg2 = static_cast< int >(val2);
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 (arg1)->SetMax(arg2);
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 resultobj = SWIG_Py_Void();
18312 return resultobj;
18313fail:
18314 return NULL;
18315}
18316
18317
18318SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj = 0;
18320 wxSlider *arg1 = (wxSlider *) 0 ;
18321 int arg2 ;
18322 void *argp1 = 0 ;
18323 int res1 = 0 ;
18324 int val2 ;
18325 int ecode2 = 0 ;
18326 PyObject * obj0 = 0 ;
18327 PyObject * obj1 = 0 ;
18328 char * kwnames[] = {
18329 (char *) "self",(char *) "lineSize", NULL
18330 };
18331
18332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18334 if (!SWIG_IsOK(res1)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18336 }
18337 arg1 = reinterpret_cast< wxSlider * >(argp1);
18338 ecode2 = SWIG_AsVal_int(obj1, &val2);
18339 if (!SWIG_IsOK(ecode2)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18341 }
18342 arg2 = static_cast< int >(val2);
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 (arg1)->SetLineSize(arg2);
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = SWIG_Py_Void();
18350 return resultobj;
18351fail:
18352 return NULL;
18353}
18354
18355
18356SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj = 0;
18358 wxSlider *arg1 = (wxSlider *) 0 ;
18359 int arg2 ;
18360 void *argp1 = 0 ;
18361 int res1 = 0 ;
18362 int val2 ;
18363 int ecode2 = 0 ;
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366 char * kwnames[] = {
18367 (char *) "self",(char *) "pageSize", NULL
18368 };
18369
18370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18372 if (!SWIG_IsOK(res1)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18374 }
18375 arg1 = reinterpret_cast< wxSlider * >(argp1);
18376 ecode2 = SWIG_AsVal_int(obj1, &val2);
18377 if (!SWIG_IsOK(ecode2)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18379 }
18380 arg2 = static_cast< int >(val2);
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->SetPageSize(arg2);
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 resultobj = SWIG_Py_Void();
18388 return resultobj;
18389fail:
18390 return NULL;
d55e5bfc
RD
18391}
18392
18393
554f62e9
RD
18394SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18395 PyObject *resultobj = 0;
18396 wxSlider *arg1 = (wxSlider *) 0 ;
18397 int result;
18398 void *argp1 = 0 ;
18399 int res1 = 0 ;
18400 PyObject *swig_obj[1] ;
18401
18402 if (!args) SWIG_fail;
18403 swig_obj[0] = args;
18404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18405 if (!SWIG_IsOK(res1)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18407 }
18408 arg1 = reinterpret_cast< wxSlider * >(argp1);
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (int)((wxSlider const *)arg1)->GetLineSize();
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 resultobj = SWIG_From_int(static_cast< int >(result));
18416 return resultobj;
18417fail:
18418 return NULL;
d55e5bfc
RD
18419}
18420
18421
554f62e9
RD
18422SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18423 PyObject *resultobj = 0;
18424 wxSlider *arg1 = (wxSlider *) 0 ;
18425 int result;
18426 void *argp1 = 0 ;
18427 int res1 = 0 ;
18428 PyObject *swig_obj[1] ;
18429
18430 if (!args) SWIG_fail;
18431 swig_obj[0] = args;
18432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18433 if (!SWIG_IsOK(res1)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18435 }
18436 arg1 = reinterpret_cast< wxSlider * >(argp1);
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (int)((wxSlider const *)arg1)->GetPageSize();
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 resultobj = SWIG_From_int(static_cast< int >(result));
18444 return resultobj;
18445fail:
18446 return NULL;
18447}
18448
18449
18450SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj = 0;
18452 wxSlider *arg1 = (wxSlider *) 0 ;
18453 int arg2 ;
18454 void *argp1 = 0 ;
18455 int res1 = 0 ;
18456 int val2 ;
18457 int ecode2 = 0 ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 char * kwnames[] = {
18461 (char *) "self",(char *) "lenPixels", NULL
18462 };
18463
18464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18466 if (!SWIG_IsOK(res1)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18468 }
18469 arg1 = reinterpret_cast< wxSlider * >(argp1);
18470 ecode2 = SWIG_AsVal_int(obj1, &val2);
18471 if (!SWIG_IsOK(ecode2)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18473 }
18474 arg2 = static_cast< int >(val2);
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->SetThumbLength(arg2);
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 resultobj = SWIG_Py_Void();
18482 return resultobj;
18483fail:
18484 return NULL;
f20a2e1f
RD
18485}
18486
18487
554f62e9
RD
18488SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18489 PyObject *resultobj = 0;
18490 wxSlider *arg1 = (wxSlider *) 0 ;
18491 int result;
18492 void *argp1 = 0 ;
18493 int res1 = 0 ;
18494 PyObject *swig_obj[1] ;
18495
18496 if (!args) SWIG_fail;
18497 swig_obj[0] = args;
18498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18499 if (!SWIG_IsOK(res1)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18501 }
18502 arg1 = reinterpret_cast< wxSlider * >(argp1);
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 resultobj = SWIG_From_int(static_cast< int >(result));
18510 return resultobj;
18511fail:
18512 return NULL;
18513}
18514
18515
18516SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj = 0;
18518 wxSlider *arg1 = (wxSlider *) 0 ;
18519 int arg2 ;
18520 int arg3 = (int) 1 ;
18521 void *argp1 = 0 ;
18522 int res1 = 0 ;
18523 int val2 ;
18524 int ecode2 = 0 ;
18525 int val3 ;
18526 int ecode3 = 0 ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 PyObject * obj2 = 0 ;
18530 char * kwnames[] = {
18531 (char *) "self",(char *) "n",(char *) "pos", NULL
18532 };
18533
18534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) 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_SetTickFreq" "', 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_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18543 }
18544 arg2 = static_cast< int >(val2);
18545 if (obj2) {
18546 ecode3 = SWIG_AsVal_int(obj2, &val3);
18547 if (!SWIG_IsOK(ecode3)) {
18548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18549 }
18550 arg3 = static_cast< int >(val3);
18551 }
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
18554 (arg1)->SetTickFreq(arg2,arg3);
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 resultobj = SWIG_Py_Void();
18559 return resultobj;
18560fail:
18561 return NULL;
d55e5bfc
RD
18562}
18563
18564
554f62e9
RD
18565SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18566 PyObject *resultobj = 0;
18567 wxSlider *arg1 = (wxSlider *) 0 ;
18568 int result;
18569 void *argp1 = 0 ;
18570 int res1 = 0 ;
18571 PyObject *swig_obj[1] ;
18572
18573 if (!args) SWIG_fail;
18574 swig_obj[0] = args;
18575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18576 if (!SWIG_IsOK(res1)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18578 }
18579 arg1 = reinterpret_cast< wxSlider * >(argp1);
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_From_int(static_cast< int >(result));
18587 return resultobj;
18588fail:
18589 return NULL;
d55e5bfc
RD
18590}
18591
18592
554f62e9
RD
18593SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18594 PyObject *resultobj = 0;
18595 wxSlider *arg1 = (wxSlider *) 0 ;
18596 void *argp1 = 0 ;
18597 int res1 = 0 ;
18598 PyObject *swig_obj[1] ;
18599
18600 if (!args) SWIG_fail;
18601 swig_obj[0] = args;
18602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18603 if (!SWIG_IsOK(res1)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18605 }
18606 arg1 = reinterpret_cast< wxSlider * >(argp1);
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 (arg1)->ClearTicks();
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 resultobj = SWIG_Py_Void();
18614 return resultobj;
18615fail:
18616 return NULL;
18617}
18618
18619
18620SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj = 0;
18622 wxSlider *arg1 = (wxSlider *) 0 ;
18623 int arg2 ;
18624 void *argp1 = 0 ;
18625 int res1 = 0 ;
18626 int val2 ;
18627 int ecode2 = 0 ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 char * kwnames[] = {
18631 (char *) "self",(char *) "tickPos", NULL
18632 };
18633
18634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18636 if (!SWIG_IsOK(res1)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18638 }
18639 arg1 = reinterpret_cast< wxSlider * >(argp1);
18640 ecode2 = SWIG_AsVal_int(obj1, &val2);
18641 if (!SWIG_IsOK(ecode2)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18643 }
18644 arg2 = static_cast< int >(val2);
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 (arg1)->SetTick(arg2);
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 resultobj = SWIG_Py_Void();
18652 return resultobj;
18653fail:
18654 return NULL;
d55e5bfc
RD
18655}
18656
18657
554f62e9
RD
18658SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *resultobj = 0;
18660 wxSlider *arg1 = (wxSlider *) 0 ;
18661 void *argp1 = 0 ;
18662 int res1 = 0 ;
18663 PyObject *swig_obj[1] ;
18664
18665 if (!args) SWIG_fail;
18666 swig_obj[0] = args;
18667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18668 if (!SWIG_IsOK(res1)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18670 }
18671 arg1 = reinterpret_cast< wxSlider * >(argp1);
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->ClearSel();
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 resultobj = SWIG_Py_Void();
18679 return resultobj;
18680fail:
18681 return NULL;
d55e5bfc
RD
18682}
18683
18684
554f62e9
RD
18685SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18686 PyObject *resultobj = 0;
18687 wxSlider *arg1 = (wxSlider *) 0 ;
18688 int result;
18689 void *argp1 = 0 ;
18690 int res1 = 0 ;
18691 PyObject *swig_obj[1] ;
18692
18693 if (!args) SWIG_fail;
18694 swig_obj[0] = args;
18695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18696 if (!SWIG_IsOK(res1)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18698 }
18699 arg1 = reinterpret_cast< wxSlider * >(argp1);
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 resultobj = SWIG_From_int(static_cast< int >(result));
18707 return resultobj;
18708fail:
18709 return NULL;
d55e5bfc 18710}
554f62e9
RD
18711
18712
18713SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18714 PyObject *resultobj = 0;
18715 wxSlider *arg1 = (wxSlider *) 0 ;
18716 int result;
18717 void *argp1 = 0 ;
18718 int res1 = 0 ;
18719 PyObject *swig_obj[1] ;
18720
18721 if (!args) SWIG_fail;
18722 swig_obj[0] = args;
18723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18724 if (!SWIG_IsOK(res1)) {
18725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18726 }
18727 arg1 = reinterpret_cast< wxSlider * >(argp1);
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (int)((wxSlider const *)arg1)->GetSelStart();
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 resultobj = SWIG_From_int(static_cast< int >(result));
18735 return resultobj;
18736fail:
18737 return NULL;
18738}
18739
18740
18741SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj = 0;
18743 wxSlider *arg1 = (wxSlider *) 0 ;
18744 int arg2 ;
18745 int arg3 ;
18746 void *argp1 = 0 ;
18747 int res1 = 0 ;
18748 int val2 ;
18749 int ecode2 = 0 ;
18750 int val3 ;
18751 int ecode3 = 0 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 PyObject * obj2 = 0 ;
18755 char * kwnames[] = {
18756 (char *) "self",(char *) "min",(char *) "max", NULL
18757 };
18758
18759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18761 if (!SWIG_IsOK(res1)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18763 }
18764 arg1 = reinterpret_cast< wxSlider * >(argp1);
18765 ecode2 = SWIG_AsVal_int(obj1, &val2);
18766 if (!SWIG_IsOK(ecode2)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18768 }
18769 arg2 = static_cast< int >(val2);
18770 ecode3 = SWIG_AsVal_int(obj2, &val3);
18771 if (!SWIG_IsOK(ecode3)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18773 }
18774 arg3 = static_cast< int >(val3);
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 (arg1)->SetSelection(arg2,arg3);
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 resultobj = SWIG_Py_Void();
18782 return resultobj;
18783fail:
18784 return NULL;
18785}
18786
18787
18788SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj = 0;
18790 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18791 SwigValueWrapper<wxVisualAttributes > result;
18792 int val1 ;
18793 int ecode1 = 0 ;
18794 PyObject * obj0 = 0 ;
18795 char * kwnames[] = {
18796 (char *) "variant", NULL
18797 };
18798
18799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18800 if (obj0) {
18801 ecode1 = SWIG_AsVal_int(obj0, &val1);
18802 if (!SWIG_IsOK(ecode1)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18804 }
18805 arg1 = static_cast< wxWindowVariant >(val1);
18806 }
18807 {
18808 if (!wxPyCheckForApp()) SWIG_fail;
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = wxSlider::GetClassDefaultAttributes(arg1);
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18815 return resultobj;
18816fail:
18817 return NULL;
d55e5bfc
RD
18818}
18819
18820
554f62e9
RD
18821SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18822 PyObject *obj;
18823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18825 return SWIG_Py_Void();
d55e5bfc
RD
18826}
18827
554f62e9
RD
18828SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18829 return SWIG_Python_InitShadowInstance(args);
18830}
d55e5bfc 18831
554f62e9
RD
18832SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18833 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18834 return 1;
d55e5bfc
RD
18835}
18836
18837
554f62e9
RD
18838SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18839 PyObject *pyobj = 0;
18840
18841 {
18842#if wxUSE_UNICODE
18843 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18844#else
18845 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18846#endif
18847 }
18848 return pyobj;
18849}
18850
18851
18852SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj = 0;
18854 wxWindow *arg1 = (wxWindow *) 0 ;
18855 int arg2 = (int) -1 ;
18856 wxString const &arg3_defvalue = wxPyEmptyString ;
18857 wxString *arg3 = (wxString *) &arg3_defvalue ;
18858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18860 wxSize const &arg5_defvalue = wxDefaultSize ;
18861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18862 long arg6 = (long) 0 ;
18863 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18864 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18865 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18866 wxString *arg8 = (wxString *) &arg8_defvalue ;
18867 wxToggleButton *result = 0 ;
18868 void *argp1 = 0 ;
18869 int res1 = 0 ;
18870 int val2 ;
18871 int ecode2 = 0 ;
18872 bool temp3 = false ;
18873 wxPoint temp4 ;
18874 wxSize temp5 ;
18875 long val6 ;
18876 int ecode6 = 0 ;
18877 void *argp7 = 0 ;
18878 int res7 = 0 ;
18879 bool temp8 = false ;
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 PyObject * obj2 = 0 ;
18883 PyObject * obj3 = 0 ;
18884 PyObject * obj4 = 0 ;
18885 PyObject * obj5 = 0 ;
18886 PyObject * obj6 = 0 ;
18887 PyObject * obj7 = 0 ;
18888 char * kwnames[] = {
18889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18890 };
18891
18892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18894 if (!SWIG_IsOK(res1)) {
18895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18896 }
18897 arg1 = reinterpret_cast< wxWindow * >(argp1);
18898 if (obj1) {
18899 ecode2 = SWIG_AsVal_int(obj1, &val2);
18900 if (!SWIG_IsOK(ecode2)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18902 }
18903 arg2 = static_cast< int >(val2);
18904 }
18905 if (obj2) {
d55e5bfc 18906 {
554f62e9
RD
18907 arg3 = wxString_in_helper(obj2);
18908 if (arg3 == NULL) SWIG_fail;
18909 temp3 = true;
d55e5bfc 18910 }
554f62e9
RD
18911 }
18912 if (obj3) {
d55e5bfc 18913 {
554f62e9
RD
18914 arg4 = &temp4;
18915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 18916 }
554f62e9
RD
18917 }
18918 if (obj4) {
d55e5bfc 18919 {
554f62e9
RD
18920 arg5 = &temp5;
18921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18922 }
554f62e9
RD
18923 }
18924 if (obj5) {
18925 ecode6 = SWIG_AsVal_long(obj5, &val6);
18926 if (!SWIG_IsOK(ecode6)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18928 }
18929 arg6 = static_cast< long >(val6);
18930 }
18931 if (obj6) {
18932 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18933 if (!SWIG_IsOK(res7)) {
18934 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18935 }
554f62e9
RD
18936 if (!argp7) {
18937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18938 }
554f62e9
RD
18939 arg7 = reinterpret_cast< wxValidator * >(argp7);
18940 }
18941 if (obj7) {
093d3ff1 18942 {
554f62e9
RD
18943 arg8 = wxString_in_helper(obj7);
18944 if (arg8 == NULL) SWIG_fail;
18945 temp8 = true;
093d3ff1 18946 }
554f62e9
RD
18947 }
18948 {
18949 if (!wxPyCheckForApp()) SWIG_fail;
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18956 {
18957 if (temp3)
18958 delete arg3;
18959 }
18960 {
18961 if (temp8)
18962 delete arg8;
18963 }
18964 return resultobj;
18965fail:
18966 {
18967 if (temp3)
18968 delete arg3;
18969 }
18970 {
18971 if (temp8)
18972 delete arg8;
18973 }
18974 return NULL;
d55e5bfc
RD
18975}
18976
18977
554f62e9
RD
18978SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18979 PyObject *resultobj = 0;
18980 wxToggleButton *result = 0 ;
18981
18982 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18983 {
18984 if (!wxPyCheckForApp()) SWIG_fail;
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (wxToggleButton *)new wxToggleButton();
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18991 return resultobj;
18992fail:
18993 return NULL;
18994}
18995
18996
18997SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj = 0;
18999 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19000 wxWindow *arg2 = (wxWindow *) 0 ;
19001 int arg3 = (int) -1 ;
19002 wxString const &arg4_defvalue = wxPyEmptyString ;
19003 wxString *arg4 = (wxString *) &arg4_defvalue ;
19004 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19005 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19006 wxSize const &arg6_defvalue = wxDefaultSize ;
19007 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19008 long arg7 = (long) 0 ;
19009 wxValidator const &arg8_defvalue = wxDefaultValidator ;
19010 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19011 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
19012 wxString *arg9 = (wxString *) &arg9_defvalue ;
19013 bool result;
19014 void *argp1 = 0 ;
19015 int res1 = 0 ;
19016 void *argp2 = 0 ;
19017 int res2 = 0 ;
19018 int val3 ;
19019 int ecode3 = 0 ;
19020 bool temp4 = false ;
19021 wxPoint temp5 ;
19022 wxSize temp6 ;
19023 long val7 ;
19024 int ecode7 = 0 ;
19025 void *argp8 = 0 ;
19026 int res8 = 0 ;
19027 bool temp9 = false ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 PyObject * obj2 = 0 ;
19031 PyObject * obj3 = 0 ;
19032 PyObject * obj4 = 0 ;
19033 PyObject * obj5 = 0 ;
19034 PyObject * obj6 = 0 ;
19035 PyObject * obj7 = 0 ;
19036 PyObject * obj8 = 0 ;
19037 char * kwnames[] = {
19038 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19039 };
19040
19041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19043 if (!SWIG_IsOK(res1)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19045 }
19046 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19047 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19048 if (!SWIG_IsOK(res2)) {
19049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19050 }
19051 arg2 = reinterpret_cast< wxWindow * >(argp2);
19052 if (obj2) {
19053 ecode3 = SWIG_AsVal_int(obj2, &val3);
19054 if (!SWIG_IsOK(ecode3)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19056 }
19057 arg3 = static_cast< int >(val3);
19058 }
19059 if (obj3) {
d55e5bfc 19060 {
554f62e9
RD
19061 arg4 = wxString_in_helper(obj3);
19062 if (arg4 == NULL) SWIG_fail;
19063 temp4 = true;
d55e5bfc 19064 }
554f62e9
RD
19065 }
19066 if (obj4) {
093d3ff1 19067 {
554f62e9
RD
19068 arg5 = &temp5;
19069 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 19070 }
554f62e9
RD
19071 }
19072 if (obj5) {
d55e5bfc 19073 {
554f62e9
RD
19074 arg6 = &temp6;
19075 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 19076 }
554f62e9
RD
19077 }
19078 if (obj6) {
19079 ecode7 = SWIG_AsVal_long(obj6, &val7);
19080 if (!SWIG_IsOK(ecode7)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19082 }
19083 arg7 = static_cast< long >(val7);
19084 }
19085 if (obj7) {
19086 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19087 if (!SWIG_IsOK(res8)) {
19088 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 19089 }
554f62e9
RD
19090 if (!argp8) {
19091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 19092 }
554f62e9
RD
19093 arg8 = reinterpret_cast< wxValidator * >(argp8);
19094 }
19095 if (obj8) {
093d3ff1 19096 {
554f62e9
RD
19097 arg9 = wxString_in_helper(obj8);
19098 if (arg9 == NULL) SWIG_fail;
19099 temp9 = true;
093d3ff1 19100 }
554f62e9
RD
19101 }
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 {
19109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19110 }
19111 {
19112 if (temp4)
19113 delete arg4;
19114 }
19115 {
19116 if (temp9)
19117 delete arg9;
19118 }
19119 return resultobj;
19120fail:
19121 {
19122 if (temp4)
19123 delete arg4;
19124 }
19125 {
19126 if (temp9)
19127 delete arg9;
19128 }
19129 return NULL;
19130}
19131
19132
19133SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj = 0;
19135 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19136 bool arg2 ;
19137 void *argp1 = 0 ;
19138 int res1 = 0 ;
19139 bool val2 ;
19140 int ecode2 = 0 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char * kwnames[] = {
19144 (char *) "self",(char *) "value", NULL
19145 };
19146
19147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19149 if (!SWIG_IsOK(res1)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19151 }
19152 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19154 if (!SWIG_IsOK(ecode2)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19156 }
19157 arg2 = static_cast< bool >(val2);
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetValue(arg2);
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 resultobj = SWIG_Py_Void();
19165 return resultobj;
19166fail:
19167 return NULL;
d55e5bfc
RD
19168}
19169
19170
554f62e9
RD
19171SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19172 PyObject *resultobj = 0;
19173 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19174 bool result;
19175 void *argp1 = 0 ;
19176 int res1 = 0 ;
19177 PyObject *swig_obj[1] ;
19178
19179 if (!args) SWIG_fail;
19180 swig_obj[0] = args;
19181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19182 if (!SWIG_IsOK(res1)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19184 }
19185 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 {
19193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19194 }
19195 return resultobj;
19196fail:
19197 return NULL;
d55e5bfc
RD
19198}
19199
19200
554f62e9
RD
19201SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj = 0;
19203 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19204 SwigValueWrapper<wxVisualAttributes > result;
19205 int val1 ;
19206 int ecode1 = 0 ;
19207 PyObject * obj0 = 0 ;
19208 char * kwnames[] = {
19209 (char *) "variant", NULL
19210 };
19211
19212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19213 if (obj0) {
19214 ecode1 = SWIG_AsVal_int(obj0, &val1);
19215 if (!SWIG_IsOK(ecode1)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19217 }
19218 arg1 = static_cast< wxWindowVariant >(val1);
19219 }
19220 {
19221 if (!wxPyCheckForApp()) SWIG_fail;
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19228 return resultobj;
19229fail:
19230 return NULL;
d55e5bfc
RD
19231}
19232
19233
554f62e9
RD
19234SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19235 PyObject *obj;
19236 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19237 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19238 return SWIG_Py_Void();
d55e5bfc
RD
19239}
19240
554f62e9
RD
19241SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19242 return SWIG_Python_InitShadowInstance(args);
f20a2e1f
RD
19243}
19244
554f62e9
RD
19245SWIGINTERN int NotebookNameStr_set(PyObject *) {
19246 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19247 return 1;
d55e5bfc
RD
19248}
19249
19250
554f62e9
RD
19251SWIGINTERN PyObject *NotebookNameStr_get(void) {
19252 PyObject *pyobj = 0;
19253
19254 {
d55e5bfc 19255#if wxUSE_UNICODE
554f62e9 19256 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19257#else
554f62e9 19258 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19259#endif
554f62e9
RD
19260 }
19261 return pyobj;
d55e5bfc
RD
19262}
19263
19264
554f62e9
RD
19265SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19266 PyObject *resultobj = 0;
19267 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19268 size_t result;
19269 void *argp1 = 0 ;
19270 int res1 = 0 ;
19271 PyObject *swig_obj[1] ;
19272
19273 if (!args) SWIG_fail;
19274 swig_obj[0] = args;
19275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19276 if (!SWIG_IsOK(res1)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19278 }
19279 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19287 return resultobj;
19288fail:
19289 return NULL;
19290}
19291
19292
19293SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj = 0;
19295 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19296 size_t arg2 ;
19297 wxWindow *result = 0 ;
19298 void *argp1 = 0 ;
19299 int res1 = 0 ;
19300 size_t val2 ;
19301 int ecode2 = 0 ;
19302 PyObject * obj0 = 0 ;
19303 PyObject * obj1 = 0 ;
19304 char * kwnames[] = {
19305 (char *) "self",(char *) "n", NULL
19306 };
19307
19308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19310 if (!SWIG_IsOK(res1)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19312 }
19313 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19314 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19315 if (!SWIG_IsOK(ecode2)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19317 }
19318 arg2 = static_cast< size_t >(val2);
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 result = (wxWindow *)(arg1)->GetPage(arg2);
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 {
19326 resultobj = wxPyMake_wxObject(result, 0);
19327 }
19328 return resultobj;
19329fail:
19330 return NULL;
d55e5bfc
RD
19331}
19332
19333
554f62e9
RD
19334SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19335 PyObject *resultobj = 0;
19336 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19337 wxWindow *result = 0 ;
19338 void *argp1 = 0 ;
19339 int res1 = 0 ;
19340 PyObject *swig_obj[1] ;
19341
19342 if (!args) SWIG_fail;
19343 swig_obj[0] = args;
19344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19345 if (!SWIG_IsOK(res1)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19347 }
19348 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 {
19356 resultobj = wxPyMake_wxObject(result, 0);
19357 }
19358 return resultobj;
19359fail:
19360 return NULL;
d55e5bfc
RD
19361}
19362
19363
554f62e9
RD
19364SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19365 PyObject *resultobj = 0;
19366 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19367 int result;
19368 void *argp1 = 0 ;
19369 int res1 = 0 ;
19370 PyObject *swig_obj[1] ;
19371
19372 if (!args) SWIG_fail;
19373 swig_obj[0] = args;
19374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19375 if (!SWIG_IsOK(res1)) {
19376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19377 }
19378 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_From_int(static_cast< int >(result));
19386 return resultobj;
19387fail:
19388 return NULL;
19389}
19390
19391
19392SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj = 0;
19394 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19395 size_t arg2 ;
19396 wxString *arg3 = 0 ;
19397 bool result;
19398 void *argp1 = 0 ;
19399 int res1 = 0 ;
19400 size_t val2 ;
19401 int ecode2 = 0 ;
19402 bool temp3 = false ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 PyObject * obj2 = 0 ;
19406 char * kwnames[] = {
19407 (char *) "self",(char *) "n",(char *) "strText", NULL
19408 };
19409
19410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19412 if (!SWIG_IsOK(res1)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19414 }
19415 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19416 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19417 if (!SWIG_IsOK(ecode2)) {
19418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19419 }
19420 arg2 = static_cast< size_t >(val2);
19421 {
19422 arg3 = wxString_in_helper(obj2);
19423 if (arg3 == NULL) SWIG_fail;
19424 temp3 = true;
19425 }
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 {
19433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19434 }
19435 {
19436 if (temp3)
19437 delete arg3;
19438 }
19439 return resultobj;
19440fail:
19441 {
19442 if (temp3)
19443 delete arg3;
19444 }
19445 return NULL;
19446}
19447
19448
19449SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19450 PyObject *resultobj = 0;
19451 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19452 size_t arg2 ;
19453 wxString result;
19454 void *argp1 = 0 ;
19455 int res1 = 0 ;
19456 size_t val2 ;
19457 int ecode2 = 0 ;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 char * kwnames[] = {
19461 (char *) "self",(char *) "n", NULL
19462 };
19463
19464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19466 if (!SWIG_IsOK(res1)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19468 }
19469 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19470 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19471 if (!SWIG_IsOK(ecode2)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19473 }
19474 arg2 = static_cast< size_t >(val2);
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 {
19482#if wxUSE_UNICODE
19483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19484#else
19485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19486#endif
19487 }
19488 return resultobj;
19489fail:
19490 return NULL;
19491}
19492
19493
19494SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj = 0;
19496 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19497 wxImageList *arg2 = (wxImageList *) 0 ;
19498 void *argp1 = 0 ;
19499 int res1 = 0 ;
19500 void *argp2 = 0 ;
19501 int res2 = 0 ;
19502 PyObject * obj0 = 0 ;
19503 PyObject * obj1 = 0 ;
19504 char * kwnames[] = {
19505 (char *) "self",(char *) "imageList", NULL
19506 };
19507
19508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19510 if (!SWIG_IsOK(res1)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19512 }
19513 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19515 if (!SWIG_IsOK(res2)) {
19516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19517 }
19518 arg2 = reinterpret_cast< wxImageList * >(argp2);
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 (arg1)->SetImageList(arg2);
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 resultobj = SWIG_Py_Void();
19526 return resultobj;
19527fail:
19528 return NULL;
19529}
19530
19531
19532SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj = 0;
19534 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19535 wxImageList *arg2 = (wxImageList *) 0 ;
19536 void *argp1 = 0 ;
19537 int res1 = 0 ;
19538 int res2 = 0 ;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char * kwnames[] = {
19542 (char *) "self",(char *) "imageList", NULL
19543 };
19544
19545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19547 if (!SWIG_IsOK(res1)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19549 }
19550 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19551 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19552 if (!SWIG_IsOK(res2)) {
19553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19554 }
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 (arg1)->AssignImageList(arg2);
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_Py_Void();
19562 return resultobj;
19563fail:
19564 return NULL;
d55e5bfc
RD
19565}
19566
19567
554f62e9
RD
19568SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19569 PyObject *resultobj = 0;
19570 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19571 wxImageList *result = 0 ;
19572 void *argp1 = 0 ;
19573 int res1 = 0 ;
19574 PyObject *swig_obj[1] ;
19575
19576 if (!args) SWIG_fail;
19577 swig_obj[0] = args;
19578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19579 if (!SWIG_IsOK(res1)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19581 }
19582 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
3ecece7e
RD
19589 {
19590 resultobj = wxPyMake_wxObject(result, (bool)0);
19591 }
554f62e9
RD
19592 return resultobj;
19593fail:
19594 return NULL;
19595}
19596
19597
19598SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj = 0;
19600 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19601 size_t arg2 ;
19602 int result;
19603 void *argp1 = 0 ;
19604 int res1 = 0 ;
19605 size_t val2 ;
19606 int ecode2 = 0 ;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 char * kwnames[] = {
19610 (char *) "self",(char *) "n", NULL
19611 };
19612
19613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19615 if (!SWIG_IsOK(res1)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19617 }
19618 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19619 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19620 if (!SWIG_IsOK(ecode2)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19622 }
19623 arg2 = static_cast< size_t >(val2);
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_From_int(static_cast< int >(result));
19631 return resultobj;
19632fail:
19633 return NULL;
19634}
19635
19636
19637SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj = 0;
19639 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19640 size_t arg2 ;
19641 int arg3 ;
19642 bool result;
19643 void *argp1 = 0 ;
19644 int res1 = 0 ;
19645 size_t val2 ;
19646 int ecode2 = 0 ;
19647 int val3 ;
19648 int ecode3 = 0 ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 PyObject * obj2 = 0 ;
19652 char * kwnames[] = {
19653 (char *) "self",(char *) "n",(char *) "imageId", NULL
19654 };
19655
19656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19658 if (!SWIG_IsOK(res1)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19660 }
19661 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19662 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19663 if (!SWIG_IsOK(ecode2)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19665 }
19666 arg2 = static_cast< size_t >(val2);
19667 ecode3 = SWIG_AsVal_int(obj2, &val3);
19668 if (!SWIG_IsOK(ecode3)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19670 }
19671 arg3 = static_cast< int >(val3);
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 {
19679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19680 }
19681 return resultobj;
19682fail:
19683 return NULL;
19684}
19685
19686
19687SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj = 0;
19689 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19690 wxSize *arg2 = 0 ;
19691 void *argp1 = 0 ;
19692 int res1 = 0 ;
19693 wxSize temp2 ;
19694 PyObject * obj0 = 0 ;
19695 PyObject * obj1 = 0 ;
19696 char * kwnames[] = {
19697 (char *) "self",(char *) "size", NULL
19698 };
19699
19700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19702 if (!SWIG_IsOK(res1)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 }
19705 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19706 {
19707 arg2 = &temp2;
19708 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19709 }
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 (arg1)->SetPageSize((wxSize const &)*arg2);
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 resultobj = SWIG_Py_Void();
19717 return resultobj;
19718fail:
19719 return NULL;
19720}
19721
19722
19723SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj = 0;
19725 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19726 wxSize *arg2 = 0 ;
19727 wxSize result;
19728 void *argp1 = 0 ;
19729 int res1 = 0 ;
19730 wxSize temp2 ;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 char * kwnames[] = {
19734 (char *) "self",(char *) "sizePage", NULL
19735 };
19736
19737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19739 if (!SWIG_IsOK(res1)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19741 }
19742 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19743 {
19744 arg2 = &temp2;
19745 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19746 }
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19754 return resultobj;
19755fail:
19756 return NULL;
d55e5bfc
RD
19757}
19758
19759
554f62e9
RD
19760SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19761 PyObject *resultobj = 0;
19762 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19763 unsigned int result;
554f62e9
RD
19764 void *argp1 = 0 ;
19765 int res1 = 0 ;
19766 PyObject *swig_obj[1] ;
19767
19768 if (!args) SWIG_fail;
19769 swig_obj[0] = args;
19770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19771 if (!SWIG_IsOK(res1)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19773 }
19774 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19777 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
554f62e9
RD
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
e9d6f3a4 19781 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
19782 return resultobj;
19783fail:
19784 return NULL;
19785}
19786
19787
19788SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj = 0;
19790 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19791 unsigned int arg2 ;
554f62e9
RD
19792 void *argp1 = 0 ;
19793 int res1 = 0 ;
e9d6f3a4 19794 unsigned int val2 ;
554f62e9
RD
19795 int ecode2 = 0 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char * kwnames[] = {
19799 (char *) "self",(char *) "internalBorder", NULL
19800 };
19801
19802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19804 if (!SWIG_IsOK(res1)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19806 }
19807 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19808 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 19809 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 19811 }
e9d6f3a4 19812 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->SetInternalBorder(arg2);
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 resultobj = SWIG_Py_Void();
19820 return resultobj;
19821fail:
19822 return NULL;
d55e5bfc
RD
19823}
19824
19825
554f62e9
RD
19826SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19827 PyObject *resultobj = 0;
19828 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19829 bool result;
19830 void *argp1 = 0 ;
19831 int res1 = 0 ;
19832 PyObject *swig_obj[1] ;
19833
19834 if (!args) SWIG_fail;
19835 swig_obj[0] = args;
19836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19837 if (!SWIG_IsOK(res1)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19839 }
19840 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 {
19848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19849 }
19850 return resultobj;
19851fail:
19852 return NULL;
19853}
19854
19855
e9d6f3a4
RD
19856SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj = 0;
19858 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19859 int arg2 ;
19860 void *argp1 = 0 ;
19861 int res1 = 0 ;
19862 int val2 ;
19863 int ecode2 = 0 ;
19864 PyObject * obj0 = 0 ;
19865 PyObject * obj1 = 0 ;
19866 char * kwnames[] = {
19867 (char *) "self",(char *) "margin", NULL
19868 };
19869
19870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19872 if (!SWIG_IsOK(res1)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19874 }
19875 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19876 ecode2 = SWIG_AsVal_int(obj1, &val2);
19877 if (!SWIG_IsOK(ecode2)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19879 }
19880 arg2 = static_cast< int >(val2);
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 (arg1)->SetControlMargin(arg2);
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 resultobj = SWIG_Py_Void();
19888 return resultobj;
19889fail:
19890 return NULL;
19891}
19892
19893
19894SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19895 PyObject *resultobj = 0;
19896 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19897 int result;
19898 void *argp1 = 0 ;
19899 int res1 = 0 ;
19900 PyObject *swig_obj[1] ;
19901
19902 if (!args) SWIG_fail;
19903 swig_obj[0] = args;
19904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19905 if (!SWIG_IsOK(res1)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19907 }
19908 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19912 wxPyEndAllowThreads(__tstate);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 resultobj = SWIG_From_int(static_cast< int >(result));
19916 return resultobj;
19917fail:
19918 return NULL;
19919}
19920
19921
554f62e9
RD
19922SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj = 0;
19924 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19925 bool arg2 ;
19926 void *argp1 = 0 ;
19927 int res1 = 0 ;
19928 bool val2 ;
19929 int ecode2 = 0 ;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char * kwnames[] = {
19933 (char *) "self",(char *) "fit", NULL
19934 };
19935
19936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19938 if (!SWIG_IsOK(res1)) {
19939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19940 }
19941 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19942 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19943 if (!SWIG_IsOK(ecode2)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19945 }
19946 arg2 = static_cast< bool >(val2);
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->SetFitToCurrentPage(arg2);
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_Py_Void();
19954 return resultobj;
19955fail:
19956 return NULL;
d55e5bfc
RD
19957}
19958
19959
554f62e9
RD
19960SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19961 PyObject *resultobj = 0;
19962 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19963 bool result;
19964 void *argp1 = 0 ;
19965 int res1 = 0 ;
19966 PyObject *swig_obj[1] ;
19967
19968 if (!args) SWIG_fail;
19969 swig_obj[0] = args;
19970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19971 if (!SWIG_IsOK(res1)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19973 }
19974 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 {
19982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19983 }
19984 return resultobj;
19985fail:
19986 return NULL;
19987}
19988
19989
e9d6f3a4
RD
19990SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19991 PyObject *resultobj = 0;
19992 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19993 wxSizer *result = 0 ;
19994 void *argp1 = 0 ;
19995 int res1 = 0 ;
19996 PyObject *swig_obj[1] ;
19997
19998 if (!args) SWIG_fail;
19999 swig_obj[0] = args;
20000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20001 if (!SWIG_IsOK(res1)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20003 }
20004 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 {
20012 resultobj = wxPyMake_wxObject(result, (bool)0);
20013 }
20014 return resultobj;
20015fail:
20016 return NULL;
20017}
20018
20019
554f62e9
RD
20020SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj = 0;
20022 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20023 size_t arg2 ;
20024 bool result;
20025 void *argp1 = 0 ;
20026 int res1 = 0 ;
20027 size_t val2 ;
20028 int ecode2 = 0 ;
20029 PyObject * obj0 = 0 ;
20030 PyObject * obj1 = 0 ;
20031 char * kwnames[] = {
20032 (char *) "self",(char *) "n", NULL
20033 };
20034
20035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20037 if (!SWIG_IsOK(res1)) {
20038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20039 }
20040 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20041 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20042 if (!SWIG_IsOK(ecode2)) {
20043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20044 }
20045 arg2 = static_cast< size_t >(val2);
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->DeletePage(arg2);
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 {
20053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20054 }
20055 return resultobj;
20056fail:
20057 return NULL;
20058}
20059
20060
20061SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj = 0;
20063 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20064 size_t arg2 ;
20065 bool result;
20066 void *argp1 = 0 ;
20067 int res1 = 0 ;
20068 size_t val2 ;
20069 int ecode2 = 0 ;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072 char * kwnames[] = {
20073 (char *) "self",(char *) "n", NULL
20074 };
20075
20076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20078 if (!SWIG_IsOK(res1)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20080 }
20081 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20082 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20083 if (!SWIG_IsOK(ecode2)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20085 }
20086 arg2 = static_cast< size_t >(val2);
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (bool)(arg1)->RemovePage(arg2);
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 {
20094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20095 }
20096 return resultobj;
20097fail:
20098 return NULL;
d55e5bfc
RD
20099}
20100
20101
554f62e9
RD
20102SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20103 PyObject *resultobj = 0;
20104 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20105 bool result;
20106 void *argp1 = 0 ;
20107 int res1 = 0 ;
20108 PyObject *swig_obj[1] ;
20109
20110 if (!args) SWIG_fail;
20111 swig_obj[0] = args;
20112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20113 if (!SWIG_IsOK(res1)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20115 }
20116 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 result = (bool)(arg1)->DeleteAllPages();
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 {
20124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20125 }
20126 return resultobj;
20127fail:
20128 return NULL;
20129}
20130
20131
20132SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj = 0;
20134 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20135 wxWindow *arg2 = (wxWindow *) 0 ;
20136 wxString *arg3 = 0 ;
20137 bool arg4 = (bool) false ;
20138 int arg5 = (int) -1 ;
20139 bool result;
20140 void *argp1 = 0 ;
20141 int res1 = 0 ;
20142 void *argp2 = 0 ;
20143 int res2 = 0 ;
20144 bool temp3 = false ;
20145 bool val4 ;
20146 int ecode4 = 0 ;
20147 int val5 ;
20148 int ecode5 = 0 ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 PyObject * obj2 = 0 ;
20152 PyObject * obj3 = 0 ;
20153 PyObject * obj4 = 0 ;
20154 char * kwnames[] = {
20155 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20156 };
20157
20158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20160 if (!SWIG_IsOK(res1)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20162 }
20163 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20164 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20165 if (!SWIG_IsOK(res2)) {
20166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20167 }
20168 arg2 = reinterpret_cast< wxWindow * >(argp2);
20169 {
20170 arg3 = wxString_in_helper(obj2);
20171 if (arg3 == NULL) SWIG_fail;
20172 temp3 = true;
20173 }
20174 if (obj3) {
20175 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20176 if (!SWIG_IsOK(ecode4)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20178 }
20179 arg4 = static_cast< bool >(val4);
20180 }
20181 if (obj4) {
20182 ecode5 = SWIG_AsVal_int(obj4, &val5);
20183 if (!SWIG_IsOK(ecode5)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20185 }
20186 arg5 = static_cast< int >(val5);
20187 }
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20196 }
20197 {
20198 if (temp3)
20199 delete arg3;
20200 }
20201 return resultobj;
20202fail:
20203 {
20204 if (temp3)
20205 delete arg3;
20206 }
20207 return NULL;
20208}
20209
20210
20211SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj = 0;
20213 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20214 size_t arg2 ;
20215 wxWindow *arg3 = (wxWindow *) 0 ;
20216 wxString *arg4 = 0 ;
20217 bool arg5 = (bool) false ;
20218 int arg6 = (int) -1 ;
20219 bool result;
20220 void *argp1 = 0 ;
20221 int res1 = 0 ;
20222 size_t val2 ;
20223 int ecode2 = 0 ;
20224 void *argp3 = 0 ;
20225 int res3 = 0 ;
20226 bool temp4 = false ;
20227 bool val5 ;
20228 int ecode5 = 0 ;
20229 int val6 ;
20230 int ecode6 = 0 ;
20231 PyObject * obj0 = 0 ;
20232 PyObject * obj1 = 0 ;
20233 PyObject * obj2 = 0 ;
20234 PyObject * obj3 = 0 ;
20235 PyObject * obj4 = 0 ;
20236 PyObject * obj5 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20245 }
20246 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20247 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20248 if (!SWIG_IsOK(ecode2)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20250 }
20251 arg2 = static_cast< size_t >(val2);
20252 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20253 if (!SWIG_IsOK(res3)) {
20254 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20255 }
20256 arg3 = reinterpret_cast< wxWindow * >(argp3);
20257 {
20258 arg4 = wxString_in_helper(obj3);
20259 if (arg4 == NULL) SWIG_fail;
20260 temp4 = true;
20261 }
20262 if (obj4) {
20263 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20264 if (!SWIG_IsOK(ecode5)) {
20265 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20266 }
20267 arg5 = static_cast< bool >(val5);
20268 }
20269 if (obj5) {
20270 ecode6 = SWIG_AsVal_int(obj5, &val6);
20271 if (!SWIG_IsOK(ecode6)) {
20272 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20273 }
20274 arg6 = static_cast< int >(val6);
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20284 }
20285 {
20286 if (temp4)
20287 delete arg4;
20288 }
20289 return resultobj;
20290fail:
20291 {
20292 if (temp4)
20293 delete arg4;
20294 }
20295 return NULL;
20296}
20297
20298
20299SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20300 PyObject *resultobj = 0;
20301 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20302 size_t arg2 ;
20303 int result;
20304 void *argp1 = 0 ;
20305 int res1 = 0 ;
20306 size_t val2 ;
20307 int ecode2 = 0 ;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 char * kwnames[] = {
20311 (char *) "self",(char *) "n", NULL
20312 };
20313
20314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20316 if (!SWIG_IsOK(res1)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20318 }
20319 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20320 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20321 if (!SWIG_IsOK(ecode2)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20323 }
20324 arg2 = static_cast< size_t >(val2);
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 result = (int)(arg1)->SetSelection(arg2);
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 resultobj = SWIG_From_int(static_cast< int >(result));
20332 return resultobj;
20333fail:
20334 return NULL;
20335}
20336
20337
b39fe951
RD
20338SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj = 0;
20340 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20341 size_t arg2 ;
20342 int result;
20343 void *argp1 = 0 ;
20344 int res1 = 0 ;
20345 size_t val2 ;
20346 int ecode2 = 0 ;
20347 PyObject * obj0 = 0 ;
20348 PyObject * obj1 = 0 ;
20349 char * kwnames[] = {
20350 (char *) "self",(char *) "n", NULL
20351 };
20352
20353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20355 if (!SWIG_IsOK(res1)) {
20356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20357 }
20358 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20359 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20360 if (!SWIG_IsOK(ecode2)) {
20361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20362 }
20363 arg2 = static_cast< size_t >(val2);
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (int)(arg1)->ChangeSelection(arg2);
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 resultobj = SWIG_From_int(static_cast< int >(result));
20371 return resultobj;
20372fail:
20373 return NULL;
20374}
20375
20376
554f62e9
RD
20377SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj = 0;
20379 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20380 bool arg2 = (bool) true ;
20381 void *argp1 = 0 ;
20382 int res1 = 0 ;
20383 bool val2 ;
20384 int ecode2 = 0 ;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 char * kwnames[] = {
20388 (char *) "self",(char *) "forward", NULL
20389 };
20390
20391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20393 if (!SWIG_IsOK(res1)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20395 }
20396 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20397 if (obj1) {
20398 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20399 if (!SWIG_IsOK(ecode2)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20401 }
20402 arg2 = static_cast< bool >(val2);
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 (arg1)->AdvanceSelection(arg2);
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 resultobj = SWIG_Py_Void();
20411 return resultobj;
20412fail:
20413 return NULL;
20414}
20415
20416
704eda0c
RD
20417SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj = 0;
20419 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20420 wxPoint *arg2 = 0 ;
20421 long *arg3 = (long *) 0 ;
20422 int result;
20423 void *argp1 = 0 ;
20424 int res1 = 0 ;
20425 wxPoint temp2 ;
20426 long temp3 ;
20427 int res3 = SWIG_TMPOBJ ;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char * kwnames[] = {
20431 (char *) "self",(char *) "pt", NULL
20432 };
20433
20434 arg3 = &temp3;
20435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20437 if (!SWIG_IsOK(res1)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20439 }
20440 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20441 {
20442 arg2 = &temp2;
20443 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20444 }
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 resultobj = SWIG_From_int(static_cast< int >(result));
20452 if (SWIG_IsTmpObj(res3)) {
20453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20454 } else {
20455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20457 }
20458 return resultobj;
20459fail:
20460 return NULL;
20461}
20462
20463
554f62e9
RD
20464SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj = 0;
20466 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20467 SwigValueWrapper<wxVisualAttributes > result;
20468 int val1 ;
20469 int ecode1 = 0 ;
20470 PyObject * obj0 = 0 ;
20471 char * kwnames[] = {
20472 (char *) "variant", NULL
20473 };
20474
20475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20476 if (obj0) {
20477 ecode1 = SWIG_AsVal_int(obj0, &val1);
20478 if (!SWIG_IsOK(ecode1)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20480 }
20481 arg1 = static_cast< wxWindowVariant >(val1);
20482 }
20483 {
20484 if (!wxPyCheckForApp()) SWIG_fail;
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20491 return resultobj;
20492fail:
20493 return NULL;
20494}
20495
20496
20497SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20498 PyObject *obj;
20499 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20500 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20501 return SWIG_Py_Void();
20502}
20503
20504SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj = 0;
20506 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20507 int arg2 = (int) 0 ;
20508 int arg3 = (int) -1 ;
20509 int arg4 = (int) -1 ;
20510 wxBookCtrlBaseEvent *result = 0 ;
20511 int val1 ;
20512 int ecode1 = 0 ;
20513 int val2 ;
20514 int ecode2 = 0 ;
20515 int val3 ;
20516 int ecode3 = 0 ;
20517 int val4 ;
20518 int ecode4 = 0 ;
20519 PyObject * obj0 = 0 ;
20520 PyObject * obj1 = 0 ;
20521 PyObject * obj2 = 0 ;
20522 PyObject * obj3 = 0 ;
20523 char * kwnames[] = {
20524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20525 };
20526
20527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20528 if (obj0) {
20529 ecode1 = SWIG_AsVal_int(obj0, &val1);
20530 if (!SWIG_IsOK(ecode1)) {
20531 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20532 }
20533 arg1 = static_cast< wxEventType >(val1);
20534 }
20535 if (obj1) {
20536 ecode2 = SWIG_AsVal_int(obj1, &val2);
20537 if (!SWIG_IsOK(ecode2)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20539 }
20540 arg2 = static_cast< int >(val2);
20541 }
20542 if (obj2) {
20543 ecode3 = SWIG_AsVal_int(obj2, &val3);
20544 if (!SWIG_IsOK(ecode3)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20546 }
20547 arg3 = static_cast< int >(val3);
20548 }
20549 if (obj3) {
20550 ecode4 = SWIG_AsVal_int(obj3, &val4);
20551 if (!SWIG_IsOK(ecode4)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20553 }
20554 arg4 = static_cast< int >(val4);
20555 }
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20563 return resultobj;
20564fail:
20565 return NULL;
d55e5bfc
RD
20566}
20567
20568
554f62e9
RD
20569SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20570 PyObject *resultobj = 0;
20571 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20572 int result;
20573 void *argp1 = 0 ;
20574 int res1 = 0 ;
20575 PyObject *swig_obj[1] ;
20576
20577 if (!args) SWIG_fail;
20578 swig_obj[0] = args;
20579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20580 if (!SWIG_IsOK(res1)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20582 }
20583 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 resultobj = SWIG_From_int(static_cast< int >(result));
20591 return resultobj;
20592fail:
20593 return NULL;
20594}
20595
20596
20597SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj = 0;
20599 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20600 int arg2 ;
20601 void *argp1 = 0 ;
20602 int res1 = 0 ;
20603 int val2 ;
20604 int ecode2 = 0 ;
20605 PyObject * obj0 = 0 ;
20606 PyObject * obj1 = 0 ;
20607 char * kwnames[] = {
20608 (char *) "self",(char *) "nSel", NULL
20609 };
20610
20611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20613 if (!SWIG_IsOK(res1)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20615 }
20616 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20617 ecode2 = SWIG_AsVal_int(obj1, &val2);
20618 if (!SWIG_IsOK(ecode2)) {
20619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20620 }
20621 arg2 = static_cast< int >(val2);
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->SetSelection(arg2);
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 resultobj = SWIG_Py_Void();
20629 return resultobj;
20630fail:
20631 return NULL;
d55e5bfc
RD
20632}
20633
20634
554f62e9
RD
20635SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 PyObject *resultobj = 0;
20637 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20638 int result;
20639 void *argp1 = 0 ;
20640 int res1 = 0 ;
20641 PyObject *swig_obj[1] ;
20642
20643 if (!args) SWIG_fail;
20644 swig_obj[0] = args;
20645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20646 if (!SWIG_IsOK(res1)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20648 }
20649 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_From_int(static_cast< int >(result));
20657 return resultobj;
20658fail:
20659 return NULL;
20660}
20661
20662
20663SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj = 0;
20665 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20666 int arg2 ;
20667 void *argp1 = 0 ;
20668 int res1 = 0 ;
20669 int val2 ;
20670 int ecode2 = 0 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char * kwnames[] = {
20674 (char *) "self",(char *) "nOldSel", NULL
20675 };
20676
20677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20679 if (!SWIG_IsOK(res1)) {
20680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20681 }
20682 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20683 ecode2 = SWIG_AsVal_int(obj1, &val2);
20684 if (!SWIG_IsOK(ecode2)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20686 }
20687 arg2 = static_cast< int >(val2);
20688 {
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 (arg1)->SetOldSelection(arg2);
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 resultobj = SWIG_Py_Void();
20695 return resultobj;
20696fail:
20697 return NULL;
20698}
20699
20700
20701SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20702 PyObject *obj;
20703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20704 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20705 return SWIG_Py_Void();
20706}
20707
20708SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20709 return SWIG_Python_InitShadowInstance(args);
20710}
20711
20712SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj = 0;
20714 wxWindow *arg1 = (wxWindow *) 0 ;
20715 int arg2 = (int) -1 ;
20716 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20717 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20718 wxSize const &arg4_defvalue = wxDefaultSize ;
20719 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20720 long arg5 = (long) 0 ;
20721 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20722 wxString *arg6 = (wxString *) &arg6_defvalue ;
20723 wxNotebook *result = 0 ;
20724 void *argp1 = 0 ;
20725 int res1 = 0 ;
20726 int val2 ;
20727 int ecode2 = 0 ;
20728 wxPoint temp3 ;
20729 wxSize temp4 ;
20730 long val5 ;
20731 int ecode5 = 0 ;
20732 bool temp6 = false ;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 PyObject * obj2 = 0 ;
20736 PyObject * obj3 = 0 ;
20737 PyObject * obj4 = 0 ;
20738 PyObject * obj5 = 0 ;
20739 char * kwnames[] = {
20740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20741 };
20742
20743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20745 if (!SWIG_IsOK(res1)) {
20746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20747 }
20748 arg1 = reinterpret_cast< wxWindow * >(argp1);
20749 if (obj1) {
20750 ecode2 = SWIG_AsVal_int(obj1, &val2);
20751 if (!SWIG_IsOK(ecode2)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20753 }
20754 arg2 = static_cast< int >(val2);
20755 }
20756 if (obj2) {
093d3ff1 20757 {
554f62e9
RD
20758 arg3 = &temp3;
20759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20760 }
554f62e9
RD
20761 }
20762 if (obj3) {
d55e5bfc 20763 {
554f62e9
RD
20764 arg4 = &temp4;
20765 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20766 }
554f62e9
RD
20767 }
20768 if (obj4) {
20769 ecode5 = SWIG_AsVal_long(obj4, &val5);
20770 if (!SWIG_IsOK(ecode5)) {
20771 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20772 }
20773 arg5 = static_cast< long >(val5);
20774 }
20775 if (obj5) {
20776 {
20777 arg6 = wxString_in_helper(obj5);
20778 if (arg6 == NULL) SWIG_fail;
20779 temp6 = true;
20780 }
20781 }
20782 {
20783 if (!wxPyCheckForApp()) SWIG_fail;
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20790 {
20791 if (temp6)
20792 delete arg6;
20793 }
20794 return resultobj;
20795fail:
20796 {
20797 if (temp6)
20798 delete arg6;
20799 }
20800 return NULL;
d55e5bfc
RD
20801}
20802
20803
554f62e9
RD
20804SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20805 PyObject *resultobj = 0;
20806 wxNotebook *result = 0 ;
20807
20808 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20809 {
20810 if (!wxPyCheckForApp()) SWIG_fail;
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (wxNotebook *)new wxNotebook();
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20817 return resultobj;
20818fail:
20819 return NULL;
20820}
20821
20822
20823SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj = 0;
20825 wxNotebook *arg1 = (wxNotebook *) 0 ;
20826 wxWindow *arg2 = (wxWindow *) 0 ;
20827 int arg3 = (int) -1 ;
20828 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20829 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20830 wxSize const &arg5_defvalue = wxDefaultSize ;
20831 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20832 long arg6 = (long) 0 ;
20833 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20834 wxString *arg7 = (wxString *) &arg7_defvalue ;
20835 bool result;
20836 void *argp1 = 0 ;
20837 int res1 = 0 ;
20838 void *argp2 = 0 ;
20839 int res2 = 0 ;
20840 int val3 ;
20841 int ecode3 = 0 ;
20842 wxPoint temp4 ;
20843 wxSize temp5 ;
20844 long val6 ;
20845 int ecode6 = 0 ;
20846 bool temp7 = false ;
20847 PyObject * obj0 = 0 ;
20848 PyObject * obj1 = 0 ;
20849 PyObject * obj2 = 0 ;
20850 PyObject * obj3 = 0 ;
20851 PyObject * obj4 = 0 ;
20852 PyObject * obj5 = 0 ;
20853 PyObject * obj6 = 0 ;
20854 char * kwnames[] = {
20855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20856 };
20857
20858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20860 if (!SWIG_IsOK(res1)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20862 }
20863 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20865 if (!SWIG_IsOK(res2)) {
20866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20867 }
20868 arg2 = reinterpret_cast< wxWindow * >(argp2);
20869 if (obj2) {
20870 ecode3 = SWIG_AsVal_int(obj2, &val3);
20871 if (!SWIG_IsOK(ecode3)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20873 }
20874 arg3 = static_cast< int >(val3);
20875 }
20876 if (obj3) {
093d3ff1 20877 {
554f62e9
RD
20878 arg4 = &temp4;
20879 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20880 }
554f62e9
RD
20881 }
20882 if (obj4) {
093d3ff1 20883 {
554f62e9
RD
20884 arg5 = &temp5;
20885 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 20886 }
554f62e9
RD
20887 }
20888 if (obj5) {
20889 ecode6 = SWIG_AsVal_long(obj5, &val6);
20890 if (!SWIG_IsOK(ecode6)) {
20891 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20892 }
20893 arg6 = static_cast< long >(val6);
20894 }
20895 if (obj6) {
d55e5bfc 20896 {
554f62e9
RD
20897 arg7 = wxString_in_helper(obj6);
20898 if (arg7 == NULL) SWIG_fail;
20899 temp7 = true;
d55e5bfc 20900 }
554f62e9
RD
20901 }
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 {
20909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20910 }
20911 {
20912 if (temp7)
20913 delete arg7;
20914 }
20915 return resultobj;
20916fail:
20917 {
20918 if (temp7)
20919 delete arg7;
20920 }
20921 return NULL;
f20a2e1f
RD
20922}
20923
20924
554f62e9
RD
20925SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20926 PyObject *resultobj = 0;
20927 wxNotebook *arg1 = (wxNotebook *) 0 ;
20928 int 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_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20938 }
20939 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 resultobj = SWIG_From_int(static_cast< int >(result));
20947 return resultobj;
20948fail:
20949 return NULL;
20950}
20951
20952
20953SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj = 0;
20955 wxNotebook *arg1 = (wxNotebook *) 0 ;
20956 wxSize *arg2 = 0 ;
20957 void *argp1 = 0 ;
20958 int res1 = 0 ;
20959 wxSize temp2 ;
20960 PyObject * obj0 = 0 ;
20961 PyObject * obj1 = 0 ;
20962 char * kwnames[] = {
20963 (char *) "self",(char *) "padding", NULL
20964 };
20965
20966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20968 if (!SWIG_IsOK(res1)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20970 }
20971 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20972 {
20973 arg2 = &temp2;
20974 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20975 }
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 (arg1)->SetPadding((wxSize const &)*arg2);
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = SWIG_Py_Void();
20983 return resultobj;
20984fail:
20985 return NULL;
20986}
20987
20988
20989SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj = 0;
20991 wxNotebook *arg1 = (wxNotebook *) 0 ;
20992 wxSize *arg2 = 0 ;
20993 void *argp1 = 0 ;
20994 int res1 = 0 ;
20995 wxSize temp2 ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 char * kwnames[] = {
20999 (char *) "self",(char *) "sz", NULL
21000 };
21001
21002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
21003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21004 if (!SWIG_IsOK(res1)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21006 }
21007 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21008 {
21009 arg2 = &temp2;
21010 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21011 }
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 (arg1)->SetTabSize((wxSize const &)*arg2);
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 resultobj = SWIG_Py_Void();
21019 return resultobj;
21020fail:
21021 return NULL;
21022}
21023
21024
554f62e9
RD
21025SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21026 PyObject *resultobj = 0;
21027 wxNotebook *arg1 = (wxNotebook *) 0 ;
21028 wxColour result;
21029 void *argp1 = 0 ;
21030 int res1 = 0 ;
21031 PyObject *swig_obj[1] ;
21032
21033 if (!args) SWIG_fail;
21034 swig_obj[0] = args;
21035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21036 if (!SWIG_IsOK(res1)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21038 }
21039 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21047 return resultobj;
21048fail:
21049 return NULL;
21050}
21051
21052
21053SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj = 0;
21055 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21056 SwigValueWrapper<wxVisualAttributes > result;
21057 int val1 ;
21058 int ecode1 = 0 ;
21059 PyObject * obj0 = 0 ;
21060 char * kwnames[] = {
21061 (char *) "variant", NULL
21062 };
21063
21064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21065 if (obj0) {
21066 ecode1 = SWIG_AsVal_int(obj0, &val1);
21067 if (!SWIG_IsOK(ecode1)) {
21068 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21069 }
21070 arg1 = static_cast< wxWindowVariant >(val1);
21071 }
21072 {
21073 if (!wxPyCheckForApp()) SWIG_fail;
21074 PyThreadState* __tstate = wxPyBeginAllowThreads();
21075 result = wxNotebook::GetClassDefaultAttributes(arg1);
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21080 return resultobj;
21081fail:
21082 return NULL;
21083}
21084
21085
b39fe951
RD
21086SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj = 0;
21088 wxNotebook *arg1 = (wxNotebook *) 0 ;
21089 int arg2 ;
21090 bool result;
21091 void *argp1 = 0 ;
21092 int res1 = 0 ;
21093 int val2 ;
21094 int ecode2 = 0 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 char * kwnames[] = {
21098 (char *) "self",(char *) "nPage", NULL
21099 };
21100
21101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21103 if (!SWIG_IsOK(res1)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21105 }
21106 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21107 ecode2 = SWIG_AsVal_int(obj1, &val2);
21108 if (!SWIG_IsOK(ecode2)) {
21109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21110 }
21111 arg2 = static_cast< int >(val2);
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 {
21119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21120 }
21121 return resultobj;
21122fail:
21123 return NULL;
21124}
21125
21126
21127SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj = 0;
21129 wxNotebook *arg1 = (wxNotebook *) 0 ;
21130 int arg2 ;
21131 int arg3 = (int) -1 ;
21132 void *argp1 = 0 ;
21133 int res1 = 0 ;
21134 int val2 ;
21135 int ecode2 = 0 ;
21136 int val3 ;
21137 int ecode3 = 0 ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 PyObject * obj2 = 0 ;
21141 char * kwnames[] = {
21142 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21143 };
21144
21145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21147 if (!SWIG_IsOK(res1)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21149 }
21150 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21151 ecode2 = SWIG_AsVal_int(obj1, &val2);
21152 if (!SWIG_IsOK(ecode2)) {
21153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21154 }
21155 arg2 = static_cast< int >(val2);
21156 if (obj2) {
21157 ecode3 = SWIG_AsVal_int(obj2, &val3);
21158 if (!SWIG_IsOK(ecode3)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21160 }
21161 arg3 = static_cast< int >(val3);
21162 }
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 (arg1)->SendPageChangedEvent(arg2,arg3);
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 resultobj = SWIG_Py_Void();
21170 return resultobj;
21171fail:
21172 return NULL;
21173}
21174
21175
554f62e9
RD
21176SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21177 PyObject *obj;
21178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21179 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21180 return SWIG_Py_Void();
21181}
21182
21183SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21184 return SWIG_Python_InitShadowInstance(args);
21185}
21186
21187SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21188 PyObject *resultobj = 0;
21189 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21190 int arg2 = (int) 0 ;
21191 int arg3 = (int) -1 ;
21192 int arg4 = (int) -1 ;
21193 wxNotebookEvent *result = 0 ;
21194 int val1 ;
21195 int ecode1 = 0 ;
21196 int val2 ;
21197 int ecode2 = 0 ;
21198 int val3 ;
21199 int ecode3 = 0 ;
21200 int val4 ;
21201 int ecode4 = 0 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 PyObject * obj2 = 0 ;
21205 PyObject * obj3 = 0 ;
21206 char * kwnames[] = {
21207 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21208 };
21209
21210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21211 if (obj0) {
21212 ecode1 = SWIG_AsVal_int(obj0, &val1);
21213 if (!SWIG_IsOK(ecode1)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21215 }
21216 arg1 = static_cast< wxEventType >(val1);
21217 }
21218 if (obj1) {
21219 ecode2 = SWIG_AsVal_int(obj1, &val2);
21220 if (!SWIG_IsOK(ecode2)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21222 }
21223 arg2 = static_cast< int >(val2);
21224 }
21225 if (obj2) {
21226 ecode3 = SWIG_AsVal_int(obj2, &val3);
21227 if (!SWIG_IsOK(ecode3)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21229 }
21230 arg3 = static_cast< int >(val3);
21231 }
21232 if (obj3) {
21233 ecode4 = SWIG_AsVal_int(obj3, &val4);
21234 if (!SWIG_IsOK(ecode4)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21236 }
21237 arg4 = static_cast< int >(val4);
21238 }
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21246 return resultobj;
21247fail:
21248 return NULL;
21249}
21250
21251
21252SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21253 PyObject *obj;
21254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21255 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21256 return SWIG_Py_Void();
21257}
21258
21259SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21260 return SWIG_Python_InitShadowInstance(args);
21261}
21262
21263SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj = 0;
21265 wxWindow *arg1 = (wxWindow *) 0 ;
21266 int arg2 = (int) -1 ;
21267 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21268 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21269 wxSize const &arg4_defvalue = wxDefaultSize ;
21270 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21271 long arg5 = (long) 0 ;
21272 wxString const &arg6_defvalue = wxPyEmptyString ;
21273 wxString *arg6 = (wxString *) &arg6_defvalue ;
21274 wxListbook *result = 0 ;
21275 void *argp1 = 0 ;
21276 int res1 = 0 ;
21277 int val2 ;
21278 int ecode2 = 0 ;
21279 wxPoint temp3 ;
21280 wxSize temp4 ;
21281 long val5 ;
21282 int ecode5 = 0 ;
21283 bool temp6 = false ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 PyObject * obj2 = 0 ;
21287 PyObject * obj3 = 0 ;
21288 PyObject * obj4 = 0 ;
21289 PyObject * obj5 = 0 ;
21290 char * kwnames[] = {
21291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21292 };
21293
21294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21296 if (!SWIG_IsOK(res1)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21298 }
21299 arg1 = reinterpret_cast< wxWindow * >(argp1);
21300 if (obj1) {
21301 ecode2 = SWIG_AsVal_int(obj1, &val2);
21302 if (!SWIG_IsOK(ecode2)) {
21303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21304 }
21305 arg2 = static_cast< int >(val2);
21306 }
21307 if (obj2) {
21308 {
21309 arg3 = &temp3;
21310 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 21311 }
554f62e9
RD
21312 }
21313 if (obj3) {
d55e5bfc 21314 {
554f62e9
RD
21315 arg4 = &temp4;
21316 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21317 }
554f62e9
RD
21318 }
21319 if (obj4) {
21320 ecode5 = SWIG_AsVal_long(obj4, &val5);
21321 if (!SWIG_IsOK(ecode5)) {
21322 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21323 }
21324 arg5 = static_cast< long >(val5);
21325 }
21326 if (obj5) {
d55e5bfc 21327 {
554f62e9
RD
21328 arg6 = wxString_in_helper(obj5);
21329 if (arg6 == NULL) SWIG_fail;
21330 temp6 = true;
d55e5bfc 21331 }
554f62e9
RD
21332 }
21333 {
21334 if (!wxPyCheckForApp()) SWIG_fail;
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21337 wxPyEndAllowThreads(__tstate);
21338 if (PyErr_Occurred()) SWIG_fail;
21339 }
21340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21341 {
21342 if (temp6)
21343 delete arg6;
21344 }
21345 return resultobj;
21346fail:
21347 {
21348 if (temp6)
21349 delete arg6;
21350 }
21351 return NULL;
d55e5bfc
RD
21352}
21353
21354
554f62e9
RD
21355SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21356 PyObject *resultobj = 0;
21357 wxListbook *result = 0 ;
21358
21359 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21360 {
21361 if (!wxPyCheckForApp()) SWIG_fail;
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (wxListbook *)new wxListbook();
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21368 return resultobj;
21369fail:
21370 return NULL;
21371}
21372
21373
21374SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj = 0;
21376 wxListbook *arg1 = (wxListbook *) 0 ;
21377 wxWindow *arg2 = (wxWindow *) 0 ;
21378 int arg3 = (int) -1 ;
21379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21381 wxSize const &arg5_defvalue = wxDefaultSize ;
21382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21383 long arg6 = (long) 0 ;
21384 wxString const &arg7_defvalue = wxPyEmptyString ;
21385 wxString *arg7 = (wxString *) &arg7_defvalue ;
21386 bool result;
21387 void *argp1 = 0 ;
21388 int res1 = 0 ;
21389 void *argp2 = 0 ;
21390 int res2 = 0 ;
21391 int val3 ;
21392 int ecode3 = 0 ;
21393 wxPoint temp4 ;
21394 wxSize temp5 ;
21395 long val6 ;
21396 int ecode6 = 0 ;
21397 bool temp7 = false ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 PyObject * obj2 = 0 ;
21401 PyObject * obj3 = 0 ;
21402 PyObject * obj4 = 0 ;
21403 PyObject * obj5 = 0 ;
21404 PyObject * obj6 = 0 ;
21405 char * kwnames[] = {
21406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21407 };
21408
21409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21411 if (!SWIG_IsOK(res1)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21413 }
21414 arg1 = reinterpret_cast< wxListbook * >(argp1);
21415 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21416 if (!SWIG_IsOK(res2)) {
21417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21418 }
21419 arg2 = reinterpret_cast< wxWindow * >(argp2);
21420 if (obj2) {
21421 ecode3 = SWIG_AsVal_int(obj2, &val3);
21422 if (!SWIG_IsOK(ecode3)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21424 }
21425 arg3 = static_cast< int >(val3);
21426 }
21427 if (obj3) {
d55e5bfc 21428 {
554f62e9
RD
21429 arg4 = &temp4;
21430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21431 }
554f62e9
RD
21432 }
21433 if (obj4) {
d55e5bfc 21434 {
554f62e9
RD
21435 arg5 = &temp5;
21436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21437 }
554f62e9
RD
21438 }
21439 if (obj5) {
21440 ecode6 = SWIG_AsVal_long(obj5, &val6);
21441 if (!SWIG_IsOK(ecode6)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21443 }
21444 arg6 = static_cast< long >(val6);
21445 }
21446 if (obj6) {
d55e5bfc 21447 {
554f62e9
RD
21448 arg7 = wxString_in_helper(obj6);
21449 if (arg7 == NULL) SWIG_fail;
21450 temp7 = true;
d55e5bfc 21451 }
554f62e9
RD
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21461 }
21462 {
21463 if (temp7)
21464 delete arg7;
21465 }
21466 return resultobj;
21467fail:
21468 {
21469 if (temp7)
21470 delete arg7;
21471 }
21472 return NULL;
d55e5bfc
RD
21473}
21474
21475
554f62e9
RD
21476SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21477 PyObject *resultobj = 0;
21478 wxListbook *arg1 = (wxListbook *) 0 ;
21479 wxListView *result = 0 ;
21480 void *argp1 = 0 ;
21481 int res1 = 0 ;
21482 PyObject *swig_obj[1] ;
21483
21484 if (!args) SWIG_fail;
21485 swig_obj[0] = args;
21486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21487 if (!SWIG_IsOK(res1)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21489 }
21490 arg1 = reinterpret_cast< wxListbook * >(argp1);
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 result = (wxListView *)(arg1)->GetListView();
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
21497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21498 return resultobj;
21499fail:
21500 return NULL;
21501}
21502
21503
21504SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21505 PyObject *obj;
21506 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21507 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21508 return SWIG_Py_Void();
21509}
21510
21511SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21512 return SWIG_Python_InitShadowInstance(args);
21513}
21514
21515SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj = 0;
21517 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21518 int arg2 = (int) 0 ;
21519 int arg3 = (int) -1 ;
21520 int arg4 = (int) -1 ;
21521 wxListbookEvent *result = 0 ;
21522 int val1 ;
21523 int ecode1 = 0 ;
21524 int val2 ;
21525 int ecode2 = 0 ;
21526 int val3 ;
21527 int ecode3 = 0 ;
21528 int val4 ;
21529 int ecode4 = 0 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 PyObject * obj2 = 0 ;
21533 PyObject * obj3 = 0 ;
21534 char * kwnames[] = {
21535 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21536 };
21537
21538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21539 if (obj0) {
21540 ecode1 = SWIG_AsVal_int(obj0, &val1);
21541 if (!SWIG_IsOK(ecode1)) {
21542 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21543 }
21544 arg1 = static_cast< wxEventType >(val1);
21545 }
21546 if (obj1) {
21547 ecode2 = SWIG_AsVal_int(obj1, &val2);
21548 if (!SWIG_IsOK(ecode2)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21550 }
21551 arg2 = static_cast< int >(val2);
21552 }
21553 if (obj2) {
21554 ecode3 = SWIG_AsVal_int(obj2, &val3);
21555 if (!SWIG_IsOK(ecode3)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21557 }
21558 arg3 = static_cast< int >(val3);
21559 }
21560 if (obj3) {
21561 ecode4 = SWIG_AsVal_int(obj3, &val4);
21562 if (!SWIG_IsOK(ecode4)) {
21563 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21564 }
21565 arg4 = static_cast< int >(val4);
21566 }
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21574 return resultobj;
21575fail:
21576 return NULL;
21577}
21578
21579
21580SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21581 PyObject *obj;
21582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21583 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21584 return SWIG_Py_Void();
21585}
21586
21587SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21588 return SWIG_Python_InitShadowInstance(args);
21589}
21590
21591SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj = 0;
21593 wxWindow *arg1 = (wxWindow *) 0 ;
21594 int arg2 ;
21595 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21596 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21597 wxSize const &arg4_defvalue = wxDefaultSize ;
21598 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21599 long arg5 = (long) 0 ;
21600 wxString const &arg6_defvalue = wxPyEmptyString ;
21601 wxString *arg6 = (wxString *) &arg6_defvalue ;
21602 wxChoicebook *result = 0 ;
21603 void *argp1 = 0 ;
21604 int res1 = 0 ;
21605 int val2 ;
21606 int ecode2 = 0 ;
21607 wxPoint temp3 ;
21608 wxSize temp4 ;
21609 long val5 ;
21610 int ecode5 = 0 ;
21611 bool temp6 = false ;
21612 PyObject * obj0 = 0 ;
21613 PyObject * obj1 = 0 ;
21614 PyObject * obj2 = 0 ;
21615 PyObject * obj3 = 0 ;
21616 PyObject * obj4 = 0 ;
21617 PyObject * obj5 = 0 ;
21618 char * kwnames[] = {
21619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21620 };
21621
21622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21624 if (!SWIG_IsOK(res1)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21626 }
21627 arg1 = reinterpret_cast< wxWindow * >(argp1);
21628 ecode2 = SWIG_AsVal_int(obj1, &val2);
21629 if (!SWIG_IsOK(ecode2)) {
21630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21631 }
21632 arg2 = static_cast< int >(val2);
21633 if (obj2) {
d55e5bfc 21634 {
554f62e9
RD
21635 arg3 = &temp3;
21636 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21637 }
554f62e9
RD
21638 }
21639 if (obj3) {
d55e5bfc 21640 {
554f62e9
RD
21641 arg4 = &temp4;
21642 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21643 }
554f62e9
RD
21644 }
21645 if (obj4) {
21646 ecode5 = SWIG_AsVal_long(obj4, &val5);
21647 if (!SWIG_IsOK(ecode5)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21649 }
21650 arg5 = static_cast< long >(val5);
21651 }
21652 if (obj5) {
d55e5bfc 21653 {
554f62e9
RD
21654 arg6 = wxString_in_helper(obj5);
21655 if (arg6 == NULL) SWIG_fail;
21656 temp6 = true;
d55e5bfc 21657 }
554f62e9
RD
21658 }
21659 {
21660 if (!wxPyCheckForApp()) SWIG_fail;
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21667 {
21668 if (temp6)
21669 delete arg6;
21670 }
21671 return resultobj;
21672fail:
21673 {
21674 if (temp6)
21675 delete arg6;
21676 }
21677 return NULL;
d55e5bfc
RD
21678}
21679
21680
554f62e9
RD
21681SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21682 PyObject *resultobj = 0;
21683 wxChoicebook *result = 0 ;
21684
21685 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21686 {
21687 if (!wxPyCheckForApp()) SWIG_fail;
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (wxChoicebook *)new wxChoicebook();
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21694 return resultobj;
21695fail:
21696 return NULL;
21697}
21698
21699
21700SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj = 0;
21702 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21703 wxWindow *arg2 = (wxWindow *) 0 ;
21704 int arg3 ;
21705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21707 wxSize const &arg5_defvalue = wxDefaultSize ;
21708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21709 long arg6 = (long) 0 ;
21710 wxString const &arg7_defvalue = wxPyEmptyString ;
21711 wxString *arg7 = (wxString *) &arg7_defvalue ;
21712 bool result;
21713 void *argp1 = 0 ;
21714 int res1 = 0 ;
21715 void *argp2 = 0 ;
21716 int res2 = 0 ;
21717 int val3 ;
21718 int ecode3 = 0 ;
21719 wxPoint temp4 ;
21720 wxSize temp5 ;
21721 long val6 ;
21722 int ecode6 = 0 ;
21723 bool temp7 = false ;
21724 PyObject * obj0 = 0 ;
21725 PyObject * obj1 = 0 ;
21726 PyObject * obj2 = 0 ;
21727 PyObject * obj3 = 0 ;
21728 PyObject * obj4 = 0 ;
21729 PyObject * obj5 = 0 ;
21730 PyObject * obj6 = 0 ;
21731 char * kwnames[] = {
21732 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21733 };
21734
21735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21737 if (!SWIG_IsOK(res1)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21739 }
21740 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21742 if (!SWIG_IsOK(res2)) {
21743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21744 }
21745 arg2 = reinterpret_cast< wxWindow * >(argp2);
21746 ecode3 = SWIG_AsVal_int(obj2, &val3);
21747 if (!SWIG_IsOK(ecode3)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21749 }
21750 arg3 = static_cast< int >(val3);
21751 if (obj3) {
093d3ff1 21752 {
554f62e9
RD
21753 arg4 = &temp4;
21754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21755 }
554f62e9
RD
21756 }
21757 if (obj4) {
093d3ff1 21758 {
554f62e9
RD
21759 arg5 = &temp5;
21760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21761 }
554f62e9
RD
21762 }
21763 if (obj5) {
21764 ecode6 = SWIG_AsVal_long(obj5, &val6);
21765 if (!SWIG_IsOK(ecode6)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21767 }
21768 arg6 = static_cast< long >(val6);
21769 }
21770 if (obj6) {
d55e5bfc 21771 {
554f62e9
RD
21772 arg7 = wxString_in_helper(obj6);
21773 if (arg7 == NULL) SWIG_fail;
21774 temp7 = true;
d55e5bfc 21775 }
554f62e9
RD
21776 }
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 {
21784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21785 }
21786 {
21787 if (temp7)
21788 delete arg7;
21789 }
21790 return resultobj;
21791fail:
21792 {
21793 if (temp7)
21794 delete arg7;
21795 }
21796 return NULL;
d55e5bfc
RD
21797}
21798
21799
554f62e9
RD
21800SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21801 PyObject *resultobj = 0;
21802 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21803 wxChoice *result = 0 ;
21804 void *argp1 = 0 ;
21805 int res1 = 0 ;
21806 PyObject *swig_obj[1] ;
21807
21808 if (!args) SWIG_fail;
21809 swig_obj[0] = args;
21810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21811 if (!SWIG_IsOK(res1)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21813 }
21814 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21822 return resultobj;
21823fail:
21824 return NULL;
21825}
21826
21827
21828SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21829 PyObject *obj;
21830 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21831 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21832 return SWIG_Py_Void();
21833}
21834
21835SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21836 return SWIG_Python_InitShadowInstance(args);
21837}
21838
21839SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj = 0;
21841 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21842 int arg2 = (int) 0 ;
21843 int arg3 = (int) -1 ;
21844 int arg4 = (int) -1 ;
21845 wxChoicebookEvent *result = 0 ;
21846 int val1 ;
21847 int ecode1 = 0 ;
21848 int val2 ;
21849 int ecode2 = 0 ;
21850 int val3 ;
21851 int ecode3 = 0 ;
21852 int val4 ;
21853 int ecode4 = 0 ;
21854 PyObject * obj0 = 0 ;
21855 PyObject * obj1 = 0 ;
21856 PyObject * obj2 = 0 ;
21857 PyObject * obj3 = 0 ;
21858 char * kwnames[] = {
21859 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21860 };
21861
21862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21863 if (obj0) {
21864 ecode1 = SWIG_AsVal_int(obj0, &val1);
21865 if (!SWIG_IsOK(ecode1)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21867 }
21868 arg1 = static_cast< wxEventType >(val1);
21869 }
21870 if (obj1) {
21871 ecode2 = SWIG_AsVal_int(obj1, &val2);
21872 if (!SWIG_IsOK(ecode2)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21874 }
21875 arg2 = static_cast< int >(val2);
21876 }
21877 if (obj2) {
21878 ecode3 = SWIG_AsVal_int(obj2, &val3);
21879 if (!SWIG_IsOK(ecode3)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21881 }
21882 arg3 = static_cast< int >(val3);
21883 }
21884 if (obj3) {
21885 ecode4 = SWIG_AsVal_int(obj3, &val4);
21886 if (!SWIG_IsOK(ecode4)) {
21887 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21888 }
21889 arg4 = static_cast< int >(val4);
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21898 return resultobj;
21899fail:
21900 return NULL;
21901}
21902
21903
21904SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21905 PyObject *obj;
21906 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21907 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21908 return SWIG_Py_Void();
21909}
21910
21911SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21912 return SWIG_Python_InitShadowInstance(args);
21913}
21914
21915SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj = 0;
21917 wxWindow *arg1 = (wxWindow *) 0 ;
21918 int arg2 ;
21919 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21920 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21921 wxSize const &arg4_defvalue = wxDefaultSize ;
21922 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21923 long arg5 = (long) wxBK_DEFAULT ;
21924 wxString const &arg6_defvalue = wxPyEmptyString ;
21925 wxString *arg6 = (wxString *) &arg6_defvalue ;
21926 wxTreebook *result = 0 ;
21927 void *argp1 = 0 ;
21928 int res1 = 0 ;
21929 int val2 ;
21930 int ecode2 = 0 ;
21931 wxPoint temp3 ;
21932 wxSize temp4 ;
21933 long val5 ;
21934 int ecode5 = 0 ;
21935 bool temp6 = false ;
21936 PyObject * obj0 = 0 ;
21937 PyObject * obj1 = 0 ;
21938 PyObject * obj2 = 0 ;
21939 PyObject * obj3 = 0 ;
21940 PyObject * obj4 = 0 ;
21941 PyObject * obj5 = 0 ;
21942 char * kwnames[] = {
21943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21944 };
21945
21946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21948 if (!SWIG_IsOK(res1)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21950 }
21951 arg1 = reinterpret_cast< wxWindow * >(argp1);
21952 ecode2 = SWIG_AsVal_int(obj1, &val2);
21953 if (!SWIG_IsOK(ecode2)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21955 }
21956 arg2 = static_cast< int >(val2);
21957 if (obj2) {
d55e5bfc 21958 {
554f62e9
RD
21959 arg3 = &temp3;
21960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21961 }
554f62e9
RD
21962 }
21963 if (obj3) {
d55e5bfc 21964 {
554f62e9
RD
21965 arg4 = &temp4;
21966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21967 }
554f62e9
RD
21968 }
21969 if (obj4) {
21970 ecode5 = SWIG_AsVal_long(obj4, &val5);
21971 if (!SWIG_IsOK(ecode5)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21973 }
21974 arg5 = static_cast< long >(val5);
21975 }
21976 if (obj5) {
d55e5bfc 21977 {
554f62e9
RD
21978 arg6 = wxString_in_helper(obj5);
21979 if (arg6 == NULL) SWIG_fail;
21980 temp6 = true;
d55e5bfc 21981 }
554f62e9
RD
21982 }
21983 {
21984 if (!wxPyCheckForApp()) SWIG_fail;
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21991 {
21992 if (temp6)
21993 delete arg6;
21994 }
21995 return resultobj;
21996fail:
21997 {
21998 if (temp6)
21999 delete arg6;
22000 }
22001 return NULL;
d55e5bfc
RD
22002}
22003
22004
554f62e9
RD
22005SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22006 PyObject *resultobj = 0;
22007 wxTreebook *result = 0 ;
22008
22009 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
22010 {
22011 if (!wxPyCheckForApp()) SWIG_fail;
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = (wxTreebook *)new wxTreebook();
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22018 return resultobj;
22019fail:
22020 return NULL;
22021}
22022
22023
22024SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = 0;
22026 wxTreebook *arg1 = (wxTreebook *) 0 ;
22027 wxWindow *arg2 = (wxWindow *) 0 ;
22028 int arg3 ;
22029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22031 wxSize const &arg5_defvalue = wxDefaultSize ;
22032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22033 long arg6 = (long) wxBK_DEFAULT ;
22034 wxString const &arg7_defvalue = wxPyEmptyString ;
22035 wxString *arg7 = (wxString *) &arg7_defvalue ;
22036 bool result;
22037 void *argp1 = 0 ;
22038 int res1 = 0 ;
22039 void *argp2 = 0 ;
22040 int res2 = 0 ;
22041 int val3 ;
22042 int ecode3 = 0 ;
22043 wxPoint temp4 ;
22044 wxSize temp5 ;
22045 long val6 ;
22046 int ecode6 = 0 ;
22047 bool temp7 = false ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 PyObject * obj2 = 0 ;
22051 PyObject * obj3 = 0 ;
22052 PyObject * obj4 = 0 ;
22053 PyObject * obj5 = 0 ;
22054 PyObject * obj6 = 0 ;
22055 char * kwnames[] = {
22056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22057 };
22058
22059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22061 if (!SWIG_IsOK(res1)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22063 }
22064 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22066 if (!SWIG_IsOK(res2)) {
22067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22068 }
22069 arg2 = reinterpret_cast< wxWindow * >(argp2);
22070 ecode3 = SWIG_AsVal_int(obj2, &val3);
22071 if (!SWIG_IsOK(ecode3)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22073 }
22074 arg3 = static_cast< int >(val3);
22075 if (obj3) {
093d3ff1 22076 {
554f62e9
RD
22077 arg4 = &temp4;
22078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22079 }
554f62e9
RD
22080 }
22081 if (obj4) {
093d3ff1 22082 {
554f62e9
RD
22083 arg5 = &temp5;
22084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22085 }
554f62e9
RD
22086 }
22087 if (obj5) {
22088 ecode6 = SWIG_AsVal_long(obj5, &val6);
22089 if (!SWIG_IsOK(ecode6)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22091 }
22092 arg6 = static_cast< long >(val6);
22093 }
22094 if (obj6) {
d55e5bfc 22095 {
554f62e9
RD
22096 arg7 = wxString_in_helper(obj6);
22097 if (arg7 == NULL) SWIG_fail;
22098 temp7 = true;
d55e5bfc 22099 }
554f62e9
RD
22100 }
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22104 wxPyEndAllowThreads(__tstate);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 }
22107 {
22108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22109 }
22110 {
22111 if (temp7)
22112 delete arg7;
22113 }
22114 return resultobj;
22115fail:
22116 {
22117 if (temp7)
22118 delete arg7;
22119 }
22120 return NULL;
22121}
22122
22123
22124SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj = 0;
22126 wxTreebook *arg1 = (wxTreebook *) 0 ;
22127 size_t arg2 ;
22128 wxWindow *arg3 = (wxWindow *) 0 ;
22129 wxString *arg4 = 0 ;
22130 bool arg5 = (bool) false ;
22131 int arg6 = (int) wxNOT_FOUND ;
22132 bool result;
22133 void *argp1 = 0 ;
22134 int res1 = 0 ;
22135 size_t val2 ;
22136 int ecode2 = 0 ;
22137 void *argp3 = 0 ;
22138 int res3 = 0 ;
22139 bool temp4 = false ;
22140 bool val5 ;
22141 int ecode5 = 0 ;
22142 int val6 ;
22143 int ecode6 = 0 ;
22144 PyObject * obj0 = 0 ;
22145 PyObject * obj1 = 0 ;
22146 PyObject * obj2 = 0 ;
22147 PyObject * obj3 = 0 ;
22148 PyObject * obj4 = 0 ;
22149 PyObject * obj5 = 0 ;
22150 char * kwnames[] = {
22151 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22152 };
22153
22154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22156 if (!SWIG_IsOK(res1)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22158 }
22159 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22160 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22161 if (!SWIG_IsOK(ecode2)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22163 }
22164 arg2 = static_cast< size_t >(val2);
22165 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22166 if (!SWIG_IsOK(res3)) {
22167 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22168 }
22169 arg3 = reinterpret_cast< wxWindow * >(argp3);
22170 {
22171 arg4 = wxString_in_helper(obj3);
22172 if (arg4 == NULL) SWIG_fail;
22173 temp4 = true;
22174 }
22175 if (obj4) {
22176 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22177 if (!SWIG_IsOK(ecode5)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22179 }
22180 arg5 = static_cast< bool >(val5);
22181 }
22182 if (obj5) {
22183 ecode6 = SWIG_AsVal_int(obj5, &val6);
22184 if (!SWIG_IsOK(ecode6)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22186 }
22187 arg6 = static_cast< int >(val6);
22188 }
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 {
22196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22197 }
22198 {
22199 if (temp4)
22200 delete arg4;
22201 }
22202 return resultobj;
22203fail:
22204 {
22205 if (temp4)
22206 delete arg4;
22207 }
22208 return NULL;
22209}
22210
22211
22212SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22213 PyObject *resultobj = 0;
22214 wxTreebook *arg1 = (wxTreebook *) 0 ;
22215 wxWindow *arg2 = (wxWindow *) 0 ;
22216 wxString *arg3 = 0 ;
22217 bool arg4 = (bool) false ;
22218 int arg5 = (int) wxNOT_FOUND ;
22219 bool result;
22220 void *argp1 = 0 ;
22221 int res1 = 0 ;
22222 void *argp2 = 0 ;
22223 int res2 = 0 ;
22224 bool temp3 = false ;
22225 bool val4 ;
22226 int ecode4 = 0 ;
22227 int val5 ;
22228 int ecode5 = 0 ;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 PyObject * obj2 = 0 ;
22232 PyObject * obj3 = 0 ;
22233 PyObject * obj4 = 0 ;
22234 char * kwnames[] = {
22235 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22236 };
22237
22238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22240 if (!SWIG_IsOK(res1)) {
22241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22242 }
22243 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22244 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22245 if (!SWIG_IsOK(res2)) {
22246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22247 }
22248 arg2 = reinterpret_cast< wxWindow * >(argp2);
22249 {
22250 arg3 = wxString_in_helper(obj2);
22251 if (arg3 == NULL) SWIG_fail;
22252 temp3 = true;
22253 }
22254 if (obj3) {
22255 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22256 if (!SWIG_IsOK(ecode4)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22258 }
22259 arg4 = static_cast< bool >(val4);
22260 }
22261 if (obj4) {
22262 ecode5 = SWIG_AsVal_int(obj4, &val5);
22263 if (!SWIG_IsOK(ecode5)) {
22264 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22265 }
22266 arg5 = static_cast< int >(val5);
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 {
22275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22276 }
22277 {
22278 if (temp3)
22279 delete arg3;
22280 }
22281 return resultobj;
22282fail:
22283 {
22284 if (temp3)
22285 delete arg3;
22286 }
22287 return NULL;
22288}
22289
22290
22291SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj = 0;
22293 wxTreebook *arg1 = (wxTreebook *) 0 ;
22294 size_t arg2 ;
22295 bool result;
22296 void *argp1 = 0 ;
22297 int res1 = 0 ;
22298 size_t val2 ;
22299 int ecode2 = 0 ;
22300 PyObject * obj0 = 0 ;
22301 PyObject * obj1 = 0 ;
22302 char * kwnames[] = {
22303 (char *) "self",(char *) "pos", NULL
22304 };
22305
22306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22308 if (!SWIG_IsOK(res1)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22310 }
22311 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22312 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22313 if (!SWIG_IsOK(ecode2)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22315 }
22316 arg2 = static_cast< size_t >(val2);
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 {
22324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22325 }
22326 return resultobj;
22327fail:
22328 return NULL;
22329}
22330
22331
22332SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj = 0;
22334 wxTreebook *arg1 = (wxTreebook *) 0 ;
22335 size_t arg2 ;
22336 bool arg3 = (bool) true ;
22337 bool result;
22338 void *argp1 = 0 ;
22339 int res1 = 0 ;
22340 size_t val2 ;
22341 int ecode2 = 0 ;
22342 bool val3 ;
22343 int ecode3 = 0 ;
22344 PyObject * obj0 = 0 ;
22345 PyObject * obj1 = 0 ;
22346 PyObject * obj2 = 0 ;
22347 char * kwnames[] = {
22348 (char *) "self",(char *) "pos",(char *) "expand", NULL
22349 };
22350
22351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22353 if (!SWIG_IsOK(res1)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22355 }
22356 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22357 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22358 if (!SWIG_IsOK(ecode2)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22360 }
22361 arg2 = static_cast< size_t >(val2);
22362 if (obj2) {
22363 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22364 if (!SWIG_IsOK(ecode3)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22366 }
22367 arg3 = static_cast< bool >(val3);
22368 }
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22377 }
22378 return resultobj;
22379fail:
22380 return NULL;
22381}
22382
22383
22384SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj = 0;
22386 wxTreebook *arg1 = (wxTreebook *) 0 ;
22387 size_t arg2 ;
22388 bool result;
22389 void *argp1 = 0 ;
22390 int res1 = 0 ;
22391 size_t val2 ;
22392 int ecode2 = 0 ;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 char * kwnames[] = {
22396 (char *) "self",(char *) "pos", NULL
22397 };
22398
22399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22401 if (!SWIG_IsOK(res1)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22403 }
22404 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22405 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22406 if (!SWIG_IsOK(ecode2)) {
22407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22408 }
22409 arg2 = static_cast< size_t >(val2);
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 result = (bool)(arg1)->CollapseNode(arg2);
22413 wxPyEndAllowThreads(__tstate);
22414 if (PyErr_Occurred()) SWIG_fail;
22415 }
22416 {
22417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22418 }
22419 return resultobj;
22420fail:
22421 return NULL;
22422}
22423
22424
22425SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj = 0;
22427 wxTreebook *arg1 = (wxTreebook *) 0 ;
22428 size_t arg2 ;
22429 int result;
22430 void *argp1 = 0 ;
22431 int res1 = 0 ;
22432 size_t val2 ;
22433 int ecode2 = 0 ;
22434 PyObject * obj0 = 0 ;
22435 PyObject * obj1 = 0 ;
22436 char * kwnames[] = {
22437 (char *) "self",(char *) "pos", NULL
22438 };
22439
22440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22442 if (!SWIG_IsOK(res1)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22444 }
22445 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22446 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22447 if (!SWIG_IsOK(ecode2)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22449 }
22450 arg2 = static_cast< size_t >(val2);
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 resultobj = SWIG_From_int(static_cast< int >(result));
22458 return resultobj;
22459fail:
22460 return NULL;
d55e5bfc
RD
22461}
22462
22463
554f62e9
RD
22464SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22465 PyObject *resultobj = 0;
22466 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22467 wxPyTreeCtrl *result = 0 ;
554f62e9
RD
22468 void *argp1 = 0 ;
22469 int res1 = 0 ;
22470 PyObject *swig_obj[1] ;
22471
22472 if (!args) SWIG_fail;
22473 swig_obj[0] = args;
22474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22475 if (!SWIG_IsOK(res1)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22477 }
22478 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22481 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
554f62e9
RD
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
10044bf1
RD
22485 {
22486 resultobj = wxPyMake_wxObject(result, (bool)0);
22487 }
554f62e9
RD
22488 return resultobj;
22489fail:
22490 return NULL;
22491}
22492
22493
22494SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22495 PyObject *obj;
22496 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22497 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22498 return SWIG_Py_Void();
22499}
22500
22501SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22502 return SWIG_Python_InitShadowInstance(args);
22503}
22504
22505SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22506 PyObject *resultobj = 0;
22507 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22508 int arg2 = (int) 0 ;
22509 int arg3 = (int) wxNOT_FOUND ;
22510 int arg4 = (int) wxNOT_FOUND ;
22511 wxTreebookEvent *result = 0 ;
22512 int val1 ;
22513 int ecode1 = 0 ;
22514 int val2 ;
22515 int ecode2 = 0 ;
22516 int val3 ;
22517 int ecode3 = 0 ;
22518 int val4 ;
22519 int ecode4 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 PyObject * obj2 = 0 ;
22523 PyObject * obj3 = 0 ;
22524 char * kwnames[] = {
22525 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22526 };
22527
22528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22529 if (obj0) {
22530 ecode1 = SWIG_AsVal_int(obj0, &val1);
22531 if (!SWIG_IsOK(ecode1)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22533 }
22534 arg1 = static_cast< wxEventType >(val1);
22535 }
22536 if (obj1) {
22537 ecode2 = SWIG_AsVal_int(obj1, &val2);
22538 if (!SWIG_IsOK(ecode2)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22540 }
22541 arg2 = static_cast< int >(val2);
22542 }
22543 if (obj2) {
22544 ecode3 = SWIG_AsVal_int(obj2, &val3);
22545 if (!SWIG_IsOK(ecode3)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22547 }
22548 arg3 = static_cast< int >(val3);
22549 }
22550 if (obj3) {
22551 ecode4 = SWIG_AsVal_int(obj3, &val4);
22552 if (!SWIG_IsOK(ecode4)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22554 }
22555 arg4 = static_cast< int >(val4);
22556 }
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22564 return resultobj;
22565fail:
22566 return NULL;
22567}
22568
22569
22570SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *obj;
22572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22573 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22574 return SWIG_Py_Void();
22575}
22576
22577SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22578 return SWIG_Python_InitShadowInstance(args);
22579}
22580
22581SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj = 0;
22583 wxWindow *arg1 = (wxWindow *) 0 ;
22584 int arg2 ;
22585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22587 wxSize const &arg4_defvalue = wxDefaultSize ;
22588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22589 long arg5 = (long) wxBK_DEFAULT ;
22590 wxString const &arg6_defvalue = wxPyEmptyString ;
22591 wxString *arg6 = (wxString *) &arg6_defvalue ;
22592 wxToolbook *result = 0 ;
22593 void *argp1 = 0 ;
22594 int res1 = 0 ;
22595 int val2 ;
22596 int ecode2 = 0 ;
22597 wxPoint temp3 ;
22598 wxSize temp4 ;
22599 long val5 ;
22600 int ecode5 = 0 ;
22601 bool temp6 = false ;
22602 PyObject * obj0 = 0 ;
22603 PyObject * obj1 = 0 ;
22604 PyObject * obj2 = 0 ;
22605 PyObject * obj3 = 0 ;
22606 PyObject * obj4 = 0 ;
22607 PyObject * obj5 = 0 ;
22608 char * kwnames[] = {
22609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22610 };
22611
22612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22614 if (!SWIG_IsOK(res1)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22616 }
22617 arg1 = reinterpret_cast< wxWindow * >(argp1);
22618 ecode2 = SWIG_AsVal_int(obj1, &val2);
22619 if (!SWIG_IsOK(ecode2)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22621 }
22622 arg2 = static_cast< int >(val2);
22623 if (obj2) {
093d3ff1 22624 {
554f62e9
RD
22625 arg3 = &temp3;
22626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22627 }
554f62e9
RD
22628 }
22629 if (obj3) {
d55e5bfc 22630 {
554f62e9
RD
22631 arg4 = &temp4;
22632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22633 }
554f62e9
RD
22634 }
22635 if (obj4) {
22636 ecode5 = SWIG_AsVal_long(obj4, &val5);
22637 if (!SWIG_IsOK(ecode5)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22639 }
22640 arg5 = static_cast< long >(val5);
22641 }
22642 if (obj5) {
093d3ff1 22643 {
554f62e9
RD
22644 arg6 = wxString_in_helper(obj5);
22645 if (arg6 == NULL) SWIG_fail;
22646 temp6 = true;
093d3ff1 22647 }
554f62e9
RD
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22656 {
22657 if (temp6)
22658 delete arg6;
22659 }
22660 return resultobj;
22661fail:
22662 {
22663 if (temp6)
22664 delete arg6;
22665 }
22666 return NULL;
d55e5bfc
RD
22667}
22668
22669
554f62e9
RD
22670SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22671 PyObject *resultobj = 0;
22672 wxToolbook *result = 0 ;
22673
22674 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (wxToolbook *)new wxToolbook();
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22682 return resultobj;
22683fail:
22684 return NULL;
22685}
22686
22687
22688SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj = 0;
22690 wxToolbook *arg1 = (wxToolbook *) 0 ;
22691 wxWindow *arg2 = (wxWindow *) 0 ;
22692 int arg3 ;
22693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22695 wxSize const &arg5_defvalue = wxDefaultSize ;
22696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22697 long arg6 = (long) 0 ;
22698 wxString const &arg7_defvalue = wxEmptyString ;
22699 wxString *arg7 = (wxString *) &arg7_defvalue ;
22700 bool result;
22701 void *argp1 = 0 ;
22702 int res1 = 0 ;
22703 void *argp2 = 0 ;
22704 int res2 = 0 ;
22705 int val3 ;
22706 int ecode3 = 0 ;
22707 wxPoint temp4 ;
22708 wxSize temp5 ;
22709 long val6 ;
22710 int ecode6 = 0 ;
22711 bool temp7 = false ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 PyObject * obj2 = 0 ;
22715 PyObject * obj3 = 0 ;
22716 PyObject * obj4 = 0 ;
22717 PyObject * obj5 = 0 ;
22718 PyObject * obj6 = 0 ;
22719 char * kwnames[] = {
22720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22721 };
22722
22723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22725 if (!SWIG_IsOK(res1)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22727 }
22728 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22730 if (!SWIG_IsOK(res2)) {
22731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22732 }
22733 arg2 = reinterpret_cast< wxWindow * >(argp2);
22734 ecode3 = SWIG_AsVal_int(obj2, &val3);
22735 if (!SWIG_IsOK(ecode3)) {
22736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22737 }
22738 arg3 = static_cast< int >(val3);
22739 if (obj3) {
093d3ff1 22740 {
554f62e9
RD
22741 arg4 = &temp4;
22742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22743 }
554f62e9
RD
22744 }
22745 if (obj4) {
093d3ff1 22746 {
554f62e9
RD
22747 arg5 = &temp5;
22748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22749 }
554f62e9
RD
22750 }
22751 if (obj5) {
22752 ecode6 = SWIG_AsVal_long(obj5, &val6);
22753 if (!SWIG_IsOK(ecode6)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22755 }
22756 arg6 = static_cast< long >(val6);
22757 }
22758 if (obj6) {
d55e5bfc 22759 {
554f62e9
RD
22760 arg7 = wxString_in_helper(obj6);
22761 if (arg7 == NULL) SWIG_fail;
22762 temp7 = true;
d55e5bfc 22763 }
554f62e9
RD
22764 }
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 {
22772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22773 }
22774 {
22775 if (temp7)
22776 delete arg7;
22777 }
22778 return resultobj;
22779fail:
22780 {
22781 if (temp7)
22782 delete arg7;
22783 }
22784 return NULL;
d55e5bfc
RD
22785}
22786
22787
554f62e9
RD
22788SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22789 PyObject *resultobj = 0;
22790 wxToolbook *arg1 = (wxToolbook *) 0 ;
22791 wxToolBarBase *result = 0 ;
22792 void *argp1 = 0 ;
22793 int res1 = 0 ;
22794 PyObject *swig_obj[1] ;
22795
22796 if (!args) SWIG_fail;
22797 swig_obj[0] = args;
22798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22799 if (!SWIG_IsOK(res1)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22801 }
22802 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 {
22810 resultobj = wxPyMake_wxObject(result, (bool)0);
22811 }
22812 return resultobj;
22813fail:
22814 return NULL;
f20a2e1f
RD
22815}
22816
22817
554f62e9
RD
22818SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22819 PyObject *resultobj = 0;
22820 wxToolbook *arg1 = (wxToolbook *) 0 ;
22821 void *argp1 = 0 ;
22822 int res1 = 0 ;
22823 PyObject *swig_obj[1] ;
22824
22825 if (!args) SWIG_fail;
22826 swig_obj[0] = args;
22827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22828 if (!SWIG_IsOK(res1)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22830 }
22831 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 (arg1)->Realize();
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 resultobj = SWIG_Py_Void();
22839 return resultobj;
22840fail:
22841 return NULL;
22842}
22843
22844
22845SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22846 PyObject *obj;
22847 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22848 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22849 return SWIG_Py_Void();
22850}
22851
22852SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22853 return SWIG_Python_InitShadowInstance(args);
22854}
22855
22856SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj = 0;
22858 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22859 int arg2 = (int) 0 ;
22860 int arg3 = (int) wxNOT_FOUND ;
22861 int arg4 = (int) wxNOT_FOUND ;
22862 wxToolbookEvent *result = 0 ;
22863 int val1 ;
22864 int ecode1 = 0 ;
22865 int val2 ;
22866 int ecode2 = 0 ;
22867 int val3 ;
22868 int ecode3 = 0 ;
22869 int val4 ;
22870 int ecode4 = 0 ;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 PyObject * obj2 = 0 ;
22874 PyObject * obj3 = 0 ;
22875 char * kwnames[] = {
22876 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22877 };
22878
22879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22880 if (obj0) {
22881 ecode1 = SWIG_AsVal_int(obj0, &val1);
22882 if (!SWIG_IsOK(ecode1)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22884 }
22885 arg1 = static_cast< wxEventType >(val1);
22886 }
22887 if (obj1) {
22888 ecode2 = SWIG_AsVal_int(obj1, &val2);
22889 if (!SWIG_IsOK(ecode2)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22891 }
22892 arg2 = static_cast< int >(val2);
22893 }
22894 if (obj2) {
22895 ecode3 = SWIG_AsVal_int(obj2, &val3);
22896 if (!SWIG_IsOK(ecode3)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22898 }
22899 arg3 = static_cast< int >(val3);
22900 }
22901 if (obj3) {
22902 ecode4 = SWIG_AsVal_int(obj3, &val4);
22903 if (!SWIG_IsOK(ecode4)) {
22904 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22905 }
22906 arg4 = static_cast< int >(val4);
22907 }
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22915 return resultobj;
22916fail:
22917 return NULL;
d55e5bfc
RD
22918}
22919
22920
554f62e9
RD
22921SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22922 PyObject *obj;
22923 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22924 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22925 return SWIG_Py_Void();
d55e5bfc
RD
22926}
22927
554f62e9
RD
22928SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22929 return SWIG_Python_InitShadowInstance(args);
22930}
d55e5bfc 22931
554f62e9
RD
22932SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22933 PyObject *resultobj = 0;
22934 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22935 int result;
22936 void *argp1 = 0 ;
22937 int res1 = 0 ;
22938 PyObject *swig_obj[1] ;
22939
22940 if (!args) SWIG_fail;
22941 swig_obj[0] = args;
22942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22943 if (!SWIG_IsOK(res1)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22945 }
22946 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = (int)(arg1)->GetId();
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 resultobj = SWIG_From_int(static_cast< int >(result));
22954 return resultobj;
22955fail:
22956 return NULL;
d55e5bfc
RD
22957}
22958
22959
554f62e9
RD
22960SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22961 PyObject *resultobj = 0;
22962 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22963 wxControl *result = 0 ;
22964 void *argp1 = 0 ;
22965 int res1 = 0 ;
22966 PyObject *swig_obj[1] ;
22967
22968 if (!args) SWIG_fail;
22969 swig_obj[0] = args;
22970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22971 if (!SWIG_IsOK(res1)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22973 }
22974 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (wxControl *)(arg1)->GetControl();
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 {
22982 resultobj = wxPyMake_wxObject(result, 0);
22983 }
22984 return resultobj;
22985fail:
22986 return NULL;
d55e5bfc
RD
22987}
22988
22989
554f62e9
RD
22990SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22991 PyObject *resultobj = 0;
22992 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22993 wxToolBarBase *result = 0 ;
22994 void *argp1 = 0 ;
22995 int res1 = 0 ;
22996 PyObject *swig_obj[1] ;
22997
22998 if (!args) SWIG_fail;
22999 swig_obj[0] = args;
23000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23001 if (!SWIG_IsOK(res1)) {
23002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23003 }
23004 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = (wxToolBarBase *)(arg1)->GetToolBar();
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 {
23012 resultobj = wxPyMake_wxObject(result, (bool)0);
23013 }
23014 return resultobj;
23015fail:
23016 return NULL;
d55e5bfc
RD
23017}
23018
23019
554f62e9
RD
23020SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23021 PyObject *resultobj = 0;
23022 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23023 int result;
23024 void *argp1 = 0 ;
23025 int res1 = 0 ;
23026 PyObject *swig_obj[1] ;
23027
23028 if (!args) SWIG_fail;
23029 swig_obj[0] = args;
23030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23031 if (!SWIG_IsOK(res1)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23033 }
23034 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (int)(arg1)->IsButton();
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_From_int(static_cast< int >(result));
23042 return resultobj;
23043fail:
23044 return NULL;
d55e5bfc
RD
23045}
23046
23047
554f62e9
RD
23048SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23049 PyObject *resultobj = 0;
23050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23051 int result;
23052 void *argp1 = 0 ;
23053 int res1 = 0 ;
23054 PyObject *swig_obj[1] ;
23055
23056 if (!args) SWIG_fail;
23057 swig_obj[0] = args;
23058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23061 }
23062 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 result = (int)(arg1)->IsControl();
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_From_int(static_cast< int >(result));
23070 return resultobj;
23071fail:
23072 return NULL;
d55e5bfc
RD
23073}
23074
23075
554f62e9
RD
23076SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23077 PyObject *resultobj = 0;
23078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23079 int result;
23080 void *argp1 = 0 ;
23081 int res1 = 0 ;
23082 PyObject *swig_obj[1] ;
23083
23084 if (!args) SWIG_fail;
23085 swig_obj[0] = args;
23086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23087 if (!SWIG_IsOK(res1)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23089 }
23090 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (int)(arg1)->IsSeparator();
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 resultobj = SWIG_From_int(static_cast< int >(result));
23098 return resultobj;
23099fail:
23100 return NULL;
d55e5bfc
RD
23101}
23102
23103
554f62e9
RD
23104SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23105 PyObject *resultobj = 0;
23106 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23107 int result;
23108 void *argp1 = 0 ;
23109 int res1 = 0 ;
23110 PyObject *swig_obj[1] ;
23111
23112 if (!args) SWIG_fail;
23113 swig_obj[0] = args;
23114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23115 if (!SWIG_IsOK(res1)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23117 }
23118 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = (int)(arg1)->GetStyle();
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 resultobj = SWIG_From_int(static_cast< int >(result));
23126 return resultobj;
23127fail:
23128 return NULL;
d55e5bfc
RD
23129}
23130
23131
554f62e9
RD
23132SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23133 PyObject *resultobj = 0;
23134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23135 wxItemKind result;
23136 void *argp1 = 0 ;
23137 int res1 = 0 ;
23138 PyObject *swig_obj[1] ;
23139
23140 if (!args) SWIG_fail;
23141 swig_obj[0] = args;
23142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23143 if (!SWIG_IsOK(res1)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23145 }
23146 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 result = (wxItemKind)(arg1)->GetKind();
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 resultobj = SWIG_From_int(static_cast< int >(result));
23154 return resultobj;
23155fail:
23156 return NULL;
d55e5bfc
RD
23157}
23158
23159
554f62e9
RD
23160SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23161 PyObject *resultobj = 0;
23162 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23163 bool result;
23164 void *argp1 = 0 ;
23165 int res1 = 0 ;
23166 PyObject *swig_obj[1] ;
23167
23168 if (!args) SWIG_fail;
23169 swig_obj[0] = args;
23170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23171 if (!SWIG_IsOK(res1)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23173 }
23174 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (bool)(arg1)->IsEnabled();
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 {
23182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23183 }
23184 return resultobj;
23185fail:
23186 return NULL;
d55e5bfc
RD
23187}
23188
23189
554f62e9
RD
23190SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23191 PyObject *resultobj = 0;
23192 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23193 bool result;
23194 void *argp1 = 0 ;
23195 int res1 = 0 ;
23196 PyObject *swig_obj[1] ;
23197
23198 if (!args) SWIG_fail;
23199 swig_obj[0] = args;
23200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23201 if (!SWIG_IsOK(res1)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23203 }
23204 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 result = (bool)(arg1)->IsToggled();
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 {
23212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23213 }
23214 return resultobj;
23215fail:
23216 return NULL;
d55e5bfc
RD
23217}
23218
23219
554f62e9
RD
23220SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23221 PyObject *resultobj = 0;
23222 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23223 bool result;
23224 void *argp1 = 0 ;
23225 int res1 = 0 ;
23226 PyObject *swig_obj[1] ;
23227
23228 if (!args) SWIG_fail;
23229 swig_obj[0] = args;
23230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23231 if (!SWIG_IsOK(res1)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23233 }
23234 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 result = (bool)(arg1)->CanBeToggled();
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 {
23242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23243 }
23244 return resultobj;
23245fail:
23246 return NULL;
d55e5bfc
RD
23247}
23248
23249
554f62e9
RD
23250SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23251 PyObject *resultobj = 0;
23252 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23253 wxBitmap *result = 0 ;
23254 void *argp1 = 0 ;
23255 int res1 = 0 ;
23256 PyObject *swig_obj[1] ;
23257
23258 if (!args) SWIG_fail;
23259 swig_obj[0] = args;
23260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23261 if (!SWIG_IsOK(res1)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23263 }
23264 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23267 {
554f62e9
RD
23268 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23269 result = (wxBitmap *) &_result_ref;
093d3ff1 23270 }
554f62e9
RD
23271 wxPyEndAllowThreads(__tstate);
23272 if (PyErr_Occurred()) SWIG_fail;
23273 }
23274 {
23275 wxBitmap* resultptr = new wxBitmap(*result);
23276 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23277 }
23278 return resultobj;
23279fail:
23280 return NULL;
d55e5bfc
RD
23281}
23282
23283
554f62e9
RD
23284SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23285 PyObject *resultobj = 0;
23286 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23287 wxBitmap *result = 0 ;
23288 void *argp1 = 0 ;
23289 int res1 = 0 ;
23290 PyObject *swig_obj[1] ;
23291
23292 if (!args) SWIG_fail;
23293 swig_obj[0] = args;
23294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23295 if (!SWIG_IsOK(res1)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23297 }
23298 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23301 {
554f62e9
RD
23302 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23303 result = (wxBitmap *) &_result_ref;
d55e5bfc 23304 }
554f62e9
RD
23305 wxPyEndAllowThreads(__tstate);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 {
23309 wxBitmap* resultptr = new wxBitmap(*result);
23310 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23311 }
23312 return resultobj;
23313fail:
23314 return NULL;
d55e5bfc
RD
23315}
23316
23317
554f62e9
RD
23318SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23319 PyObject *resultobj = 0;
23320 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23321 wxBitmap result;
23322 void *argp1 = 0 ;
23323 int res1 = 0 ;
23324 PyObject *swig_obj[1] ;
23325
23326 if (!args) SWIG_fail;
23327 swig_obj[0] = args;
23328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23329 if (!SWIG_IsOK(res1)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23331 }
23332 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (arg1)->GetBitmap();
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23340 return resultobj;
23341fail:
23342 return NULL;
23343}
23344
23345
23346SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23347 PyObject *resultobj = 0;
23348 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23349 wxString result;
23350 void *argp1 = 0 ;
23351 int res1 = 0 ;
23352 PyObject *swig_obj[1] ;
23353
23354 if (!args) SWIG_fail;
23355 swig_obj[0] = args;
23356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23357 if (!SWIG_IsOK(res1)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23359 }
23360 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 result = (arg1)->GetLabel();
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 {
d55e5bfc 23368#if wxUSE_UNICODE
554f62e9 23369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 23370#else
554f62e9 23371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 23372#endif
554f62e9
RD
23373 }
23374 return resultobj;
23375fail:
23376 return NULL;
d55e5bfc
RD
23377}
23378
23379
554f62e9
RD
23380SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23381 PyObject *resultobj = 0;
23382 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23383 wxString result;
23384 void *argp1 = 0 ;
23385 int res1 = 0 ;
23386 PyObject *swig_obj[1] ;
23387
23388 if (!args) SWIG_fail;
23389 swig_obj[0] = args;
23390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23391 if (!SWIG_IsOK(res1)) {
23392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23393 }
23394 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 result = (arg1)->GetShortHelp();
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 {
23402#if wxUSE_UNICODE
23403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23404#else
23405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23406#endif
23407 }
23408 return resultobj;
23409fail:
23410 return NULL;
d55e5bfc
RD
23411}
23412
23413
554f62e9
RD
23414SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23415 PyObject *resultobj = 0;
23416 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23417 wxString result;
23418 void *argp1 = 0 ;
23419 int res1 = 0 ;
23420 PyObject *swig_obj[1] ;
23421
23422 if (!args) SWIG_fail;
23423 swig_obj[0] = args;
23424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23425 if (!SWIG_IsOK(res1)) {
23426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23427 }
23428 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 result = (arg1)->GetLongHelp();
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436#if wxUSE_UNICODE
23437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23438#else
23439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23440#endif
23441 }
23442 return resultobj;
23443fail:
23444 return NULL;
23445}
23446
23447
23448SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj = 0;
23450 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23451 bool arg2 ;
23452 bool result;
23453 void *argp1 = 0 ;
23454 int res1 = 0 ;
23455 bool val2 ;
23456 int ecode2 = 0 ;
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 char * kwnames[] = {
23460 (char *) "self",(char *) "enable", NULL
23461 };
23462
23463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23465 if (!SWIG_IsOK(res1)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23467 }
23468 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23469 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23470 if (!SWIG_IsOK(ecode2)) {
23471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23472 }
23473 arg2 = static_cast< bool >(val2);
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 result = (bool)(arg1)->Enable(arg2);
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 {
23481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23482 }
23483 return resultobj;
23484fail:
23485 return NULL;
d55e5bfc
RD
23486}
23487
23488
554f62e9
RD
23489SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23490 PyObject *resultobj = 0;
23491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23492 void *argp1 = 0 ;
23493 int res1 = 0 ;
23494 PyObject *swig_obj[1] ;
23495
23496 if (!args) SWIG_fail;
23497 swig_obj[0] = args;
23498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23499 if (!SWIG_IsOK(res1)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23501 }
23502 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 (arg1)->Toggle();
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 resultobj = SWIG_Py_Void();
23510 return resultobj;
23511fail:
23512 return NULL;
23513}
23514
23515
23516SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj = 0;
23518 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23519 bool arg2 ;
23520 bool result;
23521 void *argp1 = 0 ;
23522 int res1 = 0 ;
23523 bool val2 ;
23524 int ecode2 = 0 ;
23525 PyObject * obj0 = 0 ;
23526 PyObject * obj1 = 0 ;
23527 char * kwnames[] = {
23528 (char *) "self",(char *) "toggle", NULL
23529 };
23530
23531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23533 if (!SWIG_IsOK(res1)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23535 }
23536 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23537 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23538 if (!SWIG_IsOK(ecode2)) {
23539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23540 }
23541 arg2 = static_cast< bool >(val2);
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (bool)(arg1)->SetToggle(arg2);
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 {
23549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23550 }
23551 return resultobj;
23552fail:
23553 return NULL;
23554}
23555
23556
23557SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj = 0;
23559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23560 wxString *arg2 = 0 ;
23561 bool result;
23562 void *argp1 = 0 ;
23563 int res1 = 0 ;
23564 bool temp2 = false ;
23565 PyObject * obj0 = 0 ;
23566 PyObject * obj1 = 0 ;
23567 char * kwnames[] = {
23568 (char *) "self",(char *) "help", NULL
23569 };
23570
23571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23573 if (!SWIG_IsOK(res1)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23575 }
23576 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23577 {
23578 arg2 = wxString_in_helper(obj1);
23579 if (arg2 == NULL) SWIG_fail;
23580 temp2 = true;
23581 }
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 {
23589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23590 }
23591 {
23592 if (temp2)
23593 delete arg2;
23594 }
23595 return resultobj;
23596fail:
23597 {
23598 if (temp2)
23599 delete arg2;
23600 }
23601 return NULL;
23602}
23603
23604
23605SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj = 0;
23607 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23608 wxString *arg2 = 0 ;
23609 bool result;
23610 void *argp1 = 0 ;
23611 int res1 = 0 ;
23612 bool temp2 = false ;
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 char * kwnames[] = {
23616 (char *) "self",(char *) "help", NULL
23617 };
23618
23619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23621 if (!SWIG_IsOK(res1)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23623 }
23624 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23625 {
23626 arg2 = wxString_in_helper(obj1);
23627 if (arg2 == NULL) SWIG_fail;
23628 temp2 = true;
23629 }
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 {
23637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23638 }
23639 {
23640 if (temp2)
23641 delete arg2;
23642 }
23643 return resultobj;
23644fail:
23645 {
23646 if (temp2)
23647 delete arg2;
23648 }
23649 return NULL;
23650}
23651
23652
23653SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23654 PyObject *resultobj = 0;
23655 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23656 wxBitmap *arg2 = 0 ;
23657 void *argp1 = 0 ;
23658 int res1 = 0 ;
23659 void *argp2 = 0 ;
23660 int res2 = 0 ;
23661 PyObject * obj0 = 0 ;
23662 PyObject * obj1 = 0 ;
23663 char * kwnames[] = {
23664 (char *) "self",(char *) "bmp", NULL
23665 };
23666
23667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23669 if (!SWIG_IsOK(res1)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23671 }
23672 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23674 if (!SWIG_IsOK(res2)) {
23675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23676 }
23677 if (!argp2) {
23678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23679 }
23680 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 resultobj = SWIG_Py_Void();
23688 return resultobj;
23689fail:
23690 return NULL;
23691}
23692
23693
23694SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj = 0;
23696 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23697 wxBitmap *arg2 = 0 ;
23698 void *argp1 = 0 ;
23699 int res1 = 0 ;
23700 void *argp2 = 0 ;
23701 int res2 = 0 ;
23702 PyObject * obj0 = 0 ;
23703 PyObject * obj1 = 0 ;
23704 char * kwnames[] = {
23705 (char *) "self",(char *) "bmp", NULL
23706 };
23707
23708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23710 if (!SWIG_IsOK(res1)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23712 }
23713 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23715 if (!SWIG_IsOK(res2)) {
23716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23717 }
23718 if (!argp2) {
23719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23720 }
23721 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 resultobj = SWIG_Py_Void();
23729 return resultobj;
23730fail:
23731 return NULL;
23732}
23733
23734
23735SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23736 PyObject *resultobj = 0;
23737 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23738 wxString *arg2 = 0 ;
23739 void *argp1 = 0 ;
23740 int res1 = 0 ;
23741 bool temp2 = false ;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 char * kwnames[] = {
23745 (char *) "self",(char *) "label", NULL
23746 };
23747
23748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23750 if (!SWIG_IsOK(res1)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23752 }
23753 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23754 {
23755 arg2 = wxString_in_helper(obj1);
23756 if (arg2 == NULL) SWIG_fail;
23757 temp2 = true;
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->SetLabel((wxString const &)*arg2);
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = SWIG_Py_Void();
23766 {
23767 if (temp2)
23768 delete arg2;
23769 }
23770 return resultobj;
23771fail:
23772 {
23773 if (temp2)
23774 delete arg2;
23775 }
23776 return NULL;
d55e5bfc
RD
23777}
23778
23779
554f62e9
RD
23780SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23781 PyObject *resultobj = 0;
23782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23783 void *argp1 = 0 ;
23784 int res1 = 0 ;
23785 PyObject *swig_obj[1] ;
23786
23787 if (!args) SWIG_fail;
23788 swig_obj[0] = args;
23789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23790 if (!SWIG_IsOK(res1)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23792 }
23793 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->Detach();
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 resultobj = SWIG_Py_Void();
23801 return resultobj;
23802fail:
23803 return NULL;
23804}
23805
23806
23807SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23808 PyObject *resultobj = 0;
23809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23810 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23811 void *argp1 = 0 ;
23812 int res1 = 0 ;
23813 void *argp2 = 0 ;
23814 int res2 = 0 ;
23815 PyObject * obj0 = 0 ;
23816 PyObject * obj1 = 0 ;
23817 char * kwnames[] = {
23818 (char *) "self",(char *) "tbar", NULL
23819 };
23820
23821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23823 if (!SWIG_IsOK(res1)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23825 }
23826 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23827 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23828 if (!SWIG_IsOK(res2)) {
23829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23830 }
23831 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 (arg1)->Attach(arg2);
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 resultobj = SWIG_Py_Void();
23839 return resultobj;
23840fail:
23841 return NULL;
d55e5bfc
RD
23842}
23843
23844
554f62e9
RD
23845SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23846 PyObject *resultobj = 0;
23847 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23848 PyObject *result = 0 ;
23849 void *argp1 = 0 ;
23850 int res1 = 0 ;
23851 PyObject *swig_obj[1] ;
23852
23853 if (!args) SWIG_fail;
23854 swig_obj[0] = args;
23855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23856 if (!SWIG_IsOK(res1)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23858 }
23859 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 resultobj = result;
23867 return resultobj;
23868fail:
23869 return NULL;
23870}
23871
23872
23873SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23874 PyObject *resultobj = 0;
23875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23876 PyObject *arg2 = (PyObject *) 0 ;
23877 void *argp1 = 0 ;
23878 int res1 = 0 ;
23879 PyObject * obj0 = 0 ;
23880 PyObject * obj1 = 0 ;
23881 char * kwnames[] = {
23882 (char *) "self",(char *) "clientData", NULL
23883 };
23884
23885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23887 if (!SWIG_IsOK(res1)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23889 }
23890 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23891 arg2 = obj1;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 wxToolBarToolBase_SetClientData(arg1,arg2);
23895 wxPyEndAllowThreads(__tstate);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 }
23898 resultobj = SWIG_Py_Void();
23899 return resultobj;
23900fail:
23901 return NULL;
23902}
23903
23904
23905SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23906 PyObject *obj;
23907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23908 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23909 return SWIG_Py_Void();
23910}
23911
23912SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23913 PyObject *resultobj = 0;
23914 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23915 int arg2 ;
23916 wxString *arg3 = 0 ;
23917 wxBitmap *arg4 = 0 ;
23918 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23919 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23920 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23921 wxString const &arg7_defvalue = wxPyEmptyString ;
23922 wxString *arg7 = (wxString *) &arg7_defvalue ;
23923 wxString const &arg8_defvalue = wxPyEmptyString ;
23924 wxString *arg8 = (wxString *) &arg8_defvalue ;
23925 PyObject *arg9 = (PyObject *) NULL ;
23926 wxToolBarToolBase *result = 0 ;
23927 void *argp1 = 0 ;
23928 int res1 = 0 ;
23929 int val2 ;
23930 int ecode2 = 0 ;
23931 bool temp3 = false ;
23932 void *argp4 = 0 ;
23933 int res4 = 0 ;
23934 void *argp5 = 0 ;
23935 int res5 = 0 ;
23936 int val6 ;
23937 int ecode6 = 0 ;
23938 bool temp7 = false ;
23939 bool temp8 = false ;
23940 PyObject * obj0 = 0 ;
23941 PyObject * obj1 = 0 ;
23942 PyObject * obj2 = 0 ;
23943 PyObject * obj3 = 0 ;
23944 PyObject * obj4 = 0 ;
23945 PyObject * obj5 = 0 ;
23946 PyObject * obj6 = 0 ;
23947 PyObject * obj7 = 0 ;
23948 PyObject * obj8 = 0 ;
23949 char * kwnames[] = {
23950 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23951 };
23952
23953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23955 if (!SWIG_IsOK(res1)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23957 }
23958 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23959 ecode2 = SWIG_AsVal_int(obj1, &val2);
23960 if (!SWIG_IsOK(ecode2)) {
23961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23962 }
23963 arg2 = static_cast< int >(val2);
23964 {
23965 arg3 = wxString_in_helper(obj2);
23966 if (arg3 == NULL) SWIG_fail;
23967 temp3 = true;
23968 }
23969 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23970 if (!SWIG_IsOK(res4)) {
23971 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23972 }
23973 if (!argp4) {
23974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23975 }
23976 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23977 if (obj4) {
23978 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23979 if (!SWIG_IsOK(res5)) {
23980 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23981 }
23982 if (!argp5) {
23983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23984 }
23985 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23986 }
23987 if (obj5) {
23988 ecode6 = SWIG_AsVal_int(obj5, &val6);
23989 if (!SWIG_IsOK(ecode6)) {
23990 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23991 }
23992 arg6 = static_cast< wxItemKind >(val6);
23993 }
23994 if (obj6) {
d55e5bfc 23995 {
554f62e9
RD
23996 arg7 = wxString_in_helper(obj6);
23997 if (arg7 == NULL) SWIG_fail;
23998 temp7 = true;
d55e5bfc 23999 }
554f62e9
RD
24000 }
24001 if (obj7) {
093d3ff1 24002 {
554f62e9
RD
24003 arg8 = wxString_in_helper(obj7);
24004 if (arg8 == NULL) SWIG_fail;
24005 temp8 = true;
093d3ff1 24006 }
554f62e9
RD
24007 }
24008 if (obj8) {
24009 arg9 = obj8;
24010 }
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
24014 wxPyEndAllowThreads(__tstate);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
24017 {
24018 resultobj = wxPyMake_wxObject(result, (bool)0);
24019 }
24020 {
24021 if (temp3)
24022 delete arg3;
24023 }
24024 {
24025 if (temp7)
24026 delete arg7;
24027 }
24028 {
24029 if (temp8)
24030 delete arg8;
24031 }
24032 return resultobj;
24033fail:
24034 {
24035 if (temp3)
24036 delete arg3;
24037 }
24038 {
24039 if (temp7)
24040 delete arg7;
24041 }
24042 {
24043 if (temp8)
24044 delete arg8;
24045 }
24046 return NULL;
24047}
24048
24049
24050SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj = 0;
24052 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24053 size_t arg2 ;
24054 int arg3 ;
24055 wxString *arg4 = 0 ;
24056 wxBitmap *arg5 = 0 ;
24057 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24058 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24059 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24060 wxString const &arg8_defvalue = wxPyEmptyString ;
24061 wxString *arg8 = (wxString *) &arg8_defvalue ;
24062 wxString const &arg9_defvalue = wxPyEmptyString ;
24063 wxString *arg9 = (wxString *) &arg9_defvalue ;
24064 PyObject *arg10 = (PyObject *) NULL ;
24065 wxToolBarToolBase *result = 0 ;
24066 void *argp1 = 0 ;
24067 int res1 = 0 ;
24068 size_t val2 ;
24069 int ecode2 = 0 ;
24070 int val3 ;
24071 int ecode3 = 0 ;
24072 bool temp4 = false ;
24073 void *argp5 = 0 ;
24074 int res5 = 0 ;
24075 void *argp6 = 0 ;
24076 int res6 = 0 ;
24077 int val7 ;
24078 int ecode7 = 0 ;
24079 bool temp8 = false ;
24080 bool temp9 = false ;
24081 PyObject * obj0 = 0 ;
24082 PyObject * obj1 = 0 ;
24083 PyObject * obj2 = 0 ;
24084 PyObject * obj3 = 0 ;
24085 PyObject * obj4 = 0 ;
24086 PyObject * obj5 = 0 ;
24087 PyObject * obj6 = 0 ;
24088 PyObject * obj7 = 0 ;
24089 PyObject * obj8 = 0 ;
24090 PyObject * obj9 = 0 ;
24091 char * kwnames[] = {
24092 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24093 };
24094
24095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24097 if (!SWIG_IsOK(res1)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24099 }
24100 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24101 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24102 if (!SWIG_IsOK(ecode2)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24104 }
24105 arg2 = static_cast< size_t >(val2);
24106 ecode3 = SWIG_AsVal_int(obj2, &val3);
24107 if (!SWIG_IsOK(ecode3)) {
24108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24109 }
24110 arg3 = static_cast< int >(val3);
24111 {
24112 arg4 = wxString_in_helper(obj3);
24113 if (arg4 == NULL) SWIG_fail;
24114 temp4 = true;
24115 }
24116 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24117 if (!SWIG_IsOK(res5)) {
24118 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24119 }
24120 if (!argp5) {
24121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24122 }
24123 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24124 if (obj5) {
24125 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24126 if (!SWIG_IsOK(res6)) {
24127 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24128 }
554f62e9
RD
24129 if (!argp6) {
24130 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24131 }
554f62e9
RD
24132 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24133 }
24134 if (obj6) {
24135 ecode7 = SWIG_AsVal_int(obj6, &val7);
24136 if (!SWIG_IsOK(ecode7)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24138 }
24139 arg7 = static_cast< wxItemKind >(val7);
24140 }
24141 if (obj7) {
d55e5bfc 24142 {
554f62e9
RD
24143 arg8 = wxString_in_helper(obj7);
24144 if (arg8 == NULL) SWIG_fail;
24145 temp8 = true;
d55e5bfc 24146 }
554f62e9
RD
24147 }
24148 if (obj8) {
d55e5bfc 24149 {
554f62e9
RD
24150 arg9 = wxString_in_helper(obj8);
24151 if (arg9 == NULL) SWIG_fail;
24152 temp9 = true;
d55e5bfc 24153 }
554f62e9
RD
24154 }
24155 if (obj9) {
24156 arg10 = obj9;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 {
24165 resultobj = wxPyMake_wxObject(result, (bool)0);
24166 }
24167 {
24168 if (temp4)
24169 delete arg4;
24170 }
24171 {
24172 if (temp8)
24173 delete arg8;
24174 }
24175 {
24176 if (temp9)
24177 delete arg9;
24178 }
24179 return resultobj;
24180fail:
24181 {
24182 if (temp4)
24183 delete arg4;
24184 }
24185 {
24186 if (temp8)
24187 delete arg8;
24188 }
24189 {
24190 if (temp9)
24191 delete arg9;
24192 }
24193 return NULL;
24194}
24195
24196
24197SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj = 0;
24199 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24200 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24201 wxToolBarToolBase *result = 0 ;
24202 void *argp1 = 0 ;
24203 int res1 = 0 ;
24204 void *argp2 = 0 ;
24205 int res2 = 0 ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 char * kwnames[] = {
24209 (char *) "self",(char *) "tool", NULL
24210 };
24211
24212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24214 if (!SWIG_IsOK(res1)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24216 }
24217 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24219 if (!SWIG_IsOK(res2)) {
24220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24221 }
24222 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 {
24230 resultobj = wxPyMake_wxObject(result, (bool)0);
24231 }
24232 return resultobj;
24233fail:
24234 return NULL;
24235}
24236
24237
24238SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj = 0;
24240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24241 size_t arg2 ;
24242 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24243 wxToolBarToolBase *result = 0 ;
24244 void *argp1 = 0 ;
24245 int res1 = 0 ;
24246 size_t val2 ;
24247 int ecode2 = 0 ;
24248 void *argp3 = 0 ;
24249 int res3 = 0 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 PyObject * obj2 = 0 ;
24253 char * kwnames[] = {
24254 (char *) "self",(char *) "pos",(char *) "tool", NULL
24255 };
24256
24257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24259 if (!SWIG_IsOK(res1)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24261 }
24262 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24263 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24264 if (!SWIG_IsOK(ecode2)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24266 }
24267 arg2 = static_cast< size_t >(val2);
24268 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24269 if (!SWIG_IsOK(res3)) {
24270 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24271 }
24272 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 {
24280 resultobj = wxPyMake_wxObject(result, (bool)0);
24281 }
24282 return resultobj;
24283fail:
24284 return NULL;
24285}
24286
24287
24288SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj = 0;
24290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24291 wxControl *arg2 = (wxControl *) 0 ;
24292 wxToolBarToolBase *result = 0 ;
24293 void *argp1 = 0 ;
24294 int res1 = 0 ;
24295 void *argp2 = 0 ;
24296 int res2 = 0 ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 char * kwnames[] = {
24300 (char *) "self",(char *) "control", NULL
24301 };
24302
24303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24305 if (!SWIG_IsOK(res1)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24307 }
24308 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24310 if (!SWIG_IsOK(res2)) {
24311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24312 }
24313 arg2 = reinterpret_cast< wxControl * >(argp2);
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 {
24321 resultobj = wxPyMake_wxObject(result, (bool)0);
24322 }
24323 return resultobj;
24324fail:
24325 return NULL;
24326}
24327
24328
24329SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj = 0;
24331 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24332 size_t arg2 ;
24333 wxControl *arg3 = (wxControl *) 0 ;
24334 wxToolBarToolBase *result = 0 ;
24335 void *argp1 = 0 ;
24336 int res1 = 0 ;
24337 size_t val2 ;
24338 int ecode2 = 0 ;
24339 void *argp3 = 0 ;
24340 int res3 = 0 ;
24341 PyObject * obj0 = 0 ;
24342 PyObject * obj1 = 0 ;
24343 PyObject * obj2 = 0 ;
24344 char * kwnames[] = {
24345 (char *) "self",(char *) "pos",(char *) "control", NULL
24346 };
24347
24348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24350 if (!SWIG_IsOK(res1)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24352 }
24353 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24354 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24355 if (!SWIG_IsOK(ecode2)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24357 }
24358 arg2 = static_cast< size_t >(val2);
24359 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24360 if (!SWIG_IsOK(res3)) {
24361 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24362 }
24363 arg3 = reinterpret_cast< wxControl * >(argp3);
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 {
24371 resultobj = wxPyMake_wxObject(result, (bool)0);
24372 }
24373 return resultobj;
24374fail:
24375 return NULL;
24376}
24377
24378
24379SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj = 0;
24381 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24382 int arg2 ;
24383 wxControl *result = 0 ;
24384 void *argp1 = 0 ;
24385 int res1 = 0 ;
24386 int val2 ;
24387 int ecode2 = 0 ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 char * kwnames[] = {
24391 (char *) "self",(char *) "id", NULL
24392 };
24393
24394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24396 if (!SWIG_IsOK(res1)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24398 }
24399 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24400 ecode2 = SWIG_AsVal_int(obj1, &val2);
24401 if (!SWIG_IsOK(ecode2)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24403 }
24404 arg2 = static_cast< int >(val2);
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 result = (wxControl *)(arg1)->FindControl(arg2);
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 resultobj = wxPyMake_wxObject(result, 0);
24413 }
24414 return resultobj;
24415fail:
24416 return NULL;
d55e5bfc
RD
24417}
24418
24419
554f62e9
RD
24420SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24421 PyObject *resultobj = 0;
24422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24423 wxToolBarToolBase *result = 0 ;
24424 void *argp1 = 0 ;
24425 int res1 = 0 ;
24426 PyObject *swig_obj[1] ;
24427
24428 if (!args) SWIG_fail;
24429 swig_obj[0] = args;
24430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24431 if (!SWIG_IsOK(res1)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24433 }
24434 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 {
24442 resultobj = wxPyMake_wxObject(result, (bool)0);
24443 }
24444 return resultobj;
24445fail:
24446 return NULL;
24447}
24448
24449
24450SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24451 PyObject *resultobj = 0;
24452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24453 size_t arg2 ;
24454 wxToolBarToolBase *result = 0 ;
24455 void *argp1 = 0 ;
24456 int res1 = 0 ;
24457 size_t val2 ;
24458 int ecode2 = 0 ;
24459 PyObject * obj0 = 0 ;
24460 PyObject * obj1 = 0 ;
24461 char * kwnames[] = {
24462 (char *) "self",(char *) "pos", NULL
24463 };
24464
24465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24467 if (!SWIG_IsOK(res1)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24469 }
24470 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24471 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24472 if (!SWIG_IsOK(ecode2)) {
24473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24474 }
24475 arg2 = static_cast< size_t >(val2);
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 {
24483 resultobj = wxPyMake_wxObject(result, (bool)0);
24484 }
24485 return resultobj;
24486fail:
24487 return NULL;
24488}
24489
24490
24491SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj = 0;
24493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24494 int arg2 ;
24495 wxToolBarToolBase *result = 0 ;
24496 void *argp1 = 0 ;
24497 int res1 = 0 ;
24498 int val2 ;
24499 int ecode2 = 0 ;
24500 PyObject * obj0 = 0 ;
24501 PyObject * obj1 = 0 ;
24502 char * kwnames[] = {
24503 (char *) "self",(char *) "id", NULL
24504 };
24505
24506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24508 if (!SWIG_IsOK(res1)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24510 }
24511 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24512 ecode2 = SWIG_AsVal_int(obj1, &val2);
24513 if (!SWIG_IsOK(ecode2)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24515 }
24516 arg2 = static_cast< int >(val2);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 {
24524 resultobj = wxPyMake_wxObject(result, (bool)0);
24525 }
24526 return resultobj;
24527fail:
24528 return NULL;
24529}
24530
24531
24532SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj = 0;
24534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24535 size_t arg2 ;
24536 bool result;
24537 void *argp1 = 0 ;
24538 int res1 = 0 ;
24539 size_t val2 ;
24540 int ecode2 = 0 ;
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 char * kwnames[] = {
24544 (char *) "self",(char *) "pos", NULL
24545 };
24546
24547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24549 if (!SWIG_IsOK(res1)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24551 }
24552 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24553 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24554 if (!SWIG_IsOK(ecode2)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24556 }
24557 arg2 = static_cast< size_t >(val2);
24558 {
24559 PyThreadState* __tstate = wxPyBeginAllowThreads();
24560 result = (bool)(arg1)->DeleteToolByPos(arg2);
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24566 }
24567 return resultobj;
24568fail:
24569 return NULL;
24570}
24571
24572
24573SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj = 0;
24575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24576 int arg2 ;
24577 bool result;
24578 void *argp1 = 0 ;
24579 int res1 = 0 ;
24580 int val2 ;
24581 int ecode2 = 0 ;
24582 PyObject * obj0 = 0 ;
24583 PyObject * obj1 = 0 ;
24584 char * kwnames[] = {
24585 (char *) "self",(char *) "id", NULL
24586 };
24587
24588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24590 if (!SWIG_IsOK(res1)) {
24591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24592 }
24593 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24594 ecode2 = SWIG_AsVal_int(obj1, &val2);
24595 if (!SWIG_IsOK(ecode2)) {
24596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24597 }
24598 arg2 = static_cast< int >(val2);
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 result = (bool)(arg1)->DeleteTool(arg2);
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 {
24606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24607 }
24608 return resultobj;
24609fail:
24610 return NULL;
d55e5bfc
RD
24611}
24612
24613
554f62e9
RD
24614SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24615 PyObject *resultobj = 0;
24616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24617 void *argp1 = 0 ;
24618 int res1 = 0 ;
24619 PyObject *swig_obj[1] ;
24620
24621 if (!args) SWIG_fail;
24622 swig_obj[0] = args;
24623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24624 if (!SWIG_IsOK(res1)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24626 }
24627 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->ClearTools();
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_Py_Void();
24635 return resultobj;
24636fail:
24637 return NULL;
f20a2e1f
RD
24638}
24639
24640
554f62e9
RD
24641SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24642 PyObject *resultobj = 0;
24643 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24644 bool result;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 PyObject *swig_obj[1] ;
24648
24649 if (!args) SWIG_fail;
24650 swig_obj[0] = args;
24651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24652 if (!SWIG_IsOK(res1)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24654 }
24655 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 result = (bool)(arg1)->Realize();
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 {
24663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24664 }
24665 return resultobj;
24666fail:
24667 return NULL;
24668}
24669
24670
24671SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj = 0;
24673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24674 int arg2 ;
24675 bool arg3 ;
24676 void *argp1 = 0 ;
24677 int res1 = 0 ;
24678 int val2 ;
24679 int ecode2 = 0 ;
24680 bool val3 ;
24681 int ecode3 = 0 ;
24682 PyObject * obj0 = 0 ;
24683 PyObject * obj1 = 0 ;
24684 PyObject * obj2 = 0 ;
24685 char * kwnames[] = {
24686 (char *) "self",(char *) "id",(char *) "enable", NULL
24687 };
24688
24689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24691 if (!SWIG_IsOK(res1)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24693 }
24694 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24695 ecode2 = SWIG_AsVal_int(obj1, &val2);
24696 if (!SWIG_IsOK(ecode2)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24698 }
24699 arg2 = static_cast< int >(val2);
24700 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24701 if (!SWIG_IsOK(ecode3)) {
24702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24703 }
24704 arg3 = static_cast< bool >(val3);
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 (arg1)->EnableTool(arg2,arg3);
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 resultobj = SWIG_Py_Void();
24712 return resultobj;
24713fail:
24714 return NULL;
24715}
24716
24717
24718SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24719 PyObject *resultobj = 0;
24720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24721 int arg2 ;
24722 bool arg3 ;
24723 void *argp1 = 0 ;
24724 int res1 = 0 ;
24725 int val2 ;
24726 int ecode2 = 0 ;
24727 bool val3 ;
24728 int ecode3 = 0 ;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 PyObject * obj2 = 0 ;
24732 char * kwnames[] = {
24733 (char *) "self",(char *) "id",(char *) "toggle", NULL
24734 };
24735
24736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24738 if (!SWIG_IsOK(res1)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24740 }
24741 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24742 ecode2 = SWIG_AsVal_int(obj1, &val2);
24743 if (!SWIG_IsOK(ecode2)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24745 }
24746 arg2 = static_cast< int >(val2);
24747 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24748 if (!SWIG_IsOK(ecode3)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24750 }
24751 arg3 = static_cast< bool >(val3);
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 (arg1)->ToggleTool(arg2,arg3);
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 resultobj = SWIG_Py_Void();
24759 return resultobj;
24760fail:
24761 return NULL;
24762}
24763
24764
24765SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj = 0;
24767 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24768 int arg2 ;
24769 bool arg3 ;
24770 void *argp1 = 0 ;
24771 int res1 = 0 ;
24772 int val2 ;
24773 int ecode2 = 0 ;
24774 bool val3 ;
24775 int ecode3 = 0 ;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 PyObject * obj2 = 0 ;
24779 char * kwnames[] = {
24780 (char *) "self",(char *) "id",(char *) "toggle", NULL
24781 };
24782
24783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24785 if (!SWIG_IsOK(res1)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24787 }
24788 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24789 ecode2 = SWIG_AsVal_int(obj1, &val2);
24790 if (!SWIG_IsOK(ecode2)) {
24791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24792 }
24793 arg2 = static_cast< int >(val2);
24794 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24795 if (!SWIG_IsOK(ecode3)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24797 }
24798 arg3 = static_cast< bool >(val3);
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 (arg1)->SetToggle(arg2,arg3);
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 resultobj = SWIG_Py_Void();
24806 return resultobj;
24807fail:
24808 return NULL;
24809}
24810
24811
24812SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj = 0;
24814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24815 int arg2 ;
24816 PyObject *result = 0 ;
24817 void *argp1 = 0 ;
24818 int res1 = 0 ;
24819 int val2 ;
24820 int ecode2 = 0 ;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 char * kwnames[] = {
24824 (char *) "self",(char *) "id", NULL
24825 };
24826
24827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24829 if (!SWIG_IsOK(res1)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24831 }
24832 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24833 ecode2 = SWIG_AsVal_int(obj1, &val2);
24834 if (!SWIG_IsOK(ecode2)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24836 }
24837 arg2 = static_cast< int >(val2);
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 resultobj = result;
24845 return resultobj;
24846fail:
24847 return NULL;
24848}
24849
24850
24851SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj = 0;
24853 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24854 int arg2 ;
24855 PyObject *arg3 = (PyObject *) 0 ;
24856 void *argp1 = 0 ;
24857 int res1 = 0 ;
24858 int val2 ;
24859 int ecode2 = 0 ;
24860 PyObject * obj0 = 0 ;
24861 PyObject * obj1 = 0 ;
24862 PyObject * obj2 = 0 ;
24863 char * kwnames[] = {
24864 (char *) "self",(char *) "id",(char *) "clientData", NULL
24865 };
24866
24867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24869 if (!SWIG_IsOK(res1)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24871 }
24872 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24873 ecode2 = SWIG_AsVal_int(obj1, &val2);
24874 if (!SWIG_IsOK(ecode2)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24876 }
24877 arg2 = static_cast< int >(val2);
24878 arg3 = obj2;
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 resultobj = SWIG_Py_Void();
24886 return resultobj;
24887fail:
24888 return NULL;
24889}
24890
24891
24892SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj = 0;
24894 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24895 int arg2 ;
24896 int result;
24897 void *argp1 = 0 ;
24898 int res1 = 0 ;
24899 int val2 ;
24900 int ecode2 = 0 ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 char * kwnames[] = {
24904 (char *) "self",(char *) "id", NULL
24905 };
24906
24907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24909 if (!SWIG_IsOK(res1)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24911 }
24912 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24913 ecode2 = SWIG_AsVal_int(obj1, &val2);
24914 if (!SWIG_IsOK(ecode2)) {
24915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24916 }
24917 arg2 = static_cast< int >(val2);
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24921 wxPyEndAllowThreads(__tstate);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 resultobj = SWIG_From_int(static_cast< int >(result));
24925 return resultobj;
24926fail:
24927 return NULL;
24928}
24929
24930
24931SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24932 PyObject *resultobj = 0;
24933 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24934 int arg2 ;
24935 bool result;
24936 void *argp1 = 0 ;
24937 int res1 = 0 ;
24938 int val2 ;
24939 int ecode2 = 0 ;
24940 PyObject * obj0 = 0 ;
24941 PyObject * obj1 = 0 ;
24942 char * kwnames[] = {
24943 (char *) "self",(char *) "id", NULL
24944 };
24945
24946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24948 if (!SWIG_IsOK(res1)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24950 }
24951 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24952 ecode2 = SWIG_AsVal_int(obj1, &val2);
24953 if (!SWIG_IsOK(ecode2)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24955 }
24956 arg2 = static_cast< int >(val2);
24957 {
24958 PyThreadState* __tstate = wxPyBeginAllowThreads();
24959 result = (bool)(arg1)->GetToolState(arg2);
24960 wxPyEndAllowThreads(__tstate);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 }
24963 {
24964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24965 }
24966 return resultobj;
24967fail:
24968 return NULL;
24969}
24970
24971
24972SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24973 PyObject *resultobj = 0;
24974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24975 int arg2 ;
24976 bool result;
24977 void *argp1 = 0 ;
24978 int res1 = 0 ;
24979 int val2 ;
24980 int ecode2 = 0 ;
24981 PyObject * obj0 = 0 ;
24982 PyObject * obj1 = 0 ;
24983 char * kwnames[] = {
24984 (char *) "self",(char *) "id", NULL
24985 };
24986
24987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24989 if (!SWIG_IsOK(res1)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24991 }
24992 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24993 ecode2 = SWIG_AsVal_int(obj1, &val2);
24994 if (!SWIG_IsOK(ecode2)) {
24995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24996 }
24997 arg2 = static_cast< int >(val2);
24998 {
24999 PyThreadState* __tstate = wxPyBeginAllowThreads();
25000 result = (bool)(arg1)->GetToolEnabled(arg2);
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25006 }
25007 return resultobj;
25008fail:
25009 return NULL;
25010}
25011
25012
25013SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25014 PyObject *resultobj = 0;
25015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25016 int arg2 ;
25017 wxString *arg3 = 0 ;
25018 void *argp1 = 0 ;
25019 int res1 = 0 ;
25020 int val2 ;
25021 int ecode2 = 0 ;
25022 bool temp3 = false ;
25023 PyObject * obj0 = 0 ;
25024 PyObject * obj1 = 0 ;
25025 PyObject * obj2 = 0 ;
25026 char * kwnames[] = {
25027 (char *) "self",(char *) "id",(char *) "helpString", NULL
25028 };
25029
25030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25032 if (!SWIG_IsOK(res1)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25034 }
25035 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25036 ecode2 = SWIG_AsVal_int(obj1, &val2);
25037 if (!SWIG_IsOK(ecode2)) {
25038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25039 }
25040 arg2 = static_cast< int >(val2);
25041 {
25042 arg3 = wxString_in_helper(obj2);
25043 if (arg3 == NULL) SWIG_fail;
25044 temp3 = true;
25045 }
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_Py_Void();
25053 {
25054 if (temp3)
25055 delete arg3;
25056 }
25057 return resultobj;
25058fail:
25059 {
25060 if (temp3)
25061 delete arg3;
25062 }
25063 return NULL;
25064}
25065
25066
25067SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25068 PyObject *resultobj = 0;
25069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25070 int arg2 ;
25071 wxString result;
25072 void *argp1 = 0 ;
25073 int res1 = 0 ;
25074 int val2 ;
25075 int ecode2 = 0 ;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj1 = 0 ;
25078 char * kwnames[] = {
25079 (char *) "self",(char *) "id", NULL
25080 };
25081
25082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25084 if (!SWIG_IsOK(res1)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25086 }
25087 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25088 ecode2 = SWIG_AsVal_int(obj1, &val2);
25089 if (!SWIG_IsOK(ecode2)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25091 }
25092 arg2 = static_cast< int >(val2);
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 result = (arg1)->GetToolShortHelp(arg2);
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 {
d55e5bfc 25100#if wxUSE_UNICODE
554f62e9 25101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 25102#else
554f62e9 25103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 25104#endif
554f62e9
RD
25105 }
25106 return resultobj;
25107fail:
25108 return NULL;
25109}
25110
25111
25112SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25113 PyObject *resultobj = 0;
25114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25115 int arg2 ;
25116 wxString *arg3 = 0 ;
25117 void *argp1 = 0 ;
25118 int res1 = 0 ;
25119 int val2 ;
25120 int ecode2 = 0 ;
25121 bool temp3 = false ;
25122 PyObject * obj0 = 0 ;
25123 PyObject * obj1 = 0 ;
25124 PyObject * obj2 = 0 ;
25125 char * kwnames[] = {
25126 (char *) "self",(char *) "id",(char *) "helpString", NULL
25127 };
25128
25129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",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_SetToolLongHelp" "', 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_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25138 }
25139 arg2 = static_cast< int >(val2);
25140 {
25141 arg3 = wxString_in_helper(obj2);
25142 if (arg3 == NULL) SWIG_fail;
25143 temp3 = true;
25144 }
25145 {
25146 PyThreadState* __tstate = wxPyBeginAllowThreads();
25147 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 resultobj = SWIG_Py_Void();
25152 {
25153 if (temp3)
25154 delete arg3;
25155 }
25156 return resultobj;
25157fail:
25158 {
25159 if (temp3)
25160 delete arg3;
25161 }
25162 return NULL;
25163}
25164
25165
25166SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj = 0;
25168 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25169 int arg2 ;
25170 wxString result;
25171 void *argp1 = 0 ;
25172 int res1 = 0 ;
25173 int val2 ;
25174 int ecode2 = 0 ;
25175 PyObject * obj0 = 0 ;
25176 PyObject * obj1 = 0 ;
25177 char * kwnames[] = {
25178 (char *) "self",(char *) "id", NULL
25179 };
25180
25181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25183 if (!SWIG_IsOK(res1)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25185 }
25186 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25187 ecode2 = SWIG_AsVal_int(obj1, &val2);
25188 if (!SWIG_IsOK(ecode2)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25190 }
25191 arg2 = static_cast< int >(val2);
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 result = (arg1)->GetToolLongHelp(arg2);
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 {
25199#if wxUSE_UNICODE
25200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25201#else
25202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25203#endif
25204 }
25205 return resultobj;
25206fail:
25207 return NULL;
25208}
25209
25210
25211SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj = 0;
25213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25214 int arg2 ;
25215 int arg3 ;
25216 void *argp1 = 0 ;
25217 int res1 = 0 ;
25218 int val2 ;
25219 int ecode2 = 0 ;
25220 int val3 ;
25221 int ecode3 = 0 ;
25222 PyObject * obj0 = 0 ;
25223 PyObject * obj1 = 0 ;
25224 PyObject * obj2 = 0 ;
25225 char * kwnames[] = {
25226 (char *) "self",(char *) "x",(char *) "y", NULL
25227 };
25228
25229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25231 if (!SWIG_IsOK(res1)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25233 }
25234 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25235 ecode2 = SWIG_AsVal_int(obj1, &val2);
25236 if (!SWIG_IsOK(ecode2)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25238 }
25239 arg2 = static_cast< int >(val2);
25240 ecode3 = SWIG_AsVal_int(obj2, &val3);
25241 if (!SWIG_IsOK(ecode3)) {
25242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25243 }
25244 arg3 = static_cast< int >(val3);
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 (arg1)->SetMargins(arg2,arg3);
25248 wxPyEndAllowThreads(__tstate);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 }
25251 resultobj = SWIG_Py_Void();
25252 return resultobj;
25253fail:
25254 return NULL;
25255}
25256
25257
25258SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25259 PyObject *resultobj = 0;
25260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25261 wxSize *arg2 = 0 ;
25262 void *argp1 = 0 ;
25263 int res1 = 0 ;
25264 wxSize temp2 ;
25265 PyObject * obj0 = 0 ;
25266 PyObject * obj1 = 0 ;
25267 char * kwnames[] = {
25268 (char *) "self",(char *) "size", NULL
25269 };
25270
25271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25273 if (!SWIG_IsOK(res1)) {
25274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25275 }
25276 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25277 {
25278 arg2 = &temp2;
25279 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25280 }
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 (arg1)->SetMargins((wxSize const &)*arg2);
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 resultobj = SWIG_Py_Void();
25288 return resultobj;
25289fail:
25290 return NULL;
25291}
25292
25293
25294SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25295 PyObject *resultobj = 0;
25296 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25297 int arg2 ;
25298 void *argp1 = 0 ;
25299 int res1 = 0 ;
25300 int val2 ;
25301 int ecode2 = 0 ;
25302 PyObject * obj0 = 0 ;
25303 PyObject * obj1 = 0 ;
25304 char * kwnames[] = {
25305 (char *) "self",(char *) "packing", NULL
25306 };
25307
25308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25310 if (!SWIG_IsOK(res1)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25312 }
25313 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25314 ecode2 = SWIG_AsVal_int(obj1, &val2);
25315 if (!SWIG_IsOK(ecode2)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25317 }
25318 arg2 = static_cast< int >(val2);
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 (arg1)->SetToolPacking(arg2);
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 resultobj = SWIG_Py_Void();
25326 return resultobj;
25327fail:
25328 return NULL;
25329}
25330
25331
25332SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25333 PyObject *resultobj = 0;
25334 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25335 int arg2 ;
25336 void *argp1 = 0 ;
25337 int res1 = 0 ;
25338 int val2 ;
25339 int ecode2 = 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 char * kwnames[] = {
25343 (char *) "self",(char *) "separation", NULL
25344 };
25345
25346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25348 if (!SWIG_IsOK(res1)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25350 }
25351 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25352 ecode2 = SWIG_AsVal_int(obj1, &val2);
25353 if (!SWIG_IsOK(ecode2)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25355 }
25356 arg2 = static_cast< int >(val2);
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 (arg1)->SetToolSeparation(arg2);
25360 wxPyEndAllowThreads(__tstate);
25361 if (PyErr_Occurred()) SWIG_fail;
25362 }
25363 resultobj = SWIG_Py_Void();
25364 return resultobj;
25365fail:
25366 return NULL;
d55e5bfc
RD
25367}
25368
25369
554f62e9
RD
25370SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25371 PyObject *resultobj = 0;
25372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25373 wxSize result;
25374 void *argp1 = 0 ;
25375 int res1 = 0 ;
25376 PyObject *swig_obj[1] ;
25377
25378 if (!args) SWIG_fail;
25379 swig_obj[0] = args;
25380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25381 if (!SWIG_IsOK(res1)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25383 }
25384 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 result = (arg1)->GetToolMargins();
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
25391 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25392 return resultobj;
25393fail:
25394 return NULL;
d55e5bfc
RD
25395}
25396
25397
554f62e9
RD
25398SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25399 PyObject *resultobj = 0;
25400 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25401 wxSize result;
25402 void *argp1 = 0 ;
25403 int res1 = 0 ;
25404 PyObject *swig_obj[1] ;
25405
25406 if (!args) SWIG_fail;
25407 swig_obj[0] = args;
25408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25409 if (!SWIG_IsOK(res1)) {
25410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25411 }
25412 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 result = (arg1)->GetMargins();
25416 wxPyEndAllowThreads(__tstate);
25417 if (PyErr_Occurred()) SWIG_fail;
25418 }
25419 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25420 return resultobj;
25421fail:
25422 return NULL;
d55e5bfc
RD
25423}
25424
25425
554f62e9
RD
25426SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25427 PyObject *resultobj = 0;
25428 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25429 int result;
25430 void *argp1 = 0 ;
25431 int res1 = 0 ;
25432 PyObject *swig_obj[1] ;
25433
25434 if (!args) SWIG_fail;
25435 swig_obj[0] = args;
25436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25437 if (!SWIG_IsOK(res1)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25439 }
25440 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 result = (int)(arg1)->GetToolPacking();
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 resultobj = SWIG_From_int(static_cast< int >(result));
25448 return resultobj;
25449fail:
25450 return NULL;
d55e5bfc
RD
25451}
25452
25453
554f62e9
RD
25454SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25455 PyObject *resultobj = 0;
25456 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25457 int result;
25458 void *argp1 = 0 ;
25459 int res1 = 0 ;
25460 PyObject *swig_obj[1] ;
25461
25462 if (!args) SWIG_fail;
25463 swig_obj[0] = args;
25464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25465 if (!SWIG_IsOK(res1)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25467 }
25468 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 result = (int)(arg1)->GetToolSeparation();
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
25475 resultobj = SWIG_From_int(static_cast< int >(result));
25476 return resultobj;
25477fail:
25478 return NULL;
25479}
25480
25481
25482SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj = 0;
25484 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25485 int arg2 ;
25486 void *argp1 = 0 ;
25487 int res1 = 0 ;
25488 int val2 ;
25489 int ecode2 = 0 ;
25490 PyObject * obj0 = 0 ;
25491 PyObject * obj1 = 0 ;
25492 char * kwnames[] = {
25493 (char *) "self",(char *) "nRows", NULL
25494 };
25495
25496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25498 if (!SWIG_IsOK(res1)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25500 }
25501 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25502 ecode2 = SWIG_AsVal_int(obj1, &val2);
25503 if (!SWIG_IsOK(ecode2)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25505 }
25506 arg2 = static_cast< int >(val2);
25507 {
25508 PyThreadState* __tstate = wxPyBeginAllowThreads();
25509 (arg1)->SetRows(arg2);
25510 wxPyEndAllowThreads(__tstate);
25511 if (PyErr_Occurred()) SWIG_fail;
25512 }
25513 resultobj = SWIG_Py_Void();
25514 return resultobj;
25515fail:
25516 return NULL;
25517}
25518
25519
25520SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25521 PyObject *resultobj = 0;
25522 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25523 int arg2 ;
25524 int arg3 ;
25525 void *argp1 = 0 ;
25526 int res1 = 0 ;
25527 int val2 ;
25528 int ecode2 = 0 ;
25529 int val3 ;
25530 int ecode3 = 0 ;
25531 PyObject * obj0 = 0 ;
25532 PyObject * obj1 = 0 ;
25533 PyObject * obj2 = 0 ;
25534 char * kwnames[] = {
25535 (char *) "self",(char *) "rows",(char *) "cols", NULL
25536 };
25537
25538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25540 if (!SWIG_IsOK(res1)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25542 }
25543 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25544 ecode2 = SWIG_AsVal_int(obj1, &val2);
25545 if (!SWIG_IsOK(ecode2)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25547 }
25548 arg2 = static_cast< int >(val2);
25549 ecode3 = SWIG_AsVal_int(obj2, &val3);
25550 if (!SWIG_IsOK(ecode3)) {
25551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25552 }
25553 arg3 = static_cast< int >(val3);
25554 {
25555 PyThreadState* __tstate = wxPyBeginAllowThreads();
25556 (arg1)->SetMaxRowsCols(arg2,arg3);
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
25560 resultobj = SWIG_Py_Void();
25561 return resultobj;
25562fail:
25563 return NULL;
d55e5bfc
RD
25564}
25565
25566
554f62e9
RD
25567SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25568 PyObject *resultobj = 0;
25569 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25570 int result;
25571 void *argp1 = 0 ;
25572 int res1 = 0 ;
25573 PyObject *swig_obj[1] ;
25574
25575 if (!args) SWIG_fail;
25576 swig_obj[0] = args;
25577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25580 }
25581 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (int)(arg1)->GetMaxRows();
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 resultobj = SWIG_From_int(static_cast< int >(result));
25589 return resultobj;
25590fail:
25591 return NULL;
d55e5bfc
RD
25592}
25593
25594
554f62e9
RD
25595SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25596 PyObject *resultobj = 0;
25597 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25598 int result;
25599 void *argp1 = 0 ;
25600 int res1 = 0 ;
25601 PyObject *swig_obj[1] ;
25602
25603 if (!args) SWIG_fail;
25604 swig_obj[0] = args;
25605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25606 if (!SWIG_IsOK(res1)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25608 }
25609 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (int)(arg1)->GetMaxCols();
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 resultobj = SWIG_From_int(static_cast< int >(result));
25617 return resultobj;
25618fail:
25619 return NULL;
25620}
25621
25622
25623SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj = 0;
25625 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25626 wxSize *arg2 = 0 ;
25627 void *argp1 = 0 ;
25628 int res1 = 0 ;
25629 wxSize temp2 ;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char * kwnames[] = {
25633 (char *) "self",(char *) "size", NULL
25634 };
25635
25636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25638 if (!SWIG_IsOK(res1)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25640 }
25641 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25642 {
25643 arg2 = &temp2;
25644 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25645 }
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = SWIG_Py_Void();
25653 return resultobj;
25654fail:
25655 return NULL;
d55e5bfc
RD
25656}
25657
25658
554f62e9
RD
25659SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25660 PyObject *resultobj = 0;
25661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25662 wxSize result;
25663 void *argp1 = 0 ;
25664 int res1 = 0 ;
25665 PyObject *swig_obj[1] ;
25666
25667 if (!args) SWIG_fail;
25668 swig_obj[0] = args;
25669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25670 if (!SWIG_IsOK(res1)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25672 }
25673 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (arg1)->GetToolBitmapSize();
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25681 return resultobj;
25682fail:
25683 return NULL;
d55e5bfc
RD
25684}
25685
25686
554f62e9
RD
25687SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25688 PyObject *resultobj = 0;
25689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25690 wxSize result;
25691 void *argp1 = 0 ;
25692 int res1 = 0 ;
25693 PyObject *swig_obj[1] ;
25694
25695 if (!args) SWIG_fail;
25696 swig_obj[0] = args;
25697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25698 if (!SWIG_IsOK(res1)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25700 }
25701 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25702 {
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = (arg1)->GetToolSize();
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25709 return resultobj;
25710fail:
25711 return NULL;
25712}
25713
25714
25715SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25716 PyObject *resultobj = 0;
25717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25718 int arg2 ;
25719 int arg3 ;
25720 wxToolBarToolBase *result = 0 ;
25721 void *argp1 = 0 ;
25722 int res1 = 0 ;
25723 int val2 ;
25724 int ecode2 = 0 ;
25725 int val3 ;
25726 int ecode3 = 0 ;
25727 PyObject * obj0 = 0 ;
25728 PyObject * obj1 = 0 ;
25729 PyObject * obj2 = 0 ;
25730 char * kwnames[] = {
25731 (char *) "self",(char *) "x",(char *) "y", NULL
25732 };
25733
25734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25736 if (!SWIG_IsOK(res1)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25738 }
25739 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25740 ecode2 = SWIG_AsVal_int(obj1, &val2);
25741 if (!SWIG_IsOK(ecode2)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25743 }
25744 arg2 = static_cast< int >(val2);
25745 ecode3 = SWIG_AsVal_int(obj2, &val3);
25746 if (!SWIG_IsOK(ecode3)) {
25747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25748 }
25749 arg3 = static_cast< int >(val3);
25750 {
25751 PyThreadState* __tstate = wxPyBeginAllowThreads();
25752 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25753 wxPyEndAllowThreads(__tstate);
25754 if (PyErr_Occurred()) SWIG_fail;
25755 }
25756 {
25757 resultobj = wxPyMake_wxObject(result, (bool)0);
25758 }
25759 return resultobj;
25760fail:
25761 return NULL;
25762}
25763
25764
25765SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj = 0;
25767 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25768 int arg2 ;
25769 wxToolBarToolBase *result = 0 ;
25770 void *argp1 = 0 ;
25771 int res1 = 0 ;
25772 int val2 ;
25773 int ecode2 = 0 ;
25774 PyObject * obj0 = 0 ;
25775 PyObject * obj1 = 0 ;
25776 char * kwnames[] = {
25777 (char *) "self",(char *) "toolid", NULL
25778 };
25779
25780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25784 }
25785 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25786 ecode2 = SWIG_AsVal_int(obj1, &val2);
25787 if (!SWIG_IsOK(ecode2)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25789 }
25790 arg2 = static_cast< int >(val2);
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 {
25798 resultobj = wxPyMake_wxObject(result, (bool)0);
25799 }
25800 return resultobj;
25801fail:
25802 return NULL;
d55e5bfc
RD
25803}
25804
25805
554f62e9
RD
25806SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25807 PyObject *resultobj = 0;
25808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25809 bool result;
25810 void *argp1 = 0 ;
25811 int res1 = 0 ;
25812 PyObject *swig_obj[1] ;
25813
25814 if (!args) SWIG_fail;
25815 swig_obj[0] = args;
25816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25817 if (!SWIG_IsOK(res1)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25819 }
25820 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (bool)(arg1)->IsVertical();
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 {
25828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25829 }
25830 return resultobj;
25831fail:
25832 return NULL;
d55e5bfc
RD
25833}
25834
25835
554f62e9
RD
25836SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25837 PyObject *resultobj = 0;
25838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25839 size_t result;
25840 void *argp1 = 0 ;
25841 int res1 = 0 ;
25842 PyObject *swig_obj[1] ;
25843
25844 if (!args) SWIG_fail;
25845 swig_obj[0] = args;
25846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25847 if (!SWIG_IsOK(res1)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25849 }
25850 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25858 return resultobj;
25859fail:
25860 return NULL;
25861}
25862
25863
25864SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25865 PyObject *obj;
25866 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25867 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25868 return SWIG_Py_Void();
25869}
25870
25871SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25872 PyObject *resultobj = 0;
25873 wxWindow *arg1 = (wxWindow *) 0 ;
25874 int arg2 = (int) -1 ;
25875 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25876 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25877 wxSize const &arg4_defvalue = wxDefaultSize ;
25878 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25879 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25880 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25881 wxString *arg6 = (wxString *) &arg6_defvalue ;
25882 wxToolBar *result = 0 ;
25883 void *argp1 = 0 ;
25884 int res1 = 0 ;
25885 int val2 ;
25886 int ecode2 = 0 ;
25887 wxPoint temp3 ;
25888 wxSize temp4 ;
25889 long val5 ;
25890 int ecode5 = 0 ;
25891 bool temp6 = false ;
25892 PyObject * obj0 = 0 ;
25893 PyObject * obj1 = 0 ;
25894 PyObject * obj2 = 0 ;
25895 PyObject * obj3 = 0 ;
25896 PyObject * obj4 = 0 ;
25897 PyObject * obj5 = 0 ;
25898 char * kwnames[] = {
25899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25900 };
25901
25902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25904 if (!SWIG_IsOK(res1)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25906 }
25907 arg1 = reinterpret_cast< wxWindow * >(argp1);
25908 if (obj1) {
25909 ecode2 = SWIG_AsVal_int(obj1, &val2);
25910 if (!SWIG_IsOK(ecode2)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25912 }
25913 arg2 = static_cast< int >(val2);
25914 }
25915 if (obj2) {
d55e5bfc 25916 {
554f62e9
RD
25917 arg3 = &temp3;
25918 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25919 }
554f62e9
RD
25920 }
25921 if (obj3) {
093d3ff1 25922 {
554f62e9
RD
25923 arg4 = &temp4;
25924 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25925 }
554f62e9
RD
25926 }
25927 if (obj4) {
25928 ecode5 = SWIG_AsVal_long(obj4, &val5);
25929 if (!SWIG_IsOK(ecode5)) {
25930 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25931 }
25932 arg5 = static_cast< long >(val5);
25933 }
25934 if (obj5) {
d55e5bfc 25935 {
554f62e9
RD
25936 arg6 = wxString_in_helper(obj5);
25937 if (arg6 == NULL) SWIG_fail;
25938 temp6 = true;
d55e5bfc 25939 }
554f62e9
RD
25940 }
25941 {
25942 if (!wxPyCheckForApp()) SWIG_fail;
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25949 {
25950 if (temp6)
25951 delete arg6;
25952 }
25953 return resultobj;
25954fail:
25955 {
25956 if (temp6)
25957 delete arg6;
25958 }
25959 return NULL;
d55e5bfc
RD
25960}
25961
25962
554f62e9
RD
25963SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25964 PyObject *resultobj = 0;
25965 wxToolBar *result = 0 ;
25966
25967 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25968 {
25969 if (!wxPyCheckForApp()) SWIG_fail;
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (wxToolBar *)new wxToolBar();
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25976 return resultobj;
25977fail:
25978 return NULL;
25979}
25980
25981
25982SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj = 0;
25984 wxToolBar *arg1 = (wxToolBar *) 0 ;
25985 wxWindow *arg2 = (wxWindow *) 0 ;
25986 int arg3 = (int) -1 ;
25987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25989 wxSize const &arg5_defvalue = wxDefaultSize ;
25990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25991 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25992 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25993 wxString *arg7 = (wxString *) &arg7_defvalue ;
25994 bool result;
25995 void *argp1 = 0 ;
25996 int res1 = 0 ;
25997 void *argp2 = 0 ;
25998 int res2 = 0 ;
25999 int val3 ;
26000 int ecode3 = 0 ;
26001 wxPoint temp4 ;
26002 wxSize temp5 ;
26003 long val6 ;
26004 int ecode6 = 0 ;
26005 bool temp7 = false ;
26006 PyObject * obj0 = 0 ;
26007 PyObject * obj1 = 0 ;
26008 PyObject * obj2 = 0 ;
26009 PyObject * obj3 = 0 ;
26010 PyObject * obj4 = 0 ;
26011 PyObject * obj5 = 0 ;
26012 PyObject * obj6 = 0 ;
26013 char * kwnames[] = {
26014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26015 };
26016
26017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26019 if (!SWIG_IsOK(res1)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26021 }
26022 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26024 if (!SWIG_IsOK(res2)) {
26025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26026 }
26027 arg2 = reinterpret_cast< wxWindow * >(argp2);
26028 if (obj2) {
26029 ecode3 = SWIG_AsVal_int(obj2, &val3);
26030 if (!SWIG_IsOK(ecode3)) {
26031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26032 }
26033 arg3 = static_cast< int >(val3);
26034 }
26035 if (obj3) {
d55e5bfc 26036 {
554f62e9
RD
26037 arg4 = &temp4;
26038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 26039 }
554f62e9
RD
26040 }
26041 if (obj4) {
093d3ff1 26042 {
554f62e9
RD
26043 arg5 = &temp5;
26044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 26045 }
554f62e9
RD
26046 }
26047 if (obj5) {
26048 ecode6 = SWIG_AsVal_long(obj5, &val6);
26049 if (!SWIG_IsOK(ecode6)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26051 }
26052 arg6 = static_cast< long >(val6);
26053 }
26054 if (obj6) {
26055 {
26056 arg7 = wxString_in_helper(obj6);
26057 if (arg7 == NULL) SWIG_fail;
26058 temp7 = true;
26059 }
26060 }
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 {
26068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26069 }
26070 {
26071 if (temp7)
26072 delete arg7;
26073 }
26074 return resultobj;
26075fail:
26076 {
26077 if (temp7)
26078 delete arg7;
26079 }
26080 return NULL;
26081}
26082
26083
554f62e9
RD
26084SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj = 0;
26086 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26087 SwigValueWrapper<wxVisualAttributes > result;
26088 int val1 ;
26089 int ecode1 = 0 ;
26090 PyObject * obj0 = 0 ;
26091 char * kwnames[] = {
26092 (char *) "variant", NULL
26093 };
26094
26095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26096 if (obj0) {
26097 ecode1 = SWIG_AsVal_int(obj0, &val1);
26098 if (!SWIG_IsOK(ecode1)) {
26099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26100 }
26101 arg1 = static_cast< wxWindowVariant >(val1);
26102 }
26103 {
26104 if (!wxPyCheckForApp()) SWIG_fail;
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 result = wxToolBar::GetClassDefaultAttributes(arg1);
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26111 return resultobj;
26112fail:
26113 return NULL;
d55e5bfc
RD
26114}
26115
26116
554f62e9
RD
26117SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26118 PyObject *obj;
26119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26120 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26121 return SWIG_Py_Void();
d55e5bfc
RD
26122}
26123
554f62e9
RD
26124SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26125 return SWIG_Python_InitShadowInstance(args);
26126}
d55e5bfc 26127
554f62e9
RD
26128SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26129 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26130 return 1;
d55e5bfc
RD
26131}
26132
26133
554f62e9
RD
26134SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26135 PyObject *pyobj = 0;
26136
26137 {
26138#if wxUSE_UNICODE
26139 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26140#else
26141 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26142#endif
26143 }
26144 return pyobj;
26145}
26146
26147
26148SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26149 PyObject *resultobj = 0;
26150 wxColour const &arg1_defvalue = wxNullColour ;
26151 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26152 wxColour const &arg2_defvalue = wxNullColour ;
26153 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26154 wxFont const &arg3_defvalue = wxNullFont ;
26155 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26156 wxListItemAttr *result = 0 ;
26157 wxColour temp1 ;
26158 wxColour temp2 ;
26159 void *argp3 = 0 ;
26160 int res3 = 0 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 PyObject * obj2 = 0 ;
26164 char * kwnames[] = {
26165 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26166 };
26167
26168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26169 if (obj0) {
093d3ff1 26170 {
554f62e9
RD
26171 arg1 = &temp1;
26172 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 26173 }
554f62e9
RD
26174 }
26175 if (obj1) {
d55e5bfc 26176 {
554f62e9
RD
26177 arg2 = &temp2;
26178 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 26179 }
554f62e9
RD
26180 }
26181 if (obj2) {
26182 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26183 if (!SWIG_IsOK(res3)) {
26184 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26185 }
26186 if (!argp3) {
26187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26188 }
26189 arg3 = reinterpret_cast< wxFont * >(argp3);
26190 }
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26198 return resultobj;
26199fail:
26200 return NULL;
d55e5bfc
RD
26201}
26202
26203
554f62e9
RD
26204SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26205 PyObject *resultobj = 0;
26206 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26207 void *argp1 = 0 ;
26208 int res1 = 0 ;
26209 PyObject *swig_obj[1] ;
26210
26211 if (!args) SWIG_fail;
26212 swig_obj[0] = args;
26213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26214 if (!SWIG_IsOK(res1)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26216 }
26217 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 delete arg1;
d55e5bfc 26221
554f62e9
RD
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 resultobj = SWIG_Py_Void();
26226 return resultobj;
26227fail:
26228 return NULL;
26229}
26230
26231
26232SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26233 PyObject *resultobj = 0;
26234 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26235 wxColour *arg2 = 0 ;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 wxColour temp2 ;
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char * kwnames[] = {
26242 (char *) "self",(char *) "colText", NULL
26243 };
26244
26245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26247 if (!SWIG_IsOK(res1)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26249 }
26250 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26251 {
26252 arg2 = &temp2;
26253 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26254 }
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 (arg1)->SetTextColour((wxColour const &)*arg2);
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 resultobj = SWIG_Py_Void();
26262 return resultobj;
26263fail:
26264 return NULL;
26265}
26266
26267
26268SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj = 0;
26270 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26271 wxColour *arg2 = 0 ;
26272 void *argp1 = 0 ;
26273 int res1 = 0 ;
26274 wxColour temp2 ;
26275 PyObject * obj0 = 0 ;
26276 PyObject * obj1 = 0 ;
26277 char * kwnames[] = {
26278 (char *) "self",(char *) "colBack", NULL
26279 };
26280
26281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26283 if (!SWIG_IsOK(res1)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26285 }
26286 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26287 {
26288 arg2 = &temp2;
26289 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26290 }
26291 {
26292 PyThreadState* __tstate = wxPyBeginAllowThreads();
26293 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 resultobj = SWIG_Py_Void();
26298 return resultobj;
26299fail:
26300 return NULL;
26301}
26302
26303
26304SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj = 0;
26306 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26307 wxFont *arg2 = 0 ;
26308 void *argp1 = 0 ;
26309 int res1 = 0 ;
26310 void *argp2 = 0 ;
26311 int res2 = 0 ;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 char * kwnames[] = {
26315 (char *) "self",(char *) "font", NULL
26316 };
26317
26318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26320 if (!SWIG_IsOK(res1)) {
26321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26322 }
26323 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26325 if (!SWIG_IsOK(res2)) {
26326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26327 }
26328 if (!argp2) {
26329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26330 }
26331 arg2 = reinterpret_cast< wxFont * >(argp2);
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 (arg1)->SetFont((wxFont const &)*arg2);
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 resultobj = SWIG_Py_Void();
26339 return resultobj;
26340fail:
26341 return NULL;
d55e5bfc
RD
26342}
26343
26344
554f62e9
RD
26345SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26346 PyObject *resultobj = 0;
26347 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26348 bool result;
26349 void *argp1 = 0 ;
26350 int res1 = 0 ;
26351 PyObject *swig_obj[1] ;
26352
26353 if (!args) SWIG_fail;
26354 swig_obj[0] = args;
26355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26356 if (!SWIG_IsOK(res1)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26358 }
26359 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = (bool)(arg1)->HasTextColour();
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 {
26367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26368 }
26369 return resultobj;
26370fail:
26371 return NULL;
d55e5bfc
RD
26372}
26373
26374
554f62e9
RD
26375SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26376 PyObject *resultobj = 0;
26377 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26378 bool result;
26379 void *argp1 = 0 ;
26380 int res1 = 0 ;
26381 PyObject *swig_obj[1] ;
26382
26383 if (!args) SWIG_fail;
26384 swig_obj[0] = args;
26385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26386 if (!SWIG_IsOK(res1)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26388 }
26389 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 result = (bool)(arg1)->HasBackgroundColour();
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 {
26397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26398 }
26399 return resultobj;
26400fail:
26401 return NULL;
d55e5bfc
RD
26402}
26403
26404
554f62e9
RD
26405SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26406 PyObject *resultobj = 0;
26407 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26408 bool result;
26409 void *argp1 = 0 ;
26410 int res1 = 0 ;
26411 PyObject *swig_obj[1] ;
26412
26413 if (!args) SWIG_fail;
26414 swig_obj[0] = args;
26415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26418 }
26419 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (bool)(arg1)->HasFont();
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26428 }
26429 return resultobj;
26430fail:
26431 return NULL;
d55e5bfc
RD
26432}
26433
26434
554f62e9
RD
26435SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26436 PyObject *resultobj = 0;
26437 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26438 wxColour result;
26439 void *argp1 = 0 ;
26440 int res1 = 0 ;
26441 PyObject *swig_obj[1] ;
26442
26443 if (!args) SWIG_fail;
26444 swig_obj[0] = args;
26445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26446 if (!SWIG_IsOK(res1)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26448 }
26449 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = (arg1)->GetTextColour();
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26457 return resultobj;
26458fail:
26459 return NULL;
d55e5bfc
RD
26460}
26461
26462
554f62e9
RD
26463SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26464 PyObject *resultobj = 0;
26465 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26466 wxColour result;
26467 void *argp1 = 0 ;
26468 int res1 = 0 ;
26469 PyObject *swig_obj[1] ;
26470
26471 if (!args) SWIG_fail;
26472 swig_obj[0] = args;
26473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26474 if (!SWIG_IsOK(res1)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26476 }
26477 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 result = (arg1)->GetBackgroundColour();
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26485 return resultobj;
26486fail:
26487 return NULL;
d55e5bfc
RD
26488}
26489
26490
554f62e9
RD
26491SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26492 PyObject *resultobj = 0;
26493 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26494 wxFont result;
26495 void *argp1 = 0 ;
26496 int res1 = 0 ;
26497 PyObject *swig_obj[1] ;
26498
26499 if (!args) SWIG_fail;
26500 swig_obj[0] = args;
26501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26502 if (!SWIG_IsOK(res1)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26504 }
26505 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26506 {
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 result = (arg1)->GetFont();
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26513 return resultobj;
26514fail:
26515 return NULL;
26516}
26517
26518
26519SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26520 PyObject *resultobj = 0;
26521 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26522 wxListItemAttr *arg2 = 0 ;
26523 void *argp1 = 0 ;
26524 int res1 = 0 ;
26525 void *argp2 = 0 ;
26526 int res2 = 0 ;
26527 PyObject * obj0 = 0 ;
26528 PyObject * obj1 = 0 ;
26529 char * kwnames[] = {
26530 (char *) "self",(char *) "source", NULL
26531 };
26532
26533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26535 if (!SWIG_IsOK(res1)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26537 }
26538 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26540 if (!SWIG_IsOK(res2)) {
26541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26542 }
26543 if (!argp2) {
26544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26545 }
26546 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555fail:
26556 return NULL;
d55e5bfc
RD
26557}
26558
26559
554f62e9
RD
26560SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26561 PyObject *resultobj = 0;
26562 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26563 void *argp1 = 0 ;
26564 int res1 = 0 ;
26565 PyObject *swig_obj[1] ;
26566
26567 if (!args) SWIG_fail;
26568 swig_obj[0] = args;
26569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26570 if (!SWIG_IsOK(res1)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26572 }
26573 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 wxListItemAttr_Destroy(arg1);
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 resultobj = SWIG_Py_Void();
26581 return resultobj;
26582fail:
26583 return NULL;
f20a2e1f
RD
26584}
26585
26586
554f62e9
RD
26587SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26588 PyObject *obj;
26589 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26590 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26591 return SWIG_Py_Void();
d55e5bfc 26592}
554f62e9
RD
26593
26594SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26595 return SWIG_Python_InitShadowInstance(args);
26596}
26597
26598SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26599 PyObject *resultobj = 0;
26600 wxListItem *result = 0 ;
26601
26602 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26603 {
26604 PyThreadState* __tstate = wxPyBeginAllowThreads();
26605 result = (wxListItem *)new wxListItem();
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
3ecece7e 26609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
554f62e9
RD
26610 return resultobj;
26611fail:
26612 return NULL;
d55e5bfc
RD
26613}
26614
26615
554f62e9
RD
26616SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26617 PyObject *resultobj = 0;
26618 wxListItem *arg1 = (wxListItem *) 0 ;
26619 void *argp1 = 0 ;
26620 int res1 = 0 ;
26621 PyObject *swig_obj[1] ;
26622
26623 if (!args) SWIG_fail;
26624 swig_obj[0] = args;
26625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26626 if (!SWIG_IsOK(res1)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26628 }
26629 arg1 = reinterpret_cast< wxListItem * >(argp1);
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 delete arg1;
d55e5bfc 26633
554f62e9
RD
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 resultobj = SWIG_Py_Void();
26638 return resultobj;
26639fail:
26640 return NULL;
d55e5bfc
RD
26641}
26642
26643
554f62e9
RD
26644SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26645 PyObject *resultobj = 0;
26646 wxListItem *arg1 = (wxListItem *) 0 ;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 PyObject *swig_obj[1] ;
26650
26651 if (!args) SWIG_fail;
26652 swig_obj[0] = args;
26653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26654 if (!SWIG_IsOK(res1)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26656 }
26657 arg1 = reinterpret_cast< wxListItem * >(argp1);
26658 {
26659 PyThreadState* __tstate = wxPyBeginAllowThreads();
26660 (arg1)->Clear();
26661 wxPyEndAllowThreads(__tstate);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 }
26664 resultobj = SWIG_Py_Void();
26665 return resultobj;
26666fail:
26667 return NULL;
d55e5bfc
RD
26668}
26669
26670
554f62e9
RD
26671SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26672 PyObject *resultobj = 0;
26673 wxListItem *arg1 = (wxListItem *) 0 ;
26674 void *argp1 = 0 ;
26675 int res1 = 0 ;
26676 PyObject *swig_obj[1] ;
26677
26678 if (!args) SWIG_fail;
26679 swig_obj[0] = args;
26680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26681 if (!SWIG_IsOK(res1)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26683 }
26684 arg1 = reinterpret_cast< wxListItem * >(argp1);
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->ClearAttributes();
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 resultobj = SWIG_Py_Void();
26692 return resultobj;
26693fail:
26694 return NULL;
26695}
26696
26697
26698SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26699 PyObject *resultobj = 0;
26700 wxListItem *arg1 = (wxListItem *) 0 ;
26701 long arg2 ;
26702 void *argp1 = 0 ;
26703 int res1 = 0 ;
26704 long val2 ;
26705 int ecode2 = 0 ;
26706 PyObject * obj0 = 0 ;
26707 PyObject * obj1 = 0 ;
26708 char * kwnames[] = {
26709 (char *) "self",(char *) "mask", NULL
26710 };
26711
26712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26714 if (!SWIG_IsOK(res1)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26716 }
26717 arg1 = reinterpret_cast< wxListItem * >(argp1);
26718 ecode2 = SWIG_AsVal_long(obj1, &val2);
26719 if (!SWIG_IsOK(ecode2)) {
26720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26721 }
26722 arg2 = static_cast< long >(val2);
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 (arg1)->SetMask(arg2);
26726 wxPyEndAllowThreads(__tstate);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 resultobj = SWIG_Py_Void();
26730 return resultobj;
26731fail:
26732 return NULL;
26733}
26734
26735
26736SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj = 0;
26738 wxListItem *arg1 = (wxListItem *) 0 ;
26739 long arg2 ;
26740 void *argp1 = 0 ;
26741 int res1 = 0 ;
26742 long val2 ;
26743 int ecode2 = 0 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char * kwnames[] = {
26747 (char *) "self",(char *) "id", NULL
26748 };
26749
26750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26752 if (!SWIG_IsOK(res1)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26754 }
26755 arg1 = reinterpret_cast< wxListItem * >(argp1);
26756 ecode2 = SWIG_AsVal_long(obj1, &val2);
26757 if (!SWIG_IsOK(ecode2)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26759 }
26760 arg2 = static_cast< long >(val2);
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 (arg1)->SetId(arg2);
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 resultobj = SWIG_Py_Void();
26768 return resultobj;
26769fail:
26770 return NULL;
26771}
26772
26773
26774SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26775 PyObject *resultobj = 0;
26776 wxListItem *arg1 = (wxListItem *) 0 ;
26777 int arg2 ;
26778 void *argp1 = 0 ;
26779 int res1 = 0 ;
26780 int val2 ;
26781 int ecode2 = 0 ;
26782 PyObject * obj0 = 0 ;
26783 PyObject * obj1 = 0 ;
26784 char * kwnames[] = {
26785 (char *) "self",(char *) "col", NULL
26786 };
26787
26788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26790 if (!SWIG_IsOK(res1)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26792 }
26793 arg1 = reinterpret_cast< wxListItem * >(argp1);
26794 ecode2 = SWIG_AsVal_int(obj1, &val2);
26795 if (!SWIG_IsOK(ecode2)) {
26796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26797 }
26798 arg2 = static_cast< int >(val2);
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 (arg1)->SetColumn(arg2);
26802 wxPyEndAllowThreads(__tstate);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 }
26805 resultobj = SWIG_Py_Void();
26806 return resultobj;
26807fail:
26808 return NULL;
26809}
26810
26811
26812SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26813 PyObject *resultobj = 0;
26814 wxListItem *arg1 = (wxListItem *) 0 ;
26815 long arg2 ;
26816 void *argp1 = 0 ;
26817 int res1 = 0 ;
26818 long val2 ;
26819 int ecode2 = 0 ;
26820 PyObject * obj0 = 0 ;
26821 PyObject * obj1 = 0 ;
26822 char * kwnames[] = {
26823 (char *) "self",(char *) "state", NULL
26824 };
26825
26826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26828 if (!SWIG_IsOK(res1)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26830 }
26831 arg1 = reinterpret_cast< wxListItem * >(argp1);
26832 ecode2 = SWIG_AsVal_long(obj1, &val2);
26833 if (!SWIG_IsOK(ecode2)) {
26834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26835 }
26836 arg2 = static_cast< long >(val2);
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 (arg1)->SetState(arg2);
26840 wxPyEndAllowThreads(__tstate);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 }
26843 resultobj = SWIG_Py_Void();
26844 return resultobj;
26845fail:
26846 return NULL;
26847}
26848
26849
26850SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26851 PyObject *resultobj = 0;
26852 wxListItem *arg1 = (wxListItem *) 0 ;
26853 long arg2 ;
26854 void *argp1 = 0 ;
26855 int res1 = 0 ;
26856 long val2 ;
26857 int ecode2 = 0 ;
26858 PyObject * obj0 = 0 ;
26859 PyObject * obj1 = 0 ;
26860 char * kwnames[] = {
26861 (char *) "self",(char *) "stateMask", NULL
26862 };
26863
26864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26866 if (!SWIG_IsOK(res1)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26868 }
26869 arg1 = reinterpret_cast< wxListItem * >(argp1);
26870 ecode2 = SWIG_AsVal_long(obj1, &val2);
26871 if (!SWIG_IsOK(ecode2)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26873 }
26874 arg2 = static_cast< long >(val2);
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 (arg1)->SetStateMask(arg2);
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 resultobj = SWIG_Py_Void();
26882 return resultobj;
26883fail:
26884 return NULL;
26885}
26886
26887
26888SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26889 PyObject *resultobj = 0;
26890 wxListItem *arg1 = (wxListItem *) 0 ;
26891 wxString *arg2 = 0 ;
26892 void *argp1 = 0 ;
26893 int res1 = 0 ;
26894 bool temp2 = false ;
26895 PyObject * obj0 = 0 ;
26896 PyObject * obj1 = 0 ;
26897 char * kwnames[] = {
26898 (char *) "self",(char *) "text", NULL
26899 };
26900
26901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26903 if (!SWIG_IsOK(res1)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26905 }
26906 arg1 = reinterpret_cast< wxListItem * >(argp1);
26907 {
26908 arg2 = wxString_in_helper(obj1);
26909 if (arg2 == NULL) SWIG_fail;
26910 temp2 = true;
26911 }
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 (arg1)->SetText((wxString const &)*arg2);
26915 wxPyEndAllowThreads(__tstate);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 resultobj = SWIG_Py_Void();
26919 {
26920 if (temp2)
26921 delete arg2;
26922 }
26923 return resultobj;
26924fail:
26925 {
26926 if (temp2)
26927 delete arg2;
26928 }
26929 return NULL;
26930}
26931
26932
26933SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26934 PyObject *resultobj = 0;
26935 wxListItem *arg1 = (wxListItem *) 0 ;
26936 int arg2 ;
26937 void *argp1 = 0 ;
26938 int res1 = 0 ;
26939 int val2 ;
26940 int ecode2 = 0 ;
26941 PyObject * obj0 = 0 ;
26942 PyObject * obj1 = 0 ;
26943 char * kwnames[] = {
26944 (char *) "self",(char *) "image", NULL
26945 };
26946
26947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26949 if (!SWIG_IsOK(res1)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26951 }
26952 arg1 = reinterpret_cast< wxListItem * >(argp1);
26953 ecode2 = SWIG_AsVal_int(obj1, &val2);
26954 if (!SWIG_IsOK(ecode2)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26956 }
26957 arg2 = static_cast< int >(val2);
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 (arg1)->SetImage(arg2);
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_Py_Void();
26965 return resultobj;
26966fail:
26967 return NULL;
26968}
26969
26970
26971SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj = 0;
26973 wxListItem *arg1 = (wxListItem *) 0 ;
26974 long arg2 ;
26975 void *argp1 = 0 ;
26976 int res1 = 0 ;
26977 long val2 ;
26978 int ecode2 = 0 ;
26979 PyObject * obj0 = 0 ;
26980 PyObject * obj1 = 0 ;
26981 char * kwnames[] = {
26982 (char *) "self",(char *) "data", NULL
26983 };
26984
26985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26987 if (!SWIG_IsOK(res1)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26989 }
26990 arg1 = reinterpret_cast< wxListItem * >(argp1);
26991 ecode2 = SWIG_AsVal_long(obj1, &val2);
26992 if (!SWIG_IsOK(ecode2)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26994 }
26995 arg2 = static_cast< long >(val2);
26996 {
26997 PyThreadState* __tstate = wxPyBeginAllowThreads();
26998 (arg1)->SetData(arg2);
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 resultobj = SWIG_Py_Void();
27003 return resultobj;
27004fail:
27005 return NULL;
27006}
27007
27008
27009SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj = 0;
27011 wxListItem *arg1 = (wxListItem *) 0 ;
27012 int arg2 ;
27013 void *argp1 = 0 ;
27014 int res1 = 0 ;
27015 int val2 ;
27016 int ecode2 = 0 ;
27017 PyObject * obj0 = 0 ;
27018 PyObject * obj1 = 0 ;
27019 char * kwnames[] = {
27020 (char *) "self",(char *) "width", NULL
27021 };
27022
27023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27025 if (!SWIG_IsOK(res1)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27027 }
27028 arg1 = reinterpret_cast< wxListItem * >(argp1);
27029 ecode2 = SWIG_AsVal_int(obj1, &val2);
27030 if (!SWIG_IsOK(ecode2)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27032 }
27033 arg2 = static_cast< int >(val2);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 (arg1)->SetWidth(arg2);
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 resultobj = SWIG_Py_Void();
27041 return resultobj;
27042fail:
27043 return NULL;
27044}
27045
27046
27047SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27048 PyObject *resultobj = 0;
27049 wxListItem *arg1 = (wxListItem *) 0 ;
27050 wxListColumnFormat arg2 ;
27051 void *argp1 = 0 ;
27052 int res1 = 0 ;
27053 int val2 ;
27054 int ecode2 = 0 ;
27055 PyObject * obj0 = 0 ;
27056 PyObject * obj1 = 0 ;
27057 char * kwnames[] = {
27058 (char *) "self",(char *) "align", NULL
27059 };
27060
27061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27065 }
27066 arg1 = reinterpret_cast< wxListItem * >(argp1);
27067 ecode2 = SWIG_AsVal_int(obj1, &val2);
27068 if (!SWIG_IsOK(ecode2)) {
27069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27070 }
27071 arg2 = static_cast< wxListColumnFormat >(val2);
27072 {
27073 PyThreadState* __tstate = wxPyBeginAllowThreads();
27074 (arg1)->SetAlign(arg2);
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 resultobj = SWIG_Py_Void();
27079 return resultobj;
27080fail:
27081 return NULL;
27082}
27083
27084
27085SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27086 PyObject *resultobj = 0;
27087 wxListItem *arg1 = (wxListItem *) 0 ;
27088 wxColour *arg2 = 0 ;
27089 void *argp1 = 0 ;
27090 int res1 = 0 ;
27091 wxColour temp2 ;
27092 PyObject * obj0 = 0 ;
27093 PyObject * obj1 = 0 ;
27094 char * kwnames[] = {
27095 (char *) "self",(char *) "colText", NULL
27096 };
27097
27098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27100 if (!SWIG_IsOK(res1)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27102 }
27103 arg1 = reinterpret_cast< wxListItem * >(argp1);
27104 {
27105 arg2 = &temp2;
27106 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27107 }
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 (arg1)->SetTextColour((wxColour const &)*arg2);
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 resultobj = SWIG_Py_Void();
27115 return resultobj;
27116fail:
27117 return NULL;
27118}
27119
27120
27121SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27122 PyObject *resultobj = 0;
27123 wxListItem *arg1 = (wxListItem *) 0 ;
27124 wxColour *arg2 = 0 ;
27125 void *argp1 = 0 ;
27126 int res1 = 0 ;
27127 wxColour temp2 ;
27128 PyObject * obj0 = 0 ;
27129 PyObject * obj1 = 0 ;
27130 char * kwnames[] = {
27131 (char *) "self",(char *) "colBack", NULL
27132 };
27133
27134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27136 if (!SWIG_IsOK(res1)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27138 }
27139 arg1 = reinterpret_cast< wxListItem * >(argp1);
27140 {
27141 arg2 = &temp2;
27142 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27143 }
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 resultobj = SWIG_Py_Void();
27151 return resultobj;
27152fail:
27153 return NULL;
27154}
27155
27156
27157SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27158 PyObject *resultobj = 0;
27159 wxListItem *arg1 = (wxListItem *) 0 ;
27160 wxFont *arg2 = 0 ;
27161 void *argp1 = 0 ;
27162 int res1 = 0 ;
27163 void *argp2 = 0 ;
27164 int res2 = 0 ;
27165 PyObject * obj0 = 0 ;
27166 PyObject * obj1 = 0 ;
27167 char * kwnames[] = {
27168 (char *) "self",(char *) "font", NULL
27169 };
27170
27171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27173 if (!SWIG_IsOK(res1)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27175 }
27176 arg1 = reinterpret_cast< wxListItem * >(argp1);
27177 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27178 if (!SWIG_IsOK(res2)) {
27179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27180 }
27181 if (!argp2) {
27182 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27183 }
27184 arg2 = reinterpret_cast< wxFont * >(argp2);
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 (arg1)->SetFont((wxFont const &)*arg2);
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 resultobj = SWIG_Py_Void();
27192 return resultobj;
27193fail:
27194 return NULL;
d55e5bfc
RD
27195}
27196
27197
554f62e9
RD
27198SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27199 PyObject *resultobj = 0;
27200 wxListItem *arg1 = (wxListItem *) 0 ;
27201 long result;
27202 void *argp1 = 0 ;
27203 int res1 = 0 ;
27204 PyObject *swig_obj[1] ;
27205
27206 if (!args) SWIG_fail;
27207 swig_obj[0] = args;
27208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27209 if (!SWIG_IsOK(res1)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27211 }
27212 arg1 = reinterpret_cast< wxListItem * >(argp1);
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (long)(arg1)->GetMask();
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 resultobj = SWIG_From_long(static_cast< long >(result));
27220 return resultobj;
27221fail:
27222 return NULL;
d55e5bfc
RD
27223}
27224
27225
554f62e9
RD
27226SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27227 PyObject *resultobj = 0;
27228 wxListItem *arg1 = (wxListItem *) 0 ;
27229 long result;
27230 void *argp1 = 0 ;
27231 int res1 = 0 ;
27232 PyObject *swig_obj[1] ;
27233
27234 if (!args) SWIG_fail;
27235 swig_obj[0] = args;
27236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27237 if (!SWIG_IsOK(res1)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27239 }
27240 arg1 = reinterpret_cast< wxListItem * >(argp1);
27241 {
27242 PyThreadState* __tstate = wxPyBeginAllowThreads();
27243 result = (long)(arg1)->GetId();
27244 wxPyEndAllowThreads(__tstate);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 resultobj = SWIG_From_long(static_cast< long >(result));
27248 return resultobj;
27249fail:
27250 return NULL;
d55e5bfc
RD
27251}
27252
27253
554f62e9
RD
27254SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27255 PyObject *resultobj = 0;
27256 wxListItem *arg1 = (wxListItem *) 0 ;
27257 int result;
27258 void *argp1 = 0 ;
27259 int res1 = 0 ;
27260 PyObject *swig_obj[1] ;
27261
27262 if (!args) SWIG_fail;
27263 swig_obj[0] = args;
27264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27265 if (!SWIG_IsOK(res1)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27267 }
27268 arg1 = reinterpret_cast< wxListItem * >(argp1);
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 result = (int)(arg1)->GetColumn();
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 resultobj = SWIG_From_int(static_cast< int >(result));
27276 return resultobj;
27277fail:
27278 return NULL;
d55e5bfc
RD
27279}
27280
27281
554f62e9
RD
27282SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27283 PyObject *resultobj = 0;
27284 wxListItem *arg1 = (wxListItem *) 0 ;
27285 long result;
27286 void *argp1 = 0 ;
27287 int res1 = 0 ;
27288 PyObject *swig_obj[1] ;
27289
27290 if (!args) SWIG_fail;
27291 swig_obj[0] = args;
27292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27293 if (!SWIG_IsOK(res1)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27295 }
27296 arg1 = reinterpret_cast< wxListItem * >(argp1);
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 result = (long)(arg1)->GetState();
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 resultobj = SWIG_From_long(static_cast< long >(result));
27304 return resultobj;
27305fail:
27306 return NULL;
d55e5bfc
RD
27307}
27308
27309
554f62e9
RD
27310SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27311 PyObject *resultobj = 0;
27312 wxListItem *arg1 = (wxListItem *) 0 ;
27313 wxString *result = 0 ;
27314 void *argp1 = 0 ;
27315 int res1 = 0 ;
27316 PyObject *swig_obj[1] ;
27317
27318 if (!args) SWIG_fail;
27319 swig_obj[0] = args;
27320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27321 if (!SWIG_IsOK(res1)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27323 }
27324 arg1 = reinterpret_cast< wxListItem * >(argp1);
27325 {
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27327 {
554f62e9
RD
27328 wxString const &_result_ref = (arg1)->GetText();
27329 result = (wxString *) &_result_ref;
27330 }
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 {
d55e5bfc 27335#if wxUSE_UNICODE
554f62e9 27336 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 27337#else
554f62e9 27338 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 27339#endif
554f62e9
RD
27340 }
27341 return resultobj;
27342fail:
27343 return NULL;
d55e5bfc
RD
27344}
27345
27346
554f62e9
RD
27347SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27348 PyObject *resultobj = 0;
27349 wxListItem *arg1 = (wxListItem *) 0 ;
27350 int result;
27351 void *argp1 = 0 ;
27352 int res1 = 0 ;
27353 PyObject *swig_obj[1] ;
27354
27355 if (!args) SWIG_fail;
27356 swig_obj[0] = args;
27357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27358 if (!SWIG_IsOK(res1)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27360 }
27361 arg1 = reinterpret_cast< wxListItem * >(argp1);
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = (int)(arg1)->GetImage();
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 resultobj = SWIG_From_int(static_cast< int >(result));
27369 return resultobj;
27370fail:
27371 return NULL;
d55e5bfc
RD
27372}
27373
27374
554f62e9
RD
27375SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27376 PyObject *resultobj = 0;
27377 wxListItem *arg1 = (wxListItem *) 0 ;
27378 long result;
27379 void *argp1 = 0 ;
27380 int res1 = 0 ;
27381 PyObject *swig_obj[1] ;
27382
27383 if (!args) SWIG_fail;
27384 swig_obj[0] = args;
27385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27388 }
27389 arg1 = reinterpret_cast< wxListItem * >(argp1);
27390 {
27391 PyThreadState* __tstate = wxPyBeginAllowThreads();
27392 result = (long)(arg1)->GetData();
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 resultobj = SWIG_From_long(static_cast< long >(result));
27397 return resultobj;
27398fail:
27399 return NULL;
8fb0e70a
RD
27400}
27401
27402
554f62e9
RD
27403SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27404 PyObject *resultobj = 0;
27405 wxListItem *arg1 = (wxListItem *) 0 ;
27406 int result;
27407 void *argp1 = 0 ;
27408 int res1 = 0 ;
27409 PyObject *swig_obj[1] ;
27410
27411 if (!args) SWIG_fail;
27412 swig_obj[0] = args;
27413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27416 }
27417 arg1 = reinterpret_cast< wxListItem * >(argp1);
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 result = (int)(arg1)->GetWidth();
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 resultobj = SWIG_From_int(static_cast< int >(result));
27425 return resultobj;
27426fail:
27427 return NULL;
d55e5bfc
RD
27428}
27429
27430
554f62e9
RD
27431SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27432 PyObject *resultobj = 0;
27433 wxListItem *arg1 = (wxListItem *) 0 ;
27434 wxListColumnFormat result;
27435 void *argp1 = 0 ;
27436 int res1 = 0 ;
27437 PyObject *swig_obj[1] ;
27438
27439 if (!args) SWIG_fail;
27440 swig_obj[0] = args;
27441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27442 if (!SWIG_IsOK(res1)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27444 }
27445 arg1 = reinterpret_cast< wxListItem * >(argp1);
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 result = (wxListColumnFormat)(arg1)->GetAlign();
27449 wxPyEndAllowThreads(__tstate);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
27452 resultobj = SWIG_From_int(static_cast< int >(result));
27453 return resultobj;
27454fail:
27455 return NULL;
d55e5bfc
RD
27456}
27457
27458
554f62e9
RD
27459SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27460 PyObject *resultobj = 0;
27461 wxListItem *arg1 = (wxListItem *) 0 ;
27462 wxListItemAttr *result = 0 ;
27463 void *argp1 = 0 ;
27464 int res1 = 0 ;
27465 PyObject *swig_obj[1] ;
27466
27467 if (!args) SWIG_fail;
27468 swig_obj[0] = args;
27469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27470 if (!SWIG_IsOK(res1)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27472 }
27473 arg1 = reinterpret_cast< wxListItem * >(argp1);
27474 {
27475 PyThreadState* __tstate = wxPyBeginAllowThreads();
27476 result = (wxListItemAttr *)(arg1)->GetAttributes();
27477 wxPyEndAllowThreads(__tstate);
27478 if (PyErr_Occurred()) SWIG_fail;
27479 }
27480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27481 return resultobj;
27482fail:
27483 return NULL;
d55e5bfc
RD
27484}
27485
27486
554f62e9
RD
27487SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27488 PyObject *resultobj = 0;
27489 wxListItem *arg1 = (wxListItem *) 0 ;
27490 bool result;
27491 void *argp1 = 0 ;
27492 int res1 = 0 ;
27493 PyObject *swig_obj[1] ;
27494
27495 if (!args) SWIG_fail;
27496 swig_obj[0] = args;
27497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27498 if (!SWIG_IsOK(res1)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27500 }
27501 arg1 = reinterpret_cast< wxListItem * >(argp1);
27502 {
27503 PyThreadState* __tstate = wxPyBeginAllowThreads();
27504 result = (bool)(arg1)->HasAttributes();
27505 wxPyEndAllowThreads(__tstate);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 {
27509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27510 }
27511 return resultobj;
27512fail:
27513 return NULL;
d55e5bfc
RD
27514}
27515
27516
554f62e9
RD
27517SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27518 PyObject *resultobj = 0;
27519 wxListItem *arg1 = (wxListItem *) 0 ;
27520 wxColour result;
27521 void *argp1 = 0 ;
27522 int res1 = 0 ;
27523 PyObject *swig_obj[1] ;
27524
27525 if (!args) SWIG_fail;
27526 swig_obj[0] = args;
27527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27528 if (!SWIG_IsOK(res1)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27530 }
27531 arg1 = reinterpret_cast< wxListItem * >(argp1);
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 result = ((wxListItem const *)arg1)->GetTextColour();
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27539 return resultobj;
27540fail:
27541 return NULL;
d55e5bfc
RD
27542}
27543
27544
554f62e9
RD
27545SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27546 PyObject *resultobj = 0;
27547 wxListItem *arg1 = (wxListItem *) 0 ;
27548 wxColour result;
27549 void *argp1 = 0 ;
27550 int res1 = 0 ;
27551 PyObject *swig_obj[1] ;
27552
27553 if (!args) SWIG_fail;
27554 swig_obj[0] = args;
27555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27556 if (!SWIG_IsOK(res1)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27558 }
27559 arg1 = reinterpret_cast< wxListItem * >(argp1);
27560 {
27561 PyThreadState* __tstate = wxPyBeginAllowThreads();
27562 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27567 return resultobj;
27568fail:
27569 return NULL;
d55e5bfc
RD
27570}
27571
27572
554f62e9
RD
27573SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27574 PyObject *resultobj = 0;
27575 wxListItem *arg1 = (wxListItem *) 0 ;
27576 wxFont result;
27577 void *argp1 = 0 ;
27578 int res1 = 0 ;
27579 PyObject *swig_obj[1] ;
27580
27581 if (!args) SWIG_fail;
27582 swig_obj[0] = args;
27583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27584 if (!SWIG_IsOK(res1)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27586 }
27587 arg1 = reinterpret_cast< wxListItem * >(argp1);
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
27590 result = ((wxListItem const *)arg1)->GetFont();
27591 wxPyEndAllowThreads(__tstate);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27595 return resultobj;
27596fail:
27597 return NULL;
27598}
27599
27600
27601SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27602 PyObject *resultobj = 0;
27603 wxListItem *arg1 = (wxListItem *) 0 ;
27604 long arg2 ;
27605 void *argp1 = 0 ;
27606 int res1 = 0 ;
27607 long val2 ;
27608 int ecode2 = 0 ;
27609 PyObject *swig_obj[2] ;
27610
27611 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27613 if (!SWIG_IsOK(res1)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27615 }
27616 arg1 = reinterpret_cast< wxListItem * >(argp1);
27617 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27618 if (!SWIG_IsOK(ecode2)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27620 }
27621 arg2 = static_cast< long >(val2);
27622 if (arg1) (arg1)->m_mask = arg2;
27623
27624 resultobj = SWIG_Py_Void();
27625 return resultobj;
27626fail:
27627 return NULL;
d55e5bfc
RD
27628}
27629
27630
554f62e9
RD
27631SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27632 PyObject *resultobj = 0;
27633 wxListItem *arg1 = (wxListItem *) 0 ;
27634 long result;
27635 void *argp1 = 0 ;
27636 int res1 = 0 ;
27637 PyObject *swig_obj[1] ;
27638
27639 if (!args) SWIG_fail;
27640 swig_obj[0] = args;
27641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27642 if (!SWIG_IsOK(res1)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27644 }
27645 arg1 = reinterpret_cast< wxListItem * >(argp1);
27646 result = (long) ((arg1)->m_mask);
27647 resultobj = SWIG_From_long(static_cast< long >(result));
27648 return resultobj;
27649fail:
27650 return NULL;
27651}
27652
27653
27654SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27655 PyObject *resultobj = 0;
27656 wxListItem *arg1 = (wxListItem *) 0 ;
27657 long arg2 ;
27658 void *argp1 = 0 ;
27659 int res1 = 0 ;
27660 long val2 ;
27661 int ecode2 = 0 ;
27662 PyObject *swig_obj[2] ;
27663
27664 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27666 if (!SWIG_IsOK(res1)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27668 }
27669 arg1 = reinterpret_cast< wxListItem * >(argp1);
27670 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27671 if (!SWIG_IsOK(ecode2)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27673 }
27674 arg2 = static_cast< long >(val2);
27675 if (arg1) (arg1)->m_itemId = arg2;
27676
27677 resultobj = SWIG_Py_Void();
27678 return resultobj;
27679fail:
27680 return NULL;
d55e5bfc
RD
27681}
27682
27683
554f62e9
RD
27684SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27685 PyObject *resultobj = 0;
27686 wxListItem *arg1 = (wxListItem *) 0 ;
27687 long result;
27688 void *argp1 = 0 ;
27689 int res1 = 0 ;
27690 PyObject *swig_obj[1] ;
27691
27692 if (!args) SWIG_fail;
27693 swig_obj[0] = args;
27694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27695 if (!SWIG_IsOK(res1)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27697 }
27698 arg1 = reinterpret_cast< wxListItem * >(argp1);
27699 result = (long) ((arg1)->m_itemId);
27700 resultobj = SWIG_From_long(static_cast< long >(result));
27701 return resultobj;
27702fail:
27703 return NULL;
27704}
27705
27706
27707SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27708 PyObject *resultobj = 0;
27709 wxListItem *arg1 = (wxListItem *) 0 ;
27710 int arg2 ;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 int val2 ;
27714 int ecode2 = 0 ;
27715 PyObject *swig_obj[2] ;
27716
27717 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27719 if (!SWIG_IsOK(res1)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27721 }
27722 arg1 = reinterpret_cast< wxListItem * >(argp1);
27723 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27724 if (!SWIG_IsOK(ecode2)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27726 }
27727 arg2 = static_cast< int >(val2);
27728 if (arg1) (arg1)->m_col = arg2;
27729
27730 resultobj = SWIG_Py_Void();
27731 return resultobj;
27732fail:
27733 return NULL;
d55e5bfc
RD
27734}
27735
27736
554f62e9
RD
27737SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27738 PyObject *resultobj = 0;
27739 wxListItem *arg1 = (wxListItem *) 0 ;
27740 int result;
27741 void *argp1 = 0 ;
27742 int res1 = 0 ;
27743 PyObject *swig_obj[1] ;
27744
27745 if (!args) SWIG_fail;
27746 swig_obj[0] = args;
27747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27748 if (!SWIG_IsOK(res1)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27750 }
27751 arg1 = reinterpret_cast< wxListItem * >(argp1);
27752 result = (int) ((arg1)->m_col);
27753 resultobj = SWIG_From_int(static_cast< int >(result));
27754 return resultobj;
27755fail:
27756 return NULL;
27757}
27758
27759
27760SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27761 PyObject *resultobj = 0;
27762 wxListItem *arg1 = (wxListItem *) 0 ;
27763 long arg2 ;
27764 void *argp1 = 0 ;
27765 int res1 = 0 ;
27766 long val2 ;
27767 int ecode2 = 0 ;
27768 PyObject *swig_obj[2] ;
27769
27770 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27772 if (!SWIG_IsOK(res1)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27774 }
27775 arg1 = reinterpret_cast< wxListItem * >(argp1);
27776 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27777 if (!SWIG_IsOK(ecode2)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27779 }
27780 arg2 = static_cast< long >(val2);
27781 if (arg1) (arg1)->m_state = arg2;
27782
27783 resultobj = SWIG_Py_Void();
27784 return resultobj;
27785fail:
27786 return NULL;
d55e5bfc
RD
27787}
27788
27789
554f62e9
RD
27790SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27791 PyObject *resultobj = 0;
27792 wxListItem *arg1 = (wxListItem *) 0 ;
27793 long result;
27794 void *argp1 = 0 ;
27795 int res1 = 0 ;
27796 PyObject *swig_obj[1] ;
27797
27798 if (!args) SWIG_fail;
27799 swig_obj[0] = args;
27800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27801 if (!SWIG_IsOK(res1)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27803 }
27804 arg1 = reinterpret_cast< wxListItem * >(argp1);
27805 result = (long) ((arg1)->m_state);
27806 resultobj = SWIG_From_long(static_cast< long >(result));
27807 return resultobj;
27808fail:
27809 return NULL;
27810}
27811
27812
27813SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27814 PyObject *resultobj = 0;
27815 wxListItem *arg1 = (wxListItem *) 0 ;
27816 long arg2 ;
27817 void *argp1 = 0 ;
27818 int res1 = 0 ;
27819 long val2 ;
27820 int ecode2 = 0 ;
27821 PyObject *swig_obj[2] ;
27822
27823 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27825 if (!SWIG_IsOK(res1)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27827 }
27828 arg1 = reinterpret_cast< wxListItem * >(argp1);
27829 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27830 if (!SWIG_IsOK(ecode2)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27832 }
27833 arg2 = static_cast< long >(val2);
27834 if (arg1) (arg1)->m_stateMask = arg2;
27835
27836 resultobj = SWIG_Py_Void();
27837 return resultobj;
27838fail:
27839 return NULL;
7e08d4ef
RD
27840}
27841
27842
554f62e9
RD
27843SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27844 PyObject *resultobj = 0;
27845 wxListItem *arg1 = (wxListItem *) 0 ;
27846 long result;
27847 void *argp1 = 0 ;
27848 int res1 = 0 ;
27849 PyObject *swig_obj[1] ;
27850
27851 if (!args) SWIG_fail;
27852 swig_obj[0] = args;
27853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27854 if (!SWIG_IsOK(res1)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27856 }
27857 arg1 = reinterpret_cast< wxListItem * >(argp1);
27858 result = (long) ((arg1)->m_stateMask);
27859 resultobj = SWIG_From_long(static_cast< long >(result));
27860 return resultobj;
27861fail:
27862 return NULL;
27863}
27864
27865
27866SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27867 PyObject *resultobj = 0;
27868 wxListItem *arg1 = (wxListItem *) 0 ;
27869 wxString *arg2 = (wxString *) 0 ;
27870 void *argp1 = 0 ;
27871 int res1 = 0 ;
27872 bool temp2 = false ;
27873 PyObject *swig_obj[2] ;
27874
27875 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27877 if (!SWIG_IsOK(res1)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27879 }
27880 arg1 = reinterpret_cast< wxListItem * >(argp1);
27881 {
27882 arg2 = wxString_in_helper(swig_obj[1]);
27883 if (arg2 == NULL) SWIG_fail;
27884 temp2 = true;
27885 }
27886 if (arg1) (arg1)->m_text = *arg2;
27887
27888 resultobj = SWIG_Py_Void();
27889 {
27890 if (temp2)
27891 delete arg2;
27892 }
27893 return resultobj;
27894fail:
27895 {
27896 if (temp2)
27897 delete arg2;
27898 }
27899 return NULL;
7e08d4ef
RD
27900}
27901
27902
554f62e9
RD
27903SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27904 PyObject *resultobj = 0;
27905 wxListItem *arg1 = (wxListItem *) 0 ;
27906 wxString *result = 0 ;
27907 void *argp1 = 0 ;
27908 int res1 = 0 ;
27909 PyObject *swig_obj[1] ;
27910
27911 if (!args) SWIG_fail;
27912 swig_obj[0] = args;
27913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27914 if (!SWIG_IsOK(res1)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27916 }
27917 arg1 = reinterpret_cast< wxListItem * >(argp1);
27918 result = (wxString *)& ((arg1)->m_text);
27919 {
27920#if wxUSE_UNICODE
27921 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27922#else
27923 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27924#endif
27925 }
27926 return resultobj;
27927fail:
27928 return NULL;
7e08d4ef
RD
27929}
27930
27931
554f62e9
RD
27932SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27933 PyObject *resultobj = 0;
27934 wxListItem *arg1 = (wxListItem *) 0 ;
27935 int arg2 ;
27936 void *argp1 = 0 ;
27937 int res1 = 0 ;
27938 int val2 ;
27939 int ecode2 = 0 ;
27940 PyObject *swig_obj[2] ;
27941
27942 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27944 if (!SWIG_IsOK(res1)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27946 }
27947 arg1 = reinterpret_cast< wxListItem * >(argp1);
27948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27949 if (!SWIG_IsOK(ecode2)) {
27950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27951 }
27952 arg2 = static_cast< int >(val2);
27953 if (arg1) (arg1)->m_image = arg2;
27954
27955 resultobj = SWIG_Py_Void();
27956 return resultobj;
27957fail:
27958 return NULL;
7e08d4ef
RD
27959}
27960
27961
554f62e9
RD
27962SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27963 PyObject *resultobj = 0;
27964 wxListItem *arg1 = (wxListItem *) 0 ;
27965 int result;
27966 void *argp1 = 0 ;
27967 int res1 = 0 ;
27968 PyObject *swig_obj[1] ;
27969
27970 if (!args) SWIG_fail;
27971 swig_obj[0] = args;
27972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27973 if (!SWIG_IsOK(res1)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27975 }
27976 arg1 = reinterpret_cast< wxListItem * >(argp1);
27977 result = (int) ((arg1)->m_image);
27978 resultobj = SWIG_From_int(static_cast< int >(result));
27979 return resultobj;
27980fail:
27981 return NULL;
27982}
27983
27984
27985SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27986 PyObject *resultobj = 0;
27987 wxListItem *arg1 = (wxListItem *) 0 ;
27988 long arg2 ;
27989 void *argp1 = 0 ;
27990 int res1 = 0 ;
27991 long val2 ;
27992 int ecode2 = 0 ;
27993 PyObject *swig_obj[2] ;
27994
27995 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27997 if (!SWIG_IsOK(res1)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27999 }
28000 arg1 = reinterpret_cast< wxListItem * >(argp1);
28001 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28002 if (!SWIG_IsOK(ecode2)) {
28003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28004 }
28005 arg2 = static_cast< long >(val2);
28006 if (arg1) (arg1)->m_data = arg2;
28007
28008 resultobj = SWIG_Py_Void();
28009 return resultobj;
28010fail:
28011 return NULL;
7e08d4ef
RD
28012}
28013
28014
554f62e9
RD
28015SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28016 PyObject *resultobj = 0;
28017 wxListItem *arg1 = (wxListItem *) 0 ;
28018 long result;
28019 void *argp1 = 0 ;
28020 int res1 = 0 ;
28021 PyObject *swig_obj[1] ;
28022
28023 if (!args) SWIG_fail;
28024 swig_obj[0] = args;
28025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28026 if (!SWIG_IsOK(res1)) {
28027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28028 }
28029 arg1 = reinterpret_cast< wxListItem * >(argp1);
28030 result = (long) ((arg1)->m_data);
28031 resultobj = SWIG_From_long(static_cast< long >(result));
28032 return resultobj;
28033fail:
28034 return NULL;
28035}
28036
28037
28038SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28039 PyObject *resultobj = 0;
28040 wxListItem *arg1 = (wxListItem *) 0 ;
28041 int arg2 ;
28042 void *argp1 = 0 ;
28043 int res1 = 0 ;
28044 int val2 ;
28045 int ecode2 = 0 ;
28046 PyObject *swig_obj[2] ;
28047
28048 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28050 if (!SWIG_IsOK(res1)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28052 }
28053 arg1 = reinterpret_cast< wxListItem * >(argp1);
28054 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28055 if (!SWIG_IsOK(ecode2)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28057 }
28058 arg2 = static_cast< int >(val2);
28059 if (arg1) (arg1)->m_format = arg2;
28060
28061 resultobj = SWIG_Py_Void();
28062 return resultobj;
28063fail:
28064 return NULL;
d55e5bfc
RD
28065}
28066
28067
554f62e9
RD
28068SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28069 PyObject *resultobj = 0;
28070 wxListItem *arg1 = (wxListItem *) 0 ;
28071 int result;
28072 void *argp1 = 0 ;
28073 int res1 = 0 ;
28074 PyObject *swig_obj[1] ;
28075
28076 if (!args) SWIG_fail;
28077 swig_obj[0] = args;
28078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28079 if (!SWIG_IsOK(res1)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28081 }
28082 arg1 = reinterpret_cast< wxListItem * >(argp1);
28083 result = (int) ((arg1)->m_format);
28084 resultobj = SWIG_From_int(static_cast< int >(result));
28085 return resultobj;
28086fail:
28087 return NULL;
28088}
28089
28090
28091SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28092 PyObject *resultobj = 0;
28093 wxListItem *arg1 = (wxListItem *) 0 ;
28094 int arg2 ;
28095 void *argp1 = 0 ;
28096 int res1 = 0 ;
28097 int val2 ;
28098 int ecode2 = 0 ;
28099 PyObject *swig_obj[2] ;
28100
28101 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28103 if (!SWIG_IsOK(res1)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28105 }
28106 arg1 = reinterpret_cast< wxListItem * >(argp1);
28107 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28108 if (!SWIG_IsOK(ecode2)) {
28109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28110 }
28111 arg2 = static_cast< int >(val2);
28112 if (arg1) (arg1)->m_width = arg2;
28113
28114 resultobj = SWIG_Py_Void();
28115 return resultobj;
28116fail:
28117 return NULL;
d55e5bfc
RD
28118}
28119
28120
554f62e9
RD
28121SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28122 PyObject *resultobj = 0;
28123 wxListItem *arg1 = (wxListItem *) 0 ;
28124 int result;
28125 void *argp1 = 0 ;
28126 int res1 = 0 ;
28127 PyObject *swig_obj[1] ;
28128
28129 if (!args) SWIG_fail;
28130 swig_obj[0] = args;
28131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28132 if (!SWIG_IsOK(res1)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28134 }
28135 arg1 = reinterpret_cast< wxListItem * >(argp1);
28136 result = (int) ((arg1)->m_width);
28137 resultobj = SWIG_From_int(static_cast< int >(result));
28138 return resultobj;
28139fail:
28140 return NULL;
28141}
28142
28143
28144SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28145 PyObject *obj;
28146 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28147 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28148 return SWIG_Py_Void();
28149}
28150
28151SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28152 return SWIG_Python_InitShadowInstance(args);
28153}
28154
28155SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28156 PyObject *resultobj = 0;
28157 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28158 int arg2 = (int) 0 ;
28159 wxListEvent *result = 0 ;
28160 int val1 ;
28161 int ecode1 = 0 ;
28162 int val2 ;
28163 int ecode2 = 0 ;
28164 PyObject * obj0 = 0 ;
28165 PyObject * obj1 = 0 ;
28166 char * kwnames[] = {
28167 (char *) "commandType",(char *) "id", NULL
28168 };
28169
28170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28171 if (obj0) {
28172 ecode1 = SWIG_AsVal_int(obj0, &val1);
28173 if (!SWIG_IsOK(ecode1)) {
28174 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28175 }
28176 arg1 = static_cast< wxEventType >(val1);
28177 }
28178 if (obj1) {
28179 ecode2 = SWIG_AsVal_int(obj1, &val2);
28180 if (!SWIG_IsOK(ecode2)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28182 }
28183 arg2 = static_cast< int >(val2);
28184 }
28185 {
28186 PyThreadState* __tstate = wxPyBeginAllowThreads();
28187 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
28191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28192 return resultobj;
28193fail:
28194 return NULL;
28195}
28196
28197
28198SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28199 PyObject *resultobj = 0;
28200 wxListEvent *arg1 = (wxListEvent *) 0 ;
28201 int arg2 ;
28202 void *argp1 = 0 ;
28203 int res1 = 0 ;
28204 int val2 ;
28205 int ecode2 = 0 ;
28206 PyObject *swig_obj[2] ;
28207
28208 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28210 if (!SWIG_IsOK(res1)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28212 }
28213 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28214 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28215 if (!SWIG_IsOK(ecode2)) {
28216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28217 }
28218 arg2 = static_cast< int >(val2);
28219 if (arg1) (arg1)->m_code = arg2;
28220
28221 resultobj = SWIG_Py_Void();
28222 return resultobj;
28223fail:
28224 return NULL;
d55e5bfc
RD
28225}
28226
28227
554f62e9
RD
28228SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28229 PyObject *resultobj = 0;
28230 wxListEvent *arg1 = (wxListEvent *) 0 ;
28231 int result;
28232 void *argp1 = 0 ;
28233 int res1 = 0 ;
28234 PyObject *swig_obj[1] ;
28235
28236 if (!args) SWIG_fail;
28237 swig_obj[0] = args;
28238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28239 if (!SWIG_IsOK(res1)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28241 }
28242 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28243 result = (int) ((arg1)->m_code);
28244 resultobj = SWIG_From_int(static_cast< int >(result));
28245 return resultobj;
28246fail:
28247 return NULL;
28248}
28249
28250
28251SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28252 PyObject *resultobj = 0;
28253 wxListEvent *arg1 = (wxListEvent *) 0 ;
28254 long arg2 ;
28255 void *argp1 = 0 ;
28256 int res1 = 0 ;
28257 long val2 ;
28258 int ecode2 = 0 ;
28259 PyObject *swig_obj[2] ;
28260
28261 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28263 if (!SWIG_IsOK(res1)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28265 }
28266 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28267 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28268 if (!SWIG_IsOK(ecode2)) {
28269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28270 }
28271 arg2 = static_cast< long >(val2);
28272 if (arg1) (arg1)->m_oldItemIndex = arg2;
28273
28274 resultobj = SWIG_Py_Void();
28275 return resultobj;
28276fail:
28277 return NULL;
d55e5bfc
RD
28278}
28279
28280
554f62e9
RD
28281SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28282 PyObject *resultobj = 0;
28283 wxListEvent *arg1 = (wxListEvent *) 0 ;
28284 long result;
28285 void *argp1 = 0 ;
28286 int res1 = 0 ;
28287 PyObject *swig_obj[1] ;
28288
28289 if (!args) SWIG_fail;
28290 swig_obj[0] = args;
28291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28292 if (!SWIG_IsOK(res1)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28294 }
28295 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28296 result = (long) ((arg1)->m_oldItemIndex);
28297 resultobj = SWIG_From_long(static_cast< long >(result));
28298 return resultobj;
28299fail:
28300 return NULL;
28301}
28302
28303
28304SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28305 PyObject *resultobj = 0;
28306 wxListEvent *arg1 = (wxListEvent *) 0 ;
28307 long arg2 ;
28308 void *argp1 = 0 ;
28309 int res1 = 0 ;
28310 long val2 ;
28311 int ecode2 = 0 ;
28312 PyObject *swig_obj[2] ;
28313
28314 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28316 if (!SWIG_IsOK(res1)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28318 }
28319 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28320 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28321 if (!SWIG_IsOK(ecode2)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28323 }
28324 arg2 = static_cast< long >(val2);
28325 if (arg1) (arg1)->m_itemIndex = arg2;
28326
28327 resultobj = SWIG_Py_Void();
28328 return resultobj;
28329fail:
28330 return NULL;
d55e5bfc
RD
28331}
28332
28333
554f62e9
RD
28334SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28335 PyObject *resultobj = 0;
28336 wxListEvent *arg1 = (wxListEvent *) 0 ;
28337 long result;
28338 void *argp1 = 0 ;
28339 int res1 = 0 ;
28340 PyObject *swig_obj[1] ;
28341
28342 if (!args) SWIG_fail;
28343 swig_obj[0] = args;
28344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28345 if (!SWIG_IsOK(res1)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28347 }
28348 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28349 result = (long) ((arg1)->m_itemIndex);
28350 resultobj = SWIG_From_long(static_cast< long >(result));
28351 return resultobj;
28352fail:
28353 return NULL;
28354}
28355
28356
28357SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28358 PyObject *resultobj = 0;
28359 wxListEvent *arg1 = (wxListEvent *) 0 ;
28360 int arg2 ;
28361 void *argp1 = 0 ;
28362 int res1 = 0 ;
28363 int val2 ;
28364 int ecode2 = 0 ;
28365 PyObject *swig_obj[2] ;
28366
28367 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28369 if (!SWIG_IsOK(res1)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28371 }
28372 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28373 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28374 if (!SWIG_IsOK(ecode2)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28376 }
28377 arg2 = static_cast< int >(val2);
28378 if (arg1) (arg1)->m_col = arg2;
28379
28380 resultobj = SWIG_Py_Void();
28381 return resultobj;
28382fail:
28383 return NULL;
d55e5bfc
RD
28384}
28385
28386
554f62e9
RD
28387SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28388 PyObject *resultobj = 0;
28389 wxListEvent *arg1 = (wxListEvent *) 0 ;
28390 int result;
28391 void *argp1 = 0 ;
28392 int res1 = 0 ;
28393 PyObject *swig_obj[1] ;
28394
28395 if (!args) SWIG_fail;
28396 swig_obj[0] = args;
28397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28398 if (!SWIG_IsOK(res1)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28400 }
28401 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28402 result = (int) ((arg1)->m_col);
28403 resultobj = SWIG_From_int(static_cast< int >(result));
28404 return resultobj;
28405fail:
28406 return NULL;
28407}
28408
28409
28410SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28411 PyObject *resultobj = 0;
28412 wxListEvent *arg1 = (wxListEvent *) 0 ;
28413 wxPoint *arg2 = (wxPoint *) 0 ;
28414 void *argp1 = 0 ;
28415 int res1 = 0 ;
28416 void *argp2 = 0 ;
28417 int res2 = 0 ;
28418 PyObject *swig_obj[2] ;
28419
28420 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28422 if (!SWIG_IsOK(res1)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28424 }
28425 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28426 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28427 if (!SWIG_IsOK(res2)) {
28428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28429 }
28430 arg2 = reinterpret_cast< wxPoint * >(argp2);
28431 if (arg1) (arg1)->m_pointDrag = *arg2;
28432
28433 resultobj = SWIG_Py_Void();
28434 return resultobj;
28435fail:
28436 return NULL;
d55e5bfc
RD
28437}
28438
28439
554f62e9
RD
28440SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28441 PyObject *resultobj = 0;
28442 wxListEvent *arg1 = (wxListEvent *) 0 ;
28443 wxPoint *result = 0 ;
28444 void *argp1 = 0 ;
28445 int res1 = 0 ;
28446 PyObject *swig_obj[1] ;
28447
28448 if (!args) SWIG_fail;
28449 swig_obj[0] = args;
28450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28451 if (!SWIG_IsOK(res1)) {
28452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28453 }
28454 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28455 result = (wxPoint *)& ((arg1)->m_pointDrag);
28456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28457 return resultobj;
28458fail:
28459 return NULL;
28460}
28461
28462
28463SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28464 PyObject *resultobj = 0;
28465 wxListEvent *arg1 = (wxListEvent *) 0 ;
28466 wxListItem *result = 0 ;
28467 void *argp1 = 0 ;
28468 int res1 = 0 ;
28469 PyObject *swig_obj[1] ;
28470
28471 if (!args) SWIG_fail;
28472 swig_obj[0] = args;
28473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28476 }
28477 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28478 result = (wxListItem *)& ((arg1)->m_item);
28479 {
3ecece7e 28480 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
28481 }
28482 return resultobj;
28483fail:
28484 return NULL;
f20a2e1f
RD
28485}
28486
28487
554f62e9
RD
28488SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28489 PyObject *resultobj = 0;
28490 wxListEvent *arg1 = (wxListEvent *) 0 ;
28491 int result;
28492 void *argp1 = 0 ;
28493 int res1 = 0 ;
28494 PyObject *swig_obj[1] ;
28495
28496 if (!args) SWIG_fail;
28497 swig_obj[0] = args;
28498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28499 if (!SWIG_IsOK(res1)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28501 }
28502 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = (int)(arg1)->GetKeyCode();
28506 wxPyEndAllowThreads(__tstate);
28507 if (PyErr_Occurred()) SWIG_fail;
28508 }
28509 resultobj = SWIG_From_int(static_cast< int >(result));
28510 return resultobj;
28511fail:
28512 return NULL;
d55e5bfc
RD
28513}
28514
28515
554f62e9
RD
28516SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28517 PyObject *resultobj = 0;
28518 wxListEvent *arg1 = (wxListEvent *) 0 ;
28519 long result;
28520 void *argp1 = 0 ;
28521 int res1 = 0 ;
28522 PyObject *swig_obj[1] ;
28523
28524 if (!args) SWIG_fail;
28525 swig_obj[0] = args;
28526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28527 if (!SWIG_IsOK(res1)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28529 }
28530 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28531 {
28532 PyThreadState* __tstate = wxPyBeginAllowThreads();
28533 result = (long)(arg1)->GetIndex();
28534 wxPyEndAllowThreads(__tstate);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 resultobj = SWIG_From_long(static_cast< long >(result));
28538 return resultobj;
28539fail:
28540 return NULL;
d55e5bfc
RD
28541}
28542
28543
554f62e9
RD
28544SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28545 PyObject *resultobj = 0;
28546 wxListEvent *arg1 = (wxListEvent *) 0 ;
28547 int result;
28548 void *argp1 = 0 ;
28549 int res1 = 0 ;
28550 PyObject *swig_obj[1] ;
28551
28552 if (!args) SWIG_fail;
28553 swig_obj[0] = args;
28554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28555 if (!SWIG_IsOK(res1)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28557 }
28558 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28559 {
28560 PyThreadState* __tstate = wxPyBeginAllowThreads();
28561 result = (int)(arg1)->GetColumn();
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 resultobj = SWIG_From_int(static_cast< int >(result));
28566 return resultobj;
28567fail:
28568 return NULL;
d55e5bfc
RD
28569}
28570
28571
554f62e9
RD
28572SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28573 PyObject *resultobj = 0;
28574 wxListEvent *arg1 = (wxListEvent *) 0 ;
28575 wxPoint result;
28576 void *argp1 = 0 ;
28577 int res1 = 0 ;
28578 PyObject *swig_obj[1] ;
28579
28580 if (!args) SWIG_fail;
28581 swig_obj[0] = args;
28582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28583 if (!SWIG_IsOK(res1)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28585 }
28586 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28587 {
28588 PyThreadState* __tstate = wxPyBeginAllowThreads();
28589 result = (arg1)->GetPoint();
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28594 return resultobj;
28595fail:
28596 return NULL;
d55e5bfc
RD
28597}
28598
28599
554f62e9
RD
28600SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28601 PyObject *resultobj = 0;
28602 wxListEvent *arg1 = (wxListEvent *) 0 ;
28603 wxString *result = 0 ;
28604 void *argp1 = 0 ;
28605 int res1 = 0 ;
28606 PyObject *swig_obj[1] ;
28607
28608 if (!args) SWIG_fail;
28609 swig_obj[0] = args;
28610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28611 if (!SWIG_IsOK(res1)) {
28612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28613 }
28614 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28617 {
554f62e9
RD
28618 wxString const &_result_ref = (arg1)->GetLabel();
28619 result = (wxString *) &_result_ref;
d55e5bfc 28620 }
554f62e9
RD
28621 wxPyEndAllowThreads(__tstate);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 }
28624 {
28625#if wxUSE_UNICODE
28626 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28627#else
28628 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28629#endif
28630 }
28631 return resultobj;
28632fail:
28633 return NULL;
d55e5bfc
RD
28634}
28635
28636
554f62e9
RD
28637SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 PyObject *resultobj = 0;
28639 wxListEvent *arg1 = (wxListEvent *) 0 ;
28640 wxString *result = 0 ;
28641 void *argp1 = 0 ;
28642 int res1 = 0 ;
28643 PyObject *swig_obj[1] ;
28644
28645 if (!args) SWIG_fail;
28646 swig_obj[0] = args;
28647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28648 if (!SWIG_IsOK(res1)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28650 }
28651 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28654 {
554f62e9
RD
28655 wxString const &_result_ref = (arg1)->GetText();
28656 result = (wxString *) &_result_ref;
d55e5bfc 28657 }
554f62e9
RD
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 {
28662#if wxUSE_UNICODE
28663 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28664#else
28665 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28666#endif
28667 }
28668 return resultobj;
28669fail:
28670 return NULL;
d55e5bfc
RD
28671}
28672
28673
554f62e9
RD
28674SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 PyObject *resultobj = 0;
28676 wxListEvent *arg1 = (wxListEvent *) 0 ;
28677 int result;
28678 void *argp1 = 0 ;
28679 int res1 = 0 ;
28680 PyObject *swig_obj[1] ;
28681
28682 if (!args) SWIG_fail;
28683 swig_obj[0] = args;
28684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28685 if (!SWIG_IsOK(res1)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28687 }
28688 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 result = (int)(arg1)->GetImage();
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 resultobj = SWIG_From_int(static_cast< int >(result));
28696 return resultobj;
28697fail:
28698 return NULL;
d55e5bfc
RD
28699}
28700
28701
554f62e9
RD
28702SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28703 PyObject *resultobj = 0;
28704 wxListEvent *arg1 = (wxListEvent *) 0 ;
28705 long result;
28706 void *argp1 = 0 ;
28707 int res1 = 0 ;
28708 PyObject *swig_obj[1] ;
28709
28710 if (!args) SWIG_fail;
28711 swig_obj[0] = args;
28712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28713 if (!SWIG_IsOK(res1)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28715 }
28716 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 result = (long)(arg1)->GetData();
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 resultobj = SWIG_From_long(static_cast< long >(result));
28724 return resultobj;
28725fail:
28726 return NULL;
d55e5bfc
RD
28727}
28728
28729
554f62e9
RD
28730SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28731 PyObject *resultobj = 0;
28732 wxListEvent *arg1 = (wxListEvent *) 0 ;
28733 long result;
28734 void *argp1 = 0 ;
28735 int res1 = 0 ;
28736 PyObject *swig_obj[1] ;
28737
28738 if (!args) SWIG_fail;
28739 swig_obj[0] = args;
28740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28741 if (!SWIG_IsOK(res1)) {
28742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28743 }
28744 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28745 {
28746 PyThreadState* __tstate = wxPyBeginAllowThreads();
28747 result = (long)(arg1)->GetMask();
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 resultobj = SWIG_From_long(static_cast< long >(result));
28752 return resultobj;
28753fail:
28754 return NULL;
d55e5bfc
RD
28755}
28756
28757
554f62e9
RD
28758SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28759 PyObject *resultobj = 0;
28760 wxListEvent *arg1 = (wxListEvent *) 0 ;
28761 wxListItem *result = 0 ;
28762 void *argp1 = 0 ;
28763 int res1 = 0 ;
28764 PyObject *swig_obj[1] ;
28765
28766 if (!args) SWIG_fail;
28767 swig_obj[0] = args;
28768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28769 if (!SWIG_IsOK(res1)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28771 }
28772 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28773 {
28774 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28775 {
554f62e9
RD
28776 wxListItem const &_result_ref = (arg1)->GetItem();
28777 result = (wxListItem *) &_result_ref;
093d3ff1 28778 }
554f62e9
RD
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28783 return resultobj;
28784fail:
28785 return NULL;
d55e5bfc
RD
28786}
28787
28788
554f62e9
RD
28789SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28790 PyObject *resultobj = 0;
28791 wxListEvent *arg1 = (wxListEvent *) 0 ;
28792 long result;
28793 void *argp1 = 0 ;
28794 int res1 = 0 ;
28795 PyObject *swig_obj[1] ;
28796
28797 if (!args) SWIG_fail;
28798 swig_obj[0] = args;
28799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28800 if (!SWIG_IsOK(res1)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28802 }
28803 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28804 {
28805 PyThreadState* __tstate = wxPyBeginAllowThreads();
28806 result = (long)(arg1)->GetCacheFrom();
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 resultobj = SWIG_From_long(static_cast< long >(result));
28811 return resultobj;
28812fail:
28813 return NULL;
d55e5bfc
RD
28814}
28815
28816
554f62e9
RD
28817SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28818 PyObject *resultobj = 0;
28819 wxListEvent *arg1 = (wxListEvent *) 0 ;
28820 long result;
28821 void *argp1 = 0 ;
28822 int res1 = 0 ;
28823 PyObject *swig_obj[1] ;
28824
28825 if (!args) SWIG_fail;
28826 swig_obj[0] = args;
28827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28828 if (!SWIG_IsOK(res1)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28830 }
28831 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 result = (long)(arg1)->GetCacheTo();
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 resultobj = SWIG_From_long(static_cast< long >(result));
28839 return resultobj;
28840fail:
28841 return NULL;
091fdbfa
RD
28842}
28843
28844
554f62e9
RD
28845SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28846 PyObject *resultobj = 0;
28847 wxListEvent *arg1 = (wxListEvent *) 0 ;
28848 bool result;
28849 void *argp1 = 0 ;
28850 int res1 = 0 ;
28851 PyObject *swig_obj[1] ;
28852
28853 if (!args) SWIG_fail;
28854 swig_obj[0] = args;
28855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28856 if (!SWIG_IsOK(res1)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28858 }
28859 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28860 {
28861 PyThreadState* __tstate = wxPyBeginAllowThreads();
28862 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28863 wxPyEndAllowThreads(__tstate);
28864 if (PyErr_Occurred()) SWIG_fail;
28865 }
28866 {
28867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28868 }
28869 return resultobj;
28870fail:
28871 return NULL;
28872}
28873
28874
28875SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28876 PyObject *resultobj = 0;
28877 wxListEvent *arg1 = (wxListEvent *) 0 ;
28878 bool arg2 ;
28879 void *argp1 = 0 ;
28880 int res1 = 0 ;
28881 bool val2 ;
28882 int ecode2 = 0 ;
28883 PyObject * obj0 = 0 ;
28884 PyObject * obj1 = 0 ;
28885 char * kwnames[] = {
28886 (char *) "self",(char *) "editCancelled", NULL
28887 };
28888
28889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28893 }
28894 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28895 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28896 if (!SWIG_IsOK(ecode2)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28898 }
28899 arg2 = static_cast< bool >(val2);
28900 {
28901 PyThreadState* __tstate = wxPyBeginAllowThreads();
28902 (arg1)->SetEditCanceled(arg2);
28903 wxPyEndAllowThreads(__tstate);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
28906 resultobj = SWIG_Py_Void();
28907 return resultobj;
28908fail:
28909 return NULL;
28910}
28911
28912
28913SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28914 PyObject *obj;
28915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28916 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28917 return SWIG_Py_Void();
28918}
28919
28920SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28921 return SWIG_Python_InitShadowInstance(args);
28922}
28923
28924SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28925 PyObject *resultobj = 0;
28926 wxWindow *arg1 = (wxWindow *) 0 ;
28927 int arg2 = (int) -1 ;
28928 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28929 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28930 wxSize const &arg4_defvalue = wxDefaultSize ;
28931 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28932 long arg5 = (long) wxLC_ICON ;
28933 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28934 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28935 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28936 wxString *arg7 = (wxString *) &arg7_defvalue ;
28937 wxPyListCtrl *result = 0 ;
28938 void *argp1 = 0 ;
28939 int res1 = 0 ;
28940 int val2 ;
28941 int ecode2 = 0 ;
28942 wxPoint temp3 ;
28943 wxSize temp4 ;
28944 long val5 ;
28945 int ecode5 = 0 ;
28946 void *argp6 = 0 ;
28947 int res6 = 0 ;
28948 bool temp7 = false ;
28949 PyObject * obj0 = 0 ;
28950 PyObject * obj1 = 0 ;
28951 PyObject * obj2 = 0 ;
28952 PyObject * obj3 = 0 ;
28953 PyObject * obj4 = 0 ;
28954 PyObject * obj5 = 0 ;
28955 PyObject * obj6 = 0 ;
28956 char * kwnames[] = {
28957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28958 };
28959
28960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28962 if (!SWIG_IsOK(res1)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28964 }
28965 arg1 = reinterpret_cast< wxWindow * >(argp1);
28966 if (obj1) {
28967 ecode2 = SWIG_AsVal_int(obj1, &val2);
28968 if (!SWIG_IsOK(ecode2)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28970 }
28971 arg2 = static_cast< int >(val2);
28972 }
28973 if (obj2) {
f20a2e1f 28974 {
554f62e9
RD
28975 arg3 = &temp3;
28976 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28977 }
554f62e9
RD
28978 }
28979 if (obj3) {
d55e5bfc 28980 {
554f62e9
RD
28981 arg4 = &temp4;
28982 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28983 }
554f62e9
RD
28984 }
28985 if (obj4) {
28986 ecode5 = SWIG_AsVal_long(obj4, &val5);
28987 if (!SWIG_IsOK(ecode5)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28989 }
28990 arg5 = static_cast< long >(val5);
28991 }
28992 if (obj5) {
28993 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28994 if (!SWIG_IsOK(res6)) {
28995 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28996 }
554f62e9
RD
28997 if (!argp6) {
28998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28999 }
554f62e9
RD
29000 arg6 = reinterpret_cast< wxValidator * >(argp6);
29001 }
29002 if (obj6) {
d55e5bfc 29003 {
554f62e9
RD
29004 arg7 = wxString_in_helper(obj6);
29005 if (arg7 == NULL) SWIG_fail;
29006 temp7 = true;
d55e5bfc 29007 }
554f62e9
RD
29008 }
29009 {
29010 if (!wxPyCheckForApp()) SWIG_fail;
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29017 {
29018 if (temp7)
29019 delete arg7;
29020 }
29021 return resultobj;
29022fail:
29023 {
29024 if (temp7)
29025 delete arg7;
29026 }
29027 return NULL;
d55e5bfc
RD
29028}
29029
29030
554f62e9
RD
29031SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29032 PyObject *resultobj = 0;
29033 wxPyListCtrl *result = 0 ;
29034
29035 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29036 {
29037 if (!wxPyCheckForApp()) SWIG_fail;
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = (wxPyListCtrl *)new wxPyListCtrl();
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29044 return resultobj;
29045fail:
29046 return NULL;
29047}
29048
29049
29050SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29051 PyObject *resultobj = 0;
29052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29053 wxWindow *arg2 = (wxWindow *) 0 ;
29054 int arg3 = (int) -1 ;
29055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29057 wxSize const &arg5_defvalue = wxDefaultSize ;
29058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29059 long arg6 = (long) wxLC_ICON ;
29060 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29061 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29062 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29063 wxString *arg8 = (wxString *) &arg8_defvalue ;
29064 bool result;
29065 void *argp1 = 0 ;
29066 int res1 = 0 ;
29067 void *argp2 = 0 ;
29068 int res2 = 0 ;
29069 int val3 ;
29070 int ecode3 = 0 ;
29071 wxPoint temp4 ;
29072 wxSize temp5 ;
29073 long val6 ;
29074 int ecode6 = 0 ;
29075 void *argp7 = 0 ;
29076 int res7 = 0 ;
29077 bool temp8 = false ;
29078 PyObject * obj0 = 0 ;
29079 PyObject * obj1 = 0 ;
29080 PyObject * obj2 = 0 ;
29081 PyObject * obj3 = 0 ;
29082 PyObject * obj4 = 0 ;
29083 PyObject * obj5 = 0 ;
29084 PyObject * obj6 = 0 ;
29085 PyObject * obj7 = 0 ;
29086 char * kwnames[] = {
29087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29088 };
29089
29090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29092 if (!SWIG_IsOK(res1)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29094 }
29095 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29097 if (!SWIG_IsOK(res2)) {
29098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29099 }
29100 arg2 = reinterpret_cast< wxWindow * >(argp2);
29101 if (obj2) {
29102 ecode3 = SWIG_AsVal_int(obj2, &val3);
29103 if (!SWIG_IsOK(ecode3)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29105 }
29106 arg3 = static_cast< int >(val3);
29107 }
29108 if (obj3) {
d55e5bfc 29109 {
554f62e9
RD
29110 arg4 = &temp4;
29111 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29112 }
554f62e9
RD
29113 }
29114 if (obj4) {
d55e5bfc 29115 {
554f62e9
RD
29116 arg5 = &temp5;
29117 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29118 }
554f62e9
RD
29119 }
29120 if (obj5) {
29121 ecode6 = SWIG_AsVal_long(obj5, &val6);
29122 if (!SWIG_IsOK(ecode6)) {
29123 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29124 }
29125 arg6 = static_cast< long >(val6);
29126 }
29127 if (obj6) {
29128 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29129 if (!SWIG_IsOK(res7)) {
29130 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 29131 }
554f62e9
RD
29132 if (!argp7) {
29133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 29134 }
554f62e9
RD
29135 arg7 = reinterpret_cast< wxValidator * >(argp7);
29136 }
29137 if (obj7) {
d55e5bfc 29138 {
554f62e9
RD
29139 arg8 = wxString_in_helper(obj7);
29140 if (arg8 == NULL) SWIG_fail;
29141 temp8 = true;
d55e5bfc 29142 }
554f62e9
RD
29143 }
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 {
29151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29152 }
29153 {
29154 if (temp8)
29155 delete arg8;
29156 }
29157 return resultobj;
29158fail:
29159 {
29160 if (temp8)
29161 delete arg8;
29162 }
29163 return NULL;
29164}
29165
29166
29167SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29168 PyObject *resultobj = 0;
29169 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29170 PyObject *arg2 = (PyObject *) 0 ;
29171 PyObject *arg3 = (PyObject *) 0 ;
29172 void *argp1 = 0 ;
29173 int res1 = 0 ;
29174 PyObject * obj0 = 0 ;
29175 PyObject * obj1 = 0 ;
29176 PyObject * obj2 = 0 ;
29177 char * kwnames[] = {
29178 (char *) "self",(char *) "self",(char *) "_class", NULL
29179 };
29180
29181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29183 if (!SWIG_IsOK(res1)) {
29184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29185 }
29186 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29187 arg2 = obj1;
29188 arg3 = obj2;
29189 {
29190 PyThreadState* __tstate = wxPyBeginAllowThreads();
29191 (arg1)->_setCallbackInfo(arg2,arg3);
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 resultobj = SWIG_Py_Void();
29196 return resultobj;
29197fail:
29198 return NULL;
29199}
29200
29201
29202SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29203 PyObject *resultobj = 0;
29204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29205 int arg2 ;
29206 wxListItem *result = 0 ;
29207 void *argp1 = 0 ;
29208 int res1 = 0 ;
29209 int val2 ;
29210 int ecode2 = 0 ;
29211 PyObject * obj0 = 0 ;
29212 PyObject * obj1 = 0 ;
29213 char * kwnames[] = {
29214 (char *) "self",(char *) "col", NULL
29215 };
29216
29217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29219 if (!SWIG_IsOK(res1)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29221 }
29222 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29223 ecode2 = SWIG_AsVal_int(obj1, &val2);
29224 if (!SWIG_IsOK(ecode2)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29226 }
29227 arg2 = static_cast< int >(val2);
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 {
3ecece7e 29235 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
29236 }
29237 return resultobj;
29238fail:
29239 return NULL;
29240}
29241
29242
29243SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29244 PyObject *resultobj = 0;
29245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29246 int arg2 ;
29247 wxListItem *arg3 = 0 ;
29248 bool result;
29249 void *argp1 = 0 ;
29250 int res1 = 0 ;
29251 int val2 ;
29252 int ecode2 = 0 ;
29253 void *argp3 = 0 ;
29254 int res3 = 0 ;
29255 PyObject * obj0 = 0 ;
29256 PyObject * obj1 = 0 ;
29257 PyObject * obj2 = 0 ;
29258 char * kwnames[] = {
29259 (char *) "self",(char *) "col",(char *) "item", NULL
29260 };
29261
29262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29264 if (!SWIG_IsOK(res1)) {
29265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29266 }
29267 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29268 ecode2 = SWIG_AsVal_int(obj1, &val2);
29269 if (!SWIG_IsOK(ecode2)) {
29270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29271 }
29272 arg2 = static_cast< int >(val2);
29273 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29274 if (!SWIG_IsOK(res3)) {
29275 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29276 }
29277 if (!argp3) {
29278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29279 }
29280 arg3 = reinterpret_cast< wxListItem * >(argp3);
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 {
29288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29289 }
29290 return resultobj;
29291fail:
29292 return NULL;
29293}
29294
29295
29296SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29297 PyObject *resultobj = 0;
29298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29299 int arg2 ;
29300 int result;
29301 void *argp1 = 0 ;
29302 int res1 = 0 ;
29303 int val2 ;
29304 int ecode2 = 0 ;
29305 PyObject * obj0 = 0 ;
29306 PyObject * obj1 = 0 ;
29307 char * kwnames[] = {
29308 (char *) "self",(char *) "col", NULL
29309 };
29310
29311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29313 if (!SWIG_IsOK(res1)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29315 }
29316 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29317 ecode2 = SWIG_AsVal_int(obj1, &val2);
29318 if (!SWIG_IsOK(ecode2)) {
29319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29320 }
29321 arg2 = static_cast< int >(val2);
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29325 wxPyEndAllowThreads(__tstate);
29326 if (PyErr_Occurred()) SWIG_fail;
29327 }
29328 resultobj = SWIG_From_int(static_cast< int >(result));
29329 return resultobj;
29330fail:
29331 return NULL;
29332}
29333
29334
29335SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29336 PyObject *resultobj = 0;
29337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29338 int arg2 ;
29339 int arg3 ;
29340 bool result;
29341 void *argp1 = 0 ;
29342 int res1 = 0 ;
29343 int val2 ;
29344 int ecode2 = 0 ;
29345 int val3 ;
29346 int ecode3 = 0 ;
29347 PyObject * obj0 = 0 ;
29348 PyObject * obj1 = 0 ;
29349 PyObject * obj2 = 0 ;
29350 char * kwnames[] = {
29351 (char *) "self",(char *) "col",(char *) "width", NULL
29352 };
29353
29354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29356 if (!SWIG_IsOK(res1)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29358 }
29359 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29360 ecode2 = SWIG_AsVal_int(obj1, &val2);
29361 if (!SWIG_IsOK(ecode2)) {
29362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29363 }
29364 arg2 = static_cast< int >(val2);
29365 ecode3 = SWIG_AsVal_int(obj2, &val3);
29366 if (!SWIG_IsOK(ecode3)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29368 }
29369 arg3 = static_cast< int >(val3);
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 {
29377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29378 }
29379 return resultobj;
29380fail:
29381 return NULL;
d55e5bfc
RD
29382}
29383
29384
554f62e9
RD
29385SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29386 PyObject *resultobj = 0;
29387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29388 int result;
29389 void *argp1 = 0 ;
29390 int res1 = 0 ;
29391 PyObject *swig_obj[1] ;
29392
29393 if (!args) SWIG_fail;
29394 swig_obj[0] = args;
29395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29396 if (!SWIG_IsOK(res1)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29398 }
29399 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 resultobj = SWIG_From_int(static_cast< int >(result));
29407 return resultobj;
29408fail:
29409 return NULL;
7e08d4ef
RD
29410}
29411
29412
554f62e9
RD
29413SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29414 PyObject *resultobj = 0;
29415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29416 wxRect result;
29417 void *argp1 = 0 ;
29418 int res1 = 0 ;
29419 PyObject *swig_obj[1] ;
29420
29421 if (!args) SWIG_fail;
29422 swig_obj[0] = args;
29423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29424 if (!SWIG_IsOK(res1)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29426 }
29427 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29435 return resultobj;
29436fail:
29437 return NULL;
7e08d4ef
RD
29438}
29439
29440
554f62e9
RD
29441SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29442 PyObject *resultobj = 0;
29443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29444 wxTextCtrl *result = 0 ;
29445 void *argp1 = 0 ;
29446 int res1 = 0 ;
29447 PyObject *swig_obj[1] ;
29448
29449 if (!args) SWIG_fail;
29450 swig_obj[0] = args;
29451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29452 if (!SWIG_IsOK(res1)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29454 }
29455 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29456 {
29457 PyThreadState* __tstate = wxPyBeginAllowThreads();
29458 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 {
29463 resultobj = wxPyMake_wxObject(result, 0);
29464 }
29465 return resultobj;
29466fail:
29467 return NULL;
29468}
29469
29470
29471SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29472 PyObject *resultobj = 0;
29473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29474 long arg2 ;
29475 int arg3 = (int) 0 ;
29476 wxListItem *result = 0 ;
29477 void *argp1 = 0 ;
29478 int res1 = 0 ;
29479 long val2 ;
29480 int ecode2 = 0 ;
29481 int val3 ;
29482 int ecode3 = 0 ;
29483 PyObject * obj0 = 0 ;
29484 PyObject * obj1 = 0 ;
29485 PyObject * obj2 = 0 ;
29486 char * kwnames[] = {
29487 (char *) "self",(char *) "itemId",(char *) "col", NULL
29488 };
29489
29490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29492 if (!SWIG_IsOK(res1)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29494 }
29495 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29496 ecode2 = SWIG_AsVal_long(obj1, &val2);
29497 if (!SWIG_IsOK(ecode2)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29499 }
29500 arg2 = static_cast< long >(val2);
29501 if (obj2) {
29502 ecode3 = SWIG_AsVal_int(obj2, &val3);
29503 if (!SWIG_IsOK(ecode3)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29505 }
29506 arg3 = static_cast< int >(val3);
29507 }
29508 {
29509 PyThreadState* __tstate = wxPyBeginAllowThreads();
29510 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
29514 {
3ecece7e 29515 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
29516 }
29517 return resultobj;
29518fail:
29519 return NULL;
29520}
29521
29522
29523SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29524 PyObject *resultobj = 0;
29525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29526 wxListItem *arg2 = 0 ;
29527 bool result;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 void *argp2 = 0 ;
29531 int res2 = 0 ;
29532 PyObject * obj0 = 0 ;
29533 PyObject * obj1 = 0 ;
29534 char * kwnames[] = {
29535 (char *) "self",(char *) "info", NULL
29536 };
29537
29538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29540 if (!SWIG_IsOK(res1)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29542 }
29543 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29545 if (!SWIG_IsOK(res2)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29547 }
29548 if (!argp2) {
29549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29550 }
29551 arg2 = reinterpret_cast< wxListItem * >(argp2);
29552 {
29553 PyThreadState* __tstate = wxPyBeginAllowThreads();
29554 result = (bool)(arg1)->SetItem(*arg2);
29555 wxPyEndAllowThreads(__tstate);
29556 if (PyErr_Occurred()) SWIG_fail;
29557 }
29558 {
29559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29560 }
29561 return resultobj;
29562fail:
29563 return NULL;
29564}
29565
29566
29567SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29568 PyObject *resultobj = 0;
29569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29570 long arg2 ;
29571 int arg3 ;
29572 wxString *arg4 = 0 ;
29573 int arg5 = (int) -1 ;
29574 long result;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 long val2 ;
29578 int ecode2 = 0 ;
29579 int val3 ;
29580 int ecode3 = 0 ;
29581 bool temp4 = false ;
29582 int val5 ;
29583 int ecode5 = 0 ;
29584 PyObject * obj0 = 0 ;
29585 PyObject * obj1 = 0 ;
29586 PyObject * obj2 = 0 ;
29587 PyObject * obj3 = 0 ;
29588 PyObject * obj4 = 0 ;
29589 char * kwnames[] = {
29590 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29591 };
29592
29593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29595 if (!SWIG_IsOK(res1)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29597 }
29598 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29599 ecode2 = SWIG_AsVal_long(obj1, &val2);
29600 if (!SWIG_IsOK(ecode2)) {
29601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29602 }
29603 arg2 = static_cast< long >(val2);
29604 ecode3 = SWIG_AsVal_int(obj2, &val3);
29605 if (!SWIG_IsOK(ecode3)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29607 }
29608 arg3 = static_cast< int >(val3);
29609 {
29610 arg4 = wxString_in_helper(obj3);
29611 if (arg4 == NULL) SWIG_fail;
29612 temp4 = true;
29613 }
29614 if (obj4) {
29615 ecode5 = SWIG_AsVal_int(obj4, &val5);
29616 if (!SWIG_IsOK(ecode5)) {
29617 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29618 }
29619 arg5 = static_cast< int >(val5);
29620 }
29621 {
29622 PyThreadState* __tstate = wxPyBeginAllowThreads();
29623 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29624 wxPyEndAllowThreads(__tstate);
29625 if (PyErr_Occurred()) SWIG_fail;
29626 }
29627 resultobj = SWIG_From_long(static_cast< long >(result));
29628 {
29629 if (temp4)
29630 delete arg4;
29631 }
29632 return resultobj;
29633fail:
29634 {
29635 if (temp4)
29636 delete arg4;
29637 }
29638 return NULL;
29639}
29640
29641
29642SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29643 PyObject *resultobj = 0;
29644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29645 long arg2 ;
29646 long arg3 ;
29647 int result;
29648 void *argp1 = 0 ;
29649 int res1 = 0 ;
29650 long val2 ;
29651 int ecode2 = 0 ;
29652 long val3 ;
29653 int ecode3 = 0 ;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 PyObject * obj2 = 0 ;
29657 char * kwnames[] = {
29658 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29659 };
29660
29661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29663 if (!SWIG_IsOK(res1)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29665 }
29666 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29667 ecode2 = SWIG_AsVal_long(obj1, &val2);
29668 if (!SWIG_IsOK(ecode2)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29670 }
29671 arg2 = static_cast< long >(val2);
29672 ecode3 = SWIG_AsVal_long(obj2, &val3);
29673 if (!SWIG_IsOK(ecode3)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29675 }
29676 arg3 = static_cast< long >(val3);
29677 {
29678 PyThreadState* __tstate = wxPyBeginAllowThreads();
29679 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29680 wxPyEndAllowThreads(__tstate);
29681 if (PyErr_Occurred()) SWIG_fail;
29682 }
29683 resultobj = SWIG_From_int(static_cast< int >(result));
29684 return resultobj;
29685fail:
29686 return NULL;
29687}
29688
29689
29690SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29691 PyObject *resultobj = 0;
29692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29693 long arg2 ;
29694 long arg3 ;
29695 long arg4 ;
29696 bool result;
29697 void *argp1 = 0 ;
29698 int res1 = 0 ;
29699 long val2 ;
29700 int ecode2 = 0 ;
29701 long val3 ;
29702 int ecode3 = 0 ;
29703 long val4 ;
29704 int ecode4 = 0 ;
29705 PyObject * obj0 = 0 ;
29706 PyObject * obj1 = 0 ;
29707 PyObject * obj2 = 0 ;
29708 PyObject * obj3 = 0 ;
29709 char * kwnames[] = {
29710 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29711 };
29712
29713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29715 if (!SWIG_IsOK(res1)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29717 }
29718 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29719 ecode2 = SWIG_AsVal_long(obj1, &val2);
29720 if (!SWIG_IsOK(ecode2)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29722 }
29723 arg2 = static_cast< long >(val2);
29724 ecode3 = SWIG_AsVal_long(obj2, &val3);
29725 if (!SWIG_IsOK(ecode3)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29727 }
29728 arg3 = static_cast< long >(val3);
29729 ecode4 = SWIG_AsVal_long(obj3, &val4);
29730 if (!SWIG_IsOK(ecode4)) {
29731 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29732 }
29733 arg4 = static_cast< long >(val4);
29734 {
29735 PyThreadState* __tstate = wxPyBeginAllowThreads();
29736 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
29740 {
29741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29742 }
29743 return resultobj;
29744fail:
29745 return NULL;
29746}
29747
29748
29749SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29750 PyObject *resultobj = 0;
29751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29752 long arg2 ;
29753 int arg3 ;
29754 int arg4 = (int) -1 ;
29755 bool result;
29756 void *argp1 = 0 ;
29757 int res1 = 0 ;
29758 long val2 ;
29759 int ecode2 = 0 ;
29760 int val3 ;
29761 int ecode3 = 0 ;
29762 int val4 ;
29763 int ecode4 = 0 ;
29764 PyObject * obj0 = 0 ;
29765 PyObject * obj1 = 0 ;
29766 PyObject * obj2 = 0 ;
29767 PyObject * obj3 = 0 ;
29768 char * kwnames[] = {
29769 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29770 };
29771
29772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29774 if (!SWIG_IsOK(res1)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29776 }
29777 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29778 ecode2 = SWIG_AsVal_long(obj1, &val2);
29779 if (!SWIG_IsOK(ecode2)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29781 }
29782 arg2 = static_cast< long >(val2);
29783 ecode3 = SWIG_AsVal_int(obj2, &val3);
29784 if (!SWIG_IsOK(ecode3)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29786 }
29787 arg3 = static_cast< int >(val3);
29788 if (obj3) {
29789 ecode4 = SWIG_AsVal_int(obj3, &val4);
29790 if (!SWIG_IsOK(ecode4)) {
29791 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29792 }
29793 arg4 = static_cast< int >(val4);
29794 }
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29798 wxPyEndAllowThreads(__tstate);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 {
29802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29803 }
29804 return resultobj;
29805fail:
29806 return NULL;
29807}
29808
29809
29810SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29811 PyObject *resultobj = 0;
29812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29813 long arg2 ;
29814 long arg3 ;
29815 int arg4 ;
29816 bool result;
29817 void *argp1 = 0 ;
29818 int res1 = 0 ;
29819 long val2 ;
29820 int ecode2 = 0 ;
29821 long val3 ;
29822 int ecode3 = 0 ;
29823 int val4 ;
29824 int ecode4 = 0 ;
29825 PyObject * obj0 = 0 ;
29826 PyObject * obj1 = 0 ;
29827 PyObject * obj2 = 0 ;
29828 PyObject * obj3 = 0 ;
29829 char * kwnames[] = {
29830 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29831 };
29832
29833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29835 if (!SWIG_IsOK(res1)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29837 }
29838 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29839 ecode2 = SWIG_AsVal_long(obj1, &val2);
29840 if (!SWIG_IsOK(ecode2)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29842 }
29843 arg2 = static_cast< long >(val2);
29844 ecode3 = SWIG_AsVal_long(obj2, &val3);
29845 if (!SWIG_IsOK(ecode3)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29847 }
29848 arg3 = static_cast< long >(val3);
29849 ecode4 = SWIG_AsVal_int(obj3, &val4);
29850 if (!SWIG_IsOK(ecode4)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29852 }
29853 arg4 = static_cast< int >(val4);
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 {
29861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29862 }
29863 return resultobj;
29864fail:
29865 return NULL;
29866}
29867
29868
29869SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29870 PyObject *resultobj = 0;
29871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29872 long arg2 ;
29873 wxString result;
29874 void *argp1 = 0 ;
29875 int res1 = 0 ;
29876 long val2 ;
29877 int ecode2 = 0 ;
29878 PyObject * obj0 = 0 ;
29879 PyObject * obj1 = 0 ;
29880 char * kwnames[] = {
29881 (char *) "self",(char *) "item", NULL
29882 };
29883
29884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29886 if (!SWIG_IsOK(res1)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29888 }
29889 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29890 ecode2 = SWIG_AsVal_long(obj1, &val2);
29891 if (!SWIG_IsOK(ecode2)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29893 }
29894 arg2 = static_cast< long >(val2);
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29898 wxPyEndAllowThreads(__tstate);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 }
29901 {
29902#if wxUSE_UNICODE
29903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29904#else
29905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29906#endif
29907 }
29908 return resultobj;
29909fail:
29910 return NULL;
29911}
29912
29913
29914SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29915 PyObject *resultobj = 0;
29916 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29917 long arg2 ;
29918 wxString *arg3 = 0 ;
29919 void *argp1 = 0 ;
29920 int res1 = 0 ;
29921 long val2 ;
29922 int ecode2 = 0 ;
29923 bool temp3 = false ;
29924 PyObject * obj0 = 0 ;
29925 PyObject * obj1 = 0 ;
29926 PyObject * obj2 = 0 ;
29927 char * kwnames[] = {
29928 (char *) "self",(char *) "item",(char *) "str", NULL
29929 };
29930
29931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29933 if (!SWIG_IsOK(res1)) {
29934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29935 }
29936 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29937 ecode2 = SWIG_AsVal_long(obj1, &val2);
29938 if (!SWIG_IsOK(ecode2)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29940 }
29941 arg2 = static_cast< long >(val2);
29942 {
29943 arg3 = wxString_in_helper(obj2);
29944 if (arg3 == NULL) SWIG_fail;
29945 temp3 = true;
29946 }
29947 {
29948 PyThreadState* __tstate = wxPyBeginAllowThreads();
29949 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29950 wxPyEndAllowThreads(__tstate);
29951 if (PyErr_Occurred()) SWIG_fail;
29952 }
29953 resultobj = SWIG_Py_Void();
29954 {
29955 if (temp3)
29956 delete arg3;
29957 }
29958 return resultobj;
29959fail:
29960 {
29961 if (temp3)
29962 delete arg3;
29963 }
29964 return NULL;
29965}
29966
29967
29968SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj = 0;
29970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29971 long arg2 ;
29972 long result;
29973 void *argp1 = 0 ;
29974 int res1 = 0 ;
29975 long val2 ;
29976 int ecode2 = 0 ;
29977 PyObject * obj0 = 0 ;
29978 PyObject * obj1 = 0 ;
29979 char * kwnames[] = {
29980 (char *) "self",(char *) "item", NULL
29981 };
29982
29983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29985 if (!SWIG_IsOK(res1)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29987 }
29988 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29989 ecode2 = SWIG_AsVal_long(obj1, &val2);
29990 if (!SWIG_IsOK(ecode2)) {
29991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29992 }
29993 arg2 = static_cast< long >(val2);
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 resultobj = SWIG_From_long(static_cast< long >(result));
30001 return resultobj;
30002fail:
30003 return NULL;
30004}
30005
30006
30007SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30008 PyObject *resultobj = 0;
30009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30010 long arg2 ;
30011 long arg3 ;
30012 bool result;
30013 void *argp1 = 0 ;
30014 int res1 = 0 ;
30015 long val2 ;
30016 int ecode2 = 0 ;
30017 long val3 ;
30018 int ecode3 = 0 ;
30019 PyObject * obj0 = 0 ;
30020 PyObject * obj1 = 0 ;
30021 PyObject * obj2 = 0 ;
30022 char * kwnames[] = {
30023 (char *) "self",(char *) "item",(char *) "data", NULL
30024 };
30025
30026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30028 if (!SWIG_IsOK(res1)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30030 }
30031 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30032 ecode2 = SWIG_AsVal_long(obj1, &val2);
30033 if (!SWIG_IsOK(ecode2)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30035 }
30036 arg2 = static_cast< long >(val2);
30037 ecode3 = SWIG_AsVal_long(obj2, &val3);
30038 if (!SWIG_IsOK(ecode3)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30040 }
30041 arg3 = static_cast< long >(val3);
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 result = (bool)(arg1)->SetItemData(arg2,arg3);
30045 wxPyEndAllowThreads(__tstate);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 }
30048 {
30049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30050 }
30051 return resultobj;
30052fail:
30053 return NULL;
30054}
30055
30056
30057SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30058 PyObject *resultobj = 0;
30059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30060 long arg2 ;
30061 wxPoint result;
30062 void *argp1 = 0 ;
30063 int res1 = 0 ;
30064 long val2 ;
30065 int ecode2 = 0 ;
30066 PyObject * obj0 = 0 ;
30067 PyObject * obj1 = 0 ;
30068 char * kwnames[] = {
30069 (char *) "self",(char *) "item", NULL
30070 };
30071
30072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30074 if (!SWIG_IsOK(res1)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30076 }
30077 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30078 ecode2 = SWIG_AsVal_long(obj1, &val2);
30079 if (!SWIG_IsOK(ecode2)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30081 }
30082 arg2 = static_cast< long >(val2);
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30090 return resultobj;
30091fail:
30092 return NULL;
30093}
30094
30095
30096SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj = 0;
30098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30099 long arg2 ;
30100 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30101 wxRect result;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 long val2 ;
30105 int ecode2 = 0 ;
30106 int val3 ;
30107 int ecode3 = 0 ;
30108 PyObject * obj0 = 0 ;
30109 PyObject * obj1 = 0 ;
30110 PyObject * obj2 = 0 ;
30111 char * kwnames[] = {
30112 (char *) "self",(char *) "item",(char *) "code", NULL
30113 };
30114
30115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30117 if (!SWIG_IsOK(res1)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30119 }
30120 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30121 ecode2 = SWIG_AsVal_long(obj1, &val2);
30122 if (!SWIG_IsOK(ecode2)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30124 }
30125 arg2 = static_cast< long >(val2);
30126 if (obj2) {
30127 ecode3 = SWIG_AsVal_int(obj2, &val3);
30128 if (!SWIG_IsOK(ecode3)) {
30129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30130 }
30131 arg3 = static_cast< int >(val3);
30132 }
30133 {
30134 PyThreadState* __tstate = wxPyBeginAllowThreads();
30135 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30136 wxPyEndAllowThreads(__tstate);
30137 if (PyErr_Occurred()) SWIG_fail;
30138 }
30139 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30140 return resultobj;
30141fail:
30142 return NULL;
30143}
30144
30145
30146SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30147 PyObject *resultobj = 0;
30148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30149 long arg2 ;
30150 wxPoint *arg3 = 0 ;
30151 bool result;
30152 void *argp1 = 0 ;
30153 int res1 = 0 ;
30154 long val2 ;
30155 int ecode2 = 0 ;
30156 wxPoint temp3 ;
30157 PyObject * obj0 = 0 ;
30158 PyObject * obj1 = 0 ;
30159 PyObject * obj2 = 0 ;
30160 char * kwnames[] = {
30161 (char *) "self",(char *) "item",(char *) "pos", NULL
30162 };
30163
30164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30166 if (!SWIG_IsOK(res1)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30168 }
30169 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30170 ecode2 = SWIG_AsVal_long(obj1, &val2);
30171 if (!SWIG_IsOK(ecode2)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30173 }
30174 arg2 = static_cast< long >(val2);
30175 {
30176 arg3 = &temp3;
30177 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30178 }
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30182 wxPyEndAllowThreads(__tstate);
30183 if (PyErr_Occurred()) SWIG_fail;
30184 }
30185 {
30186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30187 }
30188 return resultobj;
30189fail:
30190 return NULL;
7e08d4ef
RD
30191}
30192
30193
554f62e9
RD
30194SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30195 PyObject *resultobj = 0;
30196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30197 int result;
30198 void *argp1 = 0 ;
30199 int res1 = 0 ;
30200 PyObject *swig_obj[1] ;
30201
30202 if (!args) SWIG_fail;
30203 swig_obj[0] = args;
30204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30205 if (!SWIG_IsOK(res1)) {
30206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30207 }
30208 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30209 {
30210 PyThreadState* __tstate = wxPyBeginAllowThreads();
30211 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30212 wxPyEndAllowThreads(__tstate);
30213 if (PyErr_Occurred()) SWIG_fail;
30214 }
30215 resultobj = SWIG_From_int(static_cast< int >(result));
30216 return resultobj;
30217fail:
30218 return NULL;
7e08d4ef
RD
30219}
30220
30221
554f62e9
RD
30222SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30223 PyObject *resultobj = 0;
30224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30225 int result;
30226 void *argp1 = 0 ;
30227 int res1 = 0 ;
30228 PyObject *swig_obj[1] ;
30229
30230 if (!args) SWIG_fail;
30231 swig_obj[0] = args;
30232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30233 if (!SWIG_IsOK(res1)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30235 }
30236 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30237 {
30238 PyThreadState* __tstate = wxPyBeginAllowThreads();
30239 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 resultobj = SWIG_From_int(static_cast< int >(result));
30244 return resultobj;
30245fail:
30246 return NULL;
7e08d4ef
RD
30247}
30248
30249
554f62e9
RD
30250SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30251 PyObject *resultobj = 0;
30252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30253 wxSize result;
30254 void *argp1 = 0 ;
30255 int res1 = 0 ;
30256 PyObject *swig_obj[1] ;
30257
30258 if (!args) SWIG_fail;
30259 swig_obj[0] = args;
30260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30261 if (!SWIG_IsOK(res1)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30263 }
30264 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30268 wxPyEndAllowThreads(__tstate);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 }
30271 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30272 return resultobj;
30273fail:
30274 return NULL;
7e08d4ef
RD
30275}
30276
30277
554f62e9
RD
30278SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30279 PyObject *resultobj = 0;
30280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30281 int result;
30282 void *argp1 = 0 ;
30283 int res1 = 0 ;
30284 PyObject *swig_obj[1] ;
30285
30286 if (!args) SWIG_fail;
30287 swig_obj[0] = args;
30288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30289 if (!SWIG_IsOK(res1)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30291 }
30292 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30293 {
30294 PyThreadState* __tstate = wxPyBeginAllowThreads();
30295 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30296 wxPyEndAllowThreads(__tstate);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
30299 resultobj = SWIG_From_int(static_cast< int >(result));
30300 return resultobj;
30301fail:
30302 return NULL;
7e08d4ef
RD
30303}
30304
30305
554f62e9
RD
30306SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30307 PyObject *resultobj = 0;
30308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30309 wxColour result;
30310 void *argp1 = 0 ;
30311 int res1 = 0 ;
30312 PyObject *swig_obj[1] ;
30313
30314 if (!args) SWIG_fail;
30315 swig_obj[0] = args;
30316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30317 if (!SWIG_IsOK(res1)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30319 }
30320 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30324 wxPyEndAllowThreads(__tstate);
30325 if (PyErr_Occurred()) SWIG_fail;
30326 }
30327 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30328 return resultobj;
30329fail:
30330 return NULL;
30331}
30332
30333
30334SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30335 PyObject *resultobj = 0;
30336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30337 wxColour *arg2 = 0 ;
30338 void *argp1 = 0 ;
30339 int res1 = 0 ;
30340 wxColour temp2 ;
30341 PyObject * obj0 = 0 ;
30342 PyObject * obj1 = 0 ;
30343 char * kwnames[] = {
30344 (char *) "self",(char *) "col", NULL
30345 };
30346
30347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30349 if (!SWIG_IsOK(res1)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30351 }
30352 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30353 {
30354 arg2 = &temp2;
30355 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30356 }
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->SetTextColour((wxColour const &)*arg2);
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 resultobj = SWIG_Py_Void();
30364 return resultobj;
30365fail:
30366 return NULL;
7e08d4ef
RD
30367}
30368
30369
554f62e9
RD
30370SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30371 PyObject *resultobj = 0;
30372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30373 long result;
30374 void *argp1 = 0 ;
30375 int res1 = 0 ;
30376 PyObject *swig_obj[1] ;
30377
30378 if (!args) SWIG_fail;
30379 swig_obj[0] = args;
30380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30381 if (!SWIG_IsOK(res1)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30383 }
30384 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30385 {
30386 PyThreadState* __tstate = wxPyBeginAllowThreads();
30387 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30388 wxPyEndAllowThreads(__tstate);
30389 if (PyErr_Occurred()) SWIG_fail;
30390 }
30391 resultobj = SWIG_From_long(static_cast< long >(result));
30392 return resultobj;
30393fail:
30394 return NULL;
30395}
30396
30397
30398SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30399 PyObject *resultobj = 0;
30400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30401 long arg2 ;
30402 bool arg3 = (bool) true ;
30403 void *argp1 = 0 ;
30404 int res1 = 0 ;
30405 long val2 ;
30406 int ecode2 = 0 ;
30407 bool val3 ;
30408 int ecode3 = 0 ;
30409 PyObject * obj0 = 0 ;
30410 PyObject * obj1 = 0 ;
30411 PyObject * obj2 = 0 ;
30412 char * kwnames[] = {
30413 (char *) "self",(char *) "style",(char *) "add", NULL
30414 };
30415
30416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30418 if (!SWIG_IsOK(res1)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30420 }
30421 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30422 ecode2 = SWIG_AsVal_long(obj1, &val2);
30423 if (!SWIG_IsOK(ecode2)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30425 }
30426 arg2 = static_cast< long >(val2);
30427 if (obj2) {
30428 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30429 if (!SWIG_IsOK(ecode3)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30431 }
30432 arg3 = static_cast< bool >(val3);
30433 }
30434 {
30435 PyThreadState* __tstate = wxPyBeginAllowThreads();
30436 (arg1)->SetSingleStyle(arg2,arg3);
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 resultobj = SWIG_Py_Void();
30441 return resultobj;
30442fail:
30443 return NULL;
30444}
30445
30446
30447SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj = 0;
30449 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30450 long arg2 ;
30451 int arg3 = (int) wxLIST_NEXT_ALL ;
30452 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30453 long result;
30454 void *argp1 = 0 ;
30455 int res1 = 0 ;
30456 long val2 ;
30457 int ecode2 = 0 ;
30458 int val3 ;
30459 int ecode3 = 0 ;
30460 int val4 ;
30461 int ecode4 = 0 ;
30462 PyObject * obj0 = 0 ;
30463 PyObject * obj1 = 0 ;
30464 PyObject * obj2 = 0 ;
30465 PyObject * obj3 = 0 ;
30466 char * kwnames[] = {
30467 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30468 };
30469
30470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30472 if (!SWIG_IsOK(res1)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30474 }
30475 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30476 ecode2 = SWIG_AsVal_long(obj1, &val2);
30477 if (!SWIG_IsOK(ecode2)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30479 }
30480 arg2 = static_cast< long >(val2);
30481 if (obj2) {
30482 ecode3 = SWIG_AsVal_int(obj2, &val3);
30483 if (!SWIG_IsOK(ecode3)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30485 }
30486 arg3 = static_cast< int >(val3);
30487 }
30488 if (obj3) {
30489 ecode4 = SWIG_AsVal_int(obj3, &val4);
30490 if (!SWIG_IsOK(ecode4)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30492 }
30493 arg4 = static_cast< int >(val4);
30494 }
30495 {
30496 PyThreadState* __tstate = wxPyBeginAllowThreads();
30497 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30498 wxPyEndAllowThreads(__tstate);
30499 if (PyErr_Occurred()) SWIG_fail;
30500 }
30501 resultobj = SWIG_From_long(static_cast< long >(result));
30502 return resultobj;
30503fail:
30504 return NULL;
30505}
30506
30507
30508SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj = 0;
30510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30511 int arg2 ;
30512 wxImageList *result = 0 ;
30513 void *argp1 = 0 ;
30514 int res1 = 0 ;
30515 int val2 ;
30516 int ecode2 = 0 ;
30517 PyObject * obj0 = 0 ;
30518 PyObject * obj1 = 0 ;
30519 char * kwnames[] = {
30520 (char *) "self",(char *) "which", NULL
30521 };
30522
30523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30525 if (!SWIG_IsOK(res1)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30527 }
30528 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30529 ecode2 = SWIG_AsVal_int(obj1, &val2);
30530 if (!SWIG_IsOK(ecode2)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30532 }
30533 arg2 = static_cast< int >(val2);
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30537 wxPyEndAllowThreads(__tstate);
30538 if (PyErr_Occurred()) SWIG_fail;
30539 }
3ecece7e
RD
30540 {
30541 resultobj = wxPyMake_wxObject(result, (bool)0);
30542 }
554f62e9
RD
30543 return resultobj;
30544fail:
30545 return NULL;
30546}
30547
30548
30549SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30550 PyObject *resultobj = 0;
30551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30552 wxImageList *arg2 = (wxImageList *) 0 ;
30553 int arg3 ;
30554 void *argp1 = 0 ;
30555 int res1 = 0 ;
30556 void *argp2 = 0 ;
30557 int res2 = 0 ;
30558 int val3 ;
30559 int ecode3 = 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 PyObject * obj2 = 0 ;
30563 char * kwnames[] = {
30564 (char *) "self",(char *) "imageList",(char *) "which", NULL
30565 };
30566
30567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30569 if (!SWIG_IsOK(res1)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30571 }
30572 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30573 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30574 if (!SWIG_IsOK(res2)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30576 }
30577 arg2 = reinterpret_cast< wxImageList * >(argp2);
30578 ecode3 = SWIG_AsVal_int(obj2, &val3);
30579 if (!SWIG_IsOK(ecode3)) {
30580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30581 }
30582 arg3 = static_cast< int >(val3);
30583 {
30584 PyThreadState* __tstate = wxPyBeginAllowThreads();
30585 (arg1)->SetImageList(arg2,arg3);
30586 wxPyEndAllowThreads(__tstate);
30587 if (PyErr_Occurred()) SWIG_fail;
30588 }
30589 resultobj = SWIG_Py_Void();
30590 return resultobj;
30591fail:
30592 return NULL;
30593}
30594
30595
30596SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30597 PyObject *resultobj = 0;
30598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30599 wxImageList *arg2 = (wxImageList *) 0 ;
30600 int arg3 ;
30601 void *argp1 = 0 ;
30602 int res1 = 0 ;
30603 int res2 = 0 ;
30604 int val3 ;
30605 int ecode3 = 0 ;
30606 PyObject * obj0 = 0 ;
30607 PyObject * obj1 = 0 ;
30608 PyObject * obj2 = 0 ;
30609 char * kwnames[] = {
30610 (char *) "self",(char *) "imageList",(char *) "which", NULL
30611 };
30612
30613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30615 if (!SWIG_IsOK(res1)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30617 }
30618 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30619 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30620 if (!SWIG_IsOK(res2)) {
30621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30622 }
30623 ecode3 = SWIG_AsVal_int(obj2, &val3);
30624 if (!SWIG_IsOK(ecode3)) {
30625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30626 }
30627 arg3 = static_cast< int >(val3);
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 (arg1)->AssignImageList(arg2,arg3);
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 resultobj = SWIG_Py_Void();
30635 return resultobj;
30636fail:
30637 return NULL;
7e08d4ef
RD
30638}
30639
30640
554f62e9
RD
30641SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30642 PyObject *resultobj = 0;
30643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30644 bool result;
30645 void *argp1 = 0 ;
30646 int res1 = 0 ;
30647 PyObject *swig_obj[1] ;
30648
30649 if (!args) SWIG_fail;
30650 swig_obj[0] = args;
30651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30652 if (!SWIG_IsOK(res1)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30654 }
30655 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30656 {
30657 PyThreadState* __tstate = wxPyBeginAllowThreads();
30658 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30659 wxPyEndAllowThreads(__tstate);
30660 if (PyErr_Occurred()) SWIG_fail;
30661 }
30662 {
30663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30664 }
30665 return resultobj;
30666fail:
30667 return NULL;
7e08d4ef
RD
30668}
30669
30670
554f62e9
RD
30671SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30672 PyObject *resultobj = 0;
30673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30674 bool result;
30675 void *argp1 = 0 ;
30676 int res1 = 0 ;
30677 PyObject *swig_obj[1] ;
30678
30679 if (!args) SWIG_fail;
30680 swig_obj[0] = args;
30681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30682 if (!SWIG_IsOK(res1)) {
30683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30684 }
30685 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
30688 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30689 wxPyEndAllowThreads(__tstate);
30690 if (PyErr_Occurred()) SWIG_fail;
30691 }
30692 {
30693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30694 }
30695 return resultobj;
30696fail:
30697 return NULL;
30698}
30699
30700
30701SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30702 PyObject *resultobj = 0;
30703 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30704 long arg2 ;
30705 void *argp1 = 0 ;
30706 int res1 = 0 ;
30707 long val2 ;
30708 int ecode2 = 0 ;
30709 PyObject * obj0 = 0 ;
30710 PyObject * obj1 = 0 ;
30711 char * kwnames[] = {
30712 (char *) "self",(char *) "item", NULL
30713 };
30714
30715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30717 if (!SWIG_IsOK(res1)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30719 }
30720 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30721 ecode2 = SWIG_AsVal_long(obj1, &val2);
30722 if (!SWIG_IsOK(ecode2)) {
30723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30724 }
30725 arg2 = static_cast< long >(val2);
30726 {
30727 PyThreadState* __tstate = wxPyBeginAllowThreads();
30728 (arg1)->RefreshItem(arg2);
30729 wxPyEndAllowThreads(__tstate);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 }
30732 resultobj = SWIG_Py_Void();
30733 return resultobj;
30734fail:
30735 return NULL;
30736}
30737
30738
30739SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30740 PyObject *resultobj = 0;
30741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30742 long arg2 ;
30743 long arg3 ;
30744 void *argp1 = 0 ;
30745 int res1 = 0 ;
30746 long val2 ;
30747 int ecode2 = 0 ;
30748 long val3 ;
30749 int ecode3 = 0 ;
30750 PyObject * obj0 = 0 ;
30751 PyObject * obj1 = 0 ;
30752 PyObject * obj2 = 0 ;
30753 char * kwnames[] = {
30754 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30755 };
30756
30757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30759 if (!SWIG_IsOK(res1)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30761 }
30762 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30763 ecode2 = SWIG_AsVal_long(obj1, &val2);
30764 if (!SWIG_IsOK(ecode2)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30766 }
30767 arg2 = static_cast< long >(val2);
30768 ecode3 = SWIG_AsVal_long(obj2, &val3);
30769 if (!SWIG_IsOK(ecode3)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30771 }
30772 arg3 = static_cast< long >(val3);
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 (arg1)->RefreshItems(arg2,arg3);
30776 wxPyEndAllowThreads(__tstate);
30777 if (PyErr_Occurred()) SWIG_fail;
30778 }
30779 resultobj = SWIG_Py_Void();
30780 return resultobj;
30781fail:
30782 return NULL;
30783}
30784
30785
30786SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30787 PyObject *resultobj = 0;
30788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30789 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30790 bool result;
30791 void *argp1 = 0 ;
30792 int res1 = 0 ;
30793 int val2 ;
30794 int ecode2 = 0 ;
30795 PyObject * obj0 = 0 ;
30796 PyObject * obj1 = 0 ;
30797 char * kwnames[] = {
30798 (char *) "self",(char *) "flag", NULL
30799 };
30800
30801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30803 if (!SWIG_IsOK(res1)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30805 }
30806 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30807 if (obj1) {
30808 ecode2 = SWIG_AsVal_int(obj1, &val2);
30809 if (!SWIG_IsOK(ecode2)) {
30810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30811 }
30812 arg2 = static_cast< int >(val2);
30813 }
30814 {
30815 PyThreadState* __tstate = wxPyBeginAllowThreads();
30816 result = (bool)(arg1)->Arrange(arg2);
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 {
30821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30822 }
30823 return resultobj;
30824fail:
30825 return NULL;
30826}
30827
30828
30829SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj = 0;
30831 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30832 long arg2 ;
30833 bool result;
30834 void *argp1 = 0 ;
30835 int res1 = 0 ;
30836 long val2 ;
30837 int ecode2 = 0 ;
30838 PyObject * obj0 = 0 ;
30839 PyObject * obj1 = 0 ;
30840 char * kwnames[] = {
30841 (char *) "self",(char *) "item", NULL
30842 };
30843
30844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30846 if (!SWIG_IsOK(res1)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30848 }
30849 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30850 ecode2 = SWIG_AsVal_long(obj1, &val2);
30851 if (!SWIG_IsOK(ecode2)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30853 }
30854 arg2 = static_cast< long >(val2);
30855 {
30856 PyThreadState* __tstate = wxPyBeginAllowThreads();
30857 result = (bool)(arg1)->DeleteItem(arg2);
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 {
30862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30863 }
30864 return resultobj;
30865fail:
30866 return NULL;
7e08d4ef
RD
30867}
30868
30869
554f62e9
RD
30870SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30871 PyObject *resultobj = 0;
30872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30873 bool result;
30874 void *argp1 = 0 ;
30875 int res1 = 0 ;
30876 PyObject *swig_obj[1] ;
30877
30878 if (!args) SWIG_fail;
30879 swig_obj[0] = args;
30880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30881 if (!SWIG_IsOK(res1)) {
30882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30883 }
30884 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
30887 result = (bool)(arg1)->DeleteAllItems();
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 {
30892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30893 }
30894 return resultobj;
30895fail:
30896 return NULL;
30897}
30898
30899
30900SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30901 PyObject *resultobj = 0;
30902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30903 int arg2 ;
30904 bool result;
30905 void *argp1 = 0 ;
30906 int res1 = 0 ;
30907 int val2 ;
30908 int ecode2 = 0 ;
30909 PyObject * obj0 = 0 ;
30910 PyObject * obj1 = 0 ;
30911 char * kwnames[] = {
30912 (char *) "self",(char *) "col", NULL
30913 };
30914
30915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30917 if (!SWIG_IsOK(res1)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30919 }
30920 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30921 ecode2 = SWIG_AsVal_int(obj1, &val2);
30922 if (!SWIG_IsOK(ecode2)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30924 }
30925 arg2 = static_cast< int >(val2);
30926 {
30927 PyThreadState* __tstate = wxPyBeginAllowThreads();
30928 result = (bool)(arg1)->DeleteColumn(arg2);
30929 wxPyEndAllowThreads(__tstate);
30930 if (PyErr_Occurred()) SWIG_fail;
30931 }
30932 {
30933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30934 }
30935 return resultobj;
30936fail:
30937 return NULL;
7e08d4ef
RD
30938}
30939
30940
554f62e9
RD
30941SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30942 PyObject *resultobj = 0;
30943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30944 bool result;
30945 void *argp1 = 0 ;
30946 int res1 = 0 ;
30947 PyObject *swig_obj[1] ;
30948
30949 if (!args) SWIG_fail;
30950 swig_obj[0] = args;
30951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30952 if (!SWIG_IsOK(res1)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30954 }
30955 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30956 {
30957 PyThreadState* __tstate = wxPyBeginAllowThreads();
30958 result = (bool)(arg1)->DeleteAllColumns();
30959 wxPyEndAllowThreads(__tstate);
30960 if (PyErr_Occurred()) SWIG_fail;
30961 }
30962 {
30963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30964 }
30965 return resultobj;
30966fail:
30967 return NULL;
7e08d4ef
RD
30968}
30969
30970
554f62e9
RD
30971SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30972 PyObject *resultobj = 0;
30973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30974 void *argp1 = 0 ;
30975 int res1 = 0 ;
30976 PyObject *swig_obj[1] ;
30977
30978 if (!args) SWIG_fail;
30979 swig_obj[0] = args;
30980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30981 if (!SWIG_IsOK(res1)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30983 }
30984 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30985 {
30986 PyThreadState* __tstate = wxPyBeginAllowThreads();
30987 (arg1)->ClearAll();
30988 wxPyEndAllowThreads(__tstate);
30989 if (PyErr_Occurred()) SWIG_fail;
30990 }
30991 resultobj = SWIG_Py_Void();
30992 return resultobj;
30993fail:
30994 return NULL;
30995}
30996
30997
30998SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30999 PyObject *resultobj = 0;
31000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31001 long arg2 ;
31002 wxTextCtrl *result = 0 ;
31003 void *argp1 = 0 ;
31004 int res1 = 0 ;
31005 long val2 ;
31006 int ecode2 = 0 ;
31007 PyObject * obj0 = 0 ;
31008 PyObject * obj1 = 0 ;
31009 char * kwnames[] = {
31010 (char *) "self",(char *) "item", NULL
31011 };
31012
31013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31015 if (!SWIG_IsOK(res1)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31017 }
31018 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31019 ecode2 = SWIG_AsVal_long(obj1, &val2);
31020 if (!SWIG_IsOK(ecode2)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31022 }
31023 arg2 = static_cast< long >(val2);
31024 {
31025 PyThreadState* __tstate = wxPyBeginAllowThreads();
31026 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31027 wxPyEndAllowThreads(__tstate);
31028 if (PyErr_Occurred()) SWIG_fail;
31029 }
31030 {
31031 resultobj = wxPyMake_wxObject(result, 0);
31032 }
31033 return resultobj;
31034fail:
31035 return NULL;
31036}
31037
31038
31039SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31040 PyObject *resultobj = 0;
31041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31042 bool arg2 ;
31043 bool result;
31044 void *argp1 = 0 ;
31045 int res1 = 0 ;
31046 bool val2 ;
31047 int ecode2 = 0 ;
31048 PyObject * obj0 = 0 ;
31049 PyObject * obj1 = 0 ;
31050 char * kwnames[] = {
31051 (char *) "self",(char *) "cancel", NULL
31052 };
31053
31054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31056 if (!SWIG_IsOK(res1)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31058 }
31059 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31060 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31061 if (!SWIG_IsOK(ecode2)) {
31062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31063 }
31064 arg2 = static_cast< bool >(val2);
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 result = (bool)(arg1)->EndEditLabel(arg2);
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 {
31072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31073 }
31074 return resultobj;
31075fail:
31076 return NULL;
31077}
31078
31079
31080SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31081 PyObject *resultobj = 0;
31082 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31083 long arg2 ;
31084 bool result;
31085 void *argp1 = 0 ;
31086 int res1 = 0 ;
31087 long val2 ;
31088 int ecode2 = 0 ;
31089 PyObject * obj0 = 0 ;
31090 PyObject * obj1 = 0 ;
31091 char * kwnames[] = {
31092 (char *) "self",(char *) "item", NULL
31093 };
31094
31095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31097 if (!SWIG_IsOK(res1)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31099 }
31100 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31101 ecode2 = SWIG_AsVal_long(obj1, &val2);
31102 if (!SWIG_IsOK(ecode2)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31104 }
31105 arg2 = static_cast< long >(val2);
31106 {
31107 PyThreadState* __tstate = wxPyBeginAllowThreads();
31108 result = (bool)(arg1)->EnsureVisible(arg2);
31109 wxPyEndAllowThreads(__tstate);
31110 if (PyErr_Occurred()) SWIG_fail;
31111 }
31112 {
31113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31114 }
31115 return resultobj;
31116fail:
31117 return NULL;
31118}
31119
31120
31121SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31122 PyObject *resultobj = 0;
31123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31124 long arg2 ;
31125 wxString *arg3 = 0 ;
31126 bool arg4 = (bool) false ;
31127 long result;
31128 void *argp1 = 0 ;
31129 int res1 = 0 ;
31130 long val2 ;
31131 int ecode2 = 0 ;
31132 bool temp3 = false ;
31133 bool val4 ;
31134 int ecode4 = 0 ;
31135 PyObject * obj0 = 0 ;
31136 PyObject * obj1 = 0 ;
31137 PyObject * obj2 = 0 ;
31138 PyObject * obj3 = 0 ;
31139 char * kwnames[] = {
31140 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31141 };
31142
31143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31145 if (!SWIG_IsOK(res1)) {
31146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31147 }
31148 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31149 ecode2 = SWIG_AsVal_long(obj1, &val2);
31150 if (!SWIG_IsOK(ecode2)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31152 }
31153 arg2 = static_cast< long >(val2);
31154 {
31155 arg3 = wxString_in_helper(obj2);
31156 if (arg3 == NULL) SWIG_fail;
31157 temp3 = true;
31158 }
31159 if (obj3) {
31160 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31161 if (!SWIG_IsOK(ecode4)) {
31162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31163 }
31164 arg4 = static_cast< bool >(val4);
31165 }
31166 {
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31169 wxPyEndAllowThreads(__tstate);
31170 if (PyErr_Occurred()) SWIG_fail;
31171 }
31172 resultobj = SWIG_From_long(static_cast< long >(result));
31173 {
31174 if (temp3)
31175 delete arg3;
31176 }
31177 return resultobj;
31178fail:
31179 {
31180 if (temp3)
31181 delete arg3;
31182 }
31183 return NULL;
31184}
31185
31186
31187SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31188 PyObject *resultobj = 0;
31189 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31190 long arg2 ;
31191 long arg3 ;
31192 long result;
31193 void *argp1 = 0 ;
31194 int res1 = 0 ;
31195 long val2 ;
31196 int ecode2 = 0 ;
31197 long val3 ;
31198 int ecode3 = 0 ;
31199 PyObject * obj0 = 0 ;
31200 PyObject * obj1 = 0 ;
31201 PyObject * obj2 = 0 ;
31202 char * kwnames[] = {
31203 (char *) "self",(char *) "start",(char *) "data", NULL
31204 };
31205
31206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31208 if (!SWIG_IsOK(res1)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31210 }
31211 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31212 ecode2 = SWIG_AsVal_long(obj1, &val2);
31213 if (!SWIG_IsOK(ecode2)) {
31214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31215 }
31216 arg2 = static_cast< long >(val2);
31217 ecode3 = SWIG_AsVal_long(obj2, &val3);
31218 if (!SWIG_IsOK(ecode3)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31220 }
31221 arg3 = static_cast< long >(val3);
31222 {
31223 PyThreadState* __tstate = wxPyBeginAllowThreads();
31224 result = (long)(arg1)->FindItem(arg2,arg3);
31225 wxPyEndAllowThreads(__tstate);
31226 if (PyErr_Occurred()) SWIG_fail;
31227 }
31228 resultobj = SWIG_From_long(static_cast< long >(result));
31229 return resultobj;
31230fail:
31231 return NULL;
31232}
31233
31234
31235SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31236 PyObject *resultobj = 0;
31237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31238 long arg2 ;
31239 wxPoint *arg3 = 0 ;
31240 int arg4 ;
31241 long result;
31242 void *argp1 = 0 ;
31243 int res1 = 0 ;
31244 long val2 ;
31245 int ecode2 = 0 ;
31246 wxPoint temp3 ;
31247 int val4 ;
31248 int ecode4 = 0 ;
31249 PyObject * obj0 = 0 ;
31250 PyObject * obj1 = 0 ;
31251 PyObject * obj2 = 0 ;
31252 PyObject * obj3 = 0 ;
31253 char * kwnames[] = {
31254 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31255 };
31256
31257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31259 if (!SWIG_IsOK(res1)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31261 }
31262 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31263 ecode2 = SWIG_AsVal_long(obj1, &val2);
31264 if (!SWIG_IsOK(ecode2)) {
31265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31266 }
31267 arg2 = static_cast< long >(val2);
31268 {
31269 arg3 = &temp3;
31270 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31271 }
31272 ecode4 = SWIG_AsVal_int(obj3, &val4);
31273 if (!SWIG_IsOK(ecode4)) {
31274 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31275 }
31276 arg4 = static_cast< int >(val4);
31277 {
31278 PyThreadState* __tstate = wxPyBeginAllowThreads();
31279 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31280 wxPyEndAllowThreads(__tstate);
31281 if (PyErr_Occurred()) SWIG_fail;
31282 }
31283 resultobj = SWIG_From_long(static_cast< long >(result));
31284 return resultobj;
31285fail:
31286 return NULL;
31287}
31288
31289
31290SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31291 PyObject *resultobj = 0;
31292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31293 wxPoint *arg2 = 0 ;
31294 int *arg3 = 0 ;
31295 long result;
31296 void *argp1 = 0 ;
31297 int res1 = 0 ;
31298 wxPoint temp2 ;
31299 int temp3 ;
31300 int res3 = SWIG_TMPOBJ ;
31301 PyObject * obj0 = 0 ;
31302 PyObject * obj1 = 0 ;
31303 char * kwnames[] = {
31304 (char *) "self",(char *) "point", NULL
31305 };
31306
31307 arg3 = &temp3;
31308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31310 if (!SWIG_IsOK(res1)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31312 }
31313 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31314 {
31315 arg2 = &temp2;
31316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31317 }
31318 {
31319 PyThreadState* __tstate = wxPyBeginAllowThreads();
31320 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 resultobj = SWIG_From_long(static_cast< long >(result));
31325 if (SWIG_IsTmpObj(res3)) {
31326 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31327 } else {
31328 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31330 }
31331 return resultobj;
31332fail:
31333 return NULL;
31334}
31335
31336
704eda0c
RD
31337SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31338 PyObject *resultobj = 0;
31339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31340 wxPoint *arg2 = 0 ;
31341 int *arg3 = 0 ;
31342 long *arg4 = (long *) 0 ;
31343 long result;
31344 void *argp1 = 0 ;
31345 int res1 = 0 ;
31346 wxPoint temp2 ;
31347 int temp3 ;
31348 int res3 = SWIG_TMPOBJ ;
31349 long temp4 ;
31350 int res4 = SWIG_TMPOBJ ;
31351 PyObject * obj0 = 0 ;
31352 PyObject * obj1 = 0 ;
31353 char * kwnames[] = {
31354 (char *) "self",(char *) "point", NULL
31355 };
31356
31357 arg3 = &temp3;
31358 arg4 = &temp4;
31359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31361 if (!SWIG_IsOK(res1)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31363 }
31364 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31365 {
31366 arg2 = &temp2;
31367 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31368 }
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 resultobj = SWIG_From_long(static_cast< long >(result));
31376 if (SWIG_IsTmpObj(res3)) {
31377 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31378 } else {
31379 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31381 }
31382 if (SWIG_IsTmpObj(res4)) {
31383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31384 } else {
31385 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31387 }
31388 return resultobj;
31389fail:
31390 return NULL;
31391}
31392
31393
554f62e9
RD
31394SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31395 PyObject *resultobj = 0;
31396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31397 wxListItem *arg2 = 0 ;
31398 long result;
31399 void *argp1 = 0 ;
31400 int res1 = 0 ;
31401 void *argp2 = 0 ;
31402 int res2 = 0 ;
31403 PyObject * obj0 = 0 ;
31404 PyObject * obj1 = 0 ;
31405 char * kwnames[] = {
31406 (char *) "self",(char *) "info", NULL
31407 };
31408
31409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31411 if (!SWIG_IsOK(res1)) {
31412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31413 }
31414 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31416 if (!SWIG_IsOK(res2)) {
31417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31418 }
31419 if (!argp2) {
31420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31421 }
31422 arg2 = reinterpret_cast< wxListItem * >(argp2);
31423 {
31424 PyThreadState* __tstate = wxPyBeginAllowThreads();
31425 result = (long)(arg1)->InsertItem(*arg2);
31426 wxPyEndAllowThreads(__tstate);
31427 if (PyErr_Occurred()) SWIG_fail;
31428 }
31429 resultobj = SWIG_From_long(static_cast< long >(result));
31430 return resultobj;
31431fail:
31432 return NULL;
31433}
31434
31435
31436SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31437 PyObject *resultobj = 0;
31438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31439 long arg2 ;
31440 wxString *arg3 = 0 ;
31441 int arg4 = (int) -1 ;
31442 long result;
31443 void *argp1 = 0 ;
31444 int res1 = 0 ;
31445 long val2 ;
31446 int ecode2 = 0 ;
31447 bool temp3 = false ;
31448 int val4 ;
31449 int ecode4 = 0 ;
31450 PyObject * obj0 = 0 ;
31451 PyObject * obj1 = 0 ;
31452 PyObject * obj2 = 0 ;
31453 PyObject * obj3 = 0 ;
31454 char * kwnames[] = {
31455 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31456 };
31457
31458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31460 if (!SWIG_IsOK(res1)) {
31461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31462 }
31463 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31464 ecode2 = SWIG_AsVal_long(obj1, &val2);
31465 if (!SWIG_IsOK(ecode2)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31467 }
31468 arg2 = static_cast< long >(val2);
31469 {
31470 arg3 = wxString_in_helper(obj2);
31471 if (arg3 == NULL) SWIG_fail;
31472 temp3 = true;
31473 }
31474 if (obj3) {
31475 ecode4 = SWIG_AsVal_int(obj3, &val4);
31476 if (!SWIG_IsOK(ecode4)) {
31477 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31478 }
31479 arg4 = static_cast< int >(val4);
31480 }
31481 {
31482 PyThreadState* __tstate = wxPyBeginAllowThreads();
31483 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
31487 resultobj = SWIG_From_long(static_cast< long >(result));
31488 {
31489 if (temp3)
31490 delete arg3;
31491 }
31492 return resultobj;
31493fail:
31494 {
31495 if (temp3)
31496 delete arg3;
31497 }
31498 return NULL;
31499}
31500
31501
31502SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31503 PyObject *resultobj = 0;
31504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31505 long arg2 ;
31506 int arg3 ;
31507 long result;
31508 void *argp1 = 0 ;
31509 int res1 = 0 ;
31510 long val2 ;
31511 int ecode2 = 0 ;
31512 int val3 ;
31513 int ecode3 = 0 ;
31514 PyObject * obj0 = 0 ;
31515 PyObject * obj1 = 0 ;
31516 PyObject * obj2 = 0 ;
31517 char * kwnames[] = {
31518 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31519 };
31520
31521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31523 if (!SWIG_IsOK(res1)) {
31524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31525 }
31526 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31527 ecode2 = SWIG_AsVal_long(obj1, &val2);
31528 if (!SWIG_IsOK(ecode2)) {
31529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31530 }
31531 arg2 = static_cast< long >(val2);
31532 ecode3 = SWIG_AsVal_int(obj2, &val3);
31533 if (!SWIG_IsOK(ecode3)) {
31534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31535 }
31536 arg3 = static_cast< int >(val3);
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 result = (long)(arg1)->InsertItem(arg2,arg3);
31540 wxPyEndAllowThreads(__tstate);
31541 if (PyErr_Occurred()) SWIG_fail;
31542 }
31543 resultobj = SWIG_From_long(static_cast< long >(result));
31544 return resultobj;
31545fail:
31546 return NULL;
31547}
31548
31549
31550SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31551 PyObject *resultobj = 0;
31552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31553 long arg2 ;
31554 wxString *arg3 = 0 ;
31555 int arg4 ;
31556 long result;
31557 void *argp1 = 0 ;
31558 int res1 = 0 ;
31559 long val2 ;
31560 int ecode2 = 0 ;
31561 bool temp3 = false ;
31562 int val4 ;
31563 int ecode4 = 0 ;
31564 PyObject * obj0 = 0 ;
31565 PyObject * obj1 = 0 ;
31566 PyObject * obj2 = 0 ;
31567 PyObject * obj3 = 0 ;
31568 char * kwnames[] = {
31569 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31570 };
31571
31572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31574 if (!SWIG_IsOK(res1)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31576 }
31577 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31578 ecode2 = SWIG_AsVal_long(obj1, &val2);
31579 if (!SWIG_IsOK(ecode2)) {
31580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31581 }
31582 arg2 = static_cast< long >(val2);
31583 {
31584 arg3 = wxString_in_helper(obj2);
31585 if (arg3 == NULL) SWIG_fail;
31586 temp3 = true;
31587 }
31588 ecode4 = SWIG_AsVal_int(obj3, &val4);
31589 if (!SWIG_IsOK(ecode4)) {
31590 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31591 }
31592 arg4 = static_cast< int >(val4);
31593 {
31594 PyThreadState* __tstate = wxPyBeginAllowThreads();
31595 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31596 wxPyEndAllowThreads(__tstate);
31597 if (PyErr_Occurred()) SWIG_fail;
31598 }
31599 resultobj = SWIG_From_long(static_cast< long >(result));
31600 {
31601 if (temp3)
31602 delete arg3;
31603 }
31604 return resultobj;
31605fail:
31606 {
31607 if (temp3)
31608 delete arg3;
31609 }
31610 return NULL;
31611}
31612
31613
31614SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31615 PyObject *resultobj = 0;
31616 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31617 long arg2 ;
31618 wxListItem *arg3 = 0 ;
31619 long result;
31620 void *argp1 = 0 ;
31621 int res1 = 0 ;
31622 long val2 ;
31623 int ecode2 = 0 ;
31624 void *argp3 = 0 ;
31625 int res3 = 0 ;
31626 PyObject * obj0 = 0 ;
31627 PyObject * obj1 = 0 ;
31628 PyObject * obj2 = 0 ;
31629 char * kwnames[] = {
31630 (char *) "self",(char *) "col",(char *) "info", NULL
31631 };
31632
31633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31635 if (!SWIG_IsOK(res1)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31637 }
31638 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31639 ecode2 = SWIG_AsVal_long(obj1, &val2);
31640 if (!SWIG_IsOK(ecode2)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31642 }
31643 arg2 = static_cast< long >(val2);
31644 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31645 if (!SWIG_IsOK(res3)) {
31646 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31647 }
31648 if (!argp3) {
31649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31650 }
31651 arg3 = reinterpret_cast< wxListItem * >(argp3);
31652 {
31653 PyThreadState* __tstate = wxPyBeginAllowThreads();
31654 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31655 wxPyEndAllowThreads(__tstate);
31656 if (PyErr_Occurred()) SWIG_fail;
31657 }
31658 resultobj = SWIG_From_long(static_cast< long >(result));
31659 return resultobj;
31660fail:
31661 return NULL;
31662}
31663
31664
31665SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31666 PyObject *resultobj = 0;
31667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31668 long arg2 ;
31669 wxString *arg3 = 0 ;
31670 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31671 int arg5 = (int) -1 ;
31672 long result;
31673 void *argp1 = 0 ;
31674 int res1 = 0 ;
31675 long val2 ;
31676 int ecode2 = 0 ;
31677 bool temp3 = false ;
31678 int val4 ;
31679 int ecode4 = 0 ;
31680 int val5 ;
31681 int ecode5 = 0 ;
31682 PyObject * obj0 = 0 ;
31683 PyObject * obj1 = 0 ;
31684 PyObject * obj2 = 0 ;
31685 PyObject * obj3 = 0 ;
31686 PyObject * obj4 = 0 ;
31687 char * kwnames[] = {
31688 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31689 };
31690
31691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31693 if (!SWIG_IsOK(res1)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31695 }
31696 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31697 ecode2 = SWIG_AsVal_long(obj1, &val2);
31698 if (!SWIG_IsOK(ecode2)) {
31699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31700 }
31701 arg2 = static_cast< long >(val2);
31702 {
31703 arg3 = wxString_in_helper(obj2);
31704 if (arg3 == NULL) SWIG_fail;
31705 temp3 = true;
31706 }
31707 if (obj3) {
31708 ecode4 = SWIG_AsVal_int(obj3, &val4);
31709 if (!SWIG_IsOK(ecode4)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31711 }
31712 arg4 = static_cast< int >(val4);
31713 }
31714 if (obj4) {
31715 ecode5 = SWIG_AsVal_int(obj4, &val5);
31716 if (!SWIG_IsOK(ecode5)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31718 }
31719 arg5 = static_cast< int >(val5);
31720 }
31721 {
31722 PyThreadState* __tstate = wxPyBeginAllowThreads();
31723 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31724 wxPyEndAllowThreads(__tstate);
31725 if (PyErr_Occurred()) SWIG_fail;
31726 }
31727 resultobj = SWIG_From_long(static_cast< long >(result));
31728 {
31729 if (temp3)
31730 delete arg3;
31731 }
31732 return resultobj;
31733fail:
31734 {
31735 if (temp3)
31736 delete arg3;
31737 }
31738 return NULL;
31739}
31740
31741
31742SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31743 PyObject *resultobj = 0;
31744 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31745 long arg2 ;
31746 void *argp1 = 0 ;
31747 int res1 = 0 ;
31748 long val2 ;
31749 int ecode2 = 0 ;
31750 PyObject * obj0 = 0 ;
31751 PyObject * obj1 = 0 ;
31752 char * kwnames[] = {
31753 (char *) "self",(char *) "count", NULL
31754 };
31755
31756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31758 if (!SWIG_IsOK(res1)) {
31759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31760 }
31761 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31762 ecode2 = SWIG_AsVal_long(obj1, &val2);
31763 if (!SWIG_IsOK(ecode2)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31765 }
31766 arg2 = static_cast< long >(val2);
31767 {
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 (arg1)->SetItemCount(arg2);
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_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31781 PyObject *resultobj = 0;
31782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31783 int arg2 ;
31784 int arg3 ;
31785 bool result;
31786 void *argp1 = 0 ;
31787 int res1 = 0 ;
31788 int val2 ;
31789 int ecode2 = 0 ;
31790 int val3 ;
31791 int ecode3 = 0 ;
31792 PyObject * obj0 = 0 ;
31793 PyObject * obj1 = 0 ;
31794 PyObject * obj2 = 0 ;
31795 char * kwnames[] = {
31796 (char *) "self",(char *) "dx",(char *) "dy", NULL
31797 };
31798
31799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31801 if (!SWIG_IsOK(res1)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31803 }
31804 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31805 ecode2 = SWIG_AsVal_int(obj1, &val2);
31806 if (!SWIG_IsOK(ecode2)) {
31807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31808 }
31809 arg2 = static_cast< int >(val2);
31810 ecode3 = SWIG_AsVal_int(obj2, &val3);
31811 if (!SWIG_IsOK(ecode3)) {
31812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31813 }
31814 arg3 = static_cast< int >(val3);
31815 {
31816 PyThreadState* __tstate = wxPyBeginAllowThreads();
31817 result = (bool)(arg1)->ScrollList(arg2,arg3);
31818 wxPyEndAllowThreads(__tstate);
31819 if (PyErr_Occurred()) SWIG_fail;
31820 }
31821 {
31822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31823 }
31824 return resultobj;
31825fail:
31826 return NULL;
31827}
31828
31829
31830SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31831 PyObject *resultobj = 0;
31832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31833 long arg2 ;
31834 wxColour *arg3 = 0 ;
31835 void *argp1 = 0 ;
31836 int res1 = 0 ;
31837 long val2 ;
31838 int ecode2 = 0 ;
31839 wxColour temp3 ;
31840 PyObject * obj0 = 0 ;
31841 PyObject * obj1 = 0 ;
31842 PyObject * obj2 = 0 ;
31843 char * kwnames[] = {
31844 (char *) "self",(char *) "item",(char *) "col", NULL
31845 };
31846
31847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31849 if (!SWIG_IsOK(res1)) {
31850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31851 }
31852 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31853 ecode2 = SWIG_AsVal_long(obj1, &val2);
31854 if (!SWIG_IsOK(ecode2)) {
31855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31856 }
31857 arg2 = static_cast< long >(val2);
31858 {
31859 arg3 = &temp3;
31860 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31861 }
31862 {
31863 PyThreadState* __tstate = wxPyBeginAllowThreads();
31864 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31865 wxPyEndAllowThreads(__tstate);
31866 if (PyErr_Occurred()) SWIG_fail;
31867 }
31868 resultobj = SWIG_Py_Void();
31869 return resultobj;
31870fail:
31871 return NULL;
31872}
31873
31874
31875SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31876 PyObject *resultobj = 0;
31877 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31878 long arg2 ;
31879 wxColour result;
31880 void *argp1 = 0 ;
31881 int res1 = 0 ;
31882 long val2 ;
31883 int ecode2 = 0 ;
31884 PyObject * obj0 = 0 ;
31885 PyObject * obj1 = 0 ;
31886 char * kwnames[] = {
31887 (char *) "self",(char *) "item", NULL
31888 };
31889
31890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31892 if (!SWIG_IsOK(res1)) {
31893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31894 }
31895 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31896 ecode2 = SWIG_AsVal_long(obj1, &val2);
31897 if (!SWIG_IsOK(ecode2)) {
31898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31899 }
31900 arg2 = static_cast< long >(val2);
31901 {
31902 PyThreadState* __tstate = wxPyBeginAllowThreads();
31903 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31904 wxPyEndAllowThreads(__tstate);
31905 if (PyErr_Occurred()) SWIG_fail;
31906 }
31907 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31908 return resultobj;
31909fail:
31910 return NULL;
31911}
31912
31913
31914SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31915 PyObject *resultobj = 0;
31916 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31917 long arg2 ;
31918 wxColour *arg3 = 0 ;
31919 void *argp1 = 0 ;
31920 int res1 = 0 ;
31921 long val2 ;
31922 int ecode2 = 0 ;
31923 wxColour temp3 ;
31924 PyObject * obj0 = 0 ;
31925 PyObject * obj1 = 0 ;
31926 PyObject * obj2 = 0 ;
31927 char * kwnames[] = {
31928 (char *) "self",(char *) "item",(char *) "col", NULL
31929 };
31930
31931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31933 if (!SWIG_IsOK(res1)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31935 }
31936 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31937 ecode2 = SWIG_AsVal_long(obj1, &val2);
31938 if (!SWIG_IsOK(ecode2)) {
31939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31940 }
31941 arg2 = static_cast< long >(val2);
31942 {
31943 arg3 = &temp3;
31944 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31945 }
31946 {
31947 PyThreadState* __tstate = wxPyBeginAllowThreads();
31948 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31949 wxPyEndAllowThreads(__tstate);
31950 if (PyErr_Occurred()) SWIG_fail;
31951 }
31952 resultobj = SWIG_Py_Void();
31953 return resultobj;
31954fail:
31955 return NULL;
31956}
31957
31958
31959SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31960 PyObject *resultobj = 0;
31961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31962 long arg2 ;
31963 wxColour result;
31964 void *argp1 = 0 ;
31965 int res1 = 0 ;
31966 long val2 ;
31967 int ecode2 = 0 ;
31968 PyObject * obj0 = 0 ;
31969 PyObject * obj1 = 0 ;
31970 char * kwnames[] = {
31971 (char *) "self",(char *) "item", NULL
31972 };
31973
31974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31976 if (!SWIG_IsOK(res1)) {
31977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31978 }
31979 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31980 ecode2 = SWIG_AsVal_long(obj1, &val2);
31981 if (!SWIG_IsOK(ecode2)) {
31982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31983 }
31984 arg2 = static_cast< long >(val2);
31985 {
31986 PyThreadState* __tstate = wxPyBeginAllowThreads();
31987 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31988 wxPyEndAllowThreads(__tstate);
31989 if (PyErr_Occurred()) SWIG_fail;
31990 }
31991 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31992 return resultobj;
31993fail:
31994 return NULL;
31995}
31996
31997
31998SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31999 PyObject *resultobj = 0;
32000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32001 long arg2 ;
32002 wxFont *arg3 = 0 ;
32003 void *argp1 = 0 ;
32004 int res1 = 0 ;
32005 long val2 ;
32006 int ecode2 = 0 ;
32007 void *argp3 = 0 ;
32008 int res3 = 0 ;
32009 PyObject * obj0 = 0 ;
32010 PyObject * obj1 = 0 ;
32011 PyObject * obj2 = 0 ;
32012 char * kwnames[] = {
32013 (char *) "self",(char *) "item",(char *) "f", NULL
32014 };
32015
32016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32018 if (!SWIG_IsOK(res1)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32020 }
32021 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32022 ecode2 = SWIG_AsVal_long(obj1, &val2);
32023 if (!SWIG_IsOK(ecode2)) {
32024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32025 }
32026 arg2 = static_cast< long >(val2);
32027 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32028 if (!SWIG_IsOK(res3)) {
32029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32030 }
32031 if (!argp3) {
32032 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32033 }
32034 arg3 = reinterpret_cast< wxFont * >(argp3);
32035 {
32036 PyThreadState* __tstate = wxPyBeginAllowThreads();
32037 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32038 wxPyEndAllowThreads(__tstate);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 }
32041 resultobj = SWIG_Py_Void();
32042 return resultobj;
32043fail:
32044 return NULL;
32045}
32046
32047
32048SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj = 0;
32050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32051 long arg2 ;
32052 wxFont result;
32053 void *argp1 = 0 ;
32054 int res1 = 0 ;
32055 long val2 ;
32056 int ecode2 = 0 ;
32057 PyObject * obj0 = 0 ;
32058 PyObject * obj1 = 0 ;
32059 char * kwnames[] = {
32060 (char *) "self",(char *) "item", NULL
32061 };
32062
32063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32065 if (!SWIG_IsOK(res1)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32067 }
32068 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32069 ecode2 = SWIG_AsVal_long(obj1, &val2);
32070 if (!SWIG_IsOK(ecode2)) {
32071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32072 }
32073 arg2 = static_cast< long >(val2);
32074 {
32075 PyThreadState* __tstate = wxPyBeginAllowThreads();
32076 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32077 wxPyEndAllowThreads(__tstate);
32078 if (PyErr_Occurred()) SWIG_fail;
32079 }
32080 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32081 return resultobj;
32082fail:
32083 return NULL;
32084}
32085
32086
32087SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32088 PyObject *resultobj = 0;
32089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32090 PyObject *arg2 = (PyObject *) 0 ;
32091 bool result;
32092 void *argp1 = 0 ;
32093 int res1 = 0 ;
32094 PyObject * obj0 = 0 ;
32095 PyObject * obj1 = 0 ;
32096 char * kwnames[] = {
32097 (char *) "self",(char *) "func", NULL
32098 };
32099
32100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32102 if (!SWIG_IsOK(res1)) {
32103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32104 }
32105 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32106 arg2 = obj1;
32107 {
32108 PyThreadState* __tstate = wxPyBeginAllowThreads();
32109 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32110 wxPyEndAllowThreads(__tstate);
32111 if (PyErr_Occurred()) SWIG_fail;
32112 }
32113 {
32114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32115 }
32116 return resultobj;
32117fail:
32118 return NULL;
1fbf26be
RD
32119}
32120
32121
554f62e9
RD
32122SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32123 PyObject *resultobj = 0;
32124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32125 wxWindow *result = 0 ;
32126 void *argp1 = 0 ;
32127 int res1 = 0 ;
32128 PyObject *swig_obj[1] ;
32129
32130 if (!args) SWIG_fail;
32131 swig_obj[0] = args;
32132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32133 if (!SWIG_IsOK(res1)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32135 }
32136 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32137 {
32138 PyThreadState* __tstate = wxPyBeginAllowThreads();
32139 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32140 wxPyEndAllowThreads(__tstate);
32141 if (PyErr_Occurred()) SWIG_fail;
32142 }
32143 {
32144 resultobj = wxPyMake_wxObject(result, 0);
32145 }
32146 return resultobj;
32147fail:
32148 return NULL;
32149}
32150
32151
32152SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32153 PyObject *resultobj = 0;
32154 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32155 SwigValueWrapper<wxVisualAttributes > result;
32156 int val1 ;
32157 int ecode1 = 0 ;
32158 PyObject * obj0 = 0 ;
32159 char * kwnames[] = {
32160 (char *) "variant", NULL
32161 };
32162
32163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32164 if (obj0) {
32165 ecode1 = SWIG_AsVal_int(obj0, &val1);
32166 if (!SWIG_IsOK(ecode1)) {
32167 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32168 }
32169 arg1 = static_cast< wxWindowVariant >(val1);
32170 }
32171 {
32172 if (!wxPyCheckForApp()) SWIG_fail;
32173 PyThreadState* __tstate = wxPyBeginAllowThreads();
32174 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32175 wxPyEndAllowThreads(__tstate);
32176 if (PyErr_Occurred()) SWIG_fail;
32177 }
32178 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32179 return resultobj;
32180fail:
32181 return NULL;
32182}
32183
32184
32185SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32186 PyObject *obj;
32187 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32189 return SWIG_Py_Void();
32190}
32191
32192SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32193 return SWIG_Python_InitShadowInstance(args);
32194}
32195
32196SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32197 PyObject *resultobj = 0;
32198 wxWindow *arg1 = (wxWindow *) 0 ;
32199 int arg2 = (int) -1 ;
32200 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32201 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32202 wxSize const &arg4_defvalue = wxDefaultSize ;
32203 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32204 long arg5 = (long) wxLC_REPORT ;
32205 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32206 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32207 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32208 wxString *arg7 = (wxString *) &arg7_defvalue ;
32209 wxListView *result = 0 ;
32210 void *argp1 = 0 ;
32211 int res1 = 0 ;
32212 int val2 ;
32213 int ecode2 = 0 ;
32214 wxPoint temp3 ;
32215 wxSize temp4 ;
32216 long val5 ;
32217 int ecode5 = 0 ;
32218 void *argp6 = 0 ;
32219 int res6 = 0 ;
32220 bool temp7 = false ;
32221 PyObject * obj0 = 0 ;
32222 PyObject * obj1 = 0 ;
32223 PyObject * obj2 = 0 ;
32224 PyObject * obj3 = 0 ;
32225 PyObject * obj4 = 0 ;
32226 PyObject * obj5 = 0 ;
32227 PyObject * obj6 = 0 ;
32228 char * kwnames[] = {
32229 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32230 };
32231
32232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32234 if (!SWIG_IsOK(res1)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32236 }
32237 arg1 = reinterpret_cast< wxWindow * >(argp1);
32238 if (obj1) {
32239 ecode2 = SWIG_AsVal_int(obj1, &val2);
32240 if (!SWIG_IsOK(ecode2)) {
32241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32242 }
32243 arg2 = static_cast< int >(val2);
32244 }
32245 if (obj2) {
32246 {
32247 arg3 = &temp3;
32248 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 32249 }
554f62e9
RD
32250 }
32251 if (obj3) {
32252 {
32253 arg4 = &temp4;
32254 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 32255 }
554f62e9
RD
32256 }
32257 if (obj4) {
32258 ecode5 = SWIG_AsVal_long(obj4, &val5);
32259 if (!SWIG_IsOK(ecode5)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32261 }
32262 arg5 = static_cast< long >(val5);
32263 }
32264 if (obj5) {
32265 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32266 if (!SWIG_IsOK(res6)) {
32267 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 32268 }
554f62e9
RD
32269 if (!argp6) {
32270 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 32271 }
554f62e9
RD
32272 arg6 = reinterpret_cast< wxValidator * >(argp6);
32273 }
32274 if (obj6) {
d55e5bfc 32275 {
554f62e9
RD
32276 arg7 = wxString_in_helper(obj6);
32277 if (arg7 == NULL) SWIG_fail;
32278 temp7 = true;
d55e5bfc 32279 }
554f62e9
RD
32280 }
32281 {
32282 if (!wxPyCheckForApp()) SWIG_fail;
32283 PyThreadState* __tstate = wxPyBeginAllowThreads();
32284 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32285 wxPyEndAllowThreads(__tstate);
32286 if (PyErr_Occurred()) SWIG_fail;
32287 }
32288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32289 {
32290 if (temp7)
32291 delete arg7;
32292 }
32293 return resultobj;
32294fail:
32295 {
32296 if (temp7)
32297 delete arg7;
32298 }
32299 return NULL;
d55e5bfc
RD
32300}
32301
32302
554f62e9
RD
32303SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32304 PyObject *resultobj = 0;
32305 wxListView *result = 0 ;
32306
32307 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32308 {
32309 if (!wxPyCheckForApp()) SWIG_fail;
32310 PyThreadState* __tstate = wxPyBeginAllowThreads();
32311 result = (wxListView *)new wxListView();
32312 wxPyEndAllowThreads(__tstate);
32313 if (PyErr_Occurred()) SWIG_fail;
32314 }
32315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32316 return resultobj;
32317fail:
32318 return NULL;
32319}
32320
32321
32322SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32323 PyObject *resultobj = 0;
32324 wxListView *arg1 = (wxListView *) 0 ;
32325 wxWindow *arg2 = (wxWindow *) 0 ;
32326 int arg3 = (int) -1 ;
32327 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32328 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32329 wxSize const &arg5_defvalue = wxDefaultSize ;
32330 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32331 long arg6 = (long) wxLC_REPORT ;
32332 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32333 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32334 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32335 wxString *arg8 = (wxString *) &arg8_defvalue ;
32336 bool result;
32337 void *argp1 = 0 ;
32338 int res1 = 0 ;
32339 void *argp2 = 0 ;
32340 int res2 = 0 ;
32341 int val3 ;
32342 int ecode3 = 0 ;
32343 wxPoint temp4 ;
32344 wxSize temp5 ;
32345 long val6 ;
32346 int ecode6 = 0 ;
32347 void *argp7 = 0 ;
32348 int res7 = 0 ;
32349 bool temp8 = false ;
32350 PyObject * obj0 = 0 ;
32351 PyObject * obj1 = 0 ;
32352 PyObject * obj2 = 0 ;
32353 PyObject * obj3 = 0 ;
32354 PyObject * obj4 = 0 ;
32355 PyObject * obj5 = 0 ;
32356 PyObject * obj6 = 0 ;
32357 PyObject * obj7 = 0 ;
32358 char * kwnames[] = {
32359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32360 };
32361
32362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) 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_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32366 }
32367 arg1 = reinterpret_cast< wxListView * >(argp1);
32368 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32369 if (!SWIG_IsOK(res2)) {
32370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32371 }
32372 arg2 = reinterpret_cast< wxWindow * >(argp2);
32373 if (obj2) {
32374 ecode3 = SWIG_AsVal_int(obj2, &val3);
32375 if (!SWIG_IsOK(ecode3)) {
32376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32377 }
32378 arg3 = static_cast< int >(val3);
32379 }
32380 if (obj3) {
093d3ff1 32381 {
554f62e9
RD
32382 arg4 = &temp4;
32383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
ae8162c8 32384 }
554f62e9
RD
32385 }
32386 if (obj4) {
32387 {
32388 arg5 = &temp5;
32389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
ae8162c8 32390 }
554f62e9
RD
32391 }
32392 if (obj5) {
32393 ecode6 = SWIG_AsVal_long(obj5, &val6);
32394 if (!SWIG_IsOK(ecode6)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32396 }
32397 arg6 = static_cast< long >(val6);
32398 }
32399 if (obj6) {
32400 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32401 if (!SWIG_IsOK(res7)) {
32402 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32403 }
554f62e9
RD
32404 if (!argp7) {
32405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32406 }
554f62e9
RD
32407 arg7 = reinterpret_cast< wxValidator * >(argp7);
32408 }
32409 if (obj7) {
ae8162c8 32410 {
554f62e9
RD
32411 arg8 = wxString_in_helper(obj7);
32412 if (arg8 == NULL) SWIG_fail;
32413 temp8 = true;
ae8162c8 32414 }
554f62e9
RD
32415 }
32416 {
32417 PyThreadState* __tstate = wxPyBeginAllowThreads();
32418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32419 wxPyEndAllowThreads(__tstate);
32420 if (PyErr_Occurred()) SWIG_fail;
32421 }
32422 {
32423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32424 }
32425 {
32426 if (temp8)
32427 delete arg8;
32428 }
32429 return resultobj;
32430fail:
32431 {
32432 if (temp8)
32433 delete arg8;
32434 }
32435 return NULL;
32436}
32437
32438
32439SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32440 PyObject *resultobj = 0;
32441 wxListView *arg1 = (wxListView *) 0 ;
32442 long arg2 ;
32443 bool arg3 = (bool) true ;
32444 void *argp1 = 0 ;
32445 int res1 = 0 ;
32446 long val2 ;
32447 int ecode2 = 0 ;
32448 bool val3 ;
32449 int ecode3 = 0 ;
32450 PyObject * obj0 = 0 ;
32451 PyObject * obj1 = 0 ;
32452 PyObject * obj2 = 0 ;
32453 char * kwnames[] = {
32454 (char *) "self",(char *) "n",(char *) "on", NULL
32455 };
32456
32457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32459 if (!SWIG_IsOK(res1)) {
32460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32461 }
32462 arg1 = reinterpret_cast< wxListView * >(argp1);
32463 ecode2 = SWIG_AsVal_long(obj1, &val2);
32464 if (!SWIG_IsOK(ecode2)) {
32465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32466 }
32467 arg2 = static_cast< long >(val2);
32468 if (obj2) {
32469 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32470 if (!SWIG_IsOK(ecode3)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32472 }
32473 arg3 = static_cast< bool >(val3);
32474 }
32475 {
32476 PyThreadState* __tstate = wxPyBeginAllowThreads();
32477 (arg1)->Select(arg2,arg3);
32478 wxPyEndAllowThreads(__tstate);
32479 if (PyErr_Occurred()) SWIG_fail;
32480 }
32481 resultobj = SWIG_Py_Void();
32482 return resultobj;
32483fail:
32484 return NULL;
32485}
32486
32487
32488SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32489 PyObject *resultobj = 0;
32490 wxListView *arg1 = (wxListView *) 0 ;
32491 long arg2 ;
32492 void *argp1 = 0 ;
32493 int res1 = 0 ;
32494 long val2 ;
32495 int ecode2 = 0 ;
32496 PyObject * obj0 = 0 ;
32497 PyObject * obj1 = 0 ;
32498 char * kwnames[] = {
32499 (char *) "self",(char *) "index", NULL
32500 };
32501
32502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32504 if (!SWIG_IsOK(res1)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32506 }
32507 arg1 = reinterpret_cast< wxListView * >(argp1);
32508 ecode2 = SWIG_AsVal_long(obj1, &val2);
32509 if (!SWIG_IsOK(ecode2)) {
32510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32511 }
32512 arg2 = static_cast< long >(val2);
32513 {
32514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32515 (arg1)->Focus(arg2);
32516 wxPyEndAllowThreads(__tstate);
32517 if (PyErr_Occurred()) SWIG_fail;
32518 }
32519 resultobj = SWIG_Py_Void();
32520 return resultobj;
32521fail:
32522 return NULL;
ae8162c8
RD
32523}
32524
32525
554f62e9
RD
32526SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32527 PyObject *resultobj = 0;
32528 wxListView *arg1 = (wxListView *) 0 ;
32529 long result;
32530 void *argp1 = 0 ;
32531 int res1 = 0 ;
32532 PyObject *swig_obj[1] ;
32533
32534 if (!args) SWIG_fail;
32535 swig_obj[0] = args;
32536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32537 if (!SWIG_IsOK(res1)) {
32538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32539 }
32540 arg1 = reinterpret_cast< wxListView * >(argp1);
32541 {
32542 PyThreadState* __tstate = wxPyBeginAllowThreads();
32543 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32544 wxPyEndAllowThreads(__tstate);
32545 if (PyErr_Occurred()) SWIG_fail;
32546 }
32547 resultobj = SWIG_From_long(static_cast< long >(result));
32548 return resultobj;
32549fail:
32550 return NULL;
32551}
32552
32553
32554SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32555 PyObject *resultobj = 0;
32556 wxListView *arg1 = (wxListView *) 0 ;
32557 long arg2 ;
32558 long result;
32559 void *argp1 = 0 ;
32560 int res1 = 0 ;
32561 long val2 ;
32562 int ecode2 = 0 ;
32563 PyObject * obj0 = 0 ;
32564 PyObject * obj1 = 0 ;
32565 char * kwnames[] = {
32566 (char *) "self",(char *) "item", NULL
32567 };
32568
32569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32571 if (!SWIG_IsOK(res1)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32573 }
32574 arg1 = reinterpret_cast< wxListView * >(argp1);
32575 ecode2 = SWIG_AsVal_long(obj1, &val2);
32576 if (!SWIG_IsOK(ecode2)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32578 }
32579 arg2 = static_cast< long >(val2);
32580 {
32581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32582 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32583 wxPyEndAllowThreads(__tstate);
32584 if (PyErr_Occurred()) SWIG_fail;
32585 }
32586 resultobj = SWIG_From_long(static_cast< long >(result));
32587 return resultobj;
32588fail:
32589 return NULL;
ae8162c8
RD
32590}
32591
32592
554f62e9
RD
32593SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32594 PyObject *resultobj = 0;
32595 wxListView *arg1 = (wxListView *) 0 ;
32596 long result;
32597 void *argp1 = 0 ;
32598 int res1 = 0 ;
32599 PyObject *swig_obj[1] ;
32600
32601 if (!args) SWIG_fail;
32602 swig_obj[0] = args;
32603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32604 if (!SWIG_IsOK(res1)) {
32605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32606 }
32607 arg1 = reinterpret_cast< wxListView * >(argp1);
32608 {
32609 PyThreadState* __tstate = wxPyBeginAllowThreads();
32610 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32611 wxPyEndAllowThreads(__tstate);
32612 if (PyErr_Occurred()) SWIG_fail;
32613 }
32614 resultobj = SWIG_From_long(static_cast< long >(result));
32615 return resultobj;
32616fail:
32617 return NULL;
32618}
32619
32620
32621SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32622 PyObject *resultobj = 0;
32623 wxListView *arg1 = (wxListView *) 0 ;
32624 long arg2 ;
32625 bool result;
32626 void *argp1 = 0 ;
32627 int res1 = 0 ;
32628 long val2 ;
32629 int ecode2 = 0 ;
32630 PyObject * obj0 = 0 ;
32631 PyObject * obj1 = 0 ;
32632 char * kwnames[] = {
32633 (char *) "self",(char *) "index", NULL
32634 };
32635
32636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32638 if (!SWIG_IsOK(res1)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32640 }
32641 arg1 = reinterpret_cast< wxListView * >(argp1);
32642 ecode2 = SWIG_AsVal_long(obj1, &val2);
32643 if (!SWIG_IsOK(ecode2)) {
32644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32645 }
32646 arg2 = static_cast< long >(val2);
32647 {
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 result = (bool)(arg1)->IsSelected(arg2);
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 {
32654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32655 }
32656 return resultobj;
32657fail:
32658 return NULL;
32659}
32660
32661
32662SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32663 PyObject *resultobj = 0;
32664 wxListView *arg1 = (wxListView *) 0 ;
32665 int arg2 ;
32666 int arg3 ;
32667 void *argp1 = 0 ;
32668 int res1 = 0 ;
32669 int val2 ;
32670 int ecode2 = 0 ;
32671 int val3 ;
32672 int ecode3 = 0 ;
32673 PyObject * obj0 = 0 ;
32674 PyObject * obj1 = 0 ;
32675 PyObject * obj2 = 0 ;
32676 char * kwnames[] = {
32677 (char *) "self",(char *) "col",(char *) "image", NULL
32678 };
32679
32680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32682 if (!SWIG_IsOK(res1)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32684 }
32685 arg1 = reinterpret_cast< wxListView * >(argp1);
32686 ecode2 = SWIG_AsVal_int(obj1, &val2);
32687 if (!SWIG_IsOK(ecode2)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32689 }
32690 arg2 = static_cast< int >(val2);
32691 ecode3 = SWIG_AsVal_int(obj2, &val3);
32692 if (!SWIG_IsOK(ecode3)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32694 }
32695 arg3 = static_cast< int >(val3);
32696 {
32697 PyThreadState* __tstate = wxPyBeginAllowThreads();
32698 (arg1)->SetColumnImage(arg2,arg3);
32699 wxPyEndAllowThreads(__tstate);
32700 if (PyErr_Occurred()) SWIG_fail;
32701 }
32702 resultobj = SWIG_Py_Void();
32703 return resultobj;
32704fail:
32705 return NULL;
32706}
32707
32708
32709SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32710 PyObject *resultobj = 0;
32711 wxListView *arg1 = (wxListView *) 0 ;
32712 int arg2 ;
32713 void *argp1 = 0 ;
32714 int res1 = 0 ;
32715 int val2 ;
32716 int ecode2 = 0 ;
32717 PyObject * obj0 = 0 ;
32718 PyObject * obj1 = 0 ;
32719 char * kwnames[] = {
32720 (char *) "self",(char *) "col", NULL
32721 };
32722
32723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32725 if (!SWIG_IsOK(res1)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32727 }
32728 arg1 = reinterpret_cast< wxListView * >(argp1);
32729 ecode2 = SWIG_AsVal_int(obj1, &val2);
32730 if (!SWIG_IsOK(ecode2)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32732 }
32733 arg2 = static_cast< int >(val2);
32734 {
32735 PyThreadState* __tstate = wxPyBeginAllowThreads();
32736 (arg1)->ClearColumnImage(arg2);
32737 wxPyEndAllowThreads(__tstate);
32738 if (PyErr_Occurred()) SWIG_fail;
32739 }
32740 resultobj = SWIG_Py_Void();
32741 return resultobj;
32742fail:
32743 return NULL;
ae8162c8
RD
32744}
32745
32746
554f62e9
RD
32747SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32748 PyObject *obj;
32749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32750 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32751 return SWIG_Py_Void();
70b7a5fe
RD
32752}
32753
554f62e9
RD
32754SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32755 return SWIG_Python_InitShadowInstance(args);
ae8162c8
RD
32756}
32757
554f62e9
RD
32758SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32759 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32760 return 1;
ae8162c8
RD
32761}
32762
32763
554f62e9
RD
32764SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32765 PyObject *pyobj = 0;
32766
32767 {
32768#if wxUSE_UNICODE
32769 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32770#else
32771 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32772#endif
32773 }
32774 return pyobj;
d55e5bfc
RD
32775}
32776
32777
554f62e9
RD
32778SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32779 PyObject *resultobj = 0;
32780 wxTreeItemId *result = 0 ;
32781
32782 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32783 {
32784 PyThreadState* __tstate = wxPyBeginAllowThreads();
32785 result = (wxTreeItemId *)new wxTreeItemId();
32786 wxPyEndAllowThreads(__tstate);
32787 if (PyErr_Occurred()) SWIG_fail;
32788 }
32789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32790 return resultobj;
32791fail:
32792 return NULL;
d55e5bfc
RD
32793}
32794
32795
554f62e9
RD
32796SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32797 PyObject *resultobj = 0;
32798 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32799 void *argp1 = 0 ;
32800 int res1 = 0 ;
32801 PyObject *swig_obj[1] ;
32802
32803 if (!args) SWIG_fail;
32804 swig_obj[0] = args;
32805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32806 if (!SWIG_IsOK(res1)) {
32807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32808 }
32809 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 delete arg1;
d55e5bfc 32813
554f62e9
RD
32814 wxPyEndAllowThreads(__tstate);
32815 if (PyErr_Occurred()) SWIG_fail;
32816 }
32817 resultobj = SWIG_Py_Void();
32818 return resultobj;
32819fail:
32820 return NULL;
d55e5bfc
RD
32821}
32822
32823
554f62e9
RD
32824SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32825 PyObject *resultobj = 0;
32826 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32827 bool result;
32828 void *argp1 = 0 ;
32829 int res1 = 0 ;
32830 PyObject *swig_obj[1] ;
32831
32832 if (!args) SWIG_fail;
32833 swig_obj[0] = args;
32834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32835 if (!SWIG_IsOK(res1)) {
32836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32837 }
32838 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32839 {
32840 PyThreadState* __tstate = wxPyBeginAllowThreads();
32841 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32842 wxPyEndAllowThreads(__tstate);
32843 if (PyErr_Occurred()) SWIG_fail;
32844 }
32845 {
32846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32847 }
32848 return resultobj;
32849fail:
32850 return NULL;
32851}
32852
32853
32854SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32855 PyObject *resultobj = 0;
32856 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32857 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32858 bool result;
32859 void *argp1 = 0 ;
32860 int res1 = 0 ;
32861 void *argp2 = 0 ;
32862 int res2 = 0 ;
32863 PyObject * obj0 = 0 ;
32864 PyObject * obj1 = 0 ;
32865 char * kwnames[] = {
32866 (char *) "self",(char *) "other", NULL
32867 };
32868
32869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32871 if (!SWIG_IsOK(res1)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32873 }
32874 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32875 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32876 if (!SWIG_IsOK(res2)) {
32877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32878 }
32879 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32880 {
32881 PyThreadState* __tstate = wxPyBeginAllowThreads();
32882 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32883 wxPyEndAllowThreads(__tstate);
32884 if (PyErr_Occurred()) SWIG_fail;
32885 }
32886 {
32887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32888 }
32889 return resultobj;
32890fail:
32891 return NULL;
32892}
32893
32894
32895SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32896 PyObject *resultobj = 0;
32897 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32898 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32899 bool result;
32900 void *argp1 = 0 ;
32901 int res1 = 0 ;
32902 void *argp2 = 0 ;
32903 int res2 = 0 ;
32904 PyObject * obj0 = 0 ;
32905 PyObject * obj1 = 0 ;
32906 char * kwnames[] = {
32907 (char *) "self",(char *) "other", NULL
32908 };
32909
32910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32912 if (!SWIG_IsOK(res1)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32914 }
32915 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32916 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32917 if (!SWIG_IsOK(res2)) {
32918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32919 }
32920 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32921 {
32922 PyThreadState* __tstate = wxPyBeginAllowThreads();
32923 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32924 wxPyEndAllowThreads(__tstate);
32925 if (PyErr_Occurred()) SWIG_fail;
32926 }
32927 {
32928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32929 }
32930 return resultobj;
32931fail:
32932 return NULL;
d55e5bfc
RD
32933}
32934
32935
554f62e9
RD
32936SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32937 PyObject *resultobj = 0;
32938 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32939 void *arg2 = (void *) 0 ;
32940 void *argp1 = 0 ;
32941 int res1 = 0 ;
32942 int res2 ;
32943 PyObject *swig_obj[2] ;
32944
32945 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32947 if (!SWIG_IsOK(res1)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32949 }
32950 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32951 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32952 if (!SWIG_IsOK(res2)) {
32953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32954 }
32955 if (arg1) (arg1)->m_pItem = arg2;
32956
32957 resultobj = SWIG_Py_Void();
32958 return resultobj;
32959fail:
32960 return NULL;
d55e5bfc
RD
32961}
32962
32963
554f62e9
RD
32964SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32965 PyObject *resultobj = 0;
32966 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32967 void *result = 0 ;
32968 void *argp1 = 0 ;
32969 int res1 = 0 ;
32970 PyObject *swig_obj[1] ;
32971
32972 if (!args) SWIG_fail;
32973 swig_obj[0] = args;
32974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32975 if (!SWIG_IsOK(res1)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32977 }
32978 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32979 result = (void *) ((arg1)->m_pItem);
32980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32981 return resultobj;
32982fail:
32983 return NULL;
d55e5bfc
RD
32984}
32985
32986
554f62e9
RD
32987SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32988 PyObject *obj;
32989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32990 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32991 return SWIG_Py_Void();
d55e5bfc
RD
32992}
32993
554f62e9
RD
32994SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32995 return SWIG_Python_InitShadowInstance(args);
32996}
d55e5bfc 32997
554f62e9
RD
32998SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32999 PyObject *resultobj = 0;
33000 PyObject *arg1 = (PyObject *) NULL ;
33001 wxPyTreeItemData *result = 0 ;
33002 PyObject * obj0 = 0 ;
33003 char * kwnames[] = {
33004 (char *) "obj", NULL
33005 };
33006
33007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
33008 if (obj0) {
33009 arg1 = obj0;
33010 }
33011 {
33012 PyThreadState* __tstate = wxPyBeginAllowThreads();
33013 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33014 wxPyEndAllowThreads(__tstate);
33015 if (PyErr_Occurred()) SWIG_fail;
33016 }
33017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33018 return resultobj;
33019fail:
33020 return NULL;
d55e5bfc
RD
33021}
33022
33023
554f62e9
RD
33024SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33025 PyObject *resultobj = 0;
33026 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33027 void *argp1 = 0 ;
33028 int res1 = 0 ;
33029 PyObject *swig_obj[1] ;
33030
33031 if (!args) SWIG_fail;
33032 swig_obj[0] = args;
33033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33034 if (!SWIG_IsOK(res1)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33036 }
33037 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33038 {
33039 PyThreadState* __tstate = wxPyBeginAllowThreads();
33040 delete arg1;
d55e5bfc 33041
554f62e9
RD
33042 wxPyEndAllowThreads(__tstate);
33043 if (PyErr_Occurred()) SWIG_fail;
33044 }
33045 resultobj = SWIG_Py_Void();
33046 return resultobj;
33047fail:
33048 return NULL;
d55e5bfc
RD
33049}
33050
33051
554f62e9
RD
33052SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33053 PyObject *resultobj = 0;
33054 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33055 PyObject *result = 0 ;
33056 void *argp1 = 0 ;
33057 int res1 = 0 ;
33058 PyObject *swig_obj[1] ;
33059
33060 if (!args) SWIG_fail;
33061 swig_obj[0] = args;
33062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33063 if (!SWIG_IsOK(res1)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33065 }
33066 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33067 {
33068 PyThreadState* __tstate = wxPyBeginAllowThreads();
33069 result = (PyObject *)(arg1)->GetData();
33070 wxPyEndAllowThreads(__tstate);
33071 if (PyErr_Occurred()) SWIG_fail;
33072 }
33073 resultobj = result;
33074 return resultobj;
33075fail:
33076 return NULL;
33077}
33078
33079
33080SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33081 PyObject *resultobj = 0;
33082 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33083 PyObject *arg2 = (PyObject *) 0 ;
33084 void *argp1 = 0 ;
33085 int res1 = 0 ;
33086 PyObject * obj0 = 0 ;
33087 PyObject * obj1 = 0 ;
33088 char * kwnames[] = {
33089 (char *) "self",(char *) "obj", NULL
33090 };
33091
33092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33094 if (!SWIG_IsOK(res1)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33096 }
33097 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33098 arg2 = obj1;
33099 {
33100 PyThreadState* __tstate = wxPyBeginAllowThreads();
33101 (arg1)->SetData(arg2);
33102 wxPyEndAllowThreads(__tstate);
33103 if (PyErr_Occurred()) SWIG_fail;
33104 }
33105 resultobj = SWIG_Py_Void();
33106 return resultobj;
33107fail:
33108 return NULL;
d55e5bfc
RD
33109}
33110
33111
554f62e9
RD
33112SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33113 PyObject *resultobj = 0;
33114 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33115 wxTreeItemId *result = 0 ;
33116 void *argp1 = 0 ;
33117 int res1 = 0 ;
33118 PyObject *swig_obj[1] ;
33119
33120 if (!args) SWIG_fail;
33121 swig_obj[0] = args;
33122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33123 if (!SWIG_IsOK(res1)) {
33124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33125 }
33126 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33127 {
33128 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33129 {
554f62e9
RD
33130 wxTreeItemId const &_result_ref = (arg1)->GetId();
33131 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 33132 }
554f62e9
RD
33133 wxPyEndAllowThreads(__tstate);
33134 if (PyErr_Occurred()) SWIG_fail;
33135 }
33136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33137 return resultobj;
33138fail:
33139 return NULL;
33140}
33141
33142
33143SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33144 PyObject *resultobj = 0;
33145 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33146 wxTreeItemId *arg2 = 0 ;
33147 void *argp1 = 0 ;
33148 int res1 = 0 ;
33149 void *argp2 = 0 ;
33150 int res2 = 0 ;
33151 PyObject * obj0 = 0 ;
33152 PyObject * obj1 = 0 ;
33153 char * kwnames[] = {
33154 (char *) "self",(char *) "id", NULL
33155 };
33156
33157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33159 if (!SWIG_IsOK(res1)) {
33160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33161 }
33162 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33163 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33164 if (!SWIG_IsOK(res2)) {
33165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33166 }
33167 if (!argp2) {
33168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33169 }
33170 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33171 {
33172 PyThreadState* __tstate = wxPyBeginAllowThreads();
33173 (arg1)->SetId((wxTreeItemId const &)*arg2);
33174 wxPyEndAllowThreads(__tstate);
33175 if (PyErr_Occurred()) SWIG_fail;
33176 }
33177 resultobj = SWIG_Py_Void();
33178 return resultobj;
33179fail:
33180 return NULL;
d55e5bfc
RD
33181}
33182
33183
554f62e9
RD
33184SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33185 PyObject *resultobj = 0;
33186 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33187 void *argp1 = 0 ;
33188 int res1 = 0 ;
33189 PyObject *swig_obj[1] ;
33190
33191 if (!args) SWIG_fail;
33192 swig_obj[0] = args;
33193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33194 if (!SWIG_IsOK(res1)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33196 }
33197 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33198 {
33199 PyThreadState* __tstate = wxPyBeginAllowThreads();
33200 wxPyTreeItemData_Destroy(arg1);
33201 wxPyEndAllowThreads(__tstate);
33202 if (PyErr_Occurred()) SWIG_fail;
33203 }
33204 resultobj = SWIG_Py_Void();
33205 return resultobj;
33206fail:
33207 return NULL;
d55e5bfc
RD
33208}
33209
33210
554f62e9
RD
33211SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33212 PyObject *obj;
33213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33215 return SWIG_Py_Void();
d55e5bfc
RD
33216}
33217
554f62e9
RD
33218SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33219 return SWIG_Python_InitShadowInstance(args);
33220}
d55e5bfc 33221
b02396e8
RD
33222SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33223 {
33224 void *argp = 0;
33225 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33226 if (!SWIG_IsOK(res)) {
33227 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33228 }
33229 if (!argp) {
33230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33231 } else {
33232 wxTreeItemId * temp;
33233 temp = reinterpret_cast< wxTreeItemId * >(argp);
33234 wxNullTreeItemId = *temp;
33235 if (SWIG_IsNewObj(res)) delete temp;
33236 }
33237 }
33238 return 0;
33239fail:
33240 return 1;
33241}
33242
33243
33244SWIGINTERN PyObject *NullTreeItemId_get(void) {
33245 PyObject *pyobj = 0;
33246
33247 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33248 return pyobj;
33249}
33250
33251
33252SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
554f62e9
RD
33253 PyObject *resultobj = 0;
33254 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33255 int arg2 = (int) 0 ;
33256 wxTreeEvent *result = 0 ;
33257 int val1 ;
33258 int ecode1 = 0 ;
33259 int val2 ;
33260 int ecode2 = 0 ;
554f62e9 33261
b02396e8
RD
33262 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33263 if (swig_obj[0]) {
33264 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
554f62e9
RD
33265 if (!SWIG_IsOK(ecode1)) {
33266 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33267 }
33268 arg1 = static_cast< wxEventType >(val1);
33269 }
b02396e8
RD
33270 if (swig_obj[1]) {
33271 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
554f62e9
RD
33272 if (!SWIG_IsOK(ecode2)) {
33273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33274 }
33275 arg2 = static_cast< int >(val2);
33276 }
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33280 wxPyEndAllowThreads(__tstate);
33281 if (PyErr_Occurred()) SWIG_fail;
33282 }
33283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33284 return resultobj;
33285fail:
33286 return NULL;
d55e5bfc
RD
33287}
33288
33289
b02396e8
RD
33290SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33291 PyObject *resultobj = 0;
33292 wxEventType arg1 ;
33293 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33294 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33295 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33296 wxTreeEvent *result = 0 ;
33297 int val1 ;
33298 int ecode1 = 0 ;
33299 void *argp2 = 0 ;
33300 int res2 = 0 ;
33301 void *argp3 = 0 ;
33302 int res3 = 0 ;
33303
33304 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33305 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33306 if (!SWIG_IsOK(ecode1)) {
33307 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33308 }
33309 arg1 = static_cast< wxEventType >(val1);
33310 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33311 if (!SWIG_IsOK(res2)) {
33312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33313 }
33314 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33315 if (swig_obj[2]) {
33316 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33317 if (!SWIG_IsOK(res3)) {
33318 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33319 }
33320 if (!argp3) {
33321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33322 }
33323 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33324 }
33325 {
33326 PyThreadState* __tstate = wxPyBeginAllowThreads();
33327 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33328 wxPyEndAllowThreads(__tstate);
33329 if (PyErr_Occurred()) SWIG_fail;
33330 }
33331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33332 return resultobj;
33333fail:
33334 return NULL;
33335}
33336
33337
33338SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33339 int argc;
33340 PyObject *argv[4];
33341
33342 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33343 --argc;
33344 if ((argc >= 0) && (argc <= 2)) {
33345 int _v = 0;
33346 if (argc > 1) {
33347 {
33348 {
33349 int res = SWIG_AsVal_int(argv[1], NULL);
33350 _v = SWIG_CheckState(res);
33351 }
33352 }
33353 if (!_v) goto check_1;
33354 }
33355 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33356 }
33357check_1:
33358
33359 if ((argc >= 2) && (argc <= 3)) {
33360 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33361 }
33362
33363fail:
33364 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33365 return NULL;
33366}
33367
33368
554f62e9
RD
33369SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33370 PyObject *resultobj = 0;
33371 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33372 wxTreeItemId result;
33373 void *argp1 = 0 ;
33374 int res1 = 0 ;
33375 PyObject *swig_obj[1] ;
33376
33377 if (!args) SWIG_fail;
33378 swig_obj[0] = args;
33379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33380 if (!SWIG_IsOK(res1)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33382 }
33383 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33384 {
33385 PyThreadState* __tstate = wxPyBeginAllowThreads();
33386 result = ((wxTreeEvent const *)arg1)->GetItem();
33387 wxPyEndAllowThreads(__tstate);
33388 if (PyErr_Occurred()) SWIG_fail;
33389 }
33390 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33391 return resultobj;
33392fail:
33393 return NULL;
33394}
33395
33396
33397SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33398 PyObject *resultobj = 0;
33399 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33400 wxTreeItemId *arg2 = 0 ;
33401 void *argp1 = 0 ;
33402 int res1 = 0 ;
33403 void *argp2 = 0 ;
33404 int res2 = 0 ;
33405 PyObject * obj0 = 0 ;
33406 PyObject * obj1 = 0 ;
33407 char * kwnames[] = {
33408 (char *) "self",(char *) "item", NULL
33409 };
33410
33411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33413 if (!SWIG_IsOK(res1)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33415 }
33416 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33417 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33418 if (!SWIG_IsOK(res2)) {
33419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33420 }
33421 if (!argp2) {
33422 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33423 }
33424 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33425 {
33426 PyThreadState* __tstate = wxPyBeginAllowThreads();
33427 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33428 wxPyEndAllowThreads(__tstate);
33429 if (PyErr_Occurred()) SWIG_fail;
33430 }
33431 resultobj = SWIG_Py_Void();
33432 return resultobj;
33433fail:
33434 return NULL;
d55e5bfc
RD
33435}
33436
33437
554f62e9
RD
33438SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33439 PyObject *resultobj = 0;
33440 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33441 wxTreeItemId result;
33442 void *argp1 = 0 ;
33443 int res1 = 0 ;
33444 PyObject *swig_obj[1] ;
33445
33446 if (!args) SWIG_fail;
33447 swig_obj[0] = args;
33448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33449 if (!SWIG_IsOK(res1)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33451 }
33452 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33453 {
33454 PyThreadState* __tstate = wxPyBeginAllowThreads();
33455 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33456 wxPyEndAllowThreads(__tstate);
33457 if (PyErr_Occurred()) SWIG_fail;
33458 }
33459 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33460 return resultobj;
33461fail:
33462 return NULL;
33463}
33464
33465
33466SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33467 PyObject *resultobj = 0;
33468 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33469 wxTreeItemId *arg2 = 0 ;
33470 void *argp1 = 0 ;
33471 int res1 = 0 ;
33472 void *argp2 = 0 ;
33473 int res2 = 0 ;
33474 PyObject * obj0 = 0 ;
33475 PyObject * obj1 = 0 ;
33476 char * kwnames[] = {
33477 (char *) "self",(char *) "item", NULL
33478 };
33479
33480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33482 if (!SWIG_IsOK(res1)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33484 }
33485 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33486 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33487 if (!SWIG_IsOK(res2)) {
33488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33489 }
33490 if (!argp2) {
33491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33492 }
33493 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33494 {
33495 PyThreadState* __tstate = wxPyBeginAllowThreads();
33496 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33497 wxPyEndAllowThreads(__tstate);
33498 if (PyErr_Occurred()) SWIG_fail;
33499 }
33500 resultobj = SWIG_Py_Void();
33501 return resultobj;
33502fail:
33503 return NULL;
d55e5bfc
RD
33504}
33505
33506
554f62e9
RD
33507SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33508 PyObject *resultobj = 0;
33509 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33510 wxPoint 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_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33520 }
33521 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33522 {
33523 PyThreadState* __tstate = wxPyBeginAllowThreads();
33524 result = ((wxTreeEvent const *)arg1)->GetPoint();
33525 wxPyEndAllowThreads(__tstate);
33526 if (PyErr_Occurred()) SWIG_fail;
33527 }
33528 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33529 return resultobj;
33530fail:
33531 return NULL;
33532}
33533
33534
33535SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33536 PyObject *resultobj = 0;
33537 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33538 wxPoint *arg2 = 0 ;
33539 void *argp1 = 0 ;
33540 int res1 = 0 ;
33541 wxPoint temp2 ;
33542 PyObject * obj0 = 0 ;
33543 PyObject * obj1 = 0 ;
33544 char * kwnames[] = {
33545 (char *) "self",(char *) "pt", NULL
33546 };
33547
33548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33550 if (!SWIG_IsOK(res1)) {
33551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33552 }
33553 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33554 {
33555 arg2 = &temp2;
33556 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33557 }
33558 {
33559 PyThreadState* __tstate = wxPyBeginAllowThreads();
33560 (arg1)->SetPoint((wxPoint const &)*arg2);
33561 wxPyEndAllowThreads(__tstate);
33562 if (PyErr_Occurred()) SWIG_fail;
33563 }
33564 resultobj = SWIG_Py_Void();
33565 return resultobj;
33566fail:
33567 return NULL;
d55e5bfc
RD
33568}
33569
33570
554f62e9
RD
33571SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33572 PyObject *resultobj = 0;
33573 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33574 wxKeyEvent *result = 0 ;
33575 void *argp1 = 0 ;
33576 int res1 = 0 ;
33577 PyObject *swig_obj[1] ;
33578
33579 if (!args) SWIG_fail;
33580 swig_obj[0] = args;
33581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33582 if (!SWIG_IsOK(res1)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33584 }
33585 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33586 {
33587 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33588 {
554f62e9
RD
33589 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33590 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33591 }
554f62e9
RD
33592 wxPyEndAllowThreads(__tstate);
33593 if (PyErr_Occurred()) SWIG_fail;
33594 }
33595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33596 return resultobj;
33597fail:
33598 return NULL;
d55e5bfc
RD
33599}
33600
33601
554f62e9
RD
33602SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33603 PyObject *resultobj = 0;
33604 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33605 int result;
33606 void *argp1 = 0 ;
33607 int res1 = 0 ;
33608 PyObject *swig_obj[1] ;
33609
33610 if (!args) SWIG_fail;
33611 swig_obj[0] = args;
33612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33613 if (!SWIG_IsOK(res1)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33615 }
33616 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33617 {
33618 PyThreadState* __tstate = wxPyBeginAllowThreads();
33619 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33620 wxPyEndAllowThreads(__tstate);
33621 if (PyErr_Occurred()) SWIG_fail;
33622 }
33623 resultobj = SWIG_From_int(static_cast< int >(result));
33624 return resultobj;
33625fail:
33626 return NULL;
33627}
33628
33629
33630SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33631 PyObject *resultobj = 0;
33632 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33633 wxKeyEvent *arg2 = 0 ;
33634 void *argp1 = 0 ;
33635 int res1 = 0 ;
33636 void *argp2 = 0 ;
33637 int res2 = 0 ;
33638 PyObject * obj0 = 0 ;
33639 PyObject * obj1 = 0 ;
33640 char * kwnames[] = {
33641 (char *) "self",(char *) "evt", NULL
33642 };
33643
33644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33646 if (!SWIG_IsOK(res1)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33648 }
33649 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33651 if (!SWIG_IsOK(res2)) {
33652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33653 }
33654 if (!argp2) {
33655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33656 }
33657 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33658 {
33659 PyThreadState* __tstate = wxPyBeginAllowThreads();
33660 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33661 wxPyEndAllowThreads(__tstate);
33662 if (PyErr_Occurred()) SWIG_fail;
33663 }
33664 resultobj = SWIG_Py_Void();
33665 return resultobj;
33666fail:
33667 return NULL;
d55e5bfc
RD
33668}
33669
33670
554f62e9
RD
33671SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33672 PyObject *resultobj = 0;
33673 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33674 wxString *result = 0 ;
33675 void *argp1 = 0 ;
33676 int res1 = 0 ;
33677 PyObject *swig_obj[1] ;
33678
33679 if (!args) SWIG_fail;
33680 swig_obj[0] = args;
33681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33682 if (!SWIG_IsOK(res1)) {
33683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33684 }
33685 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33686 {
33687 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33688 {
554f62e9
RD
33689 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33690 result = (wxString *) &_result_ref;
d55e5bfc 33691 }
554f62e9
RD
33692 wxPyEndAllowThreads(__tstate);
33693 if (PyErr_Occurred()) SWIG_fail;
33694 }
33695 {
33696#if wxUSE_UNICODE
33697 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33698#else
33699 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33700#endif
33701 }
33702 return resultobj;
33703fail:
33704 return NULL;
33705}
33706
33707
33708SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33709 PyObject *resultobj = 0;
33710 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33711 wxString *arg2 = 0 ;
33712 void *argp1 = 0 ;
33713 int res1 = 0 ;
33714 bool temp2 = false ;
33715 PyObject * obj0 = 0 ;
33716 PyObject * obj1 = 0 ;
33717 char * kwnames[] = {
33718 (char *) "self",(char *) "label", NULL
33719 };
33720
33721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33723 if (!SWIG_IsOK(res1)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33725 }
33726 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33727 {
33728 arg2 = wxString_in_helper(obj1);
33729 if (arg2 == NULL) SWIG_fail;
33730 temp2 = true;
33731 }
33732 {
33733 PyThreadState* __tstate = wxPyBeginAllowThreads();
33734 (arg1)->SetLabel((wxString const &)*arg2);
33735 wxPyEndAllowThreads(__tstate);
33736 if (PyErr_Occurred()) SWIG_fail;
33737 }
33738 resultobj = SWIG_Py_Void();
33739 {
33740 if (temp2)
33741 delete arg2;
33742 }
33743 return resultobj;
33744fail:
33745 {
33746 if (temp2)
33747 delete arg2;
33748 }
33749 return NULL;
d55e5bfc
RD
33750}
33751
33752
554f62e9
RD
33753SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33754 PyObject *resultobj = 0;
33755 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33756 bool result;
33757 void *argp1 = 0 ;
33758 int res1 = 0 ;
33759 PyObject *swig_obj[1] ;
33760
33761 if (!args) SWIG_fail;
33762 swig_obj[0] = args;
33763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33764 if (!SWIG_IsOK(res1)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33766 }
33767 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33768 {
33769 PyThreadState* __tstate = wxPyBeginAllowThreads();
33770 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33771 wxPyEndAllowThreads(__tstate);
33772 if (PyErr_Occurred()) SWIG_fail;
33773 }
33774 {
33775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33776 }
33777 return resultobj;
33778fail:
33779 return NULL;
33780}
33781
33782
33783SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33784 PyObject *resultobj = 0;
33785 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33786 bool arg2 ;
33787 void *argp1 = 0 ;
33788 int res1 = 0 ;
33789 bool val2 ;
33790 int ecode2 = 0 ;
33791 PyObject * obj0 = 0 ;
33792 PyObject * obj1 = 0 ;
33793 char * kwnames[] = {
33794 (char *) "self",(char *) "editCancelled", NULL
33795 };
33796
33797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33799 if (!SWIG_IsOK(res1)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33801 }
33802 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33803 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33804 if (!SWIG_IsOK(ecode2)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33806 }
33807 arg2 = static_cast< bool >(val2);
33808 {
33809 PyThreadState* __tstate = wxPyBeginAllowThreads();
33810 (arg1)->SetEditCanceled(arg2);
33811 wxPyEndAllowThreads(__tstate);
33812 if (PyErr_Occurred()) SWIG_fail;
33813 }
33814 resultobj = SWIG_Py_Void();
33815 return resultobj;
33816fail:
33817 return NULL;
33818}
33819
33820
33821SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33822 PyObject *resultobj = 0;
33823 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33824 wxString *arg2 = 0 ;
33825 void *argp1 = 0 ;
33826 int res1 = 0 ;
33827 bool temp2 = false ;
33828 PyObject * obj0 = 0 ;
33829 PyObject * obj1 = 0 ;
33830 char * kwnames[] = {
33831 (char *) "self",(char *) "toolTip", NULL
33832 };
33833
33834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33836 if (!SWIG_IsOK(res1)) {
33837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33838 }
33839 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33840 {
33841 arg2 = wxString_in_helper(obj1);
33842 if (arg2 == NULL) SWIG_fail;
33843 temp2 = true;
33844 }
33845 {
33846 PyThreadState* __tstate = wxPyBeginAllowThreads();
33847 (arg1)->SetToolTip((wxString const &)*arg2);
33848 wxPyEndAllowThreads(__tstate);
33849 if (PyErr_Occurred()) SWIG_fail;
33850 }
33851 resultobj = SWIG_Py_Void();
33852 {
33853 if (temp2)
33854 delete arg2;
33855 }
33856 return resultobj;
33857fail:
33858 {
33859 if (temp2)
33860 delete arg2;
33861 }
33862 return NULL;
33863}
33864
33865
33866SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33867 PyObject *resultobj = 0;
33868 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33869 wxString result;
33870 void *argp1 = 0 ;
33871 int res1 = 0 ;
33872 PyObject *swig_obj[1] ;
33873
33874 if (!args) SWIG_fail;
33875 swig_obj[0] = args;
33876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33877 if (!SWIG_IsOK(res1)) {
33878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33879 }
33880 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33881 {
33882 PyThreadState* __tstate = wxPyBeginAllowThreads();
33883 result = (arg1)->GetToolTip();
33884 wxPyEndAllowThreads(__tstate);
33885 if (PyErr_Occurred()) SWIG_fail;
33886 }
33887 {
33888#if wxUSE_UNICODE
33889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33890#else
33891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33892#endif
33893 }
33894 return resultobj;
33895fail:
33896 return NULL;
33897}
33898
33899
33900SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33901 PyObject *obj;
33902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33903 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33904 return SWIG_Py_Void();
33905}
33906
33907SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33908 return SWIG_Python_InitShadowInstance(args);
33909}
33910
33911SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33912 PyObject *resultobj = 0;
33913 wxWindow *arg1 = (wxWindow *) 0 ;
33914 int arg2 = (int) -1 ;
33915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33917 wxSize const &arg4_defvalue = wxDefaultSize ;
33918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33919 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33920 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33921 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33922 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33923 wxString *arg7 = (wxString *) &arg7_defvalue ;
33924 wxPyTreeCtrl *result = 0 ;
33925 void *argp1 = 0 ;
33926 int res1 = 0 ;
33927 int val2 ;
33928 int ecode2 = 0 ;
33929 wxPoint temp3 ;
33930 wxSize temp4 ;
33931 long val5 ;
33932 int ecode5 = 0 ;
33933 void *argp6 = 0 ;
33934 int res6 = 0 ;
33935 bool temp7 = false ;
33936 PyObject * obj0 = 0 ;
33937 PyObject * obj1 = 0 ;
33938 PyObject * obj2 = 0 ;
33939 PyObject * obj3 = 0 ;
33940 PyObject * obj4 = 0 ;
33941 PyObject * obj5 = 0 ;
33942 PyObject * obj6 = 0 ;
33943 char * kwnames[] = {
33944 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33945 };
33946
33947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33949 if (!SWIG_IsOK(res1)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33951 }
33952 arg1 = reinterpret_cast< wxWindow * >(argp1);
33953 if (obj1) {
33954 ecode2 = SWIG_AsVal_int(obj1, &val2);
33955 if (!SWIG_IsOK(ecode2)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33957 }
33958 arg2 = static_cast< int >(val2);
33959 }
33960 if (obj2) {
d55e5bfc 33961 {
554f62e9
RD
33962 arg3 = &temp3;
33963 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33964 }
554f62e9
RD
33965 }
33966 if (obj3) {
d55e5bfc 33967 {
554f62e9
RD
33968 arg4 = &temp4;
33969 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33970 }
554f62e9
RD
33971 }
33972 if (obj4) {
33973 ecode5 = SWIG_AsVal_long(obj4, &val5);
33974 if (!SWIG_IsOK(ecode5)) {
33975 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33976 }
33977 arg5 = static_cast< long >(val5);
33978 }
33979 if (obj5) {
33980 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33981 if (!SWIG_IsOK(res6)) {
33982 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33983 }
554f62e9
RD
33984 if (!argp6) {
33985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33986 }
554f62e9
RD
33987 arg6 = reinterpret_cast< wxValidator * >(argp6);
33988 }
33989 if (obj6) {
d55e5bfc 33990 {
554f62e9
RD
33991 arg7 = wxString_in_helper(obj6);
33992 if (arg7 == NULL) SWIG_fail;
33993 temp7 = true;
d55e5bfc 33994 }
554f62e9
RD
33995 }
33996 {
33997 if (!wxPyCheckForApp()) SWIG_fail;
33998 PyThreadState* __tstate = wxPyBeginAllowThreads();
33999 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
34000 wxPyEndAllowThreads(__tstate);
34001 if (PyErr_Occurred()) SWIG_fail;
34002 }
34003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
34004 {
34005 if (temp7)
34006 delete arg7;
34007 }
34008 return resultobj;
34009fail:
34010 {
34011 if (temp7)
34012 delete arg7;
34013 }
34014 return NULL;
d55e5bfc
RD
34015}
34016
34017
554f62e9
RD
34018SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34019 PyObject *resultobj = 0;
34020 wxPyTreeCtrl *result = 0 ;
34021
34022 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34023 {
34024 if (!wxPyCheckForApp()) SWIG_fail;
34025 PyThreadState* __tstate = wxPyBeginAllowThreads();
34026 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34027 wxPyEndAllowThreads(__tstate);
34028 if (PyErr_Occurred()) SWIG_fail;
34029 }
34030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34031 return resultobj;
34032fail:
34033 return NULL;
34034}
34035
34036
34037SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34038 PyObject *resultobj = 0;
34039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34040 wxWindow *arg2 = (wxWindow *) 0 ;
34041 int arg3 = (int) -1 ;
34042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34044 wxSize const &arg5_defvalue = wxDefaultSize ;
34045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34046 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34049 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34050 wxString *arg8 = (wxString *) &arg8_defvalue ;
34051 bool result;
34052 void *argp1 = 0 ;
34053 int res1 = 0 ;
34054 void *argp2 = 0 ;
34055 int res2 = 0 ;
34056 int val3 ;
34057 int ecode3 = 0 ;
34058 wxPoint temp4 ;
34059 wxSize temp5 ;
34060 long val6 ;
34061 int ecode6 = 0 ;
34062 void *argp7 = 0 ;
34063 int res7 = 0 ;
34064 bool temp8 = false ;
34065 PyObject * obj0 = 0 ;
34066 PyObject * obj1 = 0 ;
34067 PyObject * obj2 = 0 ;
34068 PyObject * obj3 = 0 ;
34069 PyObject * obj4 = 0 ;
34070 PyObject * obj5 = 0 ;
34071 PyObject * obj6 = 0 ;
34072 PyObject * obj7 = 0 ;
34073 char * kwnames[] = {
34074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34075 };
34076
34077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34079 if (!SWIG_IsOK(res1)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34081 }
34082 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34084 if (!SWIG_IsOK(res2)) {
34085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34086 }
34087 arg2 = reinterpret_cast< wxWindow * >(argp2);
34088 if (obj2) {
34089 ecode3 = SWIG_AsVal_int(obj2, &val3);
34090 if (!SWIG_IsOK(ecode3)) {
34091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34092 }
34093 arg3 = static_cast< int >(val3);
34094 }
34095 if (obj3) {
d55e5bfc 34096 {
554f62e9
RD
34097 arg4 = &temp4;
34098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 34099 }
554f62e9
RD
34100 }
34101 if (obj4) {
d55e5bfc 34102 {
554f62e9
RD
34103 arg5 = &temp5;
34104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 34105 }
554f62e9
RD
34106 }
34107 if (obj5) {
34108 ecode6 = SWIG_AsVal_long(obj5, &val6);
34109 if (!SWIG_IsOK(ecode6)) {
34110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34111 }
34112 arg6 = static_cast< long >(val6);
34113 }
34114 if (obj6) {
34115 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34116 if (!SWIG_IsOK(res7)) {
34117 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34118 }
554f62e9
RD
34119 if (!argp7) {
34120 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34121 }
554f62e9
RD
34122 arg7 = reinterpret_cast< wxValidator * >(argp7);
34123 }
34124 if (obj7) {
d55e5bfc 34125 {
554f62e9
RD
34126 arg8 = wxString_in_helper(obj7);
34127 if (arg8 == NULL) SWIG_fail;
34128 temp8 = true;
d55e5bfc 34129 }
554f62e9
RD
34130 }
34131 {
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34134 wxPyEndAllowThreads(__tstate);
34135 if (PyErr_Occurred()) SWIG_fail;
34136 }
34137 {
34138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34139 }
34140 {
34141 if (temp8)
34142 delete arg8;
34143 }
34144 return resultobj;
34145fail:
34146 {
34147 if (temp8)
34148 delete arg8;
34149 }
34150 return NULL;
34151}
34152
34153
34154SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34155 PyObject *resultobj = 0;
34156 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34157 PyObject *arg2 = (PyObject *) 0 ;
34158 PyObject *arg3 = (PyObject *) 0 ;
34159 void *argp1 = 0 ;
34160 int res1 = 0 ;
34161 PyObject * obj0 = 0 ;
34162 PyObject * obj1 = 0 ;
34163 PyObject * obj2 = 0 ;
34164 char * kwnames[] = {
34165 (char *) "self",(char *) "self",(char *) "_class", NULL
34166 };
34167
34168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34170 if (!SWIG_IsOK(res1)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34172 }
34173 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34174 arg2 = obj1;
34175 arg3 = obj2;
34176 {
34177 PyThreadState* __tstate = wxPyBeginAllowThreads();
34178 (arg1)->_setCallbackInfo(arg2,arg3);
34179 wxPyEndAllowThreads(__tstate);
34180 if (PyErr_Occurred()) SWIG_fail;
34181 }
34182 resultobj = SWIG_Py_Void();
34183 return resultobj;
34184fail:
34185 return NULL;
d55e5bfc
RD
34186}
34187
34188
554f62e9
RD
34189SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34190 PyObject *resultobj = 0;
34191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34192 unsigned int result;
554f62e9
RD
34193 void *argp1 = 0 ;
34194 int res1 = 0 ;
34195 PyObject *swig_obj[1] ;
34196
34197 if (!args) SWIG_fail;
34198 swig_obj[0] = args;
34199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34200 if (!SWIG_IsOK(res1)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34202 }
34203 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34204 {
34205 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34206 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
554f62e9
RD
34207 wxPyEndAllowThreads(__tstate);
34208 if (PyErr_Occurred()) SWIG_fail;
34209 }
e9d6f3a4 34210 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
34211 return resultobj;
34212fail:
34213 return NULL;
d55e5bfc
RD
34214}
34215
34216
554f62e9
RD
34217SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34218 PyObject *resultobj = 0;
34219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34220 unsigned int result;
34221 void *argp1 = 0 ;
34222 int res1 = 0 ;
34223 PyObject *swig_obj[1] ;
34224
34225 if (!args) SWIG_fail;
34226 swig_obj[0] = args;
34227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34228 if (!SWIG_IsOK(res1)) {
34229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34230 }
34231 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34232 {
34233 PyThreadState* __tstate = wxPyBeginAllowThreads();
34234 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34235 wxPyEndAllowThreads(__tstate);
34236 if (PyErr_Occurred()) SWIG_fail;
34237 }
34238 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34239 return resultobj;
34240fail:
34241 return NULL;
34242}
34243
34244
34245SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34246 PyObject *resultobj = 0;
34247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34248 unsigned int arg2 ;
34249 void *argp1 = 0 ;
34250 int res1 = 0 ;
34251 unsigned int val2 ;
34252 int ecode2 = 0 ;
34253 PyObject * obj0 = 0 ;
34254 PyObject * obj1 = 0 ;
34255 char * kwnames[] = {
34256 (char *) "self",(char *) "indent", NULL
34257 };
34258
34259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34261 if (!SWIG_IsOK(res1)) {
34262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34263 }
34264 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34265 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34266 if (!SWIG_IsOK(ecode2)) {
34267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34268 }
34269 arg2 = static_cast< unsigned int >(val2);
34270 {
34271 PyThreadState* __tstate = wxPyBeginAllowThreads();
34272 (arg1)->SetIndent(arg2);
34273 wxPyEndAllowThreads(__tstate);
34274 if (PyErr_Occurred()) SWIG_fail;
34275 }
34276 resultobj = SWIG_Py_Void();
34277 return resultobj;
34278fail:
34279 return NULL;
d55e5bfc
RD
34280}
34281
34282
554f62e9
RD
34283SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34284 PyObject *resultobj = 0;
34285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34286 unsigned int result;
34287 void *argp1 = 0 ;
34288 int res1 = 0 ;
34289 PyObject *swig_obj[1] ;
34290
34291 if (!args) SWIG_fail;
34292 swig_obj[0] = args;
34293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34294 if (!SWIG_IsOK(res1)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34296 }
34297 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34298 {
34299 PyThreadState* __tstate = wxPyBeginAllowThreads();
34300 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34301 wxPyEndAllowThreads(__tstate);
34302 if (PyErr_Occurred()) SWIG_fail;
34303 }
34304 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34305 return resultobj;
34306fail:
34307 return NULL;
34308}
34309
34310
34311SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34312 PyObject *resultobj = 0;
34313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34314 unsigned int arg2 ;
34315 void *argp1 = 0 ;
34316 int res1 = 0 ;
34317 unsigned int val2 ;
34318 int ecode2 = 0 ;
34319 PyObject * obj0 = 0 ;
34320 PyObject * obj1 = 0 ;
34321 char * kwnames[] = {
34322 (char *) "self",(char *) "spacing", NULL
34323 };
34324
34325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34327 if (!SWIG_IsOK(res1)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34329 }
34330 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34331 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34332 if (!SWIG_IsOK(ecode2)) {
34333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34334 }
34335 arg2 = static_cast< unsigned int >(val2);
34336 {
34337 PyThreadState* __tstate = wxPyBeginAllowThreads();
34338 (arg1)->SetSpacing(arg2);
34339 wxPyEndAllowThreads(__tstate);
34340 if (PyErr_Occurred()) SWIG_fail;
34341 }
34342 resultobj = SWIG_Py_Void();
34343 return resultobj;
34344fail:
34345 return NULL;
d55e5bfc
RD
34346}
34347
34348
554f62e9
RD
34349SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34350 PyObject *resultobj = 0;
34351 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34352 wxImageList *result = 0 ;
34353 void *argp1 = 0 ;
34354 int res1 = 0 ;
34355 PyObject *swig_obj[1] ;
34356
34357 if (!args) SWIG_fail;
34358 swig_obj[0] = args;
34359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34360 if (!SWIG_IsOK(res1)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34362 }
34363 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34364 {
34365 PyThreadState* __tstate = wxPyBeginAllowThreads();
34366 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34367 wxPyEndAllowThreads(__tstate);
34368 if (PyErr_Occurred()) SWIG_fail;
34369 }
3ecece7e
RD
34370 {
34371 resultobj = wxPyMake_wxObject(result, (bool)0);
34372 }
554f62e9
RD
34373 return resultobj;
34374fail:
34375 return NULL;
d55e5bfc
RD
34376}
34377
34378
554f62e9
RD
34379SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34380 PyObject *resultobj = 0;
34381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34382 wxImageList *result = 0 ;
34383 void *argp1 = 0 ;
34384 int res1 = 0 ;
34385 PyObject *swig_obj[1] ;
34386
34387 if (!args) SWIG_fail;
34388 swig_obj[0] = args;
34389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34390 if (!SWIG_IsOK(res1)) {
34391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34392 }
34393 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34394 {
34395 PyThreadState* __tstate = wxPyBeginAllowThreads();
34396 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34397 wxPyEndAllowThreads(__tstate);
34398 if (PyErr_Occurred()) SWIG_fail;
34399 }
3ecece7e
RD
34400 {
34401 resultobj = wxPyMake_wxObject(result, (bool)0);
34402 }
554f62e9
RD
34403 return resultobj;
34404fail:
34405 return NULL;
34406}
34407
34408
34409SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34410 PyObject *resultobj = 0;
34411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34412 wxImageList *arg2 = (wxImageList *) 0 ;
34413 void *argp1 = 0 ;
34414 int res1 = 0 ;
34415 void *argp2 = 0 ;
34416 int res2 = 0 ;
34417 PyObject * obj0 = 0 ;
34418 PyObject * obj1 = 0 ;
34419 char * kwnames[] = {
34420 (char *) "self",(char *) "imageList", NULL
34421 };
34422
34423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34425 if (!SWIG_IsOK(res1)) {
34426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34427 }
34428 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34430 if (!SWIG_IsOK(res2)) {
34431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34432 }
34433 arg2 = reinterpret_cast< wxImageList * >(argp2);
34434 {
34435 PyThreadState* __tstate = wxPyBeginAllowThreads();
34436 (arg1)->SetImageList(arg2);
34437 wxPyEndAllowThreads(__tstate);
34438 if (PyErr_Occurred()) SWIG_fail;
34439 }
34440 resultobj = SWIG_Py_Void();
34441 return resultobj;
34442fail:
34443 return NULL;
34444}
34445
34446
34447SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34448 PyObject *resultobj = 0;
34449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34450 wxImageList *arg2 = (wxImageList *) 0 ;
34451 void *argp1 = 0 ;
34452 int res1 = 0 ;
34453 void *argp2 = 0 ;
34454 int res2 = 0 ;
34455 PyObject * obj0 = 0 ;
34456 PyObject * obj1 = 0 ;
34457 char * kwnames[] = {
34458 (char *) "self",(char *) "imageList", NULL
34459 };
34460
34461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34463 if (!SWIG_IsOK(res1)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34465 }
34466 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34468 if (!SWIG_IsOK(res2)) {
34469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34470 }
34471 arg2 = reinterpret_cast< wxImageList * >(argp2);
34472 {
34473 PyThreadState* __tstate = wxPyBeginAllowThreads();
34474 (arg1)->SetStateImageList(arg2);
34475 wxPyEndAllowThreads(__tstate);
34476 if (PyErr_Occurred()) SWIG_fail;
34477 }
34478 resultobj = SWIG_Py_Void();
34479 return resultobj;
34480fail:
34481 return NULL;
34482}
34483
34484
34485SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34486 PyObject *resultobj = 0;
34487 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34488 wxImageList *arg2 = (wxImageList *) 0 ;
34489 void *argp1 = 0 ;
34490 int res1 = 0 ;
34491 int res2 = 0 ;
34492 PyObject * obj0 = 0 ;
34493 PyObject * obj1 = 0 ;
34494 char * kwnames[] = {
34495 (char *) "self",(char *) "imageList", NULL
34496 };
34497
34498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34500 if (!SWIG_IsOK(res1)) {
34501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34502 }
34503 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34504 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34505 if (!SWIG_IsOK(res2)) {
34506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34507 }
34508 {
34509 PyThreadState* __tstate = wxPyBeginAllowThreads();
34510 (arg1)->AssignImageList(arg2);
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
34514 resultobj = SWIG_Py_Void();
34515 return resultobj;
34516fail:
34517 return NULL;
34518}
34519
34520
34521SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34522 PyObject *resultobj = 0;
34523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34524 wxImageList *arg2 = (wxImageList *) 0 ;
34525 void *argp1 = 0 ;
34526 int res1 = 0 ;
34527 int res2 = 0 ;
34528 PyObject * obj0 = 0 ;
34529 PyObject * obj1 = 0 ;
34530 char * kwnames[] = {
34531 (char *) "self",(char *) "imageList", NULL
34532 };
34533
34534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34536 if (!SWIG_IsOK(res1)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34538 }
34539 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34540 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34541 if (!SWIG_IsOK(res2)) {
34542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34543 }
34544 {
34545 PyThreadState* __tstate = wxPyBeginAllowThreads();
34546 (arg1)->AssignStateImageList(arg2);
34547 wxPyEndAllowThreads(__tstate);
34548 if (PyErr_Occurred()) SWIG_fail;
34549 }
34550 resultobj = SWIG_Py_Void();
34551 return resultobj;
34552fail:
34553 return NULL;
34554}
34555
34556
34557SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34558 PyObject *resultobj = 0;
34559 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34560 wxTreeItemId *arg2 = 0 ;
34561 wxString result;
34562 void *argp1 = 0 ;
34563 int res1 = 0 ;
34564 void *argp2 = 0 ;
34565 int res2 = 0 ;
34566 PyObject * obj0 = 0 ;
34567 PyObject * obj1 = 0 ;
34568 char * kwnames[] = {
34569 (char *) "self",(char *) "item", NULL
34570 };
34571
34572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34574 if (!SWIG_IsOK(res1)) {
34575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34576 }
34577 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34578 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34579 if (!SWIG_IsOK(res2)) {
34580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34581 }
34582 if (!argp2) {
34583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 }
34585 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34586 {
34587 PyThreadState* __tstate = wxPyBeginAllowThreads();
34588 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34589 wxPyEndAllowThreads(__tstate);
34590 if (PyErr_Occurred()) SWIG_fail;
34591 }
34592 {
34593#if wxUSE_UNICODE
34594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34595#else
34596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34597#endif
34598 }
34599 return resultobj;
34600fail:
34601 return NULL;
34602}
34603
34604
34605SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj = 0;
34607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34608 wxTreeItemId *arg2 = 0 ;
34609 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34610 int result;
34611 void *argp1 = 0 ;
34612 int res1 = 0 ;
34613 void *argp2 = 0 ;
34614 int res2 = 0 ;
34615 int val3 ;
34616 int ecode3 = 0 ;
34617 PyObject * obj0 = 0 ;
34618 PyObject * obj1 = 0 ;
34619 PyObject * obj2 = 0 ;
34620 char * kwnames[] = {
34621 (char *) "self",(char *) "item",(char *) "which", NULL
34622 };
34623
34624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34626 if (!SWIG_IsOK(res1)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34628 }
34629 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34631 if (!SWIG_IsOK(res2)) {
34632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34633 }
34634 if (!argp2) {
34635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34636 }
34637 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34638 if (obj2) {
34639 ecode3 = SWIG_AsVal_int(obj2, &val3);
34640 if (!SWIG_IsOK(ecode3)) {
34641 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34642 }
34643 arg3 = static_cast< wxTreeItemIcon >(val3);
34644 }
34645 {
34646 PyThreadState* __tstate = wxPyBeginAllowThreads();
34647 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34648 wxPyEndAllowThreads(__tstate);
34649 if (PyErr_Occurred()) SWIG_fail;
34650 }
34651 resultobj = SWIG_From_int(static_cast< int >(result));
34652 return resultobj;
34653fail:
34654 return NULL;
34655}
34656
34657
34658SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34659 PyObject *resultobj = 0;
34660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34661 wxTreeItemId *arg2 = 0 ;
34662 wxPyTreeItemData *result = 0 ;
34663 void *argp1 = 0 ;
34664 int res1 = 0 ;
34665 void *argp2 = 0 ;
34666 int res2 = 0 ;
34667 PyObject * obj0 = 0 ;
34668 PyObject * obj1 = 0 ;
34669 char * kwnames[] = {
34670 (char *) "self",(char *) "item", NULL
34671 };
34672
34673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34675 if (!SWIG_IsOK(res1)) {
34676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34677 }
34678 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34679 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34680 if (!SWIG_IsOK(res2)) {
34681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34682 }
34683 if (!argp2) {
34684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34685 }
34686 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34687 {
34688 PyThreadState* __tstate = wxPyBeginAllowThreads();
34689 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34690 wxPyEndAllowThreads(__tstate);
34691 if (PyErr_Occurred()) SWIG_fail;
34692 }
34693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34694 return resultobj;
34695fail:
34696 return NULL;
34697}
34698
34699
34700SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34701 PyObject *resultobj = 0;
34702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34703 wxTreeItemId *arg2 = 0 ;
34704 PyObject *result = 0 ;
34705 void *argp1 = 0 ;
34706 int res1 = 0 ;
34707 void *argp2 = 0 ;
34708 int res2 = 0 ;
34709 PyObject * obj0 = 0 ;
34710 PyObject * obj1 = 0 ;
34711 char * kwnames[] = {
34712 (char *) "self",(char *) "item", NULL
34713 };
34714
34715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34717 if (!SWIG_IsOK(res1)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34719 }
34720 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34721 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34722 if (!SWIG_IsOK(res2)) {
34723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34724 }
34725 if (!argp2) {
34726 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 }
34728 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34729 {
34730 PyThreadState* __tstate = wxPyBeginAllowThreads();
34731 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34732 wxPyEndAllowThreads(__tstate);
34733 if (PyErr_Occurred()) SWIG_fail;
34734 }
34735 resultobj = result;
34736 return resultobj;
34737fail:
34738 return NULL;
34739}
34740
34741
34742SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34743 PyObject *resultobj = 0;
34744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34745 wxTreeItemId *arg2 = 0 ;
34746 wxColour result;
34747 void *argp1 = 0 ;
34748 int res1 = 0 ;
34749 void *argp2 = 0 ;
34750 int res2 = 0 ;
34751 PyObject * obj0 = 0 ;
34752 PyObject * obj1 = 0 ;
34753 char * kwnames[] = {
34754 (char *) "self",(char *) "item", NULL
34755 };
34756
34757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34759 if (!SWIG_IsOK(res1)) {
34760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34761 }
34762 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34763 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34764 if (!SWIG_IsOK(res2)) {
34765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34766 }
34767 if (!argp2) {
34768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34769 }
34770 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34771 {
34772 PyThreadState* __tstate = wxPyBeginAllowThreads();
34773 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34774 wxPyEndAllowThreads(__tstate);
34775 if (PyErr_Occurred()) SWIG_fail;
34776 }
34777 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34778 return resultobj;
34779fail:
34780 return NULL;
34781}
34782
34783
34784SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34785 PyObject *resultobj = 0;
34786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34787 wxTreeItemId *arg2 = 0 ;
34788 wxColour result;
34789 void *argp1 = 0 ;
34790 int res1 = 0 ;
34791 void *argp2 = 0 ;
34792 int res2 = 0 ;
34793 PyObject * obj0 = 0 ;
34794 PyObject * obj1 = 0 ;
34795 char * kwnames[] = {
34796 (char *) "self",(char *) "item", NULL
34797 };
34798
34799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34801 if (!SWIG_IsOK(res1)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34803 }
34804 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34806 if (!SWIG_IsOK(res2)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34808 }
34809 if (!argp2) {
34810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 }
34812 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34813 {
34814 PyThreadState* __tstate = wxPyBeginAllowThreads();
34815 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34816 wxPyEndAllowThreads(__tstate);
34817 if (PyErr_Occurred()) SWIG_fail;
34818 }
34819 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34820 return resultobj;
34821fail:
34822 return NULL;
34823}
34824
34825
34826SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34827 PyObject *resultobj = 0;
34828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34829 wxTreeItemId *arg2 = 0 ;
34830 wxFont result;
34831 void *argp1 = 0 ;
34832 int res1 = 0 ;
34833 void *argp2 = 0 ;
34834 int res2 = 0 ;
34835 PyObject * obj0 = 0 ;
34836 PyObject * obj1 = 0 ;
34837 char * kwnames[] = {
34838 (char *) "self",(char *) "item", NULL
34839 };
34840
34841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34843 if (!SWIG_IsOK(res1)) {
34844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34845 }
34846 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34847 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34848 if (!SWIG_IsOK(res2)) {
34849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 }
34851 if (!argp2) {
34852 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34853 }
34854 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34855 {
34856 PyThreadState* __tstate = wxPyBeginAllowThreads();
34857 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34858 wxPyEndAllowThreads(__tstate);
34859 if (PyErr_Occurred()) SWIG_fail;
34860 }
34861 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34862 return resultobj;
34863fail:
34864 return NULL;
34865}
34866
34867
34868SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34869 PyObject *resultobj = 0;
34870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34871 wxTreeItemId *arg2 = 0 ;
34872 wxString *arg3 = 0 ;
34873 void *argp1 = 0 ;
34874 int res1 = 0 ;
34875 void *argp2 = 0 ;
34876 int res2 = 0 ;
34877 bool temp3 = false ;
34878 PyObject * obj0 = 0 ;
34879 PyObject * obj1 = 0 ;
34880 PyObject * obj2 = 0 ;
34881 char * kwnames[] = {
34882 (char *) "self",(char *) "item",(char *) "text", NULL
34883 };
34884
34885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34887 if (!SWIG_IsOK(res1)) {
34888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34889 }
34890 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34891 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34892 if (!SWIG_IsOK(res2)) {
34893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34894 }
34895 if (!argp2) {
34896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34897 }
34898 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34899 {
34900 arg3 = wxString_in_helper(obj2);
34901 if (arg3 == NULL) SWIG_fail;
34902 temp3 = true;
34903 }
34904 {
34905 PyThreadState* __tstate = wxPyBeginAllowThreads();
34906 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34907 wxPyEndAllowThreads(__tstate);
34908 if (PyErr_Occurred()) SWIG_fail;
34909 }
34910 resultobj = SWIG_Py_Void();
34911 {
34912 if (temp3)
34913 delete arg3;
34914 }
34915 return resultobj;
34916fail:
34917 {
34918 if (temp3)
34919 delete arg3;
34920 }
34921 return NULL;
34922}
34923
34924
34925SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34926 PyObject *resultobj = 0;
34927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34928 wxTreeItemId *arg2 = 0 ;
34929 int arg3 ;
34930 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34931 void *argp1 = 0 ;
34932 int res1 = 0 ;
34933 void *argp2 = 0 ;
34934 int res2 = 0 ;
34935 int val3 ;
34936 int ecode3 = 0 ;
34937 int val4 ;
34938 int ecode4 = 0 ;
34939 PyObject * obj0 = 0 ;
34940 PyObject * obj1 = 0 ;
34941 PyObject * obj2 = 0 ;
34942 PyObject * obj3 = 0 ;
34943 char * kwnames[] = {
34944 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34945 };
34946
34947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34949 if (!SWIG_IsOK(res1)) {
34950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34951 }
34952 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34953 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34954 if (!SWIG_IsOK(res2)) {
34955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34956 }
34957 if (!argp2) {
34958 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34959 }
34960 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34961 ecode3 = SWIG_AsVal_int(obj2, &val3);
34962 if (!SWIG_IsOK(ecode3)) {
34963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34964 }
34965 arg3 = static_cast< int >(val3);
34966 if (obj3) {
34967 ecode4 = SWIG_AsVal_int(obj3, &val4);
34968 if (!SWIG_IsOK(ecode4)) {
34969 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34970 }
34971 arg4 = static_cast< wxTreeItemIcon >(val4);
34972 }
34973 {
34974 PyThreadState* __tstate = wxPyBeginAllowThreads();
34975 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34976 wxPyEndAllowThreads(__tstate);
34977 if (PyErr_Occurred()) SWIG_fail;
34978 }
34979 resultobj = SWIG_Py_Void();
34980 return resultobj;
34981fail:
34982 return NULL;
34983}
34984
34985
34986SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34987 PyObject *resultobj = 0;
34988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34989 wxTreeItemId *arg2 = 0 ;
34990 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34991 void *argp1 = 0 ;
34992 int res1 = 0 ;
34993 void *argp2 = 0 ;
34994 int res2 = 0 ;
34995 int res3 = 0 ;
34996 PyObject * obj0 = 0 ;
34997 PyObject * obj1 = 0 ;
34998 PyObject * obj2 = 0 ;
34999 char * kwnames[] = {
35000 (char *) "self",(char *) "item",(char *) "data", NULL
35001 };
35002
35003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35005 if (!SWIG_IsOK(res1)) {
35006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35007 }
35008 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35009 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35010 if (!SWIG_IsOK(res2)) {
35011 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 }
35013 if (!argp2) {
35014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35015 }
35016 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35017 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35018 if (!SWIG_IsOK(res3)) {
35019 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35020 }
35021 {
35022 PyThreadState* __tstate = wxPyBeginAllowThreads();
35023 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35024 wxPyEndAllowThreads(__tstate);
35025 if (PyErr_Occurred()) SWIG_fail;
35026 }
35027 resultobj = SWIG_Py_Void();
35028 return resultobj;
35029fail:
35030 return NULL;
35031}
35032
35033
35034SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35035 PyObject *resultobj = 0;
35036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35037 wxTreeItemId *arg2 = 0 ;
35038 PyObject *arg3 = (PyObject *) 0 ;
35039 void *argp1 = 0 ;
35040 int res1 = 0 ;
35041 void *argp2 = 0 ;
35042 int res2 = 0 ;
35043 PyObject * obj0 = 0 ;
35044 PyObject * obj1 = 0 ;
35045 PyObject * obj2 = 0 ;
35046 char * kwnames[] = {
35047 (char *) "self",(char *) "item",(char *) "obj", NULL
35048 };
35049
35050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35052 if (!SWIG_IsOK(res1)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35054 }
35055 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35057 if (!SWIG_IsOK(res2)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35059 }
35060 if (!argp2) {
35061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35062 }
35063 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35064 arg3 = obj2;
35065 {
35066 PyThreadState* __tstate = wxPyBeginAllowThreads();
35067 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35068 wxPyEndAllowThreads(__tstate);
35069 if (PyErr_Occurred()) SWIG_fail;
35070 }
35071 resultobj = SWIG_Py_Void();
35072 return resultobj;
35073fail:
35074 return NULL;
35075}
35076
35077
35078SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35079 PyObject *resultobj = 0;
35080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35081 wxTreeItemId *arg2 = 0 ;
35082 bool arg3 = (bool) true ;
35083 void *argp1 = 0 ;
35084 int res1 = 0 ;
35085 void *argp2 = 0 ;
35086 int res2 = 0 ;
35087 bool val3 ;
35088 int ecode3 = 0 ;
35089 PyObject * obj0 = 0 ;
35090 PyObject * obj1 = 0 ;
35091 PyObject * obj2 = 0 ;
35092 char * kwnames[] = {
35093 (char *) "self",(char *) "item",(char *) "has", NULL
35094 };
35095
35096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35098 if (!SWIG_IsOK(res1)) {
35099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35100 }
35101 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35102 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35103 if (!SWIG_IsOK(res2)) {
35104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35105 }
35106 if (!argp2) {
35107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35108 }
35109 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35110 if (obj2) {
35111 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35112 if (!SWIG_IsOK(ecode3)) {
35113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35114 }
35115 arg3 = static_cast< bool >(val3);
35116 }
35117 {
35118 PyThreadState* __tstate = wxPyBeginAllowThreads();
35119 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35120 wxPyEndAllowThreads(__tstate);
35121 if (PyErr_Occurred()) SWIG_fail;
35122 }
35123 resultobj = SWIG_Py_Void();
35124 return resultobj;
35125fail:
35126 return NULL;
35127}
35128
35129
35130SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35131 PyObject *resultobj = 0;
35132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35133 wxTreeItemId *arg2 = 0 ;
35134 bool arg3 = (bool) true ;
35135 void *argp1 = 0 ;
35136 int res1 = 0 ;
35137 void *argp2 = 0 ;
35138 int res2 = 0 ;
35139 bool val3 ;
35140 int ecode3 = 0 ;
35141 PyObject * obj0 = 0 ;
35142 PyObject * obj1 = 0 ;
35143 PyObject * obj2 = 0 ;
35144 char * kwnames[] = {
35145 (char *) "self",(char *) "item",(char *) "bold", NULL
35146 };
35147
35148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35150 if (!SWIG_IsOK(res1)) {
35151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35152 }
35153 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35154 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35155 if (!SWIG_IsOK(res2)) {
35156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35157 }
35158 if (!argp2) {
35159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 }
35161 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35162 if (obj2) {
35163 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35164 if (!SWIG_IsOK(ecode3)) {
35165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35166 }
35167 arg3 = static_cast< bool >(val3);
35168 }
35169 {
35170 PyThreadState* __tstate = wxPyBeginAllowThreads();
35171 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35172 wxPyEndAllowThreads(__tstate);
35173 if (PyErr_Occurred()) SWIG_fail;
35174 }
35175 resultobj = SWIG_Py_Void();
35176 return resultobj;
35177fail:
35178 return NULL;
35179}
35180
35181
35182SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35183 PyObject *resultobj = 0;
35184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35185 wxTreeItemId *arg2 = 0 ;
35186 bool arg3 = (bool) true ;
35187 void *argp1 = 0 ;
35188 int res1 = 0 ;
35189 void *argp2 = 0 ;
35190 int res2 = 0 ;
35191 bool val3 ;
35192 int ecode3 = 0 ;
35193 PyObject * obj0 = 0 ;
35194 PyObject * obj1 = 0 ;
35195 PyObject * obj2 = 0 ;
35196 char * kwnames[] = {
35197 (char *) "self",(char *) "item",(char *) "highlight", NULL
35198 };
35199
35200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35202 if (!SWIG_IsOK(res1)) {
35203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35204 }
35205 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35206 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35207 if (!SWIG_IsOK(res2)) {
35208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35209 }
35210 if (!argp2) {
35211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35212 }
35213 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35214 if (obj2) {
35215 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35216 if (!SWIG_IsOK(ecode3)) {
35217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35218 }
35219 arg3 = static_cast< bool >(val3);
35220 }
35221 {
35222 PyThreadState* __tstate = wxPyBeginAllowThreads();
35223 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35224 wxPyEndAllowThreads(__tstate);
35225 if (PyErr_Occurred()) SWIG_fail;
35226 }
35227 resultobj = SWIG_Py_Void();
35228 return resultobj;
35229fail:
35230 return NULL;
35231}
35232
35233
35234SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35235 PyObject *resultobj = 0;
35236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35237 wxTreeItemId *arg2 = 0 ;
35238 wxColour *arg3 = 0 ;
35239 void *argp1 = 0 ;
35240 int res1 = 0 ;
35241 void *argp2 = 0 ;
35242 int res2 = 0 ;
35243 wxColour temp3 ;
35244 PyObject * obj0 = 0 ;
35245 PyObject * obj1 = 0 ;
35246 PyObject * obj2 = 0 ;
35247 char * kwnames[] = {
35248 (char *) "self",(char *) "item",(char *) "col", NULL
35249 };
35250
35251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35253 if (!SWIG_IsOK(res1)) {
35254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35255 }
35256 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35257 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35258 if (!SWIG_IsOK(res2)) {
35259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 }
35261 if (!argp2) {
35262 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35263 }
35264 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35265 {
35266 arg3 = &temp3;
35267 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35268 }
35269 {
35270 PyThreadState* __tstate = wxPyBeginAllowThreads();
35271 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35272 wxPyEndAllowThreads(__tstate);
35273 if (PyErr_Occurred()) SWIG_fail;
35274 }
35275 resultobj = SWIG_Py_Void();
35276 return resultobj;
35277fail:
35278 return NULL;
35279}
35280
35281
35282SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35283 PyObject *resultobj = 0;
35284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35285 wxTreeItemId *arg2 = 0 ;
35286 wxColour *arg3 = 0 ;
35287 void *argp1 = 0 ;
35288 int res1 = 0 ;
35289 void *argp2 = 0 ;
35290 int res2 = 0 ;
35291 wxColour temp3 ;
35292 PyObject * obj0 = 0 ;
35293 PyObject * obj1 = 0 ;
35294 PyObject * obj2 = 0 ;
35295 char * kwnames[] = {
35296 (char *) "self",(char *) "item",(char *) "col", NULL
35297 };
35298
35299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35301 if (!SWIG_IsOK(res1)) {
35302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35303 }
35304 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35305 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35306 if (!SWIG_IsOK(res2)) {
35307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35308 }
35309 if (!argp2) {
35310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35311 }
35312 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35313 {
35314 arg3 = &temp3;
35315 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35316 }
35317 {
35318 PyThreadState* __tstate = wxPyBeginAllowThreads();
35319 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35320 wxPyEndAllowThreads(__tstate);
35321 if (PyErr_Occurred()) SWIG_fail;
35322 }
35323 resultobj = SWIG_Py_Void();
35324 return resultobj;
35325fail:
35326 return NULL;
35327}
35328
35329
35330SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35331 PyObject *resultobj = 0;
35332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35333 wxTreeItemId *arg2 = 0 ;
35334 wxFont *arg3 = 0 ;
35335 void *argp1 = 0 ;
35336 int res1 = 0 ;
35337 void *argp2 = 0 ;
35338 int res2 = 0 ;
35339 void *argp3 = 0 ;
35340 int res3 = 0 ;
35341 PyObject * obj0 = 0 ;
35342 PyObject * obj1 = 0 ;
35343 PyObject * obj2 = 0 ;
35344 char * kwnames[] = {
35345 (char *) "self",(char *) "item",(char *) "font", NULL
35346 };
35347
35348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35350 if (!SWIG_IsOK(res1)) {
35351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35352 }
35353 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35354 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35355 if (!SWIG_IsOK(res2)) {
35356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35357 }
35358 if (!argp2) {
35359 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35360 }
35361 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35362 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35363 if (!SWIG_IsOK(res3)) {
35364 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35365 }
35366 if (!argp3) {
35367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35368 }
35369 arg3 = reinterpret_cast< wxFont * >(argp3);
35370 {
35371 PyThreadState* __tstate = wxPyBeginAllowThreads();
35372 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35373 wxPyEndAllowThreads(__tstate);
35374 if (PyErr_Occurred()) SWIG_fail;
35375 }
35376 resultobj = SWIG_Py_Void();
35377 return resultobj;
35378fail:
35379 return NULL;
35380}
35381
35382
35383SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35384 PyObject *resultobj = 0;
35385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35386 wxTreeItemId *arg2 = 0 ;
35387 bool result;
35388 void *argp1 = 0 ;
35389 int res1 = 0 ;
35390 void *argp2 = 0 ;
35391 int res2 = 0 ;
35392 PyObject * obj0 = 0 ;
35393 PyObject * obj1 = 0 ;
35394 char * kwnames[] = {
35395 (char *) "self",(char *) "item", NULL
35396 };
35397
35398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35400 if (!SWIG_IsOK(res1)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35402 }
35403 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35404 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35405 if (!SWIG_IsOK(res2)) {
35406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35407 }
35408 if (!argp2) {
35409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35410 }
35411 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35412 {
35413 PyThreadState* __tstate = wxPyBeginAllowThreads();
35414 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35415 wxPyEndAllowThreads(__tstate);
35416 if (PyErr_Occurred()) SWIG_fail;
35417 }
35418 {
35419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35420 }
35421 return resultobj;
35422fail:
35423 return NULL;
35424}
35425
35426
35427SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35428 PyObject *resultobj = 0;
35429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35430 wxTreeItemId *arg2 = 0 ;
35431 bool result;
35432 void *argp1 = 0 ;
35433 int res1 = 0 ;
35434 void *argp2 = 0 ;
35435 int res2 = 0 ;
35436 PyObject * obj0 = 0 ;
35437 PyObject * obj1 = 0 ;
35438 char * kwnames[] = {
35439 (char *) "self",(char *) "item", NULL
35440 };
35441
35442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35444 if (!SWIG_IsOK(res1)) {
35445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35446 }
35447 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35448 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35449 if (!SWIG_IsOK(res2)) {
35450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35451 }
35452 if (!argp2) {
35453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35454 }
35455 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35456 {
35457 PyThreadState* __tstate = wxPyBeginAllowThreads();
35458 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35459 wxPyEndAllowThreads(__tstate);
35460 if (PyErr_Occurred()) SWIG_fail;
35461 }
35462 {
35463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35464 }
35465 return resultobj;
35466fail:
35467 return NULL;
35468}
35469
35470
35471SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35472 PyObject *resultobj = 0;
35473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35474 wxTreeItemId *arg2 = 0 ;
35475 bool result;
35476 void *argp1 = 0 ;
35477 int res1 = 0 ;
35478 void *argp2 = 0 ;
35479 int res2 = 0 ;
35480 PyObject * obj0 = 0 ;
35481 PyObject * obj1 = 0 ;
35482 char * kwnames[] = {
35483 (char *) "self",(char *) "item", NULL
35484 };
35485
35486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35488 if (!SWIG_IsOK(res1)) {
35489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35490 }
35491 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35492 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35493 if (!SWIG_IsOK(res2)) {
35494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35495 }
35496 if (!argp2) {
35497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 }
35499 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35500 {
35501 PyThreadState* __tstate = wxPyBeginAllowThreads();
35502 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35503 wxPyEndAllowThreads(__tstate);
35504 if (PyErr_Occurred()) SWIG_fail;
35505 }
35506 {
35507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35508 }
35509 return resultobj;
35510fail:
35511 return NULL;
35512}
35513
35514
35515SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35516 PyObject *resultobj = 0;
35517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35518 wxTreeItemId *arg2 = 0 ;
35519 bool result;
35520 void *argp1 = 0 ;
35521 int res1 = 0 ;
35522 void *argp2 = 0 ;
35523 int res2 = 0 ;
35524 PyObject * obj0 = 0 ;
35525 PyObject * obj1 = 0 ;
35526 char * kwnames[] = {
35527 (char *) "self",(char *) "item", NULL
35528 };
35529
35530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35532 if (!SWIG_IsOK(res1)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35534 }
35535 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35536 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35537 if (!SWIG_IsOK(res2)) {
35538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35539 }
35540 if (!argp2) {
35541 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35542 }
35543 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35544 {
35545 PyThreadState* __tstate = wxPyBeginAllowThreads();
35546 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35547 wxPyEndAllowThreads(__tstate);
35548 if (PyErr_Occurred()) SWIG_fail;
35549 }
35550 {
35551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35552 }
35553 return resultobj;
35554fail:
35555 return NULL;
35556}
35557
35558
35559SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35560 PyObject *resultobj = 0;
35561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35562 wxTreeItemId *arg2 = 0 ;
35563 bool result;
35564 void *argp1 = 0 ;
35565 int res1 = 0 ;
35566 void *argp2 = 0 ;
35567 int res2 = 0 ;
35568 PyObject * obj0 = 0 ;
35569 PyObject * obj1 = 0 ;
35570 char * kwnames[] = {
35571 (char *) "self",(char *) "item", NULL
35572 };
35573
35574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35576 if (!SWIG_IsOK(res1)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35578 }
35579 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35581 if (!SWIG_IsOK(res2)) {
35582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35583 }
35584 if (!argp2) {
35585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35586 }
35587 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35588 {
35589 PyThreadState* __tstate = wxPyBeginAllowThreads();
35590 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35591 wxPyEndAllowThreads(__tstate);
35592 if (PyErr_Occurred()) SWIG_fail;
35593 }
35594 {
35595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35596 }
35597 return resultobj;
35598fail:
35599 return NULL;
35600}
35601
35602
35603SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35604 PyObject *resultobj = 0;
35605 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35606 wxTreeItemId *arg2 = 0 ;
35607 bool arg3 = (bool) true ;
35608 size_t result;
35609 void *argp1 = 0 ;
35610 int res1 = 0 ;
35611 void *argp2 = 0 ;
35612 int res2 = 0 ;
35613 bool val3 ;
35614 int ecode3 = 0 ;
35615 PyObject * obj0 = 0 ;
35616 PyObject * obj1 = 0 ;
35617 PyObject * obj2 = 0 ;
35618 char * kwnames[] = {
35619 (char *) "self",(char *) "item",(char *) "recursively", NULL
35620 };
35621
35622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35624 if (!SWIG_IsOK(res1)) {
35625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35626 }
35627 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35628 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35629 if (!SWIG_IsOK(res2)) {
35630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35631 }
35632 if (!argp2) {
35633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35634 }
35635 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35636 if (obj2) {
35637 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35638 if (!SWIG_IsOK(ecode3)) {
35639 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35640 }
35641 arg3 = static_cast< bool >(val3);
35642 }
35643 {
35644 PyThreadState* __tstate = wxPyBeginAllowThreads();
35645 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35646 wxPyEndAllowThreads(__tstate);
35647 if (PyErr_Occurred()) SWIG_fail;
35648 }
35649 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35650 return resultobj;
35651fail:
35652 return NULL;
d55e5bfc
RD
35653}
35654
35655
554f62e9
RD
35656SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35657 PyObject *resultobj = 0;
35658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35659 wxTreeItemId result;
35660 void *argp1 = 0 ;
35661 int res1 = 0 ;
35662 PyObject *swig_obj[1] ;
35663
35664 if (!args) SWIG_fail;
35665 swig_obj[0] = args;
35666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35667 if (!SWIG_IsOK(res1)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35669 }
35670 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35671 {
35672 PyThreadState* __tstate = wxPyBeginAllowThreads();
35673 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35674 wxPyEndAllowThreads(__tstate);
35675 if (PyErr_Occurred()) SWIG_fail;
35676 }
35677 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35678 return resultobj;
35679fail:
35680 return NULL;
d55e5bfc
RD
35681}
35682
35683
554f62e9
RD
35684SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35685 PyObject *resultobj = 0;
35686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35687 wxTreeItemId result;
35688 void *argp1 = 0 ;
35689 int res1 = 0 ;
35690 PyObject *swig_obj[1] ;
35691
35692 if (!args) SWIG_fail;
35693 swig_obj[0] = args;
35694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35695 if (!SWIG_IsOK(res1)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35697 }
35698 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35699 {
35700 PyThreadState* __tstate = wxPyBeginAllowThreads();
35701 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35702 wxPyEndAllowThreads(__tstate);
35703 if (PyErr_Occurred()) SWIG_fail;
35704 }
35705 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35706 return resultobj;
35707fail:
35708 return NULL;
d55e5bfc
RD
35709}
35710
35711
554f62e9
RD
35712SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35713 PyObject *resultobj = 0;
35714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35715 PyObject *result = 0 ;
35716 void *argp1 = 0 ;
35717 int res1 = 0 ;
35718 PyObject *swig_obj[1] ;
35719
35720 if (!args) SWIG_fail;
35721 swig_obj[0] = args;
35722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35723 if (!SWIG_IsOK(res1)) {
35724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35725 }
35726 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35727 {
35728 PyThreadState* __tstate = wxPyBeginAllowThreads();
35729 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35730 wxPyEndAllowThreads(__tstate);
35731 if (PyErr_Occurred()) SWIG_fail;
35732 }
35733 resultobj = result;
35734 return resultobj;
35735fail:
35736 return NULL;
35737}
35738
35739
35740SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35741 PyObject *resultobj = 0;
35742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35743 wxTreeItemId *arg2 = 0 ;
35744 wxTreeItemId result;
35745 void *argp1 = 0 ;
35746 int res1 = 0 ;
35747 void *argp2 = 0 ;
35748 int res2 = 0 ;
35749 PyObject * obj0 = 0 ;
35750 PyObject * obj1 = 0 ;
35751 char * kwnames[] = {
35752 (char *) "self",(char *) "item", NULL
35753 };
35754
35755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35757 if (!SWIG_IsOK(res1)) {
35758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35759 }
35760 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35761 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35762 if (!SWIG_IsOK(res2)) {
35763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35764 }
35765 if (!argp2) {
35766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35767 }
35768 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35769 {
35770 PyThreadState* __tstate = wxPyBeginAllowThreads();
35771 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35772 wxPyEndAllowThreads(__tstate);
35773 if (PyErr_Occurred()) SWIG_fail;
35774 }
35775 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35776 return resultobj;
35777fail:
35778 return NULL;
35779}
35780
35781
35782SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35783 PyObject *resultobj = 0;
35784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35785 wxTreeItemId *arg2 = 0 ;
35786 PyObject *result = 0 ;
35787 void *argp1 = 0 ;
35788 int res1 = 0 ;
35789 void *argp2 = 0 ;
35790 int res2 = 0 ;
35791 PyObject * obj0 = 0 ;
35792 PyObject * obj1 = 0 ;
35793 char * kwnames[] = {
35794 (char *) "self",(char *) "item", NULL
35795 };
35796
35797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35799 if (!SWIG_IsOK(res1)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35801 }
35802 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35803 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35804 if (!SWIG_IsOK(res2)) {
35805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35806 }
35807 if (!argp2) {
35808 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 }
35810 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35811 {
35812 PyThreadState* __tstate = wxPyBeginAllowThreads();
35813 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35814 wxPyEndAllowThreads(__tstate);
35815 if (PyErr_Occurred()) SWIG_fail;
35816 }
35817 resultobj = result;
35818 return resultobj;
35819fail:
35820 return NULL;
35821}
35822
35823
35824SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35825 PyObject *resultobj = 0;
35826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35827 wxTreeItemId *arg2 = 0 ;
35828 void *arg3 = (void *) 0 ;
35829 PyObject *result = 0 ;
35830 void *argp1 = 0 ;
35831 int res1 = 0 ;
35832 void *argp2 = 0 ;
35833 int res2 = 0 ;
35834 int res3 ;
35835 PyObject * obj0 = 0 ;
35836 PyObject * obj1 = 0 ;
35837 PyObject * obj2 = 0 ;
35838 char * kwnames[] = {
35839 (char *) "self",(char *) "item",(char *) "cookie", NULL
35840 };
35841
35842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35844 if (!SWIG_IsOK(res1)) {
35845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35846 }
35847 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35848 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35849 if (!SWIG_IsOK(res2)) {
35850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35851 }
35852 if (!argp2) {
35853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35854 }
35855 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35856 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35857 if (!SWIG_IsOK(res3)) {
35858 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35859 }
35860 {
35861 PyThreadState* __tstate = wxPyBeginAllowThreads();
35862 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35863 wxPyEndAllowThreads(__tstate);
35864 if (PyErr_Occurred()) SWIG_fail;
35865 }
35866 resultobj = result;
35867 return resultobj;
35868fail:
35869 return NULL;
35870}
35871
35872
35873SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35874 PyObject *resultobj = 0;
35875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35876 wxTreeItemId *arg2 = 0 ;
35877 wxTreeItemId result;
35878 void *argp1 = 0 ;
35879 int res1 = 0 ;
35880 void *argp2 = 0 ;
35881 int res2 = 0 ;
35882 PyObject * obj0 = 0 ;
35883 PyObject * obj1 = 0 ;
35884 char * kwnames[] = {
35885 (char *) "self",(char *) "item", NULL
35886 };
35887
35888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35890 if (!SWIG_IsOK(res1)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35892 }
35893 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35894 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35895 if (!SWIG_IsOK(res2)) {
35896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35897 }
35898 if (!argp2) {
35899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35900 }
35901 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35902 {
35903 PyThreadState* __tstate = wxPyBeginAllowThreads();
35904 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35905 wxPyEndAllowThreads(__tstate);
35906 if (PyErr_Occurred()) SWIG_fail;
35907 }
35908 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35909 return resultobj;
35910fail:
35911 return NULL;
35912}
35913
35914
35915SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35916 PyObject *resultobj = 0;
35917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35918 wxTreeItemId *arg2 = 0 ;
35919 wxTreeItemId result;
35920 void *argp1 = 0 ;
35921 int res1 = 0 ;
35922 void *argp2 = 0 ;
35923 int res2 = 0 ;
35924 PyObject * obj0 = 0 ;
35925 PyObject * obj1 = 0 ;
35926 char * kwnames[] = {
35927 (char *) "self",(char *) "item", NULL
35928 };
35929
35930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35932 if (!SWIG_IsOK(res1)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35934 }
35935 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35937 if (!SWIG_IsOK(res2)) {
35938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35939 }
35940 if (!argp2) {
35941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 }
35943 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35944 {
35945 PyThreadState* __tstate = wxPyBeginAllowThreads();
35946 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35947 wxPyEndAllowThreads(__tstate);
35948 if (PyErr_Occurred()) SWIG_fail;
35949 }
35950 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35951 return resultobj;
35952fail:
35953 return NULL;
35954}
35955
35956
35957SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35958 PyObject *resultobj = 0;
35959 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35960 wxTreeItemId *arg2 = 0 ;
35961 wxTreeItemId result;
35962 void *argp1 = 0 ;
35963 int res1 = 0 ;
35964 void *argp2 = 0 ;
35965 int res2 = 0 ;
35966 PyObject * obj0 = 0 ;
35967 PyObject * obj1 = 0 ;
35968 char * kwnames[] = {
35969 (char *) "self",(char *) "item", NULL
35970 };
35971
35972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35974 if (!SWIG_IsOK(res1)) {
35975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35976 }
35977 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35978 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35979 if (!SWIG_IsOK(res2)) {
35980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35981 }
35982 if (!argp2) {
35983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35984 }
35985 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35986 {
35987 PyThreadState* __tstate = wxPyBeginAllowThreads();
35988 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35989 wxPyEndAllowThreads(__tstate);
35990 if (PyErr_Occurred()) SWIG_fail;
35991 }
35992 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35993 return resultobj;
35994fail:
35995 return NULL;
d55e5bfc
RD
35996}
35997
35998
554f62e9
RD
35999SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36000 PyObject *resultobj = 0;
36001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36002 wxTreeItemId result;
36003 void *argp1 = 0 ;
36004 int res1 = 0 ;
36005 PyObject *swig_obj[1] ;
36006
36007 if (!args) SWIG_fail;
36008 swig_obj[0] = args;
36009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36010 if (!SWIG_IsOK(res1)) {
36011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36012 }
36013 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36014 {
36015 PyThreadState* __tstate = wxPyBeginAllowThreads();
36016 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36017 wxPyEndAllowThreads(__tstate);
36018 if (PyErr_Occurred()) SWIG_fail;
36019 }
36020 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36021 return resultobj;
36022fail:
36023 return NULL;
36024}
36025
36026
36027SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36028 PyObject *resultobj = 0;
36029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36030 wxTreeItemId *arg2 = 0 ;
36031 wxTreeItemId result;
36032 void *argp1 = 0 ;
36033 int res1 = 0 ;
36034 void *argp2 = 0 ;
36035 int res2 = 0 ;
36036 PyObject * obj0 = 0 ;
36037 PyObject * obj1 = 0 ;
36038 char * kwnames[] = {
36039 (char *) "self",(char *) "item", NULL
36040 };
36041
36042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36044 if (!SWIG_IsOK(res1)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36046 }
36047 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36048 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36049 if (!SWIG_IsOK(res2)) {
36050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36051 }
36052 if (!argp2) {
36053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36054 }
36055 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36056 {
36057 PyThreadState* __tstate = wxPyBeginAllowThreads();
36058 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36059 wxPyEndAllowThreads(__tstate);
36060 if (PyErr_Occurred()) SWIG_fail;
36061 }
36062 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36063 return resultobj;
36064fail:
36065 return NULL;
36066}
36067
36068
36069SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36070 PyObject *resultobj = 0;
36071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36072 wxTreeItemId *arg2 = 0 ;
36073 wxTreeItemId result;
36074 void *argp1 = 0 ;
36075 int res1 = 0 ;
36076 void *argp2 = 0 ;
36077 int res2 = 0 ;
36078 PyObject * obj0 = 0 ;
36079 PyObject * obj1 = 0 ;
36080 char * kwnames[] = {
36081 (char *) "self",(char *) "item", NULL
36082 };
36083
36084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36086 if (!SWIG_IsOK(res1)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36088 }
36089 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36090 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36091 if (!SWIG_IsOK(res2)) {
36092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36093 }
36094 if (!argp2) {
36095 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36096 }
36097 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36098 {
36099 PyThreadState* __tstate = wxPyBeginAllowThreads();
36100 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36101 wxPyEndAllowThreads(__tstate);
36102 if (PyErr_Occurred()) SWIG_fail;
36103 }
36104 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36105 return resultobj;
36106fail:
36107 return NULL;
36108}
36109
36110
36111SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36112 PyObject *resultobj = 0;
36113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36114 wxString *arg2 = 0 ;
36115 int arg3 = (int) -1 ;
36116 int arg4 = (int) -1 ;
36117 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36118 wxTreeItemId result;
36119 void *argp1 = 0 ;
36120 int res1 = 0 ;
36121 bool temp2 = false ;
36122 int val3 ;
36123 int ecode3 = 0 ;
36124 int val4 ;
36125 int ecode4 = 0 ;
36126 int res5 = 0 ;
36127 PyObject * obj0 = 0 ;
36128 PyObject * obj1 = 0 ;
36129 PyObject * obj2 = 0 ;
36130 PyObject * obj3 = 0 ;
36131 PyObject * obj4 = 0 ;
36132 char * kwnames[] = {
36133 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36134 };
36135
36136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36138 if (!SWIG_IsOK(res1)) {
36139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36140 }
36141 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36142 {
36143 arg2 = wxString_in_helper(obj1);
36144 if (arg2 == NULL) SWIG_fail;
36145 temp2 = true;
36146 }
36147 if (obj2) {
36148 ecode3 = SWIG_AsVal_int(obj2, &val3);
36149 if (!SWIG_IsOK(ecode3)) {
36150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36151 }
36152 arg3 = static_cast< int >(val3);
36153 }
36154 if (obj3) {
36155 ecode4 = SWIG_AsVal_int(obj3, &val4);
36156 if (!SWIG_IsOK(ecode4)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36158 }
36159 arg4 = static_cast< int >(val4);
36160 }
36161 if (obj4) {
36162 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36163 if (!SWIG_IsOK(res5)) {
36164 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36165 }
554f62e9
RD
36166 }
36167 {
36168 PyThreadState* __tstate = wxPyBeginAllowThreads();
36169 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36170 wxPyEndAllowThreads(__tstate);
36171 if (PyErr_Occurred()) SWIG_fail;
36172 }
36173 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36174 {
36175 if (temp2)
36176 delete arg2;
36177 }
36178 return resultobj;
36179fail:
36180 {
36181 if (temp2)
36182 delete arg2;
36183 }
36184 return NULL;
36185}
36186
36187
36188SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36189 PyObject *resultobj = 0;
36190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36191 wxTreeItemId *arg2 = 0 ;
36192 wxString *arg3 = 0 ;
36193 int arg4 = (int) -1 ;
36194 int arg5 = (int) -1 ;
36195 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36196 wxTreeItemId result;
36197 void *argp1 = 0 ;
36198 int res1 = 0 ;
36199 void *argp2 = 0 ;
36200 int res2 = 0 ;
36201 bool temp3 = false ;
36202 int val4 ;
36203 int ecode4 = 0 ;
36204 int val5 ;
36205 int ecode5 = 0 ;
36206 int res6 = 0 ;
36207 PyObject * obj0 = 0 ;
36208 PyObject * obj1 = 0 ;
36209 PyObject * obj2 = 0 ;
36210 PyObject * obj3 = 0 ;
36211 PyObject * obj4 = 0 ;
36212 PyObject * obj5 = 0 ;
36213 char * kwnames[] = {
36214 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36215 };
36216
36217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36219 if (!SWIG_IsOK(res1)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36221 }
36222 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36223 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36224 if (!SWIG_IsOK(res2)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36226 }
36227 if (!argp2) {
36228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 }
36230 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36231 {
36232 arg3 = wxString_in_helper(obj2);
36233 if (arg3 == NULL) SWIG_fail;
36234 temp3 = true;
36235 }
36236 if (obj3) {
36237 ecode4 = SWIG_AsVal_int(obj3, &val4);
36238 if (!SWIG_IsOK(ecode4)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36240 }
36241 arg4 = static_cast< int >(val4);
36242 }
36243 if (obj4) {
36244 ecode5 = SWIG_AsVal_int(obj4, &val5);
36245 if (!SWIG_IsOK(ecode5)) {
36246 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36247 }
36248 arg5 = static_cast< int >(val5);
36249 }
36250 if (obj5) {
36251 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36252 if (!SWIG_IsOK(res6)) {
36253 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36254 }
554f62e9
RD
36255 }
36256 {
36257 PyThreadState* __tstate = wxPyBeginAllowThreads();
36258 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36259 wxPyEndAllowThreads(__tstate);
36260 if (PyErr_Occurred()) SWIG_fail;
36261 }
36262 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36263 {
36264 if (temp3)
36265 delete arg3;
36266 }
36267 return resultobj;
36268fail:
36269 {
36270 if (temp3)
36271 delete arg3;
36272 }
36273 return NULL;
36274}
36275
36276
36277SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36278 PyObject *resultobj = 0;
36279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36280 wxTreeItemId *arg2 = 0 ;
36281 wxTreeItemId *arg3 = 0 ;
36282 wxString *arg4 = 0 ;
36283 int arg5 = (int) -1 ;
36284 int arg6 = (int) -1 ;
36285 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36286 wxTreeItemId result;
36287 void *argp1 = 0 ;
36288 int res1 = 0 ;
36289 void *argp2 = 0 ;
36290 int res2 = 0 ;
36291 void *argp3 = 0 ;
36292 int res3 = 0 ;
36293 bool temp4 = false ;
36294 int val5 ;
36295 int ecode5 = 0 ;
36296 int val6 ;
36297 int ecode6 = 0 ;
36298 int res7 = 0 ;
36299 PyObject * obj0 = 0 ;
36300 PyObject * obj1 = 0 ;
36301 PyObject * obj2 = 0 ;
36302 PyObject * obj3 = 0 ;
36303 PyObject * obj4 = 0 ;
36304 PyObject * obj5 = 0 ;
36305 PyObject * obj6 = 0 ;
36306 char * kwnames[] = {
36307 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36308 };
36309
36310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36312 if (!SWIG_IsOK(res1)) {
36313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36314 }
36315 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36317 if (!SWIG_IsOK(res2)) {
36318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36319 }
36320 if (!argp2) {
36321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36322 }
36323 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36324 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36325 if (!SWIG_IsOK(res3)) {
36326 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36327 }
36328 if (!argp3) {
36329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36330 }
36331 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36332 {
36333 arg4 = wxString_in_helper(obj3);
36334 if (arg4 == NULL) SWIG_fail;
36335 temp4 = true;
36336 }
36337 if (obj4) {
36338 ecode5 = SWIG_AsVal_int(obj4, &val5);
36339 if (!SWIG_IsOK(ecode5)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36341 }
36342 arg5 = static_cast< int >(val5);
36343 }
36344 if (obj5) {
36345 ecode6 = SWIG_AsVal_int(obj5, &val6);
36346 if (!SWIG_IsOK(ecode6)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36348 }
36349 arg6 = static_cast< int >(val6);
36350 }
36351 if (obj6) {
36352 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36353 if (!SWIG_IsOK(res7)) {
36354 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36355 }
554f62e9
RD
36356 }
36357 {
36358 PyThreadState* __tstate = wxPyBeginAllowThreads();
36359 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36360 wxPyEndAllowThreads(__tstate);
36361 if (PyErr_Occurred()) SWIG_fail;
36362 }
36363 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36364 {
36365 if (temp4)
36366 delete arg4;
36367 }
36368 return resultobj;
36369fail:
36370 {
36371 if (temp4)
36372 delete arg4;
36373 }
36374 return NULL;
36375}
36376
36377
36378SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36379 PyObject *resultobj = 0;
36380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36381 wxTreeItemId *arg2 = 0 ;
36382 size_t arg3 ;
36383 wxString *arg4 = 0 ;
36384 int arg5 = (int) -1 ;
36385 int arg6 = (int) -1 ;
36386 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36387 wxTreeItemId result;
36388 void *argp1 = 0 ;
36389 int res1 = 0 ;
36390 void *argp2 = 0 ;
36391 int res2 = 0 ;
36392 size_t val3 ;
36393 int ecode3 = 0 ;
36394 bool temp4 = false ;
36395 int val5 ;
36396 int ecode5 = 0 ;
36397 int val6 ;
36398 int ecode6 = 0 ;
36399 int res7 = 0 ;
36400 PyObject * obj0 = 0 ;
36401 PyObject * obj1 = 0 ;
36402 PyObject * obj2 = 0 ;
36403 PyObject * obj3 = 0 ;
36404 PyObject * obj4 = 0 ;
36405 PyObject * obj5 = 0 ;
36406 PyObject * obj6 = 0 ;
36407 char * kwnames[] = {
36408 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36409 };
36410
36411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36413 if (!SWIG_IsOK(res1)) {
36414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36415 }
36416 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36417 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36418 if (!SWIG_IsOK(res2)) {
36419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36420 }
36421 if (!argp2) {
36422 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36423 }
36424 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36425 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36426 if (!SWIG_IsOK(ecode3)) {
36427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36428 }
36429 arg3 = static_cast< size_t >(val3);
36430 {
36431 arg4 = wxString_in_helper(obj3);
36432 if (arg4 == NULL) SWIG_fail;
36433 temp4 = true;
36434 }
36435 if (obj4) {
36436 ecode5 = SWIG_AsVal_int(obj4, &val5);
36437 if (!SWIG_IsOK(ecode5)) {
36438 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36439 }
36440 arg5 = static_cast< int >(val5);
36441 }
36442 if (obj5) {
36443 ecode6 = SWIG_AsVal_int(obj5, &val6);
36444 if (!SWIG_IsOK(ecode6)) {
36445 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36446 }
36447 arg6 = static_cast< int >(val6);
36448 }
36449 if (obj6) {
36450 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36451 if (!SWIG_IsOK(res7)) {
36452 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36453 }
554f62e9
RD
36454 }
36455 {
36456 PyThreadState* __tstate = wxPyBeginAllowThreads();
36457 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36458 wxPyEndAllowThreads(__tstate);
36459 if (PyErr_Occurred()) SWIG_fail;
36460 }
36461 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36462 {
36463 if (temp4)
36464 delete arg4;
36465 }
36466 return resultobj;
36467fail:
36468 {
36469 if (temp4)
36470 delete arg4;
36471 }
36472 return NULL;
36473}
36474
36475
36476SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36477 PyObject *resultobj = 0;
36478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36479 wxTreeItemId *arg2 = 0 ;
36480 wxString *arg3 = 0 ;
36481 int arg4 = (int) -1 ;
36482 int arg5 = (int) -1 ;
36483 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36484 wxTreeItemId result;
36485 void *argp1 = 0 ;
36486 int res1 = 0 ;
36487 void *argp2 = 0 ;
36488 int res2 = 0 ;
36489 bool temp3 = false ;
36490 int val4 ;
36491 int ecode4 = 0 ;
36492 int val5 ;
36493 int ecode5 = 0 ;
36494 int res6 = 0 ;
36495 PyObject * obj0 = 0 ;
36496 PyObject * obj1 = 0 ;
36497 PyObject * obj2 = 0 ;
36498 PyObject * obj3 = 0 ;
36499 PyObject * obj4 = 0 ;
36500 PyObject * obj5 = 0 ;
36501 char * kwnames[] = {
36502 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36503 };
36504
36505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36507 if (!SWIG_IsOK(res1)) {
36508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36509 }
36510 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36511 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36512 if (!SWIG_IsOK(res2)) {
36513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36514 }
36515 if (!argp2) {
36516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36517 }
36518 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36519 {
36520 arg3 = wxString_in_helper(obj2);
36521 if (arg3 == NULL) SWIG_fail;
36522 temp3 = true;
36523 }
36524 if (obj3) {
36525 ecode4 = SWIG_AsVal_int(obj3, &val4);
36526 if (!SWIG_IsOK(ecode4)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36528 }
36529 arg4 = static_cast< int >(val4);
36530 }
36531 if (obj4) {
36532 ecode5 = SWIG_AsVal_int(obj4, &val5);
36533 if (!SWIG_IsOK(ecode5)) {
36534 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36535 }
36536 arg5 = static_cast< int >(val5);
36537 }
36538 if (obj5) {
36539 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36540 if (!SWIG_IsOK(res6)) {
36541 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36542 }
554f62e9
RD
36543 }
36544 {
36545 PyThreadState* __tstate = wxPyBeginAllowThreads();
36546 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36547 wxPyEndAllowThreads(__tstate);
36548 if (PyErr_Occurred()) SWIG_fail;
36549 }
36550 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36551 {
36552 if (temp3)
36553 delete arg3;
36554 }
36555 return resultobj;
36556fail:
36557 {
36558 if (temp3)
36559 delete arg3;
36560 }
36561 return NULL;
36562}
36563
36564
36565SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36566 PyObject *resultobj = 0;
36567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36568 wxTreeItemId *arg2 = 0 ;
36569 void *argp1 = 0 ;
36570 int res1 = 0 ;
36571 void *argp2 = 0 ;
36572 int res2 = 0 ;
36573 PyObject * obj0 = 0 ;
36574 PyObject * obj1 = 0 ;
36575 char * kwnames[] = {
36576 (char *) "self",(char *) "item", NULL
36577 };
36578
36579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36581 if (!SWIG_IsOK(res1)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36583 }
36584 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36585 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36586 if (!SWIG_IsOK(res2)) {
36587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36588 }
36589 if (!argp2) {
36590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36591 }
36592 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36593 {
36594 PyThreadState* __tstate = wxPyBeginAllowThreads();
36595 (arg1)->Delete((wxTreeItemId const &)*arg2);
36596 wxPyEndAllowThreads(__tstate);
36597 if (PyErr_Occurred()) SWIG_fail;
36598 }
36599 resultobj = SWIG_Py_Void();
36600 return resultobj;
36601fail:
36602 return NULL;
36603}
36604
36605
36606SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36607 PyObject *resultobj = 0;
36608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36609 wxTreeItemId *arg2 = 0 ;
36610 void *argp1 = 0 ;
36611 int res1 = 0 ;
36612 void *argp2 = 0 ;
36613 int res2 = 0 ;
36614 PyObject * obj0 = 0 ;
36615 PyObject * obj1 = 0 ;
36616 char * kwnames[] = {
36617 (char *) "self",(char *) "item", NULL
36618 };
36619
36620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36622 if (!SWIG_IsOK(res1)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36624 }
36625 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36627 if (!SWIG_IsOK(res2)) {
36628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36629 }
36630 if (!argp2) {
36631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36632 }
36633 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36634 {
36635 PyThreadState* __tstate = wxPyBeginAllowThreads();
36636 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36637 wxPyEndAllowThreads(__tstate);
36638 if (PyErr_Occurred()) SWIG_fail;
36639 }
36640 resultobj = SWIG_Py_Void();
36641 return resultobj;
36642fail:
36643 return NULL;
d55e5bfc
RD
36644}
36645
36646
554f62e9
RD
36647SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36648 PyObject *resultobj = 0;
36649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36650 void *argp1 = 0 ;
36651 int res1 = 0 ;
36652 PyObject *swig_obj[1] ;
36653
36654 if (!args) SWIG_fail;
36655 swig_obj[0] = args;
36656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36657 if (!SWIG_IsOK(res1)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36659 }
36660 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36661 {
36662 PyThreadState* __tstate = wxPyBeginAllowThreads();
36663 (arg1)->DeleteAllItems();
36664 wxPyEndAllowThreads(__tstate);
36665 if (PyErr_Occurred()) SWIG_fail;
36666 }
36667 resultobj = SWIG_Py_Void();
36668 return resultobj;
36669fail:
36670 return NULL;
36671}
36672
36673
36674SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36675 PyObject *resultobj = 0;
36676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36677 wxTreeItemId *arg2 = 0 ;
36678 void *argp1 = 0 ;
36679 int res1 = 0 ;
36680 void *argp2 = 0 ;
36681 int res2 = 0 ;
36682 PyObject * obj0 = 0 ;
36683 PyObject * obj1 = 0 ;
36684 char * kwnames[] = {
36685 (char *) "self",(char *) "item", NULL
36686 };
36687
36688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36690 if (!SWIG_IsOK(res1)) {
36691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36692 }
36693 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36694 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36695 if (!SWIG_IsOK(res2)) {
36696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36697 }
36698 if (!argp2) {
36699 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36700 }
36701 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36702 {
36703 PyThreadState* __tstate = wxPyBeginAllowThreads();
36704 (arg1)->Expand((wxTreeItemId const &)*arg2);
36705 wxPyEndAllowThreads(__tstate);
36706 if (PyErr_Occurred()) SWIG_fail;
36707 }
36708 resultobj = SWIG_Py_Void();
36709 return resultobj;
36710fail:
36711 return NULL;
36712}
36713
36714
453fb36b
RD
36715SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36716 PyObject *resultobj = 0;
36717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36718 wxTreeItemId *arg2 = 0 ;
36719 void *argp1 = 0 ;
36720 int res1 = 0 ;
36721 void *argp2 = 0 ;
36722 int res2 = 0 ;
36723 PyObject * obj0 = 0 ;
36724 PyObject * obj1 = 0 ;
36725 char * kwnames[] = {
36726 (char *) "self",(char *) "item", NULL
36727 };
36728
36729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36731 if (!SWIG_IsOK(res1)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36733 }
36734 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36735 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36736 if (!SWIG_IsOK(res2)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36738 }
36739 if (!argp2) {
36740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 }
36742 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36743 {
36744 PyThreadState* __tstate = wxPyBeginAllowThreads();
36745 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36746 wxPyEndAllowThreads(__tstate);
36747 if (PyErr_Occurred()) SWIG_fail;
36748 }
36749 resultobj = SWIG_Py_Void();
36750 return resultobj;
36751fail:
36752 return NULL;
36753}
36754
36755
36756SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36757 PyObject *resultobj = 0;
36758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36759 void *argp1 = 0 ;
36760 int res1 = 0 ;
36761 PyObject *swig_obj[1] ;
36762
36763 if (!args) SWIG_fail;
36764 swig_obj[0] = args;
36765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36766 if (!SWIG_IsOK(res1)) {
36767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36768 }
36769 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36770 {
36771 PyThreadState* __tstate = wxPyBeginAllowThreads();
36772 (arg1)->ExpandAll();
36773 wxPyEndAllowThreads(__tstate);
36774 if (PyErr_Occurred()) SWIG_fail;
36775 }
36776 resultobj = SWIG_Py_Void();
36777 return resultobj;
36778fail:
36779 return NULL;
36780}
36781
36782
554f62e9
RD
36783SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36784 PyObject *resultobj = 0;
36785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36786 wxTreeItemId *arg2 = 0 ;
36787 void *argp1 = 0 ;
36788 int res1 = 0 ;
36789 void *argp2 = 0 ;
36790 int res2 = 0 ;
36791 PyObject * obj0 = 0 ;
36792 PyObject * obj1 = 0 ;
36793 char * kwnames[] = {
36794 (char *) "self",(char *) "item", NULL
36795 };
36796
36797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36799 if (!SWIG_IsOK(res1)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36801 }
36802 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36803 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36804 if (!SWIG_IsOK(res2)) {
36805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36806 }
36807 if (!argp2) {
36808 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36809 }
36810 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36811 {
36812 PyThreadState* __tstate = wxPyBeginAllowThreads();
36813 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36814 wxPyEndAllowThreads(__tstate);
36815 if (PyErr_Occurred()) SWIG_fail;
36816 }
36817 resultobj = SWIG_Py_Void();
36818 return resultobj;
36819fail:
36820 return NULL;
36821}
36822
36823
36824SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36825 PyObject *resultobj = 0;
36826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36827 wxTreeItemId *arg2 = 0 ;
36828 void *argp1 = 0 ;
36829 int res1 = 0 ;
36830 void *argp2 = 0 ;
36831 int res2 = 0 ;
36832 PyObject * obj0 = 0 ;
36833 PyObject * obj1 = 0 ;
36834 char * kwnames[] = {
36835 (char *) "self",(char *) "item", NULL
36836 };
36837
36838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36840 if (!SWIG_IsOK(res1)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36842 }
36843 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36844 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36845 if (!SWIG_IsOK(res2)) {
36846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36847 }
36848 if (!argp2) {
36849 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36850 }
36851 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36852 {
36853 PyThreadState* __tstate = wxPyBeginAllowThreads();
36854 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36855 wxPyEndAllowThreads(__tstate);
36856 if (PyErr_Occurred()) SWIG_fail;
36857 }
36858 resultobj = SWIG_Py_Void();
36859 return resultobj;
36860fail:
36861 return NULL;
36862}
36863
36864
36865SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36866 PyObject *resultobj = 0;
36867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36868 wxTreeItemId *arg2 = 0 ;
36869 void *argp1 = 0 ;
36870 int res1 = 0 ;
36871 void *argp2 = 0 ;
36872 int res2 = 0 ;
36873 PyObject * obj0 = 0 ;
36874 PyObject * obj1 = 0 ;
36875 char * kwnames[] = {
36876 (char *) "self",(char *) "item", NULL
36877 };
36878
36879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36881 if (!SWIG_IsOK(res1)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36883 }
36884 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36885 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36886 if (!SWIG_IsOK(res2)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36888 }
36889 if (!argp2) {
36890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 }
36892 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36893 {
36894 PyThreadState* __tstate = wxPyBeginAllowThreads();
36895 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36896 wxPyEndAllowThreads(__tstate);
36897 if (PyErr_Occurred()) SWIG_fail;
36898 }
36899 resultobj = SWIG_Py_Void();
36900 return resultobj;
36901fail:
36902 return NULL;
d55e5bfc
RD
36903}
36904
36905
554f62e9
RD
36906SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36907 PyObject *resultobj = 0;
36908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36909 void *argp1 = 0 ;
36910 int res1 = 0 ;
36911 PyObject *swig_obj[1] ;
36912
36913 if (!args) SWIG_fail;
36914 swig_obj[0] = args;
36915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36916 if (!SWIG_IsOK(res1)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36918 }
36919 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36920 {
36921 PyThreadState* __tstate = wxPyBeginAllowThreads();
36922 (arg1)->Unselect();
36923 wxPyEndAllowThreads(__tstate);
36924 if (PyErr_Occurred()) SWIG_fail;
36925 }
36926 resultobj = SWIG_Py_Void();
36927 return resultobj;
36928fail:
36929 return NULL;
36930}
36931
36932
36933SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36934 PyObject *resultobj = 0;
36935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36936 wxTreeItemId *arg2 = 0 ;
36937 void *argp1 = 0 ;
36938 int res1 = 0 ;
36939 void *argp2 = 0 ;
36940 int res2 = 0 ;
36941 PyObject * obj0 = 0 ;
36942 PyObject * obj1 = 0 ;
36943 char * kwnames[] = {
36944 (char *) "self",(char *) "item", NULL
36945 };
36946
36947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36949 if (!SWIG_IsOK(res1)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36951 }
36952 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36953 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36954 if (!SWIG_IsOK(res2)) {
36955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36956 }
36957 if (!argp2) {
36958 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36959 }
36960 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36961 {
36962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36963 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36964 wxPyEndAllowThreads(__tstate);
36965 if (PyErr_Occurred()) SWIG_fail;
36966 }
36967 resultobj = SWIG_Py_Void();
36968 return resultobj;
36969fail:
36970 return NULL;
d55e5bfc
RD
36971}
36972
36973
554f62e9
RD
36974SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36975 PyObject *resultobj = 0;
36976 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36977 void *argp1 = 0 ;
36978 int res1 = 0 ;
36979 PyObject *swig_obj[1] ;
36980
36981 if (!args) SWIG_fail;
36982 swig_obj[0] = args;
36983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36984 if (!SWIG_IsOK(res1)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36986 }
36987 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36988 {
36989 PyThreadState* __tstate = wxPyBeginAllowThreads();
36990 (arg1)->UnselectAll();
36991 wxPyEndAllowThreads(__tstate);
36992 if (PyErr_Occurred()) SWIG_fail;
36993 }
36994 resultobj = SWIG_Py_Void();
36995 return resultobj;
36996fail:
36997 return NULL;
36998}
36999
37000
37001SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37002 PyObject *resultobj = 0;
37003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37004 wxTreeItemId *arg2 = 0 ;
37005 bool arg3 = (bool) true ;
37006 void *argp1 = 0 ;
37007 int res1 = 0 ;
37008 void *argp2 = 0 ;
37009 int res2 = 0 ;
37010 bool val3 ;
37011 int ecode3 = 0 ;
37012 PyObject * obj0 = 0 ;
37013 PyObject * obj1 = 0 ;
37014 PyObject * obj2 = 0 ;
37015 char * kwnames[] = {
37016 (char *) "self",(char *) "item",(char *) "select", NULL
37017 };
37018
37019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37021 if (!SWIG_IsOK(res1)) {
37022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37023 }
37024 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37026 if (!SWIG_IsOK(res2)) {
37027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37028 }
37029 if (!argp2) {
37030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37031 }
37032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37033 if (obj2) {
37034 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37035 if (!SWIG_IsOK(ecode3)) {
37036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37037 }
37038 arg3 = static_cast< bool >(val3);
37039 }
37040 {
37041 PyThreadState* __tstate = wxPyBeginAllowThreads();
37042 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37043 wxPyEndAllowThreads(__tstate);
37044 if (PyErr_Occurred()) SWIG_fail;
37045 }
37046 resultobj = SWIG_Py_Void();
37047 return resultobj;
37048fail:
37049 return NULL;
37050}
37051
37052
37053SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37054 PyObject *resultobj = 0;
37055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37056 wxTreeItemId *arg2 = 0 ;
37057 void *argp1 = 0 ;
37058 int res1 = 0 ;
37059 void *argp2 = 0 ;
37060 int res2 = 0 ;
37061 PyObject * obj0 = 0 ;
37062 PyObject * obj1 = 0 ;
37063 char * kwnames[] = {
37064 (char *) "self",(char *) "item", NULL
37065 };
37066
37067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37069 if (!SWIG_IsOK(res1)) {
37070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37071 }
37072 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37073 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37074 if (!SWIG_IsOK(res2)) {
37075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37076 }
37077 if (!argp2) {
37078 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37079 }
37080 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37081 {
37082 PyThreadState* __tstate = wxPyBeginAllowThreads();
37083 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37084 wxPyEndAllowThreads(__tstate);
37085 if (PyErr_Occurred()) SWIG_fail;
37086 }
37087 resultobj = SWIG_Py_Void();
37088 return resultobj;
37089fail:
37090 return NULL;
37091}
37092
37093
37094SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37095 PyObject *resultobj = 0;
37096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37097 wxTreeItemId *arg2 = 0 ;
37098 void *argp1 = 0 ;
37099 int res1 = 0 ;
37100 void *argp2 = 0 ;
37101 int res2 = 0 ;
37102 PyObject * obj0 = 0 ;
37103 PyObject * obj1 = 0 ;
37104 char * kwnames[] = {
37105 (char *) "self",(char *) "item", NULL
37106 };
37107
37108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37110 if (!SWIG_IsOK(res1)) {
37111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37112 }
37113 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37114 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37115 if (!SWIG_IsOK(res2)) {
37116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37117 }
37118 if (!argp2) {
37119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 }
37121 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37122 {
37123 PyThreadState* __tstate = wxPyBeginAllowThreads();
37124 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37125 wxPyEndAllowThreads(__tstate);
37126 if (PyErr_Occurred()) SWIG_fail;
37127 }
37128 resultobj = SWIG_Py_Void();
37129 return resultobj;
37130fail:
37131 return NULL;
37132}
37133
37134
37135SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37136 PyObject *resultobj = 0;
37137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37138 wxTreeItemId *arg2 = 0 ;
37139 void *argp1 = 0 ;
37140 int res1 = 0 ;
37141 void *argp2 = 0 ;
37142 int res2 = 0 ;
37143 PyObject * obj0 = 0 ;
37144 PyObject * obj1 = 0 ;
37145 char * kwnames[] = {
37146 (char *) "self",(char *) "item", NULL
37147 };
37148
37149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37151 if (!SWIG_IsOK(res1)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37153 }
37154 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37155 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37156 if (!SWIG_IsOK(res2)) {
37157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37158 }
37159 if (!argp2) {
37160 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37161 }
37162 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37163 {
37164 PyThreadState* __tstate = wxPyBeginAllowThreads();
37165 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37166 wxPyEndAllowThreads(__tstate);
37167 if (PyErr_Occurred()) SWIG_fail;
37168 }
37169 resultobj = SWIG_Py_Void();
37170 return resultobj;
37171fail:
37172 return NULL;
37173}
37174
37175
37176SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37177 PyObject *resultobj = 0;
37178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37179 wxTreeItemId *arg2 = 0 ;
37180 void *argp1 = 0 ;
37181 int res1 = 0 ;
37182 void *argp2 = 0 ;
37183 int res2 = 0 ;
37184 PyObject * obj0 = 0 ;
37185 PyObject * obj1 = 0 ;
37186 char * kwnames[] = {
37187 (char *) "self",(char *) "item", NULL
37188 };
37189
37190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37192 if (!SWIG_IsOK(res1)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37194 }
37195 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37196 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37197 if (!SWIG_IsOK(res2)) {
37198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37199 }
37200 if (!argp2) {
37201 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37202 }
37203 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37204 {
37205 PyThreadState* __tstate = wxPyBeginAllowThreads();
37206 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37207 wxPyEndAllowThreads(__tstate);
37208 if (PyErr_Occurred()) SWIG_fail;
37209 }
37210 resultobj = SWIG_Py_Void();
37211 return resultobj;
37212fail:
37213 return NULL;
d55e5bfc
RD
37214}
37215
37216
554f62e9
RD
37217SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37218 PyObject *resultobj = 0;
37219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37220 wxTextCtrl *result = 0 ;
37221 void *argp1 = 0 ;
37222 int res1 = 0 ;
37223 PyObject *swig_obj[1] ;
37224
37225 if (!args) SWIG_fail;
37226 swig_obj[0] = args;
37227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37228 if (!SWIG_IsOK(res1)) {
37229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37230 }
37231 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37232 {
37233 PyThreadState* __tstate = wxPyBeginAllowThreads();
37234 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37235 wxPyEndAllowThreads(__tstate);
37236 if (PyErr_Occurred()) SWIG_fail;
37237 }
37238 {
37239 resultobj = wxPyMake_wxObject(result, 0);
37240 }
37241 return resultobj;
37242fail:
37243 return NULL;
37244}
37245
37246
37247SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37248 PyObject *resultobj = 0;
37249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37250 wxTreeItemId *arg2 = 0 ;
37251 bool arg3 = (bool) false ;
37252 void *argp1 = 0 ;
37253 int res1 = 0 ;
37254 void *argp2 = 0 ;
37255 int res2 = 0 ;
37256 bool val3 ;
37257 int ecode3 = 0 ;
37258 PyObject * obj0 = 0 ;
37259 PyObject * obj1 = 0 ;
37260 PyObject * obj2 = 0 ;
37261 char * kwnames[] = {
37262 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37263 };
37264
37265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37267 if (!SWIG_IsOK(res1)) {
37268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37269 }
37270 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37271 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37272 if (!SWIG_IsOK(res2)) {
37273 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37274 }
37275 if (!argp2) {
37276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37277 }
37278 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37279 if (obj2) {
37280 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37281 if (!SWIG_IsOK(ecode3)) {
37282 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37283 }
37284 arg3 = static_cast< bool >(val3);
37285 }
37286 {
37287 PyThreadState* __tstate = wxPyBeginAllowThreads();
37288 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37289 wxPyEndAllowThreads(__tstate);
37290 if (PyErr_Occurred()) SWIG_fail;
37291 }
37292 resultobj = SWIG_Py_Void();
37293 return resultobj;
37294fail:
37295 return NULL;
37296}
37297
37298
37299SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37300 PyObject *resultobj = 0;
37301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37302 wxTreeItemId *arg2 = 0 ;
37303 void *argp1 = 0 ;
37304 int res1 = 0 ;
37305 void *argp2 = 0 ;
37306 int res2 = 0 ;
37307 PyObject * obj0 = 0 ;
37308 PyObject * obj1 = 0 ;
37309 char * kwnames[] = {
37310 (char *) "self",(char *) "item", NULL
37311 };
37312
37313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37315 if (!SWIG_IsOK(res1)) {
37316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37317 }
37318 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37320 if (!SWIG_IsOK(res2)) {
37321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37322 }
37323 if (!argp2) {
37324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37325 }
37326 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37327 {
37328 PyThreadState* __tstate = wxPyBeginAllowThreads();
37329 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37330 wxPyEndAllowThreads(__tstate);
37331 if (PyErr_Occurred()) SWIG_fail;
37332 }
37333 resultobj = SWIG_Py_Void();
37334 return resultobj;
37335fail:
37336 return NULL;
37337}
37338
37339
37340SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37341 PyObject *resultobj = 0;
37342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37343 wxPoint *arg2 = 0 ;
37344 int *arg3 = 0 ;
37345 wxTreeItemId result;
37346 void *argp1 = 0 ;
37347 int res1 = 0 ;
37348 wxPoint temp2 ;
37349 int temp3 ;
37350 int res3 = SWIG_TMPOBJ ;
37351 PyObject * obj0 = 0 ;
37352 PyObject * obj1 = 0 ;
37353 char * kwnames[] = {
37354 (char *) "self",(char *) "point", NULL
37355 };
37356
37357 arg3 = &temp3;
37358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37360 if (!SWIG_IsOK(res1)) {
37361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37362 }
37363 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37364 {
37365 arg2 = &temp2;
37366 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37367 }
37368 {
37369 PyThreadState* __tstate = wxPyBeginAllowThreads();
37370 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37371 wxPyEndAllowThreads(__tstate);
37372 if (PyErr_Occurred()) SWIG_fail;
37373 }
37374 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37375 if (SWIG_IsTmpObj(res3)) {
37376 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37377 } else {
37378 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37380 }
37381 return resultobj;
37382fail:
37383 return NULL;
37384}
37385
37386
37387SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37388 PyObject *resultobj = 0;
37389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37390 wxTreeItemId *arg2 = 0 ;
37391 bool arg3 = (bool) false ;
37392 PyObject *result = 0 ;
37393 void *argp1 = 0 ;
37394 int res1 = 0 ;
37395 void *argp2 = 0 ;
37396 int res2 = 0 ;
37397 bool val3 ;
37398 int ecode3 = 0 ;
37399 PyObject * obj0 = 0 ;
37400 PyObject * obj1 = 0 ;
37401 PyObject * obj2 = 0 ;
37402 char * kwnames[] = {
37403 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37404 };
37405
37406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37408 if (!SWIG_IsOK(res1)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37410 }
37411 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37412 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37413 if (!SWIG_IsOK(res2)) {
37414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37415 }
37416 if (!argp2) {
37417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37418 }
37419 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37420 if (obj2) {
37421 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37422 if (!SWIG_IsOK(ecode3)) {
37423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37424 }
37425 arg3 = static_cast< bool >(val3);
37426 }
37427 {
37428 PyThreadState* __tstate = wxPyBeginAllowThreads();
37429 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37430 wxPyEndAllowThreads(__tstate);
37431 if (PyErr_Occurred()) SWIG_fail;
37432 }
37433 resultobj = result;
37434 return resultobj;
37435fail:
37436 return NULL;
37437}
37438
37439
37440SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37441 PyObject *resultobj = 0;
37442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37443 wxTreeItemId *arg2 = 0 ;
37444 int arg3 ;
37445 void *argp1 = 0 ;
37446 int res1 = 0 ;
37447 void *argp2 = 0 ;
37448 int res2 = 0 ;
37449 int val3 ;
37450 int ecode3 = 0 ;
37451 PyObject * obj0 = 0 ;
37452 PyObject * obj1 = 0 ;
37453 PyObject * obj2 = 0 ;
37454 char * kwnames[] = {
37455 (char *) "self",(char *) "node",(char *) "state", NULL
37456 };
37457
37458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37460 if (!SWIG_IsOK(res1)) {
37461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37462 }
37463 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37464 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37465 if (!SWIG_IsOK(res2)) {
37466 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37467 }
37468 if (!argp2) {
37469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37470 }
37471 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37472 ecode3 = SWIG_AsVal_int(obj2, &val3);
37473 if (!SWIG_IsOK(ecode3)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37475 }
37476 arg3 = static_cast< int >(val3);
37477 {
37478 PyThreadState* __tstate = wxPyBeginAllowThreads();
37479 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37480 wxPyEndAllowThreads(__tstate);
37481 if (PyErr_Occurred()) SWIG_fail;
37482 }
37483 resultobj = SWIG_Py_Void();
37484 return resultobj;
37485fail:
37486 return NULL;
37487}
37488
37489
37490SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37491 PyObject *resultobj = 0;
37492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37493 wxTreeItemId *arg2 = 0 ;
37494 int result;
37495 void *argp1 = 0 ;
37496 int res1 = 0 ;
37497 void *argp2 = 0 ;
37498 int res2 = 0 ;
37499 PyObject * obj0 = 0 ;
37500 PyObject * obj1 = 0 ;
37501 char * kwnames[] = {
37502 (char *) "self",(char *) "node", NULL
37503 };
37504
37505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37507 if (!SWIG_IsOK(res1)) {
37508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37509 }
37510 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37511 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37512 if (!SWIG_IsOK(res2)) {
37513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37514 }
37515 if (!argp2) {
37516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37517 }
37518 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37519 {
37520 PyThreadState* __tstate = wxPyBeginAllowThreads();
37521 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37522 wxPyEndAllowThreads(__tstate);
37523 if (PyErr_Occurred()) SWIG_fail;
37524 }
37525 resultobj = SWIG_From_int(static_cast< int >(result));
37526 return resultobj;
37527fail:
37528 return NULL;
37529}
37530
37531
37532SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37533 PyObject *resultobj = 0;
37534 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37535 SwigValueWrapper<wxVisualAttributes > result;
37536 int val1 ;
37537 int ecode1 = 0 ;
37538 PyObject * obj0 = 0 ;
37539 char * kwnames[] = {
37540 (char *) "variant", NULL
37541 };
37542
37543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37544 if (obj0) {
37545 ecode1 = SWIG_AsVal_int(obj0, &val1);
37546 if (!SWIG_IsOK(ecode1)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37548 }
37549 arg1 = static_cast< wxWindowVariant >(val1);
37550 }
37551 {
37552 if (!wxPyCheckForApp()) SWIG_fail;
37553 PyThreadState* __tstate = wxPyBeginAllowThreads();
37554 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37555 wxPyEndAllowThreads(__tstate);
37556 if (PyErr_Occurred()) SWIG_fail;
37557 }
37558 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37559 return resultobj;
37560fail:
37561 return NULL;
d55e5bfc
RD
37562}
37563
37564
2131d850
RD
37565SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37566 PyObject *resultobj = 0;
37567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37568 bool arg2 ;
37569 void *argp1 = 0 ;
37570 int res1 = 0 ;
37571 bool val2 ;
37572 int ecode2 = 0 ;
37573 PyObject * obj0 = 0 ;
37574 PyObject * obj1 = 0 ;
37575 char * kwnames[] = {
37576 (char *) "self",(char *) "q", NULL
37577 };
37578
37579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37581 if (!SWIG_IsOK(res1)) {
37582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37583 }
37584 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37585 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37586 if (!SWIG_IsOK(ecode2)) {
37587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37588 }
37589 arg2 = static_cast< bool >(val2);
37590 {
37591 PyThreadState* __tstate = wxPyBeginAllowThreads();
37592 (arg1)->SetQuickBestSize(arg2);
37593 wxPyEndAllowThreads(__tstate);
37594 if (PyErr_Occurred()) SWIG_fail;
37595 }
37596 resultobj = SWIG_Py_Void();
37597 return resultobj;
37598fail:
37599 return NULL;
37600}
37601
37602
37603SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37604 PyObject *resultobj = 0;
37605 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37606 bool result;
37607 void *argp1 = 0 ;
37608 int res1 = 0 ;
37609 PyObject *swig_obj[1] ;
37610
37611 if (!args) SWIG_fail;
37612 swig_obj[0] = args;
37613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37614 if (!SWIG_IsOK(res1)) {
37615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37616 }
37617 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37618 {
37619 PyThreadState* __tstate = wxPyBeginAllowThreads();
37620 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37621 wxPyEndAllowThreads(__tstate);
37622 if (PyErr_Occurred()) SWIG_fail;
37623 }
37624 {
37625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37626 }
37627 return resultobj;
37628fail:
37629 return NULL;
37630}
37631
37632
554f62e9
RD
37633SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37634 PyObject *obj;
37635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37637 return SWIG_Py_Void();
d55e5bfc
RD
37638}
37639
554f62e9
RD
37640SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37641 return SWIG_Python_InitShadowInstance(args);
37642}
d55e5bfc 37643
554f62e9
RD
37644SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37645 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37646 return 1;
d55e5bfc
RD
37647}
37648
37649
554f62e9
RD
37650SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37651 PyObject *pyobj = 0;
37652
37653 {
d55e5bfc 37654#if wxUSE_UNICODE
554f62e9 37655 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37656#else
554f62e9 37657 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37658#endif
554f62e9
RD
37659 }
37660 return pyobj;
37661}
37662
37663
37664SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37665 PyObject *resultobj = 0;
37666 wxWindow *arg1 = (wxWindow *) 0 ;
37667 int arg2 = (int) (int)-1 ;
37668 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37669 wxString *arg3 = (wxString *) &arg3_defvalue ;
37670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37672 wxSize const &arg5_defvalue = wxDefaultSize ;
37673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37674 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37675 wxString const &arg7_defvalue = wxPyEmptyString ;
37676 wxString *arg7 = (wxString *) &arg7_defvalue ;
37677 int arg8 = (int) 0 ;
37678 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37679 wxString *arg9 = (wxString *) &arg9_defvalue ;
37680 wxGenericDirCtrl *result = 0 ;
37681 void *argp1 = 0 ;
37682 int res1 = 0 ;
37683 int val2 ;
37684 int ecode2 = 0 ;
37685 bool temp3 = false ;
37686 wxPoint temp4 ;
37687 wxSize temp5 ;
37688 long val6 ;
37689 int ecode6 = 0 ;
37690 bool temp7 = false ;
37691 int val8 ;
37692 int ecode8 = 0 ;
37693 bool temp9 = false ;
37694 PyObject * obj0 = 0 ;
37695 PyObject * obj1 = 0 ;
37696 PyObject * obj2 = 0 ;
37697 PyObject * obj3 = 0 ;
37698 PyObject * obj4 = 0 ;
37699 PyObject * obj5 = 0 ;
37700 PyObject * obj6 = 0 ;
37701 PyObject * obj7 = 0 ;
37702 PyObject * obj8 = 0 ;
37703 char * kwnames[] = {
37704 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37705 };
37706
37707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37709 if (!SWIG_IsOK(res1)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37711 }
37712 arg1 = reinterpret_cast< wxWindow * >(argp1);
37713 if (obj1) {
37714 ecode2 = SWIG_AsVal_int(obj1, &val2);
37715 if (!SWIG_IsOK(ecode2)) {
37716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37717 }
37718 arg2 = static_cast< int >(val2);
37719 }
37720 if (obj2) {
093d3ff1 37721 {
554f62e9
RD
37722 arg3 = wxString_in_helper(obj2);
37723 if (arg3 == NULL) SWIG_fail;
37724 temp3 = true;
093d3ff1 37725 }
554f62e9
RD
37726 }
37727 if (obj3) {
093d3ff1 37728 {
554f62e9
RD
37729 arg4 = &temp4;
37730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 37731 }
554f62e9
RD
37732 }
37733 if (obj4) {
d55e5bfc 37734 {
554f62e9
RD
37735 arg5 = &temp5;
37736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 37737 }
554f62e9
RD
37738 }
37739 if (obj5) {
37740 ecode6 = SWIG_AsVal_long(obj5, &val6);
37741 if (!SWIG_IsOK(ecode6)) {
37742 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37743 }
37744 arg6 = static_cast< long >(val6);
37745 }
37746 if (obj6) {
d55e5bfc 37747 {
554f62e9
RD
37748 arg7 = wxString_in_helper(obj6);
37749 if (arg7 == NULL) SWIG_fail;
37750 temp7 = true;
d55e5bfc 37751 }
554f62e9
RD
37752 }
37753 if (obj7) {
37754 ecode8 = SWIG_AsVal_int(obj7, &val8);
37755 if (!SWIG_IsOK(ecode8)) {
37756 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37757 }
37758 arg8 = static_cast< int >(val8);
37759 }
37760 if (obj8) {
d55e5bfc 37761 {
554f62e9
RD
37762 arg9 = wxString_in_helper(obj8);
37763 if (arg9 == NULL) SWIG_fail;
37764 temp9 = true;
d55e5bfc 37765 }
554f62e9
RD
37766 }
37767 {
37768 if (!wxPyCheckForApp()) SWIG_fail;
37769 PyThreadState* __tstate = wxPyBeginAllowThreads();
37770 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37771 wxPyEndAllowThreads(__tstate);
37772 if (PyErr_Occurred()) SWIG_fail;
37773 }
37774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37775 {
37776 if (temp3)
37777 delete arg3;
37778 }
37779 {
37780 if (temp7)
37781 delete arg7;
37782 }
37783 {
37784 if (temp9)
37785 delete arg9;
37786 }
37787 return resultobj;
37788fail:
37789 {
37790 if (temp3)
37791 delete arg3;
37792 }
37793 {
37794 if (temp7)
37795 delete arg7;
37796 }
37797 {
37798 if (temp9)
37799 delete arg9;
37800 }
37801 return NULL;
d55e5bfc
RD
37802}
37803
37804
554f62e9
RD
37805SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37806 PyObject *resultobj = 0;
37807 wxGenericDirCtrl *result = 0 ;
37808
37809 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37810 {
37811 if (!wxPyCheckForApp()) SWIG_fail;
37812 PyThreadState* __tstate = wxPyBeginAllowThreads();
37813 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37814 wxPyEndAllowThreads(__tstate);
37815 if (PyErr_Occurred()) SWIG_fail;
37816 }
37817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37818 return resultobj;
37819fail:
37820 return NULL;
37821}
37822
37823
37824SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37825 PyObject *resultobj = 0;
37826 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37827 wxWindow *arg2 = (wxWindow *) 0 ;
37828 int arg3 = (int) (int)-1 ;
37829 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37830 wxString *arg4 = (wxString *) &arg4_defvalue ;
37831 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37832 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37833 wxSize const &arg6_defvalue = wxDefaultSize ;
37834 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37835 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37836 wxString const &arg8_defvalue = wxPyEmptyString ;
37837 wxString *arg8 = (wxString *) &arg8_defvalue ;
37838 int arg9 = (int) 0 ;
37839 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37840 wxString *arg10 = (wxString *) &arg10_defvalue ;
37841 bool result;
37842 void *argp1 = 0 ;
37843 int res1 = 0 ;
37844 void *argp2 = 0 ;
37845 int res2 = 0 ;
37846 int val3 ;
37847 int ecode3 = 0 ;
37848 bool temp4 = false ;
37849 wxPoint temp5 ;
37850 wxSize temp6 ;
37851 long val7 ;
37852 int ecode7 = 0 ;
37853 bool temp8 = false ;
37854 int val9 ;
37855 int ecode9 = 0 ;
37856 bool temp10 = false ;
37857 PyObject * obj0 = 0 ;
37858 PyObject * obj1 = 0 ;
37859 PyObject * obj2 = 0 ;
37860 PyObject * obj3 = 0 ;
37861 PyObject * obj4 = 0 ;
37862 PyObject * obj5 = 0 ;
37863 PyObject * obj6 = 0 ;
37864 PyObject * obj7 = 0 ;
37865 PyObject * obj8 = 0 ;
37866 PyObject * obj9 = 0 ;
37867 char * kwnames[] = {
37868 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37869 };
37870
37871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37873 if (!SWIG_IsOK(res1)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37875 }
37876 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37878 if (!SWIG_IsOK(res2)) {
37879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37880 }
37881 arg2 = reinterpret_cast< wxWindow * >(argp2);
37882 if (obj2) {
37883 ecode3 = SWIG_AsVal_int(obj2, &val3);
37884 if (!SWIG_IsOK(ecode3)) {
37885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37886 }
37887 arg3 = static_cast< int >(val3);
37888 }
37889 if (obj3) {
d55e5bfc 37890 {
554f62e9
RD
37891 arg4 = wxString_in_helper(obj3);
37892 if (arg4 == NULL) SWIG_fail;
37893 temp4 = true;
d55e5bfc 37894 }
554f62e9
RD
37895 }
37896 if (obj4) {
093d3ff1 37897 {
554f62e9
RD
37898 arg5 = &temp5;
37899 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37900 }
554f62e9
RD
37901 }
37902 if (obj5) {
d55e5bfc 37903 {
554f62e9
RD
37904 arg6 = &temp6;
37905 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37906 }
554f62e9
RD
37907 }
37908 if (obj6) {
37909 ecode7 = SWIG_AsVal_long(obj6, &val7);
37910 if (!SWIG_IsOK(ecode7)) {
37911 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37912 }
37913 arg7 = static_cast< long >(val7);
37914 }
37915 if (obj7) {
d55e5bfc 37916 {
554f62e9
RD
37917 arg8 = wxString_in_helper(obj7);
37918 if (arg8 == NULL) SWIG_fail;
37919 temp8 = true;
d55e5bfc 37920 }
554f62e9
RD
37921 }
37922 if (obj8) {
37923 ecode9 = SWIG_AsVal_int(obj8, &val9);
37924 if (!SWIG_IsOK(ecode9)) {
37925 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37926 }
37927 arg9 = static_cast< int >(val9);
37928 }
37929 if (obj9) {
d55e5bfc 37930 {
554f62e9
RD
37931 arg10 = wxString_in_helper(obj9);
37932 if (arg10 == NULL) SWIG_fail;
37933 temp10 = true;
d55e5bfc 37934 }
554f62e9
RD
37935 }
37936 {
37937 PyThreadState* __tstate = wxPyBeginAllowThreads();
37938 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37939 wxPyEndAllowThreads(__tstate);
37940 if (PyErr_Occurred()) SWIG_fail;
37941 }
37942 {
37943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37944 }
37945 {
37946 if (temp4)
37947 delete arg4;
37948 }
37949 {
37950 if (temp8)
37951 delete arg8;
37952 }
37953 {
37954 if (temp10)
37955 delete arg10;
37956 }
37957 return resultobj;
37958fail:
37959 {
37960 if (temp4)
37961 delete arg4;
37962 }
37963 {
37964 if (temp8)
37965 delete arg8;
37966 }
37967 {
37968 if (temp10)
37969 delete arg10;
37970 }
37971 return NULL;
37972}
37973
37974
37975SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37976 PyObject *resultobj = 0;
37977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37978 wxString *arg2 = 0 ;
37979 bool result;
37980 void *argp1 = 0 ;
37981 int res1 = 0 ;
37982 bool temp2 = false ;
37983 PyObject * obj0 = 0 ;
37984 PyObject * obj1 = 0 ;
37985 char * kwnames[] = {
37986 (char *) "self",(char *) "path", NULL
37987 };
37988
37989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37991 if (!SWIG_IsOK(res1)) {
37992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37993 }
37994 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37995 {
37996 arg2 = wxString_in_helper(obj1);
37997 if (arg2 == NULL) SWIG_fail;
37998 temp2 = true;
37999 }
38000 {
38001 PyThreadState* __tstate = wxPyBeginAllowThreads();
38002 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
38003 wxPyEndAllowThreads(__tstate);
38004 if (PyErr_Occurred()) SWIG_fail;
38005 }
38006 {
38007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38008 }
38009 {
38010 if (temp2)
38011 delete arg2;
38012 }
38013 return resultobj;
38014fail:
38015 {
38016 if (temp2)
38017 delete arg2;
38018 }
38019 return NULL;
d55e5bfc
RD
38020}
38021
38022
704eda0c
RD
38023SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38024 PyObject *resultobj = 0;
38025 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38026 wxString *arg2 = 0 ;
38027 bool result;
38028 void *argp1 = 0 ;
38029 int res1 = 0 ;
38030 bool temp2 = false ;
38031 PyObject * obj0 = 0 ;
38032 PyObject * obj1 = 0 ;
38033 char * kwnames[] = {
38034 (char *) "self",(char *) "path", NULL
38035 };
38036
38037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38039 if (!SWIG_IsOK(res1)) {
38040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38041 }
38042 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38043 {
38044 arg2 = wxString_in_helper(obj1);
38045 if (arg2 == NULL) SWIG_fail;
38046 temp2 = true;
38047 }
38048 {
38049 PyThreadState* __tstate = wxPyBeginAllowThreads();
38050 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38051 wxPyEndAllowThreads(__tstate);
38052 if (PyErr_Occurred()) SWIG_fail;
38053 }
38054 {
38055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38056 }
38057 {
38058 if (temp2)
38059 delete arg2;
38060 }
38061 return resultobj;
38062fail:
38063 {
38064 if (temp2)
38065 delete arg2;
38066 }
38067 return NULL;
38068}
38069
38070
554f62e9
RD
38071SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38072 PyObject *resultobj = 0;
38073 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38074 wxString result;
38075 void *argp1 = 0 ;
38076 int res1 = 0 ;
38077 PyObject *swig_obj[1] ;
38078
38079 if (!args) SWIG_fail;
38080 swig_obj[0] = args;
38081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38082 if (!SWIG_IsOK(res1)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38084 }
38085 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38086 {
38087 PyThreadState* __tstate = wxPyBeginAllowThreads();
38088 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38089 wxPyEndAllowThreads(__tstate);
38090 if (PyErr_Occurred()) SWIG_fail;
38091 }
38092 {
38093#if wxUSE_UNICODE
38094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38095#else
38096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38097#endif
38098 }
38099 return resultobj;
38100fail:
38101 return NULL;
38102}
38103
38104
38105SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38106 PyObject *resultobj = 0;
38107 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38108 wxString *arg2 = 0 ;
38109 void *argp1 = 0 ;
38110 int res1 = 0 ;
38111 bool temp2 = false ;
38112 PyObject * obj0 = 0 ;
38113 PyObject * obj1 = 0 ;
38114 char * kwnames[] = {
38115 (char *) "self",(char *) "path", NULL
38116 };
38117
38118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38120 if (!SWIG_IsOK(res1)) {
38121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38122 }
38123 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38124 {
38125 arg2 = wxString_in_helper(obj1);
38126 if (arg2 == NULL) SWIG_fail;
38127 temp2 = true;
38128 }
38129 {
38130 PyThreadState* __tstate = wxPyBeginAllowThreads();
38131 (arg1)->SetDefaultPath((wxString const &)*arg2);
38132 wxPyEndAllowThreads(__tstate);
38133 if (PyErr_Occurred()) SWIG_fail;
38134 }
38135 resultobj = SWIG_Py_Void();
38136 {
38137 if (temp2)
38138 delete arg2;
38139 }
38140 return resultobj;
38141fail:
38142 {
38143 if (temp2)
38144 delete arg2;
38145 }
38146 return NULL;
d55e5bfc
RD
38147}
38148
38149
554f62e9
RD
38150SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38151 PyObject *resultobj = 0;
38152 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38153 wxString result;
38154 void *argp1 = 0 ;
38155 int res1 = 0 ;
38156 PyObject *swig_obj[1] ;
38157
38158 if (!args) SWIG_fail;
38159 swig_obj[0] = args;
38160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38161 if (!SWIG_IsOK(res1)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38163 }
38164 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38165 {
38166 PyThreadState* __tstate = wxPyBeginAllowThreads();
38167 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38168 wxPyEndAllowThreads(__tstate);
38169 if (PyErr_Occurred()) SWIG_fail;
38170 }
38171 {
38172#if wxUSE_UNICODE
38173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38174#else
38175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38176#endif
38177 }
38178 return resultobj;
38179fail:
38180 return NULL;
d55e5bfc
RD
38181}
38182
38183
554f62e9
RD
38184SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38185 PyObject *resultobj = 0;
38186 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38187 wxString result;
38188 void *argp1 = 0 ;
38189 int res1 = 0 ;
38190 PyObject *swig_obj[1] ;
38191
38192 if (!args) SWIG_fail;
38193 swig_obj[0] = args;
38194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38195 if (!SWIG_IsOK(res1)) {
38196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38197 }
38198 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38199 {
38200 PyThreadState* __tstate = wxPyBeginAllowThreads();
38201 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38202 wxPyEndAllowThreads(__tstate);
38203 if (PyErr_Occurred()) SWIG_fail;
38204 }
38205 {
38206#if wxUSE_UNICODE
38207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38208#else
38209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38210#endif
38211 }
38212 return resultobj;
38213fail:
38214 return NULL;
38215}
38216
38217
38218SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38219 PyObject *resultobj = 0;
38220 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38221 wxString *arg2 = 0 ;
38222 void *argp1 = 0 ;
38223 int res1 = 0 ;
38224 bool temp2 = false ;
38225 PyObject * obj0 = 0 ;
38226 PyObject * obj1 = 0 ;
38227 char * kwnames[] = {
38228 (char *) "self",(char *) "path", NULL
38229 };
38230
38231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38233 if (!SWIG_IsOK(res1)) {
38234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38235 }
38236 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38237 {
38238 arg2 = wxString_in_helper(obj1);
38239 if (arg2 == NULL) SWIG_fail;
38240 temp2 = true;
38241 }
38242 {
38243 PyThreadState* __tstate = wxPyBeginAllowThreads();
38244 (arg1)->SetPath((wxString const &)*arg2);
38245 wxPyEndAllowThreads(__tstate);
38246 if (PyErr_Occurred()) SWIG_fail;
38247 }
38248 resultobj = SWIG_Py_Void();
38249 {
38250 if (temp2)
38251 delete arg2;
38252 }
38253 return resultobj;
38254fail:
38255 {
38256 if (temp2)
38257 delete arg2;
38258 }
38259 return NULL;
38260}
38261
38262
38263SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38264 PyObject *resultobj = 0;
38265 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38266 bool arg2 ;
38267 void *argp1 = 0 ;
38268 int res1 = 0 ;
38269 bool val2 ;
38270 int ecode2 = 0 ;
38271 PyObject * obj0 = 0 ;
38272 PyObject * obj1 = 0 ;
38273 char * kwnames[] = {
38274 (char *) "self",(char *) "show", NULL
38275 };
38276
38277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38279 if (!SWIG_IsOK(res1)) {
38280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38281 }
38282 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38283 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38284 if (!SWIG_IsOK(ecode2)) {
38285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38286 }
38287 arg2 = static_cast< bool >(val2);
38288 {
38289 PyThreadState* __tstate = wxPyBeginAllowThreads();
38290 (arg1)->ShowHidden(arg2);
38291 wxPyEndAllowThreads(__tstate);
38292 if (PyErr_Occurred()) SWIG_fail;
38293 }
38294 resultobj = SWIG_Py_Void();
38295 return resultobj;
38296fail:
38297 return NULL;
d55e5bfc
RD
38298}
38299
38300
554f62e9
RD
38301SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38302 PyObject *resultobj = 0;
38303 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38304 bool result;
38305 void *argp1 = 0 ;
38306 int res1 = 0 ;
38307 PyObject *swig_obj[1] ;
38308
38309 if (!args) SWIG_fail;
38310 swig_obj[0] = args;
38311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38312 if (!SWIG_IsOK(res1)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38314 }
38315 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38316 {
38317 PyThreadState* __tstate = wxPyBeginAllowThreads();
38318 result = (bool)(arg1)->GetShowHidden();
38319 wxPyEndAllowThreads(__tstate);
38320 if (PyErr_Occurred()) SWIG_fail;
38321 }
38322 {
38323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38324 }
38325 return resultobj;
38326fail:
38327 return NULL;
d55e5bfc
RD
38328}
38329
38330
554f62e9
RD
38331SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38332 PyObject *resultobj = 0;
38333 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38334 wxString result;
38335 void *argp1 = 0 ;
38336 int res1 = 0 ;
38337 PyObject *swig_obj[1] ;
38338
38339 if (!args) SWIG_fail;
38340 swig_obj[0] = args;
38341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38342 if (!SWIG_IsOK(res1)) {
38343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38344 }
38345 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38346 {
38347 PyThreadState* __tstate = wxPyBeginAllowThreads();
38348 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38349 wxPyEndAllowThreads(__tstate);
38350 if (PyErr_Occurred()) SWIG_fail;
38351 }
38352 {
38353#if wxUSE_UNICODE
38354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38355#else
38356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38357#endif
38358 }
38359 return resultobj;
38360fail:
38361 return NULL;
38362}
38363
38364
38365SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38366 PyObject *resultobj = 0;
38367 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38368 wxString *arg2 = 0 ;
38369 void *argp1 = 0 ;
38370 int res1 = 0 ;
38371 bool temp2 = false ;
38372 PyObject * obj0 = 0 ;
38373 PyObject * obj1 = 0 ;
38374 char * kwnames[] = {
38375 (char *) "self",(char *) "filter", NULL
38376 };
38377
38378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38380 if (!SWIG_IsOK(res1)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38382 }
38383 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38384 {
38385 arg2 = wxString_in_helper(obj1);
38386 if (arg2 == NULL) SWIG_fail;
38387 temp2 = true;
38388 }
38389 {
38390 PyThreadState* __tstate = wxPyBeginAllowThreads();
38391 (arg1)->SetFilter((wxString const &)*arg2);
38392 wxPyEndAllowThreads(__tstate);
38393 if (PyErr_Occurred()) SWIG_fail;
38394 }
38395 resultobj = SWIG_Py_Void();
38396 {
38397 if (temp2)
38398 delete arg2;
38399 }
38400 return resultobj;
38401fail:
38402 {
38403 if (temp2)
38404 delete arg2;
38405 }
38406 return NULL;
d55e5bfc
RD
38407}
38408
38409
554f62e9
RD
38410SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38411 PyObject *resultobj = 0;
38412 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38413 int result;
38414 void *argp1 = 0 ;
38415 int res1 = 0 ;
38416 PyObject *swig_obj[1] ;
38417
38418 if (!args) SWIG_fail;
38419 swig_obj[0] = args;
38420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38421 if (!SWIG_IsOK(res1)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38423 }
38424 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38425 {
38426 PyThreadState* __tstate = wxPyBeginAllowThreads();
38427 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38428 wxPyEndAllowThreads(__tstate);
38429 if (PyErr_Occurred()) SWIG_fail;
38430 }
38431 resultobj = SWIG_From_int(static_cast< int >(result));
38432 return resultobj;
38433fail:
38434 return NULL;
38435}
38436
38437
38438SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38439 PyObject *resultobj = 0;
38440 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38441 int arg2 ;
38442 void *argp1 = 0 ;
38443 int res1 = 0 ;
38444 int val2 ;
38445 int ecode2 = 0 ;
38446 PyObject * obj0 = 0 ;
38447 PyObject * obj1 = 0 ;
38448 char * kwnames[] = {
38449 (char *) "self",(char *) "n", NULL
38450 };
38451
38452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38454 if (!SWIG_IsOK(res1)) {
38455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38456 }
38457 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38458 ecode2 = SWIG_AsVal_int(obj1, &val2);
38459 if (!SWIG_IsOK(ecode2)) {
38460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38461 }
38462 arg2 = static_cast< int >(val2);
38463 {
38464 PyThreadState* __tstate = wxPyBeginAllowThreads();
38465 (arg1)->SetFilterIndex(arg2);
38466 wxPyEndAllowThreads(__tstate);
38467 if (PyErr_Occurred()) SWIG_fail;
38468 }
38469 resultobj = SWIG_Py_Void();
38470 return resultobj;
38471fail:
38472 return NULL;
d55e5bfc
RD
38473}
38474
38475
554f62e9
RD
38476SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38477 PyObject *resultobj = 0;
38478 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38479 wxTreeItemId result;
38480 void *argp1 = 0 ;
38481 int res1 = 0 ;
38482 PyObject *swig_obj[1] ;
38483
38484 if (!args) SWIG_fail;
38485 swig_obj[0] = args;
38486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38487 if (!SWIG_IsOK(res1)) {
38488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38489 }
38490 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38491 {
38492 PyThreadState* __tstate = wxPyBeginAllowThreads();
38493 result = (arg1)->GetRootId();
38494 wxPyEndAllowThreads(__tstate);
38495 if (PyErr_Occurred()) SWIG_fail;
38496 }
38497 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38498 return resultobj;
38499fail:
38500 return NULL;
d55e5bfc
RD
38501}
38502
38503
554f62e9
RD
38504SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38505 PyObject *resultobj = 0;
38506 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38507 wxPyTreeCtrl *result = 0 ;
38508 void *argp1 = 0 ;
38509 int res1 = 0 ;
38510 PyObject *swig_obj[1] ;
38511
38512 if (!args) SWIG_fail;
38513 swig_obj[0] = args;
38514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38515 if (!SWIG_IsOK(res1)) {
38516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38517 }
38518 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38519 {
38520 PyThreadState* __tstate = wxPyBeginAllowThreads();
38521 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38522 wxPyEndAllowThreads(__tstate);
38523 if (PyErr_Occurred()) SWIG_fail;
38524 }
38525 {
38526 resultobj = wxPyMake_wxObject(result, 0);
38527 }
38528 return resultobj;
38529fail:
38530 return NULL;
d55e5bfc
RD
38531}
38532
38533
554f62e9
RD
38534SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38535 PyObject *resultobj = 0;
38536 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38537 wxDirFilterListCtrl *result = 0 ;
38538 void *argp1 = 0 ;
38539 int res1 = 0 ;
38540 PyObject *swig_obj[1] ;
38541
38542 if (!args) SWIG_fail;
38543 swig_obj[0] = args;
38544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38545 if (!SWIG_IsOK(res1)) {
38546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38547 }
38548 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38549 {
38550 PyThreadState* __tstate = wxPyBeginAllowThreads();
38551 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38552 wxPyEndAllowThreads(__tstate);
38553 if (PyErr_Occurred()) SWIG_fail;
38554 }
38555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38556 return resultobj;
38557fail:
38558 return NULL;
38559}
38560
38561
38562SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38563 PyObject *resultobj = 0;
38564 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38565 wxTreeItemId arg2 ;
38566 wxString *arg3 = 0 ;
38567 bool *arg4 = 0 ;
38568 wxTreeItemId result;
38569 void *argp1 = 0 ;
38570 int res1 = 0 ;
38571 void *argp2 ;
38572 int res2 = 0 ;
38573 bool temp3 = false ;
38574 bool temp4 ;
38575 int res4 = SWIG_TMPOBJ ;
38576 PyObject * obj0 = 0 ;
38577 PyObject * obj1 = 0 ;
38578 PyObject * obj2 = 0 ;
38579 char * kwnames[] = {
38580 (char *) "self",(char *) "parentId",(char *) "path", NULL
38581 };
38582
38583 arg4 = &temp4;
38584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38586 if (!SWIG_IsOK(res1)) {
38587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38588 }
38589 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38590 {
38591 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38592 if (!SWIG_IsOK(res2)) {
38593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38594 }
38595 if (!argp2) {
38596 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38597 } else {
38598 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38599 arg2 = *temp;
38600 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 38601 }
554f62e9
RD
38602 }
38603 {
38604 arg3 = wxString_in_helper(obj2);
38605 if (arg3 == NULL) SWIG_fail;
38606 temp3 = true;
38607 }
38608 {
38609 PyThreadState* __tstate = wxPyBeginAllowThreads();
38610 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38611 wxPyEndAllowThreads(__tstate);
38612 if (PyErr_Occurred()) SWIG_fail;
38613 }
38614 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38615 if (SWIG_IsTmpObj(res4)) {
38616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38617 } else {
38618 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38620 }
38621 {
38622 if (temp3)
38623 delete arg3;
38624 }
38625 return resultobj;
38626fail:
38627 {
38628 if (temp3)
38629 delete arg3;
38630 }
38631 return NULL;
d55e5bfc
RD
38632}
38633
38634
554f62e9
RD
38635SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38636 PyObject *resultobj = 0;
38637 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38638 void *argp1 = 0 ;
38639 int res1 = 0 ;
38640 PyObject *swig_obj[1] ;
38641
38642 if (!args) SWIG_fail;
38643 swig_obj[0] = args;
38644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38645 if (!SWIG_IsOK(res1)) {
38646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38647 }
38648 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38649 {
38650 PyThreadState* __tstate = wxPyBeginAllowThreads();
38651 (arg1)->DoResize();
38652 wxPyEndAllowThreads(__tstate);
38653 if (PyErr_Occurred()) SWIG_fail;
38654 }
38655 resultobj = SWIG_Py_Void();
38656 return resultobj;
38657fail:
38658 return NULL;
38659}
38660
38661
38662SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38663 PyObject *resultobj = 0;
38664 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38665 void *argp1 = 0 ;
38666 int res1 = 0 ;
38667 PyObject *swig_obj[1] ;
38668
38669 if (!args) SWIG_fail;
38670 swig_obj[0] = args;
38671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38672 if (!SWIG_IsOK(res1)) {
38673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38674 }
38675 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38676 {
38677 PyThreadState* __tstate = wxPyBeginAllowThreads();
38678 (arg1)->ReCreateTree();
38679 wxPyEndAllowThreads(__tstate);
38680 if (PyErr_Occurred()) SWIG_fail;
38681 }
38682 resultobj = SWIG_Py_Void();
38683 return resultobj;
38684fail:
38685 return NULL;
38686}
38687
38688
38689SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38690 PyObject *obj;
38691 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38692 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38693 return SWIG_Py_Void();
38694}
38695
38696SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38697 return SWIG_Python_InitShadowInstance(args);
38698}
38699
38700SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38701 PyObject *resultobj = 0;
38702 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38703 int arg2 = (int) (int)-1 ;
38704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38706 wxSize const &arg4_defvalue = wxDefaultSize ;
38707 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38708 long arg5 = (long) 0 ;
38709 wxDirFilterListCtrl *result = 0 ;
38710 void *argp1 = 0 ;
38711 int res1 = 0 ;
38712 int val2 ;
38713 int ecode2 = 0 ;
38714 wxPoint temp3 ;
38715 wxSize temp4 ;
38716 long val5 ;
38717 int ecode5 = 0 ;
38718 PyObject * obj0 = 0 ;
38719 PyObject * obj1 = 0 ;
38720 PyObject * obj2 = 0 ;
38721 PyObject * obj3 = 0 ;
38722 PyObject * obj4 = 0 ;
38723 char * kwnames[] = {
38724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38725 };
38726
38727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38729 if (!SWIG_IsOK(res1)) {
38730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38731 }
38732 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38733 if (obj1) {
38734 ecode2 = SWIG_AsVal_int(obj1, &val2);
38735 if (!SWIG_IsOK(ecode2)) {
38736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38737 }
38738 arg2 = static_cast< int >(val2);
38739 }
38740 if (obj2) {
d55e5bfc 38741 {
554f62e9
RD
38742 arg3 = &temp3;
38743 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38744 }
554f62e9
RD
38745 }
38746 if (obj3) {
d55e5bfc 38747 {
554f62e9
RD
38748 arg4 = &temp4;
38749 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38750 }
554f62e9
RD
38751 }
38752 if (obj4) {
38753 ecode5 = SWIG_AsVal_long(obj4, &val5);
38754 if (!SWIG_IsOK(ecode5)) {
38755 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38756 }
38757 arg5 = static_cast< long >(val5);
38758 }
38759 {
38760 if (!wxPyCheckForApp()) SWIG_fail;
38761 PyThreadState* __tstate = wxPyBeginAllowThreads();
38762 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38763 wxPyEndAllowThreads(__tstate);
38764 if (PyErr_Occurred()) SWIG_fail;
38765 }
38766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38767 return resultobj;
38768fail:
38769 return NULL;
d55e5bfc
RD
38770}
38771
38772
554f62e9
RD
38773SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38774 PyObject *resultobj = 0;
38775 wxDirFilterListCtrl *result = 0 ;
38776
38777 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38778 {
38779 if (!wxPyCheckForApp()) SWIG_fail;
38780 PyThreadState* __tstate = wxPyBeginAllowThreads();
38781 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38782 wxPyEndAllowThreads(__tstate);
38783 if (PyErr_Occurred()) SWIG_fail;
38784 }
38785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38786 return resultobj;
38787fail:
38788 return NULL;
38789}
38790
38791
38792SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38793 PyObject *resultobj = 0;
38794 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38795 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38796 int arg3 = (int) (int)-1 ;
38797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38799 wxSize const &arg5_defvalue = wxDefaultSize ;
38800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38801 long arg6 = (long) 0 ;
38802 bool result;
38803 void *argp1 = 0 ;
38804 int res1 = 0 ;
38805 void *argp2 = 0 ;
38806 int res2 = 0 ;
38807 int val3 ;
38808 int ecode3 = 0 ;
38809 wxPoint temp4 ;
38810 wxSize temp5 ;
38811 long val6 ;
38812 int ecode6 = 0 ;
38813 PyObject * obj0 = 0 ;
38814 PyObject * obj1 = 0 ;
38815 PyObject * obj2 = 0 ;
38816 PyObject * obj3 = 0 ;
38817 PyObject * obj4 = 0 ;
38818 PyObject * obj5 = 0 ;
38819 char * kwnames[] = {
38820 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38821 };
38822
38823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38825 if (!SWIG_IsOK(res1)) {
38826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38827 }
38828 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38830 if (!SWIG_IsOK(res2)) {
38831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38832 }
38833 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38834 if (obj2) {
38835 ecode3 = SWIG_AsVal_int(obj2, &val3);
38836 if (!SWIG_IsOK(ecode3)) {
38837 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38838 }
38839 arg3 = static_cast< int >(val3);
38840 }
38841 if (obj3) {
093d3ff1 38842 {
554f62e9
RD
38843 arg4 = &temp4;
38844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38845 }
554f62e9
RD
38846 }
38847 if (obj4) {
093d3ff1 38848 {
554f62e9
RD
38849 arg5 = &temp5;
38850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 38851 }
554f62e9
RD
38852 }
38853 if (obj5) {
38854 ecode6 = SWIG_AsVal_long(obj5, &val6);
38855 if (!SWIG_IsOK(ecode6)) {
38856 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38857 }
38858 arg6 = static_cast< long >(val6);
38859 }
38860 {
38861 PyThreadState* __tstate = wxPyBeginAllowThreads();
38862 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38863 wxPyEndAllowThreads(__tstate);
38864 if (PyErr_Occurred()) SWIG_fail;
38865 }
38866 {
38867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38868 }
38869 return resultobj;
38870fail:
38871 return NULL;
38872}
38873
38874
38875SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38876 PyObject *resultobj = 0;
38877 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38878 wxString *arg2 = 0 ;
38879 int arg3 ;
38880 void *argp1 = 0 ;
38881 int res1 = 0 ;
38882 bool temp2 = false ;
38883 int val3 ;
38884 int ecode3 = 0 ;
38885 PyObject * obj0 = 0 ;
38886 PyObject * obj1 = 0 ;
38887 PyObject * obj2 = 0 ;
38888 char * kwnames[] = {
38889 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38890 };
38891
38892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38894 if (!SWIG_IsOK(res1)) {
38895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38896 }
38897 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38898 {
38899 arg2 = wxString_in_helper(obj1);
38900 if (arg2 == NULL) SWIG_fail;
38901 temp2 = true;
38902 }
38903 ecode3 = SWIG_AsVal_int(obj2, &val3);
38904 if (!SWIG_IsOK(ecode3)) {
38905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38906 }
38907 arg3 = static_cast< int >(val3);
38908 {
38909 PyThreadState* __tstate = wxPyBeginAllowThreads();
38910 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38911 wxPyEndAllowThreads(__tstate);
38912 if (PyErr_Occurred()) SWIG_fail;
38913 }
38914 resultobj = SWIG_Py_Void();
38915 {
38916 if (temp2)
38917 delete arg2;
38918 }
38919 return resultobj;
38920fail:
38921 {
38922 if (temp2)
38923 delete arg2;
38924 }
38925 return NULL;
38926}
38927
38928
38929SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38930 PyObject *obj;
38931 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38932 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38933 return SWIG_Py_Void();
38934}
38935
38936SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38937 return SWIG_Python_InitShadowInstance(args);
38938}
38939
38940SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38941 PyObject *resultobj = 0;
38942 wxWindow *arg1 = (wxWindow *) 0 ;
38943 int arg2 = (int) (int)-1 ;
38944 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38945 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38946 wxSize const &arg4_defvalue = wxDefaultSize ;
38947 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38948 long arg5 = (long) 0 ;
38949 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38950 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38951 wxString const &arg7_defvalue = wxPyControlNameStr ;
38952 wxString *arg7 = (wxString *) &arg7_defvalue ;
38953 wxPyControl *result = 0 ;
38954 void *argp1 = 0 ;
38955 int res1 = 0 ;
38956 int val2 ;
38957 int ecode2 = 0 ;
38958 wxPoint temp3 ;
38959 wxSize temp4 ;
38960 long val5 ;
38961 int ecode5 = 0 ;
38962 void *argp6 = 0 ;
38963 int res6 = 0 ;
38964 bool temp7 = false ;
38965 PyObject * obj0 = 0 ;
38966 PyObject * obj1 = 0 ;
38967 PyObject * obj2 = 0 ;
38968 PyObject * obj3 = 0 ;
38969 PyObject * obj4 = 0 ;
38970 PyObject * obj5 = 0 ;
38971 PyObject * obj6 = 0 ;
38972 char * kwnames[] = {
38973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38974 };
38975
38976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38978 if (!SWIG_IsOK(res1)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38980 }
38981 arg1 = reinterpret_cast< wxWindow * >(argp1);
38982 if (obj1) {
38983 ecode2 = SWIG_AsVal_int(obj1, &val2);
38984 if (!SWIG_IsOK(ecode2)) {
38985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38986 }
38987 arg2 = static_cast< int >(val2);
38988 }
38989 if (obj2) {
d55e5bfc 38990 {
554f62e9
RD
38991 arg3 = &temp3;
38992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38993 }
554f62e9
RD
38994 }
38995 if (obj3) {
d55e5bfc 38996 {
554f62e9
RD
38997 arg4 = &temp4;
38998 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38999 }
554f62e9
RD
39000 }
39001 if (obj4) {
39002 ecode5 = SWIG_AsVal_long(obj4, &val5);
39003 if (!SWIG_IsOK(ecode5)) {
39004 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39005 }
39006 arg5 = static_cast< long >(val5);
39007 }
39008 if (obj5) {
39009 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
39010 if (!SWIG_IsOK(res6)) {
39011 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
093d3ff1 39012 }
554f62e9
RD
39013 if (!argp6) {
39014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 39015 }
554f62e9
RD
39016 arg6 = reinterpret_cast< wxValidator * >(argp6);
39017 }
39018 if (obj6) {
d55e5bfc 39019 {
554f62e9
RD
39020 arg7 = wxString_in_helper(obj6);
39021 if (arg7 == NULL) SWIG_fail;
39022 temp7 = true;
d55e5bfc 39023 }
554f62e9
RD
39024 }
39025 {
39026 if (!wxPyCheckForApp()) SWIG_fail;
39027 PyThreadState* __tstate = wxPyBeginAllowThreads();
39028 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39029 wxPyEndAllowThreads(__tstate);
39030 if (PyErr_Occurred()) SWIG_fail;
39031 }
39032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39033 {
39034 if (temp7)
39035 delete arg7;
39036 }
39037 return resultobj;
39038fail:
39039 {
39040 if (temp7)
39041 delete arg7;
39042 }
39043 return NULL;
d55e5bfc
RD
39044}
39045
39046
554f62e9
RD
39047SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39048 PyObject *resultobj = 0;
39049 wxPyControl *result = 0 ;
39050
39051 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39052 {
39053 if (!wxPyCheckForApp()) SWIG_fail;
39054 PyThreadState* __tstate = wxPyBeginAllowThreads();
39055 result = (wxPyControl *)new wxPyControl();
39056 wxPyEndAllowThreads(__tstate);
39057 if (PyErr_Occurred()) SWIG_fail;
39058 }
39059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39060 return resultobj;
39061fail:
39062 return NULL;
39063}
39064
39065
39066SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39067 PyObject *resultobj = 0;
39068 wxPyControl *arg1 = (wxPyControl *) 0 ;
39069 PyObject *arg2 = (PyObject *) 0 ;
39070 PyObject *arg3 = (PyObject *) 0 ;
39071 void *argp1 = 0 ;
39072 int res1 = 0 ;
39073 PyObject * obj0 = 0 ;
39074 PyObject * obj1 = 0 ;
39075 PyObject * obj2 = 0 ;
39076 char * kwnames[] = {
39077 (char *) "self",(char *) "self",(char *) "_class", NULL
39078 };
39079
39080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39082 if (!SWIG_IsOK(res1)) {
39083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39084 }
39085 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39086 arg2 = obj1;
39087 arg3 = obj2;
39088 {
39089 PyThreadState* __tstate = wxPyBeginAllowThreads();
39090 (arg1)->_setCallbackInfo(arg2,arg3);
39091 wxPyEndAllowThreads(__tstate);
39092 if (PyErr_Occurred()) SWIG_fail;
39093 }
39094 resultobj = SWIG_Py_Void();
39095 return resultobj;
39096fail:
39097 return NULL;
39098}
39099
39100
554f62e9
RD
39101SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39102 PyObject *resultobj = 0;
39103 wxPyControl *arg1 = (wxPyControl *) 0 ;
39104 wxDC *arg2 = (wxDC *) 0 ;
39105 bool result;
39106 void *argp1 = 0 ;
39107 int res1 = 0 ;
39108 void *argp2 = 0 ;
39109 int res2 = 0 ;
39110 PyObject * obj0 = 0 ;
39111 PyObject * obj1 = 0 ;
39112 char * kwnames[] = {
39113 (char *) "self",(char *) "dc", NULL
39114 };
39115
39116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39118 if (!SWIG_IsOK(res1)) {
39119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39120 }
39121 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39123 if (!SWIG_IsOK(res2)) {
39124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39125 }
39126 arg2 = reinterpret_cast< wxDC * >(argp2);
39127 {
39128 PyThreadState* __tstate = wxPyBeginAllowThreads();
39129 result = (bool)(arg1)->DoEraseBackground(arg2);
39130 wxPyEndAllowThreads(__tstate);
39131 if (PyErr_Occurred()) SWIG_fail;
39132 }
39133 {
39134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39135 }
39136 return resultobj;
39137fail:
39138 return NULL;
39139}
39140
39141
39142SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39143 PyObject *resultobj = 0;
39144 wxPyControl *arg1 = (wxPyControl *) 0 ;
39145 int arg2 ;
39146 int arg3 ;
39147 int arg4 ;
39148 int arg5 ;
39149 void *argp1 = 0 ;
39150 int res1 = 0 ;
39151 int val2 ;
39152 int ecode2 = 0 ;
39153 int val3 ;
39154 int ecode3 = 0 ;
39155 int val4 ;
39156 int ecode4 = 0 ;
39157 int val5 ;
39158 int ecode5 = 0 ;
39159 PyObject * obj0 = 0 ;
39160 PyObject * obj1 = 0 ;
39161 PyObject * obj2 = 0 ;
39162 PyObject * obj3 = 0 ;
39163 PyObject * obj4 = 0 ;
39164 char * kwnames[] = {
39165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39166 };
39167
39168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39170 if (!SWIG_IsOK(res1)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39172 }
39173 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39174 ecode2 = SWIG_AsVal_int(obj1, &val2);
39175 if (!SWIG_IsOK(ecode2)) {
39176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39177 }
39178 arg2 = static_cast< int >(val2);
39179 ecode3 = SWIG_AsVal_int(obj2, &val3);
39180 if (!SWIG_IsOK(ecode3)) {
39181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39182 }
39183 arg3 = static_cast< int >(val3);
39184 ecode4 = SWIG_AsVal_int(obj3, &val4);
39185 if (!SWIG_IsOK(ecode4)) {
39186 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39187 }
39188 arg4 = static_cast< int >(val4);
39189 ecode5 = SWIG_AsVal_int(obj4, &val5);
39190 if (!SWIG_IsOK(ecode5)) {
39191 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39192 }
39193 arg5 = static_cast< int >(val5);
39194 {
39195 PyThreadState* __tstate = wxPyBeginAllowThreads();
39196 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39197 wxPyEndAllowThreads(__tstate);
39198 if (PyErr_Occurred()) SWIG_fail;
39199 }
39200 resultobj = SWIG_Py_Void();
39201 return resultobj;
39202fail:
39203 return NULL;
39204}
39205
39206
39207SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39208 PyObject *resultobj = 0;
39209 wxPyControl *arg1 = (wxPyControl *) 0 ;
39210 int arg2 ;
39211 int arg3 ;
39212 int arg4 ;
39213 int arg5 ;
39214 int arg6 = (int) wxSIZE_AUTO ;
39215 void *argp1 = 0 ;
39216 int res1 = 0 ;
39217 int val2 ;
39218 int ecode2 = 0 ;
39219 int val3 ;
39220 int ecode3 = 0 ;
39221 int val4 ;
39222 int ecode4 = 0 ;
39223 int val5 ;
39224 int ecode5 = 0 ;
39225 int val6 ;
39226 int ecode6 = 0 ;
39227 PyObject * obj0 = 0 ;
39228 PyObject * obj1 = 0 ;
39229 PyObject * obj2 = 0 ;
39230 PyObject * obj3 = 0 ;
39231 PyObject * obj4 = 0 ;
39232 PyObject * obj5 = 0 ;
39233 char * kwnames[] = {
39234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39235 };
39236
39237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39239 if (!SWIG_IsOK(res1)) {
39240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39241 }
39242 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39243 ecode2 = SWIG_AsVal_int(obj1, &val2);
39244 if (!SWIG_IsOK(ecode2)) {
39245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39246 }
39247 arg2 = static_cast< int >(val2);
39248 ecode3 = SWIG_AsVal_int(obj2, &val3);
39249 if (!SWIG_IsOK(ecode3)) {
39250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39251 }
39252 arg3 = static_cast< int >(val3);
39253 ecode4 = SWIG_AsVal_int(obj3, &val4);
39254 if (!SWIG_IsOK(ecode4)) {
39255 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39256 }
39257 arg4 = static_cast< int >(val4);
39258 ecode5 = SWIG_AsVal_int(obj4, &val5);
39259 if (!SWIG_IsOK(ecode5)) {
39260 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39261 }
39262 arg5 = static_cast< int >(val5);
39263 if (obj5) {
39264 ecode6 = SWIG_AsVal_int(obj5, &val6);
39265 if (!SWIG_IsOK(ecode6)) {
39266 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39267 }
39268 arg6 = static_cast< int >(val6);
39269 }
39270 {
39271 PyThreadState* __tstate = wxPyBeginAllowThreads();
39272 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39273 wxPyEndAllowThreads(__tstate);
39274 if (PyErr_Occurred()) SWIG_fail;
39275 }
39276 resultobj = SWIG_Py_Void();
39277 return resultobj;
39278fail:
39279 return NULL;
39280}
39281
39282
39283SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39284 PyObject *resultobj = 0;
39285 wxPyControl *arg1 = (wxPyControl *) 0 ;
39286 int arg2 ;
39287 int arg3 ;
39288 void *argp1 = 0 ;
39289 int res1 = 0 ;
39290 int val2 ;
39291 int ecode2 = 0 ;
39292 int val3 ;
39293 int ecode3 = 0 ;
39294 PyObject * obj0 = 0 ;
39295 PyObject * obj1 = 0 ;
39296 PyObject * obj2 = 0 ;
39297 char * kwnames[] = {
39298 (char *) "self",(char *) "width",(char *) "height", NULL
39299 };
39300
39301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39303 if (!SWIG_IsOK(res1)) {
39304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39305 }
39306 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39307 ecode2 = SWIG_AsVal_int(obj1, &val2);
39308 if (!SWIG_IsOK(ecode2)) {
39309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39310 }
39311 arg2 = static_cast< int >(val2);
39312 ecode3 = SWIG_AsVal_int(obj2, &val3);
39313 if (!SWIG_IsOK(ecode3)) {
39314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39315 }
39316 arg3 = static_cast< int >(val3);
39317 {
39318 PyThreadState* __tstate = wxPyBeginAllowThreads();
39319 (arg1)->DoSetClientSize(arg2,arg3);
39320 wxPyEndAllowThreads(__tstate);
39321 if (PyErr_Occurred()) SWIG_fail;
39322 }
39323 resultobj = SWIG_Py_Void();
39324 return resultobj;
39325fail:
39326 return NULL;
39327}
39328
39329
39330SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39331 PyObject *resultobj = 0;
39332 wxPyControl *arg1 = (wxPyControl *) 0 ;
39333 int arg2 ;
39334 int arg3 ;
39335 void *argp1 = 0 ;
39336 int res1 = 0 ;
39337 int val2 ;
39338 int ecode2 = 0 ;
39339 int val3 ;
39340 int ecode3 = 0 ;
39341 PyObject * obj0 = 0 ;
39342 PyObject * obj1 = 0 ;
39343 PyObject * obj2 = 0 ;
39344 char * kwnames[] = {
39345 (char *) "self",(char *) "x",(char *) "y", NULL
39346 };
39347
39348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39350 if (!SWIG_IsOK(res1)) {
39351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39352 }
39353 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39354 ecode2 = SWIG_AsVal_int(obj1, &val2);
39355 if (!SWIG_IsOK(ecode2)) {
39356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39357 }
39358 arg2 = static_cast< int >(val2);
39359 ecode3 = SWIG_AsVal_int(obj2, &val3);
39360 if (!SWIG_IsOK(ecode3)) {
39361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39362 }
39363 arg3 = static_cast< int >(val3);
39364 {
39365 PyThreadState* __tstate = wxPyBeginAllowThreads();
39366 (arg1)->DoSetVirtualSize(arg2,arg3);
39367 wxPyEndAllowThreads(__tstate);
39368 if (PyErr_Occurred()) SWIG_fail;
39369 }
39370 resultobj = SWIG_Py_Void();
39371 return resultobj;
39372fail:
39373 return NULL;
39374}
39375
39376
39377SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39378 PyObject *resultobj = 0;
39379 wxPyControl *arg1 = (wxPyControl *) 0 ;
39380 int *arg2 = (int *) 0 ;
39381 int *arg3 = (int *) 0 ;
39382 void *argp1 = 0 ;
39383 int res1 = 0 ;
39384 int temp2 ;
39385 int res2 = SWIG_TMPOBJ ;
39386 int temp3 ;
39387 int res3 = SWIG_TMPOBJ ;
39388 PyObject *swig_obj[1] ;
39389
39390 arg2 = &temp2;
39391 arg3 = &temp3;
39392 if (!args) SWIG_fail;
39393 swig_obj[0] = args;
39394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39395 if (!SWIG_IsOK(res1)) {
39396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39397 }
39398 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39399 {
39400 PyThreadState* __tstate = wxPyBeginAllowThreads();
39401 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39402 wxPyEndAllowThreads(__tstate);
39403 if (PyErr_Occurred()) SWIG_fail;
39404 }
39405 resultobj = SWIG_Py_Void();
39406 if (SWIG_IsTmpObj(res2)) {
39407 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39408 } else {
39409 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39410 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39411 }
39412 if (SWIG_IsTmpObj(res3)) {
39413 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39414 } else {
39415 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39416 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39417 }
39418 return resultobj;
39419fail:
39420 return NULL;
39421}
39422
39423
39424SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39425 PyObject *resultobj = 0;
39426 wxPyControl *arg1 = (wxPyControl *) 0 ;
39427 int *arg2 = (int *) 0 ;
39428 int *arg3 = (int *) 0 ;
39429 void *argp1 = 0 ;
39430 int res1 = 0 ;
39431 int temp2 ;
39432 int res2 = SWIG_TMPOBJ ;
39433 int temp3 ;
39434 int res3 = SWIG_TMPOBJ ;
39435 PyObject *swig_obj[1] ;
39436
39437 arg2 = &temp2;
39438 arg3 = &temp3;
39439 if (!args) SWIG_fail;
39440 swig_obj[0] = args;
39441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39442 if (!SWIG_IsOK(res1)) {
39443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39444 }
39445 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39446 {
39447 PyThreadState* __tstate = wxPyBeginAllowThreads();
39448 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39449 wxPyEndAllowThreads(__tstate);
39450 if (PyErr_Occurred()) SWIG_fail;
39451 }
39452 resultobj = SWIG_Py_Void();
39453 if (SWIG_IsTmpObj(res2)) {
39454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39455 } else {
39456 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39458 }
39459 if (SWIG_IsTmpObj(res3)) {
39460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39461 } else {
39462 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39464 }
39465 return resultobj;
39466fail:
39467 return NULL;
39468}
39469
39470
39471SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39472 PyObject *resultobj = 0;
39473 wxPyControl *arg1 = (wxPyControl *) 0 ;
39474 int *arg2 = (int *) 0 ;
39475 int *arg3 = (int *) 0 ;
39476 void *argp1 = 0 ;
39477 int res1 = 0 ;
39478 int temp2 ;
39479 int res2 = SWIG_TMPOBJ ;
39480 int temp3 ;
39481 int res3 = SWIG_TMPOBJ ;
39482 PyObject *swig_obj[1] ;
39483
39484 arg2 = &temp2;
39485 arg3 = &temp3;
39486 if (!args) SWIG_fail;
39487 swig_obj[0] = args;
39488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39489 if (!SWIG_IsOK(res1)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39491 }
39492 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39493 {
39494 PyThreadState* __tstate = wxPyBeginAllowThreads();
39495 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39496 wxPyEndAllowThreads(__tstate);
39497 if (PyErr_Occurred()) SWIG_fail;
39498 }
39499 resultobj = SWIG_Py_Void();
39500 if (SWIG_IsTmpObj(res2)) {
39501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39502 } else {
39503 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39505 }
39506 if (SWIG_IsTmpObj(res3)) {
39507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39508 } else {
39509 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39511 }
39512 return resultobj;
39513fail:
39514 return NULL;
d55e5bfc
RD
39515}
39516
39517
554f62e9
RD
39518SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39519 PyObject *resultobj = 0;
39520 wxPyControl *arg1 = (wxPyControl *) 0 ;
39521 wxSize result;
39522 void *argp1 = 0 ;
39523 int res1 = 0 ;
39524 PyObject *swig_obj[1] ;
39525
39526 if (!args) SWIG_fail;
39527 swig_obj[0] = args;
39528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39529 if (!SWIG_IsOK(res1)) {
39530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39531 }
39532 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39533 {
39534 PyThreadState* __tstate = wxPyBeginAllowThreads();
39535 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39536 wxPyEndAllowThreads(__tstate);
39537 if (PyErr_Occurred()) SWIG_fail;
39538 }
39539 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39540 return resultobj;
39541fail:
39542 return NULL;
d55e5bfc
RD
39543}
39544
39545
554f62e9
RD
39546SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39547 PyObject *resultobj = 0;
39548 wxPyControl *arg1 = (wxPyControl *) 0 ;
39549 wxSize result;
39550 void *argp1 = 0 ;
39551 int res1 = 0 ;
39552 PyObject *swig_obj[1] ;
39553
39554 if (!args) SWIG_fail;
39555 swig_obj[0] = args;
39556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39557 if (!SWIG_IsOK(res1)) {
39558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39559 }
39560 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39561 {
39562 PyThreadState* __tstate = wxPyBeginAllowThreads();
39563 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39564 wxPyEndAllowThreads(__tstate);
39565 if (PyErr_Occurred()) SWIG_fail;
39566 }
39567 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39568 return resultobj;
39569fail:
39570 return NULL;
d55e5bfc
RD
39571}
39572
39573
554f62e9
RD
39574SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39575 PyObject *resultobj = 0;
39576 wxPyControl *arg1 = (wxPyControl *) 0 ;
39577 SwigValueWrapper<wxVisualAttributes > result;
39578 void *argp1 = 0 ;
39579 int res1 = 0 ;
39580 PyObject *swig_obj[1] ;
39581
39582 if (!args) SWIG_fail;
39583 swig_obj[0] = args;
39584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39585 if (!SWIG_IsOK(res1)) {
39586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39587 }
39588 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39589 {
39590 PyThreadState* __tstate = wxPyBeginAllowThreads();
39591 result = (arg1)->GetDefaultAttributes();
39592 wxPyEndAllowThreads(__tstate);
39593 if (PyErr_Occurred()) SWIG_fail;
39594 }
39595 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39596 return resultobj;
39597fail:
39598 return NULL;
d55e5bfc
RD
39599}
39600
39601
554f62e9
RD
39602SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39603 PyObject *resultobj = 0;
39604 wxPyControl *arg1 = (wxPyControl *) 0 ;
39605 void *argp1 = 0 ;
39606 int res1 = 0 ;
39607 PyObject *swig_obj[1] ;
39608
39609 if (!args) SWIG_fail;
39610 swig_obj[0] = args;
39611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39612 if (!SWIG_IsOK(res1)) {
39613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39614 }
39615 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39616 {
39617 PyThreadState* __tstate = wxPyBeginAllowThreads();
39618 (arg1)->OnInternalIdle();
39619 wxPyEndAllowThreads(__tstate);
39620 if (PyErr_Occurred()) SWIG_fail;
39621 }
39622 resultobj = SWIG_Py_Void();
39623 return resultobj;
39624fail:
39625 return NULL;
39626}
39627
39628
39629SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39630 PyObject *obj;
39631 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39632 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39633 return SWIG_Py_Void();
39634}
39635
39636SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39637 return SWIG_Python_InitShadowInstance(args);
39638}
39639
39640SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39641 PyObject *resultobj = 0;
39642 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39643 int arg2 = (int) 0 ;
39644 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39645 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39646 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
554f62e9
RD
39647 wxHelpEvent *result = 0 ;
39648 int val1 ;
39649 int ecode1 = 0 ;
39650 int val2 ;
39651 int ecode2 = 0 ;
39652 wxPoint temp3 ;
704eda0c
RD
39653 int val4 ;
39654 int ecode4 = 0 ;
554f62e9
RD
39655 PyObject * obj0 = 0 ;
39656 PyObject * obj1 = 0 ;
39657 PyObject * obj2 = 0 ;
704eda0c 39658 PyObject * obj3 = 0 ;
554f62e9 39659 char * kwnames[] = {
704eda0c 39660 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
554f62e9
RD
39661 };
39662
704eda0c 39663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
554f62e9
RD
39664 if (obj0) {
39665 ecode1 = SWIG_AsVal_int(obj0, &val1);
39666 if (!SWIG_IsOK(ecode1)) {
39667 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39668 }
39669 arg1 = static_cast< wxEventType >(val1);
39670 }
39671 if (obj1) {
39672 ecode2 = SWIG_AsVal_int(obj1, &val2);
39673 if (!SWIG_IsOK(ecode2)) {
39674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39675 }
39676 arg2 = static_cast< int >(val2);
39677 }
39678 if (obj2) {
d55e5bfc 39679 {
554f62e9
RD
39680 arg3 = &temp3;
39681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39682 }
554f62e9 39683 }
704eda0c
RD
39684 if (obj3) {
39685 ecode4 = SWIG_AsVal_int(obj3, &val4);
39686 if (!SWIG_IsOK(ecode4)) {
39687 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39688 }
39689 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39690 }
554f62e9
RD
39691 {
39692 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39693 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
554f62e9
RD
39694 wxPyEndAllowThreads(__tstate);
39695 if (PyErr_Occurred()) SWIG_fail;
39696 }
39697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39698 return resultobj;
39699fail:
39700 return NULL;
d55e5bfc
RD
39701}
39702
39703
554f62e9
RD
39704SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39705 PyObject *resultobj = 0;
39706 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39707 wxPoint result;
39708 void *argp1 = 0 ;
39709 int res1 = 0 ;
39710 PyObject *swig_obj[1] ;
39711
39712 if (!args) SWIG_fail;
39713 swig_obj[0] = args;
39714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39715 if (!SWIG_IsOK(res1)) {
39716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39717 }
39718 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39719 {
39720 PyThreadState* __tstate = wxPyBeginAllowThreads();
39721 result = ((wxHelpEvent const *)arg1)->GetPosition();
39722 wxPyEndAllowThreads(__tstate);
39723 if (PyErr_Occurred()) SWIG_fail;
39724 }
39725 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39726 return resultobj;
39727fail:
39728 return NULL;
39729}
39730
39731
39732SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39733 PyObject *resultobj = 0;
39734 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39735 wxPoint *arg2 = 0 ;
39736 void *argp1 = 0 ;
39737 int res1 = 0 ;
39738 wxPoint temp2 ;
39739 PyObject * obj0 = 0 ;
39740 PyObject * obj1 = 0 ;
39741 char * kwnames[] = {
39742 (char *) "self",(char *) "pos", NULL
39743 };
39744
39745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39747 if (!SWIG_IsOK(res1)) {
39748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39749 }
39750 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39751 {
39752 arg2 = &temp2;
39753 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39754 }
39755 {
39756 PyThreadState* __tstate = wxPyBeginAllowThreads();
39757 (arg1)->SetPosition((wxPoint const &)*arg2);
39758 wxPyEndAllowThreads(__tstate);
39759 if (PyErr_Occurred()) SWIG_fail;
39760 }
39761 resultobj = SWIG_Py_Void();
39762 return resultobj;
39763fail:
39764 return NULL;
f20a2e1f
RD
39765}
39766
39767
554f62e9
RD
39768SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39769 PyObject *resultobj = 0;
39770 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39771 wxString *result = 0 ;
39772 void *argp1 = 0 ;
39773 int res1 = 0 ;
39774 PyObject *swig_obj[1] ;
39775
39776 if (!args) SWIG_fail;
39777 swig_obj[0] = args;
39778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39779 if (!SWIG_IsOK(res1)) {
39780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39781 }
39782 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39783 {
39784 PyThreadState* __tstate = wxPyBeginAllowThreads();
39785 {
39786 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39787 result = (wxString *) &_result_ref;
39788 }
39789 wxPyEndAllowThreads(__tstate);
39790 if (PyErr_Occurred()) SWIG_fail;
39791 }
39792 {
39793#if wxUSE_UNICODE
39794 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39795#else
39796 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39797#endif
39798 }
39799 return resultobj;
39800fail:
39801 return NULL;
39802}
39803
39804
39805SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39806 PyObject *resultobj = 0;
39807 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39808 wxString *arg2 = 0 ;
39809 void *argp1 = 0 ;
39810 int res1 = 0 ;
39811 bool temp2 = false ;
39812 PyObject * obj0 = 0 ;
39813 PyObject * obj1 = 0 ;
39814 char * kwnames[] = {
39815 (char *) "self",(char *) "link", NULL
39816 };
39817
39818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39820 if (!SWIG_IsOK(res1)) {
39821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39822 }
39823 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39824 {
39825 arg2 = wxString_in_helper(obj1);
39826 if (arg2 == NULL) SWIG_fail;
39827 temp2 = true;
39828 }
39829 {
39830 PyThreadState* __tstate = wxPyBeginAllowThreads();
39831 (arg1)->SetLink((wxString const &)*arg2);
39832 wxPyEndAllowThreads(__tstate);
39833 if (PyErr_Occurred()) SWIG_fail;
39834 }
39835 resultobj = SWIG_Py_Void();
39836 {
39837 if (temp2)
39838 delete arg2;
39839 }
39840 return resultobj;
39841fail:
39842 {
39843 if (temp2)
39844 delete arg2;
39845 }
39846 return NULL;
d55e5bfc
RD
39847}
39848
39849
554f62e9
RD
39850SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39851 PyObject *resultobj = 0;
39852 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39853 wxString *result = 0 ;
39854 void *argp1 = 0 ;
39855 int res1 = 0 ;
39856 PyObject *swig_obj[1] ;
39857
39858 if (!args) SWIG_fail;
39859 swig_obj[0] = args;
39860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39861 if (!SWIG_IsOK(res1)) {
39862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39863 }
39864 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39865 {
39866 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39867 {
554f62e9
RD
39868 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39869 result = (wxString *) &_result_ref;
39870 }
39871 wxPyEndAllowThreads(__tstate);
39872 if (PyErr_Occurred()) SWIG_fail;
39873 }
39874 {
d55e5bfc 39875#if wxUSE_UNICODE
554f62e9 39876 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 39877#else
554f62e9 39878 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 39879#endif
554f62e9
RD
39880 }
39881 return resultobj;
39882fail:
39883 return NULL;
39884}
39885
39886
39887SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39888 PyObject *resultobj = 0;
39889 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39890 wxString *arg2 = 0 ;
39891 void *argp1 = 0 ;
39892 int res1 = 0 ;
39893 bool temp2 = false ;
39894 PyObject * obj0 = 0 ;
39895 PyObject * obj1 = 0 ;
39896 char * kwnames[] = {
39897 (char *) "self",(char *) "target", NULL
39898 };
39899
39900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39902 if (!SWIG_IsOK(res1)) {
39903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39904 }
39905 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39906 {
39907 arg2 = wxString_in_helper(obj1);
39908 if (arg2 == NULL) SWIG_fail;
39909 temp2 = true;
39910 }
39911 {
39912 PyThreadState* __tstate = wxPyBeginAllowThreads();
39913 (arg1)->SetTarget((wxString const &)*arg2);
39914 wxPyEndAllowThreads(__tstate);
39915 if (PyErr_Occurred()) SWIG_fail;
39916 }
39917 resultobj = SWIG_Py_Void();
39918 {
39919 if (temp2)
39920 delete arg2;
39921 }
39922 return resultobj;
39923fail:
39924 {
39925 if (temp2)
39926 delete arg2;
39927 }
39928 return NULL;
d55e5bfc
RD
39929}
39930
39931
704eda0c
RD
39932SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39933 PyObject *resultobj = 0;
39934 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39935 wxHelpEvent::Origin result;
39936 void *argp1 = 0 ;
39937 int res1 = 0 ;
39938 PyObject *swig_obj[1] ;
39939
39940 if (!args) SWIG_fail;
39941 swig_obj[0] = args;
39942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39943 if (!SWIG_IsOK(res1)) {
39944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39945 }
39946 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39947 {
39948 PyThreadState* __tstate = wxPyBeginAllowThreads();
39949 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39950 wxPyEndAllowThreads(__tstate);
39951 if (PyErr_Occurred()) SWIG_fail;
39952 }
39953 resultobj = SWIG_From_int(static_cast< int >(result));
39954 return resultobj;
39955fail:
39956 return NULL;
39957}
39958
39959
39960SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39961 PyObject *resultobj = 0;
39962 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39963 wxHelpEvent::Origin arg2 ;
39964 void *argp1 = 0 ;
39965 int res1 = 0 ;
39966 int val2 ;
39967 int ecode2 = 0 ;
39968 PyObject * obj0 = 0 ;
39969 PyObject * obj1 = 0 ;
39970 char * kwnames[] = {
39971 (char *) "self",(char *) "origin", NULL
39972 };
39973
39974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39976 if (!SWIG_IsOK(res1)) {
39977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39978 }
39979 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39980 ecode2 = SWIG_AsVal_int(obj1, &val2);
39981 if (!SWIG_IsOK(ecode2)) {
39982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39983 }
39984 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39985 {
39986 PyThreadState* __tstate = wxPyBeginAllowThreads();
39987 (arg1)->SetOrigin(arg2);
39988 wxPyEndAllowThreads(__tstate);
39989 if (PyErr_Occurred()) SWIG_fail;
39990 }
39991 resultobj = SWIG_Py_Void();
39992 return resultobj;
39993fail:
39994 return NULL;
39995}
39996
39997
554f62e9
RD
39998SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39999 PyObject *obj;
40000 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40001 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
40002 return SWIG_Py_Void();
7e08d4ef
RD
40003}
40004
554f62e9
RD
40005SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40006 return SWIG_Python_InitShadowInstance(args);
40007}
7e08d4ef 40008
554f62e9
RD
40009SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40010 PyObject *resultobj = 0;
40011 wxWindow *arg1 = (wxWindow *) NULL ;
40012 bool arg2 = (bool) true ;
40013 wxContextHelp *result = 0 ;
40014 void *argp1 = 0 ;
40015 int res1 = 0 ;
40016 bool val2 ;
40017 int ecode2 = 0 ;
40018 PyObject * obj0 = 0 ;
40019 PyObject * obj1 = 0 ;
40020 char * kwnames[] = {
40021 (char *) "window",(char *) "doNow", NULL
40022 };
40023
40024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40025 if (obj0) {
40026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40027 if (!SWIG_IsOK(res1)) {
40028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 40029 }
554f62e9
RD
40030 arg1 = reinterpret_cast< wxWindow * >(argp1);
40031 }
40032 if (obj1) {
40033 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40034 if (!SWIG_IsOK(ecode2)) {
40035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40036 }
40037 arg2 = static_cast< bool >(val2);
40038 }
40039 {
40040 if (!wxPyCheckForApp()) SWIG_fail;
40041 PyThreadState* __tstate = wxPyBeginAllowThreads();
40042 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40043 wxPyEndAllowThreads(__tstate);
40044 if (PyErr_Occurred()) SWIG_fail;
40045 }
40046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40047 return resultobj;
40048fail:
40049 return NULL;
d55e5bfc
RD
40050}
40051
40052
554f62e9
RD
40053SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40054 PyObject *resultobj = 0;
40055 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40056 void *argp1 = 0 ;
40057 int res1 = 0 ;
40058 PyObject *swig_obj[1] ;
40059
40060 if (!args) SWIG_fail;
40061 swig_obj[0] = args;
40062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40063 if (!SWIG_IsOK(res1)) {
40064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40065 }
40066 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40067 {
40068 PyThreadState* __tstate = wxPyBeginAllowThreads();
40069 delete arg1;
d55e5bfc 40070
554f62e9
RD
40071 wxPyEndAllowThreads(__tstate);
40072 if (PyErr_Occurred()) SWIG_fail;
40073 }
40074 resultobj = SWIG_Py_Void();
40075 return resultobj;
40076fail:
40077 return NULL;
40078}
40079
40080
40081SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40082 PyObject *resultobj = 0;
40083 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40084 wxWindow *arg2 = (wxWindow *) NULL ;
40085 bool result;
40086 void *argp1 = 0 ;
40087 int res1 = 0 ;
40088 void *argp2 = 0 ;
40089 int res2 = 0 ;
40090 PyObject * obj0 = 0 ;
40091 PyObject * obj1 = 0 ;
40092 char * kwnames[] = {
40093 (char *) "self",(char *) "window", NULL
40094 };
40095
40096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40098 if (!SWIG_IsOK(res1)) {
40099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40100 }
40101 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40102 if (obj1) {
40103 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40104 if (!SWIG_IsOK(res2)) {
40105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 40106 }
554f62e9
RD
40107 arg2 = reinterpret_cast< wxWindow * >(argp2);
40108 }
40109 {
40110 PyThreadState* __tstate = wxPyBeginAllowThreads();
40111 result = (bool)(arg1)->BeginContextHelp(arg2);
40112 wxPyEndAllowThreads(__tstate);
40113 if (PyErr_Occurred()) SWIG_fail;
40114 }
40115 {
40116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40117 }
40118 return resultobj;
40119fail:
40120 return NULL;
d55e5bfc
RD
40121}
40122
40123
554f62e9
RD
40124SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40125 PyObject *resultobj = 0;
40126 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40127 bool result;
40128 void *argp1 = 0 ;
40129 int res1 = 0 ;
40130 PyObject *swig_obj[1] ;
40131
40132 if (!args) SWIG_fail;
40133 swig_obj[0] = args;
40134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40135 if (!SWIG_IsOK(res1)) {
40136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40137 }
40138 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40139 {
40140 PyThreadState* __tstate = wxPyBeginAllowThreads();
40141 result = (bool)(arg1)->EndContextHelp();
40142 wxPyEndAllowThreads(__tstate);
40143 if (PyErr_Occurred()) SWIG_fail;
40144 }
40145 {
40146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40147 }
40148 return resultobj;
40149fail:
40150 return NULL;
40151}
40152
40153
40154SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40155 PyObject *obj;
40156 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40157 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40158 return SWIG_Py_Void();
40159}
40160
40161SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40162 return SWIG_Python_InitShadowInstance(args);
40163}
40164
40165SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40166 PyObject *resultobj = 0;
40167 wxWindow *arg1 = (wxWindow *) 0 ;
40168 int arg2 = (int) wxID_CONTEXT_HELP ;
40169 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40170 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40171 wxSize const &arg4_defvalue = wxDefaultSize ;
40172 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40173 long arg5 = (long) wxBU_AUTODRAW ;
40174 wxContextHelpButton *result = 0 ;
40175 void *argp1 = 0 ;
40176 int res1 = 0 ;
40177 int val2 ;
40178 int ecode2 = 0 ;
40179 wxPoint temp3 ;
40180 wxSize temp4 ;
40181 long val5 ;
40182 int ecode5 = 0 ;
40183 PyObject * obj0 = 0 ;
40184 PyObject * obj1 = 0 ;
40185 PyObject * obj2 = 0 ;
40186 PyObject * obj3 = 0 ;
40187 PyObject * obj4 = 0 ;
40188 char * kwnames[] = {
40189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40190 };
40191
40192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40194 if (!SWIG_IsOK(res1)) {
40195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40196 }
40197 arg1 = reinterpret_cast< wxWindow * >(argp1);
40198 if (obj1) {
40199 ecode2 = SWIG_AsVal_int(obj1, &val2);
40200 if (!SWIG_IsOK(ecode2)) {
40201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40202 }
40203 arg2 = static_cast< int >(val2);
40204 }
40205 if (obj2) {
d55e5bfc 40206 {
554f62e9
RD
40207 arg3 = &temp3;
40208 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 40209 }
554f62e9
RD
40210 }
40211 if (obj3) {
d55e5bfc 40212 {
554f62e9
RD
40213 arg4 = &temp4;
40214 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 40215 }
554f62e9
RD
40216 }
40217 if (obj4) {
40218 ecode5 = SWIG_AsVal_long(obj4, &val5);
40219 if (!SWIG_IsOK(ecode5)) {
40220 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40221 }
40222 arg5 = static_cast< long >(val5);
40223 }
40224 {
40225 if (!wxPyCheckForApp()) SWIG_fail;
40226 PyThreadState* __tstate = wxPyBeginAllowThreads();
40227 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40228 wxPyEndAllowThreads(__tstate);
40229 if (PyErr_Occurred()) SWIG_fail;
40230 }
40231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40232 return resultobj;
40233fail:
40234 return NULL;
d55e5bfc
RD
40235}
40236
40237
554f62e9
RD
40238SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40239 PyObject *obj;
40240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40241 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40242 return SWIG_Py_Void();
d55e5bfc
RD
40243}
40244
554f62e9
RD
40245SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40246 return SWIG_Python_InitShadowInstance(args);
40247}
d55e5bfc 40248
f52cbe90
RD
40249SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40250 PyObject *resultobj = 0;
40251 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40252 void *argp1 = 0 ;
40253 int res1 = 0 ;
40254 PyObject *swig_obj[1] ;
40255
40256 if (!args) SWIG_fail;
40257 swig_obj[0] = args;
40258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40259 if (!SWIG_IsOK(res1)) {
40260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40261 }
40262 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40263 {
40264 PyThreadState* __tstate = wxPyBeginAllowThreads();
40265 delete arg1;
40266
40267 wxPyEndAllowThreads(__tstate);
40268 if (PyErr_Occurred()) SWIG_fail;
40269 }
40270 resultobj = SWIG_Py_Void();
40271 return resultobj;
40272fail:
40273 return NULL;
40274}
40275
40276
554f62e9
RD
40277SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40278 PyObject *resultobj = 0;
40279 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40280 wxHelpProvider *result = 0 ;
40281 int res1 = 0 ;
40282 PyObject * obj0 = 0 ;
40283 char * kwnames[] = {
40284 (char *) "helpProvider", NULL
40285 };
40286
40287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40288 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40289 if (!SWIG_IsOK(res1)) {
40290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40291 }
40292 {
40293 PyThreadState* __tstate = wxPyBeginAllowThreads();
40294 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40295 wxPyEndAllowThreads(__tstate);
40296 if (PyErr_Occurred()) SWIG_fail;
40297 }
40298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40299 return resultobj;
40300fail:
40301 return NULL;
d55e5bfc
RD
40302}
40303
40304
554f62e9
RD
40305SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40306 PyObject *resultobj = 0;
40307 wxHelpProvider *result = 0 ;
40308
40309 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40310 {
40311 PyThreadState* __tstate = wxPyBeginAllowThreads();
40312 result = (wxHelpProvider *)wxHelpProvider::Get();
40313 wxPyEndAllowThreads(__tstate);
40314 if (PyErr_Occurred()) SWIG_fail;
40315 }
40316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40317 return resultobj;
40318fail:
40319 return NULL;
40320}
40321
40322
40323SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40324 PyObject *resultobj = 0;
40325 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40326 wxWindow *arg2 = (wxWindow *) 0 ;
40327 wxString result;
40328 void *argp1 = 0 ;
40329 int res1 = 0 ;
40330 void *argp2 = 0 ;
40331 int res2 = 0 ;
40332 PyObject * obj0 = 0 ;
40333 PyObject * obj1 = 0 ;
40334 char * kwnames[] = {
40335 (char *) "self",(char *) "window", NULL
40336 };
40337
40338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40340 if (!SWIG_IsOK(res1)) {
40341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40342 }
40343 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40345 if (!SWIG_IsOK(res2)) {
40346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40347 }
40348 arg2 = reinterpret_cast< wxWindow * >(argp2);
40349 {
40350 PyThreadState* __tstate = wxPyBeginAllowThreads();
40351 result = (arg1)->GetHelp((wxWindow const *)arg2);
40352 wxPyEndAllowThreads(__tstate);
40353 if (PyErr_Occurred()) SWIG_fail;
40354 }
40355 {
40356#if wxUSE_UNICODE
40357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40358#else
40359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40360#endif
40361 }
40362 return resultobj;
40363fail:
40364 return NULL;
40365}
40366
40367
40368SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40369 PyObject *resultobj = 0;
40370 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40371 wxWindow *arg2 = (wxWindow *) 0 ;
40372 bool result;
40373 void *argp1 = 0 ;
40374 int res1 = 0 ;
40375 void *argp2 = 0 ;
40376 int res2 = 0 ;
40377 PyObject * obj0 = 0 ;
40378 PyObject * obj1 = 0 ;
40379 char * kwnames[] = {
40380 (char *) "self",(char *) "window", NULL
40381 };
40382
40383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40385 if (!SWIG_IsOK(res1)) {
40386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40387 }
40388 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40389 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40390 if (!SWIG_IsOK(res2)) {
40391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40392 }
40393 arg2 = reinterpret_cast< wxWindow * >(argp2);
40394 {
40395 PyThreadState* __tstate = wxPyBeginAllowThreads();
40396 result = (bool)(arg1)->ShowHelp(arg2);
40397 wxPyEndAllowThreads(__tstate);
40398 if (PyErr_Occurred()) SWIG_fail;
40399 }
40400 {
40401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40402 }
40403 return resultobj;
40404fail:
40405 return NULL;
40406}
40407
40408
b850e7f3
RD
40409SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40410 PyObject *resultobj = 0;
40411 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40412 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40413 wxPoint *arg3 = 0 ;
40414 wxHelpEvent::Origin arg4 ;
40415 bool result;
40416 void *argp1 = 0 ;
40417 int res1 = 0 ;
40418 void *argp2 = 0 ;
40419 int res2 = 0 ;
40420 wxPoint temp3 ;
40421 int val4 ;
40422 int ecode4 = 0 ;
40423 PyObject * obj0 = 0 ;
40424 PyObject * obj1 = 0 ;
40425 PyObject * obj2 = 0 ;
40426 PyObject * obj3 = 0 ;
40427 char * kwnames[] = {
40428 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40429 };
40430
40431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40433 if (!SWIG_IsOK(res1)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40435 }
40436 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40437 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40438 if (!SWIG_IsOK(res2)) {
40439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40440 }
40441 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40442 {
40443 arg3 = &temp3;
40444 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40445 }
40446 ecode4 = SWIG_AsVal_int(obj3, &val4);
40447 if (!SWIG_IsOK(ecode4)) {
40448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40449 }
40450 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40451 {
40452 PyThreadState* __tstate = wxPyBeginAllowThreads();
40453 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40454 wxPyEndAllowThreads(__tstate);
40455 if (PyErr_Occurred()) SWIG_fail;
40456 }
40457 {
40458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40459 }
40460 return resultobj;
40461fail:
40462 return NULL;
40463}
40464
40465
554f62e9
RD
40466SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40467 PyObject *resultobj = 0;
40468 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40469 wxWindow *arg2 = (wxWindow *) 0 ;
40470 wxString *arg3 = 0 ;
40471 void *argp1 = 0 ;
40472 int res1 = 0 ;
40473 void *argp2 = 0 ;
40474 int res2 = 0 ;
40475 bool temp3 = false ;
40476 PyObject * obj0 = 0 ;
40477 PyObject * obj1 = 0 ;
40478 PyObject * obj2 = 0 ;
40479 char * kwnames[] = {
40480 (char *) "self",(char *) "window",(char *) "text", NULL
40481 };
40482
40483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40485 if (!SWIG_IsOK(res1)) {
40486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40487 }
40488 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40490 if (!SWIG_IsOK(res2)) {
40491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40492 }
40493 arg2 = reinterpret_cast< wxWindow * >(argp2);
40494 {
40495 arg3 = wxString_in_helper(obj2);
40496 if (arg3 == NULL) SWIG_fail;
40497 temp3 = true;
40498 }
40499 {
40500 PyThreadState* __tstate = wxPyBeginAllowThreads();
40501 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40502 wxPyEndAllowThreads(__tstate);
40503 if (PyErr_Occurred()) SWIG_fail;
40504 }
40505 resultobj = SWIG_Py_Void();
40506 {
40507 if (temp3)
40508 delete arg3;
40509 }
40510 return resultobj;
40511fail:
40512 {
40513 if (temp3)
40514 delete arg3;
40515 }
40516 return NULL;
40517}
40518
40519
40520SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40521 PyObject *resultobj = 0;
40522 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40523 int arg2 ;
40524 wxString *arg3 = 0 ;
40525 void *argp1 = 0 ;
40526 int res1 = 0 ;
40527 int val2 ;
40528 int ecode2 = 0 ;
40529 bool temp3 = false ;
40530 PyObject * obj0 = 0 ;
40531 PyObject * obj1 = 0 ;
40532 PyObject * obj2 = 0 ;
40533 char * kwnames[] = {
40534 (char *) "self",(char *) "id",(char *) "text", NULL
40535 };
40536
40537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40539 if (!SWIG_IsOK(res1)) {
40540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40541 }
40542 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40543 ecode2 = SWIG_AsVal_int(obj1, &val2);
40544 if (!SWIG_IsOK(ecode2)) {
40545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40546 }
40547 arg2 = static_cast< int >(val2);
40548 {
40549 arg3 = wxString_in_helper(obj2);
40550 if (arg3 == NULL) SWIG_fail;
40551 temp3 = true;
40552 }
40553 {
40554 PyThreadState* __tstate = wxPyBeginAllowThreads();
40555 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40556 wxPyEndAllowThreads(__tstate);
40557 if (PyErr_Occurred()) SWIG_fail;
40558 }
40559 resultobj = SWIG_Py_Void();
40560 {
40561 if (temp3)
40562 delete arg3;
40563 }
40564 return resultobj;
40565fail:
40566 {
40567 if (temp3)
40568 delete arg3;
40569 }
40570 return NULL;
40571}
40572
40573
40574SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40575 PyObject *resultobj = 0;
40576 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40577 wxWindow *arg2 = (wxWindow *) 0 ;
40578 void *argp1 = 0 ;
40579 int res1 = 0 ;
40580 void *argp2 = 0 ;
40581 int res2 = 0 ;
40582 PyObject * obj0 = 0 ;
40583 PyObject * obj1 = 0 ;
40584 char * kwnames[] = {
40585 (char *) "self",(char *) "window", NULL
40586 };
40587
40588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40590 if (!SWIG_IsOK(res1)) {
40591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40592 }
40593 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40595 if (!SWIG_IsOK(res2)) {
40596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40597 }
40598 arg2 = reinterpret_cast< wxWindow * >(argp2);
40599 {
40600 PyThreadState* __tstate = wxPyBeginAllowThreads();
40601 (arg1)->RemoveHelp(arg2);
40602 wxPyEndAllowThreads(__tstate);
40603 if (PyErr_Occurred()) SWIG_fail;
40604 }
40605 resultobj = SWIG_Py_Void();
40606 return resultobj;
40607fail:
40608 return NULL;
d55e5bfc
RD
40609}
40610
40611
554f62e9
RD
40612SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40613 PyObject *resultobj = 0;
40614 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40615 void *argp1 = 0 ;
40616 int res1 = 0 ;
40617 PyObject *swig_obj[1] ;
40618
40619 if (!args) SWIG_fail;
40620 swig_obj[0] = args;
40621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40622 if (!SWIG_IsOK(res1)) {
40623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40624 }
40625 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40626 {
40627 PyThreadState* __tstate = wxPyBeginAllowThreads();
40628 wxHelpProvider_Destroy(arg1);
40629 wxPyEndAllowThreads(__tstate);
40630 if (PyErr_Occurred()) SWIG_fail;
40631 }
40632 resultobj = SWIG_Py_Void();
40633 return resultobj;
40634fail:
40635 return NULL;
d55e5bfc
RD
40636}
40637
40638
554f62e9
RD
40639SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40640 PyObject *obj;
40641 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40642 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40643 return SWIG_Py_Void();
d55e5bfc
RD
40644}
40645
554f62e9
RD
40646SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40647 PyObject *resultobj = 0;
40648 wxSimpleHelpProvider *result = 0 ;
40649
40650 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40651 {
40652 PyThreadState* __tstate = wxPyBeginAllowThreads();
40653 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40654 wxPyEndAllowThreads(__tstate);
40655 if (PyErr_Occurred()) SWIG_fail;
40656 }
40657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40658 return resultobj;
40659fail:
40660 return NULL;
40661}
40662
40663
40664SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40665 PyObject *obj;
40666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40667 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40668 return SWIG_Py_Void();
40669}
40670
40671SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40672 return SWIG_Python_InitShadowInstance(args);
40673}
40674
40675SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40676 PyObject *resultobj = 0;
40677 wxBitmap *arg1 = 0 ;
40678 wxCursor const &arg2_defvalue = wxNullCursor ;
40679 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40680 wxGenericDragImage *result = 0 ;
40681 void *argp1 = 0 ;
40682 int res1 = 0 ;
40683 void *argp2 = 0 ;
40684 int res2 = 0 ;
40685 PyObject * obj0 = 0 ;
40686 PyObject * obj1 = 0 ;
40687 char * kwnames[] = {
40688 (char *) "image",(char *) "cursor", NULL
40689 };
40690
40691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40692 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40693 if (!SWIG_IsOK(res1)) {
40694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40695 }
40696 if (!argp1) {
40697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40698 }
40699 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40700 if (obj1) {
40701 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40702 if (!SWIG_IsOK(res2)) {
40703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40704 }
554f62e9
RD
40705 if (!argp2) {
40706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40707 }
554f62e9
RD
40708 arg2 = reinterpret_cast< wxCursor * >(argp2);
40709 }
40710 {
40711 if (!wxPyCheckForApp()) SWIG_fail;
40712 PyThreadState* __tstate = wxPyBeginAllowThreads();
40713 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40714 wxPyEndAllowThreads(__tstate);
40715 if (PyErr_Occurred()) SWIG_fail;
40716 }
40717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40718 return resultobj;
40719fail:
40720 return NULL;
40721}
40722
40723
40724SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40725 PyObject *resultobj = 0;
40726 wxIcon *arg1 = 0 ;
40727 wxCursor const &arg2_defvalue = wxNullCursor ;
40728 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40729 wxGenericDragImage *result = 0 ;
40730 void *argp1 = 0 ;
40731 int res1 = 0 ;
40732 void *argp2 = 0 ;
40733 int res2 = 0 ;
40734 PyObject * obj0 = 0 ;
40735 PyObject * obj1 = 0 ;
40736 char * kwnames[] = {
40737 (char *) "image",(char *) "cursor", NULL
40738 };
40739
40740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40741 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40742 if (!SWIG_IsOK(res1)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40744 }
40745 if (!argp1) {
40746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40747 }
40748 arg1 = reinterpret_cast< wxIcon * >(argp1);
40749 if (obj1) {
40750 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40751 if (!SWIG_IsOK(res2)) {
40752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40753 }
554f62e9
RD
40754 if (!argp2) {
40755 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40756 }
554f62e9
RD
40757 arg2 = reinterpret_cast< wxCursor * >(argp2);
40758 }
40759 {
40760 if (!wxPyCheckForApp()) SWIG_fail;
40761 PyThreadState* __tstate = wxPyBeginAllowThreads();
40762 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40763 wxPyEndAllowThreads(__tstate);
40764 if (PyErr_Occurred()) SWIG_fail;
40765 }
40766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40767 return resultobj;
40768fail:
40769 return NULL;
40770}
40771
40772
40773SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40774 PyObject *resultobj = 0;
40775 wxString *arg1 = 0 ;
40776 wxCursor const &arg2_defvalue = wxNullCursor ;
40777 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40778 wxGenericDragImage *result = 0 ;
40779 bool temp1 = false ;
40780 void *argp2 = 0 ;
40781 int res2 = 0 ;
40782 PyObject * obj0 = 0 ;
40783 PyObject * obj1 = 0 ;
40784 char * kwnames[] = {
40785 (char *) "str",(char *) "cursor", NULL
40786 };
40787
40788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40789 {
40790 arg1 = wxString_in_helper(obj0);
40791 if (arg1 == NULL) SWIG_fail;
40792 temp1 = true;
40793 }
40794 if (obj1) {
40795 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40796 if (!SWIG_IsOK(res2)) {
40797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40798 }
554f62e9
RD
40799 if (!argp2) {
40800 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40801 }
554f62e9
RD
40802 arg2 = reinterpret_cast< wxCursor * >(argp2);
40803 }
40804 {
40805 if (!wxPyCheckForApp()) SWIG_fail;
40806 PyThreadState* __tstate = wxPyBeginAllowThreads();
40807 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40808 wxPyEndAllowThreads(__tstate);
40809 if (PyErr_Occurred()) SWIG_fail;
40810 }
40811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40812 {
40813 if (temp1)
40814 delete arg1;
40815 }
40816 return resultobj;
40817fail:
40818 {
40819 if (temp1)
40820 delete arg1;
40821 }
40822 return NULL;
40823}
40824
40825
40826SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40827 PyObject *resultobj = 0;
40828 wxPyTreeCtrl *arg1 = 0 ;
40829 wxTreeItemId *arg2 = 0 ;
40830 wxGenericDragImage *result = 0 ;
40831 void *argp1 = 0 ;
40832 int res1 = 0 ;
40833 void *argp2 = 0 ;
40834 int res2 = 0 ;
40835 PyObject * obj0 = 0 ;
40836 PyObject * obj1 = 0 ;
40837 char * kwnames[] = {
40838 (char *) "treeCtrl",(char *) "id", NULL
40839 };
40840
40841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40842 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40843 if (!SWIG_IsOK(res1)) {
40844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40845 }
40846 if (!argp1) {
40847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40848 }
40849 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40850 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40851 if (!SWIG_IsOK(res2)) {
40852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40853 }
40854 if (!argp2) {
40855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40856 }
40857 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40858 {
40859 if (!wxPyCheckForApp()) SWIG_fail;
40860 PyThreadState* __tstate = wxPyBeginAllowThreads();
40861 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40862 wxPyEndAllowThreads(__tstate);
40863 if (PyErr_Occurred()) SWIG_fail;
40864 }
40865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40866 return resultobj;
40867fail:
40868 return NULL;
40869}
40870
40871
40872SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40873 PyObject *resultobj = 0;
40874 wxPyListCtrl *arg1 = 0 ;
40875 long arg2 ;
40876 wxGenericDragImage *result = 0 ;
40877 void *argp1 = 0 ;
40878 int res1 = 0 ;
40879 long val2 ;
40880 int ecode2 = 0 ;
40881 PyObject * obj0 = 0 ;
40882 PyObject * obj1 = 0 ;
40883 char * kwnames[] = {
40884 (char *) "listCtrl",(char *) "id", NULL
40885 };
40886
40887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40888 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40889 if (!SWIG_IsOK(res1)) {
40890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40891 }
40892 if (!argp1) {
40893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40894 }
40895 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40896 ecode2 = SWIG_AsVal_long(obj1, &val2);
40897 if (!SWIG_IsOK(ecode2)) {
40898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40899 }
40900 arg2 = static_cast< long >(val2);
40901 {
40902 if (!wxPyCheckForApp()) SWIG_fail;
40903 PyThreadState* __tstate = wxPyBeginAllowThreads();
40904 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40905 wxPyEndAllowThreads(__tstate);
40906 if (PyErr_Occurred()) SWIG_fail;
40907 }
40908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40909 return resultobj;
40910fail:
40911 return NULL;
d55e5bfc
RD
40912}
40913
40914
554f62e9
RD
40915SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40916 PyObject *resultobj = 0;
40917 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40918 void *argp1 = 0 ;
40919 int res1 = 0 ;
40920 PyObject *swig_obj[1] ;
40921
40922 if (!args) SWIG_fail;
40923 swig_obj[0] = args;
40924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40925 if (!SWIG_IsOK(res1)) {
40926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40927 }
40928 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40929 {
40930 PyThreadState* __tstate = wxPyBeginAllowThreads();
40931 delete arg1;
d55e5bfc 40932
554f62e9
RD
40933 wxPyEndAllowThreads(__tstate);
40934 if (PyErr_Occurred()) SWIG_fail;
40935 }
40936 resultobj = SWIG_Py_Void();
40937 return resultobj;
40938fail:
40939 return NULL;
40940}
40941
40942
40943SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40944 PyObject *resultobj = 0;
40945 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40946 wxBitmap *arg2 = (wxBitmap *) 0 ;
40947 void *argp1 = 0 ;
40948 int res1 = 0 ;
40949 void *argp2 = 0 ;
40950 int res2 = 0 ;
40951 PyObject * obj0 = 0 ;
40952 PyObject * obj1 = 0 ;
40953 char * kwnames[] = {
40954 (char *) "self",(char *) "bitmap", NULL
40955 };
40956
40957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40959 if (!SWIG_IsOK(res1)) {
40960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40961 }
40962 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40963 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40964 if (!SWIG_IsOK(res2)) {
40965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40966 }
40967 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40968 {
40969 PyThreadState* __tstate = wxPyBeginAllowThreads();
40970 (arg1)->SetBackingBitmap(arg2);
40971 wxPyEndAllowThreads(__tstate);
40972 if (PyErr_Occurred()) SWIG_fail;
40973 }
40974 resultobj = SWIG_Py_Void();
40975 return resultobj;
40976fail:
40977 return NULL;
40978}
40979
40980
40981SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40982 PyObject *resultobj = 0;
40983 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40984 wxPoint *arg2 = 0 ;
40985 wxWindow *arg3 = (wxWindow *) 0 ;
40986 bool arg4 = (bool) false ;
40987 wxRect *arg5 = (wxRect *) NULL ;
40988 bool result;
40989 void *argp1 = 0 ;
40990 int res1 = 0 ;
40991 wxPoint temp2 ;
40992 void *argp3 = 0 ;
40993 int res3 = 0 ;
40994 bool val4 ;
40995 int ecode4 = 0 ;
40996 void *argp5 = 0 ;
40997 int res5 = 0 ;
40998 PyObject * obj0 = 0 ;
40999 PyObject * obj1 = 0 ;
41000 PyObject * obj2 = 0 ;
41001 PyObject * obj3 = 0 ;
41002 PyObject * obj4 = 0 ;
41003 char * kwnames[] = {
41004 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41005 };
41006
41007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41009 if (!SWIG_IsOK(res1)) {
41010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41011 }
41012 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41013 {
41014 arg2 = &temp2;
41015 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41016 }
41017 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41018 if (!SWIG_IsOK(res3)) {
41019 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41020 }
41021 arg3 = reinterpret_cast< wxWindow * >(argp3);
41022 if (obj3) {
41023 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41024 if (!SWIG_IsOK(ecode4)) {
41025 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41026 }
41027 arg4 = static_cast< bool >(val4);
41028 }
41029 if (obj4) {
41030 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41031 if (!SWIG_IsOK(res5)) {
41032 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 41033 }
554f62e9
RD
41034 arg5 = reinterpret_cast< wxRect * >(argp5);
41035 }
41036 {
41037 PyThreadState* __tstate = wxPyBeginAllowThreads();
41038 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41039 wxPyEndAllowThreads(__tstate);
41040 if (PyErr_Occurred()) SWIG_fail;
41041 }
41042 {
41043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41044 }
41045 return resultobj;
41046fail:
41047 return NULL;
41048}
41049
41050
41051SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41052 PyObject *resultobj = 0;
41053 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41054 wxPoint *arg2 = 0 ;
41055 wxWindow *arg3 = (wxWindow *) 0 ;
41056 wxWindow *arg4 = (wxWindow *) 0 ;
41057 bool result;
41058 void *argp1 = 0 ;
41059 int res1 = 0 ;
41060 wxPoint temp2 ;
41061 void *argp3 = 0 ;
41062 int res3 = 0 ;
41063 void *argp4 = 0 ;
41064 int res4 = 0 ;
41065 PyObject * obj0 = 0 ;
41066 PyObject * obj1 = 0 ;
41067 PyObject * obj2 = 0 ;
41068 PyObject * obj3 = 0 ;
41069 char * kwnames[] = {
41070 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41071 };
41072
41073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41075 if (!SWIG_IsOK(res1)) {
41076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41077 }
41078 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41079 {
41080 arg2 = &temp2;
41081 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41082 }
41083 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41084 if (!SWIG_IsOK(res3)) {
41085 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41086 }
41087 arg3 = reinterpret_cast< wxWindow * >(argp3);
41088 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41089 if (!SWIG_IsOK(res4)) {
41090 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41091 }
41092 arg4 = reinterpret_cast< wxWindow * >(argp4);
41093 {
41094 PyThreadState* __tstate = wxPyBeginAllowThreads();
41095 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41096 wxPyEndAllowThreads(__tstate);
41097 if (PyErr_Occurred()) SWIG_fail;
41098 }
41099 {
41100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41101 }
41102 return resultobj;
41103fail:
41104 return NULL;
d55e5bfc
RD
41105}
41106
41107
554f62e9
RD
41108SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41109 PyObject *resultobj = 0;
41110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41111 bool result;
41112 void *argp1 = 0 ;
41113 int res1 = 0 ;
41114 PyObject *swig_obj[1] ;
41115
41116 if (!args) SWIG_fail;
41117 swig_obj[0] = args;
41118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41119 if (!SWIG_IsOK(res1)) {
41120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41121 }
41122 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41123 {
41124 PyThreadState* __tstate = wxPyBeginAllowThreads();
41125 result = (bool)(arg1)->EndDrag();
41126 wxPyEndAllowThreads(__tstate);
41127 if (PyErr_Occurred()) SWIG_fail;
41128 }
41129 {
41130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41131 }
41132 return resultobj;
41133fail:
41134 return NULL;
41135}
41136
41137
41138SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41139 PyObject *resultobj = 0;
41140 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41141 wxPoint *arg2 = 0 ;
41142 bool result;
41143 void *argp1 = 0 ;
41144 int res1 = 0 ;
41145 wxPoint temp2 ;
41146 PyObject * obj0 = 0 ;
41147 PyObject * obj1 = 0 ;
41148 char * kwnames[] = {
41149 (char *) "self",(char *) "pt", NULL
41150 };
41151
41152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41154 if (!SWIG_IsOK(res1)) {
41155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41156 }
41157 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41158 {
41159 arg2 = &temp2;
41160 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41161 }
41162 {
41163 PyThreadState* __tstate = wxPyBeginAllowThreads();
41164 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41165 wxPyEndAllowThreads(__tstate);
41166 if (PyErr_Occurred()) SWIG_fail;
41167 }
41168 {
41169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41170 }
41171 return resultobj;
41172fail:
41173 return NULL;
d55e5bfc
RD
41174}
41175
41176
554f62e9
RD
41177SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41178 PyObject *resultobj = 0;
41179 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41180 bool result;
41181 void *argp1 = 0 ;
41182 int res1 = 0 ;
41183 PyObject *swig_obj[1] ;
41184
41185 if (!args) SWIG_fail;
41186 swig_obj[0] = args;
41187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41188 if (!SWIG_IsOK(res1)) {
41189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41190 }
41191 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41192 {
41193 PyThreadState* __tstate = wxPyBeginAllowThreads();
41194 result = (bool)(arg1)->Show();
41195 wxPyEndAllowThreads(__tstate);
41196 if (PyErr_Occurred()) SWIG_fail;
41197 }
41198 {
41199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41200 }
41201 return resultobj;
41202fail:
41203 return NULL;
d55e5bfc
RD
41204}
41205
41206
554f62e9
RD
41207SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41208 PyObject *resultobj = 0;
41209 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41210 bool result;
41211 void *argp1 = 0 ;
41212 int res1 = 0 ;
41213 PyObject *swig_obj[1] ;
41214
41215 if (!args) SWIG_fail;
41216 swig_obj[0] = args;
41217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41218 if (!SWIG_IsOK(res1)) {
41219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41220 }
41221 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41222 {
41223 PyThreadState* __tstate = wxPyBeginAllowThreads();
41224 result = (bool)(arg1)->Hide();
41225 wxPyEndAllowThreads(__tstate);
41226 if (PyErr_Occurred()) SWIG_fail;
41227 }
41228 {
41229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41230 }
41231 return resultobj;
41232fail:
41233 return NULL;
41234}
41235
41236
41237SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41238 PyObject *resultobj = 0;
41239 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41240 wxPoint *arg2 = 0 ;
41241 wxRect result;
41242 void *argp1 = 0 ;
41243 int res1 = 0 ;
41244 wxPoint temp2 ;
41245 PyObject * obj0 = 0 ;
41246 PyObject * obj1 = 0 ;
41247 char * kwnames[] = {
41248 (char *) "self",(char *) "pos", NULL
41249 };
41250
41251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41253 if (!SWIG_IsOK(res1)) {
41254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41255 }
41256 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41257 {
41258 arg2 = &temp2;
41259 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41260 }
41261 {
41262 PyThreadState* __tstate = wxPyBeginAllowThreads();
41263 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41264 wxPyEndAllowThreads(__tstate);
41265 if (PyErr_Occurred()) SWIG_fail;
41266 }
41267 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41268 return resultobj;
41269fail:
41270 return NULL;
41271}
41272
41273
41274SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41275 PyObject *resultobj = 0;
41276 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41277 wxDC *arg2 = 0 ;
41278 wxPoint *arg3 = 0 ;
41279 bool result;
41280 void *argp1 = 0 ;
41281 int res1 = 0 ;
41282 void *argp2 = 0 ;
41283 int res2 = 0 ;
41284 wxPoint temp3 ;
41285 PyObject * obj0 = 0 ;
41286 PyObject * obj1 = 0 ;
41287 PyObject * obj2 = 0 ;
41288 char * kwnames[] = {
41289 (char *) "self",(char *) "dc",(char *) "pos", NULL
41290 };
41291
41292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41294 if (!SWIG_IsOK(res1)) {
41295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41296 }
41297 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41298 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41299 if (!SWIG_IsOK(res2)) {
41300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41301 }
41302 if (!argp2) {
41303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41304 }
41305 arg2 = reinterpret_cast< wxDC * >(argp2);
41306 {
41307 arg3 = &temp3;
41308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41309 }
41310 {
41311 PyThreadState* __tstate = wxPyBeginAllowThreads();
41312 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41313 wxPyEndAllowThreads(__tstate);
41314 if (PyErr_Occurred()) SWIG_fail;
41315 }
41316 {
41317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41318 }
41319 return resultobj;
41320fail:
41321 return NULL;
41322}
41323
41324
41325SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41326 PyObject *resultobj = 0;
41327 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41328 wxDC *arg2 = 0 ;
41329 wxMemoryDC *arg3 = 0 ;
41330 wxRect *arg4 = 0 ;
41331 wxRect *arg5 = 0 ;
41332 bool result;
41333 void *argp1 = 0 ;
41334 int res1 = 0 ;
41335 void *argp2 = 0 ;
41336 int res2 = 0 ;
41337 void *argp3 = 0 ;
41338 int res3 = 0 ;
41339 wxRect temp4 ;
41340 wxRect temp5 ;
41341 PyObject * obj0 = 0 ;
41342 PyObject * obj1 = 0 ;
41343 PyObject * obj2 = 0 ;
41344 PyObject * obj3 = 0 ;
41345 PyObject * obj4 = 0 ;
41346 char * kwnames[] = {
41347 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41348 };
41349
41350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41352 if (!SWIG_IsOK(res1)) {
41353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41354 }
41355 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41356 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41357 if (!SWIG_IsOK(res2)) {
41358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41359 }
41360 if (!argp2) {
41361 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41362 }
41363 arg2 = reinterpret_cast< wxDC * >(argp2);
41364 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41365 if (!SWIG_IsOK(res3)) {
41366 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41367 }
41368 if (!argp3) {
41369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41370 }
41371 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41372 {
41373 arg4 = &temp4;
41374 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41375 }
41376 {
41377 arg5 = &temp5;
41378 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41379 }
41380 {
41381 PyThreadState* __tstate = wxPyBeginAllowThreads();
41382 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41383 wxPyEndAllowThreads(__tstate);
41384 if (PyErr_Occurred()) SWIG_fail;
41385 }
41386 {
41387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41388 }
41389 return resultobj;
41390fail:
41391 return NULL;
41392}
41393
41394
41395SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41396 PyObject *resultobj = 0;
41397 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41398 wxPoint *arg2 = 0 ;
41399 wxPoint *arg3 = 0 ;
41400 bool arg4 ;
41401 bool arg5 ;
41402 bool result;
41403 void *argp1 = 0 ;
41404 int res1 = 0 ;
41405 wxPoint temp2 ;
41406 wxPoint temp3 ;
41407 bool val4 ;
41408 int ecode4 = 0 ;
41409 bool val5 ;
41410 int ecode5 = 0 ;
41411 PyObject * obj0 = 0 ;
41412 PyObject * obj1 = 0 ;
41413 PyObject * obj2 = 0 ;
41414 PyObject * obj3 = 0 ;
41415 PyObject * obj4 = 0 ;
41416 char * kwnames[] = {
41417 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41418 };
41419
41420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41422 if (!SWIG_IsOK(res1)) {
41423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41424 }
41425 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41426 {
41427 arg2 = &temp2;
41428 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41429 }
41430 {
41431 arg3 = &temp3;
41432 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41433 }
41434 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41435 if (!SWIG_IsOK(ecode4)) {
41436 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41437 }
41438 arg4 = static_cast< bool >(val4);
41439 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41440 if (!SWIG_IsOK(ecode5)) {
41441 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41442 }
41443 arg5 = static_cast< bool >(val5);
41444 {
41445 PyThreadState* __tstate = wxPyBeginAllowThreads();
41446 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41447 wxPyEndAllowThreads(__tstate);
41448 if (PyErr_Occurred()) SWIG_fail;
41449 }
41450 {
41451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41452 }
41453 return resultobj;
41454fail:
41455 return NULL;
d55e5bfc
RD
41456}
41457
41458
554f62e9
RD
41459SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41460 PyObject *obj;
41461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41462 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41463 return SWIG_Py_Void();
d55e5bfc
RD
41464}
41465
554f62e9
RD
41466SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41467 return SWIG_Python_InitShadowInstance(args);
41468}
d55e5bfc 41469
554f62e9
RD
41470SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41471 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41472 return 1;
d55e5bfc
RD
41473}
41474
41475
554f62e9
RD
41476SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41477 PyObject *pyobj = 0;
41478
41479 {
41480#if wxUSE_UNICODE
41481 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41482#else
41483 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41484#endif
41485 }
41486 return pyobj;
41487}
41488
41489
41490SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41491 PyObject *resultobj = 0;
41492 wxWindow *arg1 = (wxWindow *) 0 ;
41493 int arg2 = (int) -1 ;
41494 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41495 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41498 wxSize const &arg5_defvalue = wxDefaultSize ;
41499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41500 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41501 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41502 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41503 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41504 wxString *arg8 = (wxString *) &arg8_defvalue ;
41505 wxDatePickerCtrl *result = 0 ;
41506 void *argp1 = 0 ;
41507 int res1 = 0 ;
41508 int val2 ;
41509 int ecode2 = 0 ;
41510 void *argp3 = 0 ;
41511 int res3 = 0 ;
41512 wxPoint temp4 ;
41513 wxSize temp5 ;
41514 long val6 ;
41515 int ecode6 = 0 ;
41516 void *argp7 = 0 ;
41517 int res7 = 0 ;
41518 bool temp8 = false ;
41519 PyObject * obj0 = 0 ;
41520 PyObject * obj1 = 0 ;
41521 PyObject * obj2 = 0 ;
41522 PyObject * obj3 = 0 ;
41523 PyObject * obj4 = 0 ;
41524 PyObject * obj5 = 0 ;
41525 PyObject * obj6 = 0 ;
41526 PyObject * obj7 = 0 ;
41527 char * kwnames[] = {
41528 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41529 };
41530
41531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41533 if (!SWIG_IsOK(res1)) {
41534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41535 }
41536 arg1 = reinterpret_cast< wxWindow * >(argp1);
41537 if (obj1) {
41538 ecode2 = SWIG_AsVal_int(obj1, &val2);
41539 if (!SWIG_IsOK(ecode2)) {
41540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41541 }
41542 arg2 = static_cast< int >(val2);
41543 }
41544 if (obj2) {
41545 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41546 if (!SWIG_IsOK(res3)) {
41547 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41548 }
554f62e9
RD
41549 if (!argp3) {
41550 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41551 }
554f62e9
RD
41552 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41553 }
41554 if (obj3) {
d55e5bfc 41555 {
554f62e9
RD
41556 arg4 = &temp4;
41557 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 41558 }
554f62e9
RD
41559 }
41560 if (obj4) {
093d3ff1 41561 {
554f62e9
RD
41562 arg5 = &temp5;
41563 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41564 }
554f62e9
RD
41565 }
41566 if (obj5) {
41567 ecode6 = SWIG_AsVal_long(obj5, &val6);
41568 if (!SWIG_IsOK(ecode6)) {
41569 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41570 }
41571 arg6 = static_cast< long >(val6);
41572 }
41573 if (obj6) {
41574 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41575 if (!SWIG_IsOK(res7)) {
41576 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 41577 }
554f62e9
RD
41578 if (!argp7) {
41579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 41580 }
554f62e9
RD
41581 arg7 = reinterpret_cast< wxValidator * >(argp7);
41582 }
41583 if (obj7) {
d55e5bfc 41584 {
554f62e9
RD
41585 arg8 = wxString_in_helper(obj7);
41586 if (arg8 == NULL) SWIG_fail;
41587 temp8 = true;
d55e5bfc 41588 }
554f62e9
RD
41589 }
41590 {
41591 if (!wxPyCheckForApp()) SWIG_fail;
41592 PyThreadState* __tstate = wxPyBeginAllowThreads();
41593 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41594 wxPyEndAllowThreads(__tstate);
41595 if (PyErr_Occurred()) SWIG_fail;
41596 }
41597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41598 {
41599 if (temp8)
41600 delete arg8;
41601 }
41602 return resultobj;
41603fail:
41604 {
41605 if (temp8)
41606 delete arg8;
41607 }
41608 return NULL;
d55e5bfc
RD
41609}
41610
41611
554f62e9
RD
41612SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41613 PyObject *resultobj = 0;
41614 wxDatePickerCtrl *result = 0 ;
41615
41616 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41617 {
41618 if (!wxPyCheckForApp()) SWIG_fail;
41619 PyThreadState* __tstate = wxPyBeginAllowThreads();
41620 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41621 wxPyEndAllowThreads(__tstate);
41622 if (PyErr_Occurred()) SWIG_fail;
41623 }
41624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41625 return resultobj;
41626fail:
41627 return NULL;
41628}
41629
41630
41631SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41632 PyObject *resultobj = 0;
41633 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41634 wxWindow *arg2 = (wxWindow *) 0 ;
41635 int arg3 = (int) -1 ;
41636 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41637 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41638 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41639 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41640 wxSize const &arg6_defvalue = wxDefaultSize ;
41641 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41642 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41643 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41644 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41645 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41646 wxString *arg9 = (wxString *) &arg9_defvalue ;
41647 bool result;
41648 void *argp1 = 0 ;
41649 int res1 = 0 ;
41650 void *argp2 = 0 ;
41651 int res2 = 0 ;
41652 int val3 ;
41653 int ecode3 = 0 ;
41654 void *argp4 = 0 ;
41655 int res4 = 0 ;
41656 wxPoint temp5 ;
41657 wxSize temp6 ;
41658 long val7 ;
41659 int ecode7 = 0 ;
41660 void *argp8 = 0 ;
41661 int res8 = 0 ;
41662 bool temp9 = false ;
41663 PyObject * obj0 = 0 ;
41664 PyObject * obj1 = 0 ;
41665 PyObject * obj2 = 0 ;
41666 PyObject * obj3 = 0 ;
41667 PyObject * obj4 = 0 ;
41668 PyObject * obj5 = 0 ;
41669 PyObject * obj6 = 0 ;
41670 PyObject * obj7 = 0 ;
41671 PyObject * obj8 = 0 ;
41672 char * kwnames[] = {
41673 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41674 };
41675
41676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41678 if (!SWIG_IsOK(res1)) {
41679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41680 }
41681 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41682 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41683 if (!SWIG_IsOK(res2)) {
41684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41685 }
41686 arg2 = reinterpret_cast< wxWindow * >(argp2);
41687 if (obj2) {
41688 ecode3 = SWIG_AsVal_int(obj2, &val3);
41689 if (!SWIG_IsOK(ecode3)) {
41690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41691 }
41692 arg3 = static_cast< int >(val3);
41693 }
41694 if (obj3) {
41695 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41696 if (!SWIG_IsOK(res4)) {
41697 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
093d3ff1 41698 }
554f62e9
RD
41699 if (!argp4) {
41700 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41701 }
554f62e9
RD
41702 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41703 }
41704 if (obj4) {
093d3ff1 41705 {
554f62e9
RD
41706 arg5 = &temp5;
41707 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41708 }
554f62e9
RD
41709 }
41710 if (obj5) {
d55e5bfc 41711 {
554f62e9
RD
41712 arg6 = &temp6;
41713 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41714 }
554f62e9
RD
41715 }
41716 if (obj6) {
41717 ecode7 = SWIG_AsVal_long(obj6, &val7);
41718 if (!SWIG_IsOK(ecode7)) {
41719 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41720 }
41721 arg7 = static_cast< long >(val7);
41722 }
41723 if (obj7) {
41724 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41725 if (!SWIG_IsOK(res8)) {
41726 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41727 }
41728 if (!argp8) {
41729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41730 }
554f62e9
RD
41731 arg8 = reinterpret_cast< wxValidator * >(argp8);
41732 }
41733 if (obj8) {
d55e5bfc 41734 {
554f62e9
RD
41735 arg9 = wxString_in_helper(obj8);
41736 if (arg9 == NULL) SWIG_fail;
41737 temp9 = true;
d55e5bfc 41738 }
554f62e9
RD
41739 }
41740 {
41741 PyThreadState* __tstate = wxPyBeginAllowThreads();
41742 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41743 wxPyEndAllowThreads(__tstate);
41744 if (PyErr_Occurred()) SWIG_fail;
41745 }
41746 {
41747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41748 }
41749 {
41750 if (temp9)
41751 delete arg9;
41752 }
41753 return resultobj;
41754fail:
41755 {
41756 if (temp9)
41757 delete arg9;
41758 }
41759 return NULL;
41760}
41761
41762
41763SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41764 PyObject *resultobj = 0;
41765 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41766 wxDateTime *arg2 = 0 ;
41767 void *argp1 = 0 ;
41768 int res1 = 0 ;
41769 void *argp2 = 0 ;
41770 int res2 = 0 ;
41771 PyObject * obj0 = 0 ;
41772 PyObject * obj1 = 0 ;
41773 char * kwnames[] = {
41774 (char *) "self",(char *) "dt", NULL
41775 };
41776
41777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41779 if (!SWIG_IsOK(res1)) {
41780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41781 }
41782 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41784 if (!SWIG_IsOK(res2)) {
41785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41786 }
41787 if (!argp2) {
41788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41789 }
41790 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41791 {
41792 PyThreadState* __tstate = wxPyBeginAllowThreads();
41793 (arg1)->SetValue((wxDateTime const &)*arg2);
41794 wxPyEndAllowThreads(__tstate);
41795 if (PyErr_Occurred()) SWIG_fail;
41796 }
41797 resultobj = SWIG_Py_Void();
41798 return resultobj;
41799fail:
41800 return NULL;
d55e5bfc
RD
41801}
41802
41803
554f62e9
RD
41804SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41805 PyObject *resultobj = 0;
41806 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41807 wxDateTime result;
41808 void *argp1 = 0 ;
41809 int res1 = 0 ;
41810 PyObject *swig_obj[1] ;
41811
41812 if (!args) SWIG_fail;
41813 swig_obj[0] = args;
41814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41815 if (!SWIG_IsOK(res1)) {
41816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41817 }
41818 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41819 {
41820 PyThreadState* __tstate = wxPyBeginAllowThreads();
41821 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41822 wxPyEndAllowThreads(__tstate);
41823 if (PyErr_Occurred()) SWIG_fail;
41824 }
41825 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41826 return resultobj;
41827fail:
41828 return NULL;
41829}
41830
41831
41832SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41833 PyObject *resultobj = 0;
41834 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41835 wxDateTime *arg2 = 0 ;
41836 wxDateTime *arg3 = 0 ;
41837 void *argp1 = 0 ;
41838 int res1 = 0 ;
41839 void *argp2 = 0 ;
41840 int res2 = 0 ;
41841 void *argp3 = 0 ;
41842 int res3 = 0 ;
41843 PyObject * obj0 = 0 ;
41844 PyObject * obj1 = 0 ;
41845 PyObject * obj2 = 0 ;
41846 char * kwnames[] = {
41847 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41848 };
41849
41850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41852 if (!SWIG_IsOK(res1)) {
41853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41854 }
41855 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41856 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41857 if (!SWIG_IsOK(res2)) {
41858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41859 }
41860 if (!argp2) {
41861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41862 }
41863 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41864 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41865 if (!SWIG_IsOK(res3)) {
41866 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41867 }
41868 if (!argp3) {
41869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41870 }
41871 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41872 {
41873 PyThreadState* __tstate = wxPyBeginAllowThreads();
41874 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41875 wxPyEndAllowThreads(__tstate);
41876 if (PyErr_Occurred()) SWIG_fail;
41877 }
41878 resultobj = SWIG_Py_Void();
41879 return resultobj;
41880fail:
41881 return NULL;
d55e5bfc
RD
41882}
41883
41884
554f62e9
RD
41885SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41886 PyObject *resultobj = 0;
41887 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41888 wxDateTime result;
41889 void *argp1 = 0 ;
41890 int res1 = 0 ;
41891 PyObject *swig_obj[1] ;
41892
41893 if (!args) SWIG_fail;
41894 swig_obj[0] = args;
41895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41896 if (!SWIG_IsOK(res1)) {
41897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41898 }
41899 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41900 {
41901 PyThreadState* __tstate = wxPyBeginAllowThreads();
41902 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41903 wxPyEndAllowThreads(__tstate);
41904 if (PyErr_Occurred()) SWIG_fail;
41905 }
41906 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41907 return resultobj;
41908fail:
41909 return NULL;
d55e5bfc
RD
41910}
41911
41912
554f62e9
RD
41913SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41914 PyObject *resultobj = 0;
41915 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41916 wxDateTime result;
41917 void *argp1 = 0 ;
41918 int res1 = 0 ;
41919 PyObject *swig_obj[1] ;
41920
41921 if (!args) SWIG_fail;
41922 swig_obj[0] = args;
41923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41924 if (!SWIG_IsOK(res1)) {
41925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41926 }
41927 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41928 {
41929 PyThreadState* __tstate = wxPyBeginAllowThreads();
41930 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41931 wxPyEndAllowThreads(__tstate);
41932 if (PyErr_Occurred()) SWIG_fail;
41933 }
41934 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41935 return resultobj;
41936fail:
41937 return NULL;
d55e5bfc
RD
41938}
41939
41940
554f62e9
RD
41941SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41942 PyObject *obj;
41943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41944 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41945 return SWIG_Py_Void();
d55e5bfc
RD
41946}
41947
554f62e9
RD
41948SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41949 return SWIG_Python_InitShadowInstance(args);
41950}
d55e5bfc 41951
704eda0c
RD
41952SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41953 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41954 return 1;
41955}
41956
41957
41958SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41959 PyObject *pyobj = 0;
41960
41961 {
41962#if wxUSE_UNICODE
41963 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41964#else
41965 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41966#endif
41967 }
41968 return pyobj;
41969}
41970
41971
41972SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41973 PyObject *resultobj = 0;
41974 wxWindow *arg1 = (wxWindow *) 0 ;
41975 int arg2 ;
41976 wxString *arg3 = 0 ;
41977 wxString *arg4 = 0 ;
41978 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41979 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41980 wxSize const &arg6_defvalue = wxDefaultSize ;
41981 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41982 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41983 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41984 wxString *arg8 = (wxString *) &arg8_defvalue ;
41985 wxHyperlinkCtrl *result = 0 ;
41986 void *argp1 = 0 ;
41987 int res1 = 0 ;
41988 int val2 ;
41989 int ecode2 = 0 ;
41990 bool temp3 = false ;
41991 bool temp4 = false ;
41992 wxPoint temp5 ;
41993 wxSize temp6 ;
41994 long val7 ;
41995 int ecode7 = 0 ;
41996 bool temp8 = false ;
41997 PyObject * obj0 = 0 ;
41998 PyObject * obj1 = 0 ;
41999 PyObject * obj2 = 0 ;
42000 PyObject * obj3 = 0 ;
42001 PyObject * obj4 = 0 ;
42002 PyObject * obj5 = 0 ;
42003 PyObject * obj6 = 0 ;
42004 PyObject * obj7 = 0 ;
42005 char * kwnames[] = {
42006 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42007 };
42008
42009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42011 if (!SWIG_IsOK(res1)) {
42012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42013 }
42014 arg1 = reinterpret_cast< wxWindow * >(argp1);
42015 ecode2 = SWIG_AsVal_int(obj1, &val2);
42016 if (!SWIG_IsOK(ecode2)) {
42017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42018 }
42019 arg2 = static_cast< int >(val2);
42020 {
42021 arg3 = wxString_in_helper(obj2);
42022 if (arg3 == NULL) SWIG_fail;
42023 temp3 = true;
42024 }
42025 {
42026 arg4 = wxString_in_helper(obj3);
42027 if (arg4 == NULL) SWIG_fail;
42028 temp4 = true;
42029 }
42030 if (obj4) {
42031 {
42032 arg5 = &temp5;
42033 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42034 }
42035 }
42036 if (obj5) {
42037 {
42038 arg6 = &temp6;
42039 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42040 }
42041 }
42042 if (obj6) {
42043 ecode7 = SWIG_AsVal_long(obj6, &val7);
42044 if (!SWIG_IsOK(ecode7)) {
42045 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42046 }
42047 arg7 = static_cast< long >(val7);
42048 }
42049 if (obj7) {
42050 {
42051 arg8 = wxString_in_helper(obj7);
42052 if (arg8 == NULL) SWIG_fail;
42053 temp8 = true;
42054 }
42055 }
42056 {
42057 if (!wxPyCheckForApp()) SWIG_fail;
42058 PyThreadState* __tstate = wxPyBeginAllowThreads();
42059 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42060 wxPyEndAllowThreads(__tstate);
42061 if (PyErr_Occurred()) SWIG_fail;
42062 }
42063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42064 {
42065 if (temp3)
42066 delete arg3;
42067 }
42068 {
42069 if (temp4)
42070 delete arg4;
42071 }
42072 {
42073 if (temp8)
42074 delete arg8;
42075 }
42076 return resultobj;
42077fail:
42078 {
42079 if (temp3)
42080 delete arg3;
42081 }
42082 {
42083 if (temp4)
42084 delete arg4;
42085 }
42086 {
42087 if (temp8)
42088 delete arg8;
42089 }
42090 return NULL;
42091}
42092
42093
42094SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42095 PyObject *resultobj = 0;
42096 wxHyperlinkCtrl *result = 0 ;
42097
42098 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42099 {
42100 if (!wxPyCheckForApp()) SWIG_fail;
42101 PyThreadState* __tstate = wxPyBeginAllowThreads();
42102 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42103 wxPyEndAllowThreads(__tstate);
42104 if (PyErr_Occurred()) SWIG_fail;
42105 }
42106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42107 return resultobj;
42108fail:
42109 return NULL;
42110}
42111
42112
42113SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42114 PyObject *resultobj = 0;
42115 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42116 wxWindow *arg2 = (wxWindow *) 0 ;
42117 int arg3 ;
42118 wxString *arg4 = 0 ;
42119 wxString *arg5 = 0 ;
42120 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42121 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42122 wxSize const &arg7_defvalue = wxDefaultSize ;
42123 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42124 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42125 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42126 wxString *arg9 = (wxString *) &arg9_defvalue ;
42127 bool result;
42128 void *argp1 = 0 ;
42129 int res1 = 0 ;
42130 void *argp2 = 0 ;
42131 int res2 = 0 ;
42132 int val3 ;
42133 int ecode3 = 0 ;
42134 bool temp4 = false ;
42135 bool temp5 = false ;
42136 wxPoint temp6 ;
42137 wxSize temp7 ;
42138 long val8 ;
42139 int ecode8 = 0 ;
42140 bool temp9 = false ;
42141 PyObject * obj0 = 0 ;
42142 PyObject * obj1 = 0 ;
42143 PyObject * obj2 = 0 ;
42144 PyObject * obj3 = 0 ;
42145 PyObject * obj4 = 0 ;
42146 PyObject * obj5 = 0 ;
42147 PyObject * obj6 = 0 ;
42148 PyObject * obj7 = 0 ;
42149 PyObject * obj8 = 0 ;
42150 char * kwnames[] = {
42151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42152 };
42153
42154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42156 if (!SWIG_IsOK(res1)) {
42157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42158 }
42159 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42161 if (!SWIG_IsOK(res2)) {
42162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42163 }
42164 arg2 = reinterpret_cast< wxWindow * >(argp2);
42165 ecode3 = SWIG_AsVal_int(obj2, &val3);
42166 if (!SWIG_IsOK(ecode3)) {
42167 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42168 }
42169 arg3 = static_cast< int >(val3);
42170 {
42171 arg4 = wxString_in_helper(obj3);
42172 if (arg4 == NULL) SWIG_fail;
42173 temp4 = true;
42174 }
42175 {
42176 arg5 = wxString_in_helper(obj4);
42177 if (arg5 == NULL) SWIG_fail;
42178 temp5 = true;
42179 }
42180 if (obj5) {
42181 {
42182 arg6 = &temp6;
42183 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42184 }
42185 }
42186 if (obj6) {
42187 {
42188 arg7 = &temp7;
42189 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42190 }
42191 }
42192 if (obj7) {
42193 ecode8 = SWIG_AsVal_long(obj7, &val8);
42194 if (!SWIG_IsOK(ecode8)) {
42195 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42196 }
42197 arg8 = static_cast< long >(val8);
42198 }
42199 if (obj8) {
42200 {
42201 arg9 = wxString_in_helper(obj8);
42202 if (arg9 == NULL) SWIG_fail;
42203 temp9 = true;
42204 }
42205 }
42206 {
42207 PyThreadState* __tstate = wxPyBeginAllowThreads();
42208 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42209 wxPyEndAllowThreads(__tstate);
42210 if (PyErr_Occurred()) SWIG_fail;
42211 }
42212 {
42213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42214 }
42215 {
42216 if (temp4)
42217 delete arg4;
42218 }
42219 {
42220 if (temp5)
42221 delete arg5;
42222 }
42223 {
42224 if (temp9)
42225 delete arg9;
42226 }
42227 return resultobj;
42228fail:
42229 {
42230 if (temp4)
42231 delete arg4;
42232 }
42233 {
42234 if (temp5)
42235 delete arg5;
42236 }
42237 {
42238 if (temp9)
42239 delete arg9;
42240 }
42241 return NULL;
42242}
42243
42244
42245SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42246 PyObject *resultobj = 0;
42247 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42248 wxColour result;
42249 void *argp1 = 0 ;
42250 int res1 = 0 ;
42251 PyObject *swig_obj[1] ;
42252
42253 if (!args) SWIG_fail;
42254 swig_obj[0] = args;
42255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42256 if (!SWIG_IsOK(res1)) {
42257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42258 }
42259 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42260 {
42261 PyThreadState* __tstate = wxPyBeginAllowThreads();
42262 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42263 wxPyEndAllowThreads(__tstate);
42264 if (PyErr_Occurred()) SWIG_fail;
42265 }
42266 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42267 return resultobj;
42268fail:
42269 return NULL;
42270}
42271
42272
42273SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42274 PyObject *resultobj = 0;
42275 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42276 wxColour *arg2 = 0 ;
42277 void *argp1 = 0 ;
42278 int res1 = 0 ;
42279 wxColour temp2 ;
42280 PyObject * obj0 = 0 ;
42281 PyObject * obj1 = 0 ;
42282 char * kwnames[] = {
42283 (char *) "self",(char *) "colour", NULL
42284 };
42285
42286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42288 if (!SWIG_IsOK(res1)) {
42289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42290 }
42291 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42292 {
42293 arg2 = &temp2;
42294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42295 }
42296 {
42297 PyThreadState* __tstate = wxPyBeginAllowThreads();
42298 (arg1)->SetHoverColour((wxColour const &)*arg2);
42299 wxPyEndAllowThreads(__tstate);
42300 if (PyErr_Occurred()) SWIG_fail;
42301 }
42302 resultobj = SWIG_Py_Void();
42303 return resultobj;
42304fail:
42305 return NULL;
42306}
42307
42308
42309SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42310 PyObject *resultobj = 0;
42311 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42312 wxColour result;
42313 void *argp1 = 0 ;
42314 int res1 = 0 ;
42315 PyObject *swig_obj[1] ;
42316
42317 if (!args) SWIG_fail;
42318 swig_obj[0] = args;
42319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42320 if (!SWIG_IsOK(res1)) {
42321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42322 }
42323 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42324 {
42325 PyThreadState* __tstate = wxPyBeginAllowThreads();
42326 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42327 wxPyEndAllowThreads(__tstate);
42328 if (PyErr_Occurred()) SWIG_fail;
42329 }
42330 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42331 return resultobj;
42332fail:
42333 return NULL;
42334}
42335
42336
42337SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42338 PyObject *resultobj = 0;
42339 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42340 wxColour *arg2 = 0 ;
42341 void *argp1 = 0 ;
42342 int res1 = 0 ;
42343 wxColour temp2 ;
42344 PyObject * obj0 = 0 ;
42345 PyObject * obj1 = 0 ;
42346 char * kwnames[] = {
42347 (char *) "self",(char *) "colour", NULL
42348 };
42349
42350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42352 if (!SWIG_IsOK(res1)) {
42353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42354 }
42355 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42356 {
42357 arg2 = &temp2;
42358 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42359 }
42360 {
42361 PyThreadState* __tstate = wxPyBeginAllowThreads();
42362 (arg1)->SetNormalColour((wxColour const &)*arg2);
42363 wxPyEndAllowThreads(__tstate);
42364 if (PyErr_Occurred()) SWIG_fail;
42365 }
42366 resultobj = SWIG_Py_Void();
42367 return resultobj;
42368fail:
42369 return NULL;
42370}
42371
42372
42373SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42374 PyObject *resultobj = 0;
42375 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42376 wxColour result;
42377 void *argp1 = 0 ;
42378 int res1 = 0 ;
42379 PyObject *swig_obj[1] ;
42380
42381 if (!args) SWIG_fail;
42382 swig_obj[0] = args;
42383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42384 if (!SWIG_IsOK(res1)) {
42385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42386 }
42387 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42388 {
42389 PyThreadState* __tstate = wxPyBeginAllowThreads();
42390 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42391 wxPyEndAllowThreads(__tstate);
42392 if (PyErr_Occurred()) SWIG_fail;
42393 }
42394 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42395 return resultobj;
42396fail:
42397 return NULL;
42398}
42399
42400
42401SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42402 PyObject *resultobj = 0;
42403 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42404 wxColour *arg2 = 0 ;
42405 void *argp1 = 0 ;
42406 int res1 = 0 ;
42407 wxColour temp2 ;
42408 PyObject * obj0 = 0 ;
42409 PyObject * obj1 = 0 ;
42410 char * kwnames[] = {
42411 (char *) "self",(char *) "colour", NULL
42412 };
42413
42414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42416 if (!SWIG_IsOK(res1)) {
42417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42418 }
42419 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42420 {
42421 arg2 = &temp2;
42422 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42423 }
42424 {
42425 PyThreadState* __tstate = wxPyBeginAllowThreads();
42426 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42427 wxPyEndAllowThreads(__tstate);
42428 if (PyErr_Occurred()) SWIG_fail;
42429 }
42430 resultobj = SWIG_Py_Void();
42431 return resultobj;
42432fail:
42433 return NULL;
42434}
42435
42436
42437SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42438 PyObject *resultobj = 0;
42439 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42440 wxString result;
42441 void *argp1 = 0 ;
42442 int res1 = 0 ;
42443 PyObject *swig_obj[1] ;
42444
42445 if (!args) SWIG_fail;
42446 swig_obj[0] = args;
42447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42448 if (!SWIG_IsOK(res1)) {
42449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42450 }
42451 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42452 {
42453 PyThreadState* __tstate = wxPyBeginAllowThreads();
42454 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42455 wxPyEndAllowThreads(__tstate);
42456 if (PyErr_Occurred()) SWIG_fail;
42457 }
42458 {
42459#if wxUSE_UNICODE
42460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42461#else
42462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42463#endif
42464 }
42465 return resultobj;
42466fail:
42467 return NULL;
42468}
42469
42470
42471SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42472 PyObject *resultobj = 0;
42473 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42474 wxString *arg2 = 0 ;
42475 void *argp1 = 0 ;
42476 int res1 = 0 ;
42477 bool temp2 = false ;
42478 PyObject * obj0 = 0 ;
42479 PyObject * obj1 = 0 ;
42480 char * kwnames[] = {
42481 (char *) "self",(char *) "url", NULL
42482 };
42483
42484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42486 if (!SWIG_IsOK(res1)) {
42487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42488 }
42489 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42490 {
42491 arg2 = wxString_in_helper(obj1);
42492 if (arg2 == NULL) SWIG_fail;
42493 temp2 = true;
42494 }
42495 {
42496 PyThreadState* __tstate = wxPyBeginAllowThreads();
42497 (arg1)->SetURL((wxString const &)*arg2);
42498 wxPyEndAllowThreads(__tstate);
42499 if (PyErr_Occurred()) SWIG_fail;
42500 }
42501 resultobj = SWIG_Py_Void();
42502 {
42503 if (temp2)
42504 delete arg2;
42505 }
42506 return resultobj;
42507fail:
42508 {
42509 if (temp2)
42510 delete arg2;
42511 }
42512 return NULL;
42513}
42514
42515
42516SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42517 PyObject *resultobj = 0;
42518 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42519 bool arg2 = (bool) true ;
42520 void *argp1 = 0 ;
42521 int res1 = 0 ;
42522 bool val2 ;
42523 int ecode2 = 0 ;
42524 PyObject * obj0 = 0 ;
42525 PyObject * obj1 = 0 ;
42526 char * kwnames[] = {
42527 (char *) "self",(char *) "visited", NULL
42528 };
42529
42530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42532 if (!SWIG_IsOK(res1)) {
42533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42534 }
42535 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42536 if (obj1) {
42537 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42538 if (!SWIG_IsOK(ecode2)) {
42539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42540 }
42541 arg2 = static_cast< bool >(val2);
42542 }
42543 {
42544 PyThreadState* __tstate = wxPyBeginAllowThreads();
42545 (arg1)->SetVisited(arg2);
42546 wxPyEndAllowThreads(__tstate);
42547 if (PyErr_Occurred()) SWIG_fail;
42548 }
42549 resultobj = SWIG_Py_Void();
42550 return resultobj;
42551fail:
42552 return NULL;
42553}
42554
42555
42556SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42557 PyObject *resultobj = 0;
42558 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42559 bool result;
42560 void *argp1 = 0 ;
42561 int res1 = 0 ;
42562 PyObject *swig_obj[1] ;
42563
42564 if (!args) SWIG_fail;
42565 swig_obj[0] = args;
42566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42567 if (!SWIG_IsOK(res1)) {
42568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42569 }
42570 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42571 {
42572 PyThreadState* __tstate = wxPyBeginAllowThreads();
42573 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42574 wxPyEndAllowThreads(__tstate);
42575 if (PyErr_Occurred()) SWIG_fail;
42576 }
42577 {
42578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42579 }
42580 return resultobj;
42581fail:
42582 return NULL;
42583}
42584
42585
42586SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42587 PyObject *obj;
42588 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42589 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42590 return SWIG_Py_Void();
42591}
42592
42593SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42594 return SWIG_Python_InitShadowInstance(args);
42595}
42596
42597SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42598 PyObject *resultobj = 0;
42599 wxObject *arg1 = (wxObject *) 0 ;
42600 int arg2 ;
42601 wxString *arg3 = 0 ;
42602 wxHyperlinkEvent *result = 0 ;
42603 void *argp1 = 0 ;
42604 int res1 = 0 ;
42605 int val2 ;
42606 int ecode2 = 0 ;
42607 bool temp3 = false ;
42608 PyObject * obj0 = 0 ;
42609 PyObject * obj1 = 0 ;
42610 PyObject * obj2 = 0 ;
42611 char * kwnames[] = {
42612 (char *) "generator",(char *) "id",(char *) "url", NULL
42613 };
42614
42615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42617 if (!SWIG_IsOK(res1)) {
42618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42619 }
42620 arg1 = reinterpret_cast< wxObject * >(argp1);
42621 ecode2 = SWIG_AsVal_int(obj1, &val2);
42622 if (!SWIG_IsOK(ecode2)) {
42623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42624 }
42625 arg2 = static_cast< int >(val2);
42626 {
42627 arg3 = wxString_in_helper(obj2);
42628 if (arg3 == NULL) SWIG_fail;
42629 temp3 = true;
42630 }
42631 {
42632 PyThreadState* __tstate = wxPyBeginAllowThreads();
42633 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42634 wxPyEndAllowThreads(__tstate);
42635 if (PyErr_Occurred()) SWIG_fail;
42636 }
42637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42638 {
42639 if (temp3)
42640 delete arg3;
42641 }
42642 return resultobj;
42643fail:
42644 {
42645 if (temp3)
42646 delete arg3;
42647 }
42648 return NULL;
42649}
42650
42651
42652SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42653 PyObject *resultobj = 0;
42654 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42655 wxString result;
42656 void *argp1 = 0 ;
42657 int res1 = 0 ;
42658 PyObject *swig_obj[1] ;
42659
42660 if (!args) SWIG_fail;
42661 swig_obj[0] = args;
42662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42663 if (!SWIG_IsOK(res1)) {
42664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42665 }
42666 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42667 {
42668 PyThreadState* __tstate = wxPyBeginAllowThreads();
42669 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42670 wxPyEndAllowThreads(__tstate);
42671 if (PyErr_Occurred()) SWIG_fail;
42672 }
42673 {
42674#if wxUSE_UNICODE
42675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42676#else
42677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42678#endif
42679 }
42680 return resultobj;
42681fail:
42682 return NULL;
42683}
42684
42685
42686SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42687 PyObject *resultobj = 0;
42688 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42689 wxString *arg2 = 0 ;
42690 void *argp1 = 0 ;
42691 int res1 = 0 ;
42692 bool temp2 = false ;
42693 PyObject * obj0 = 0 ;
42694 PyObject * obj1 = 0 ;
42695 char * kwnames[] = {
42696 (char *) "self",(char *) "url", NULL
42697 };
42698
42699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42701 if (!SWIG_IsOK(res1)) {
42702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42703 }
42704 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42705 {
42706 arg2 = wxString_in_helper(obj1);
42707 if (arg2 == NULL) SWIG_fail;
42708 temp2 = true;
42709 }
42710 {
42711 PyThreadState* __tstate = wxPyBeginAllowThreads();
42712 (arg1)->SetURL((wxString const &)*arg2);
42713 wxPyEndAllowThreads(__tstate);
42714 if (PyErr_Occurred()) SWIG_fail;
42715 }
42716 resultobj = SWIG_Py_Void();
42717 {
42718 if (temp2)
42719 delete arg2;
42720 }
42721 return resultobj;
42722fail:
42723 {
42724 if (temp2)
42725 delete arg2;
42726 }
42727 return NULL;
42728}
42729
42730
42731SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42732 PyObject *obj;
42733 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42734 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42735 return SWIG_Py_Void();
42736}
42737
42738SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42739 return SWIG_Python_InitShadowInstance(args);
42740}
42741
b850e7f3
RD
42742SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42743 PyObject *resultobj = 0;
42744 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42745 wxWindow *arg2 = (wxWindow *) 0 ;
42746 int arg3 ;
42747 wxString const &arg4_defvalue = wxEmptyString ;
42748 wxString *arg4 = (wxString *) &arg4_defvalue ;
42749 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42750 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42751 wxSize const &arg6_defvalue = wxDefaultSize ;
42752 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42753 long arg7 = (long) 0 ;
42754 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42755 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42756 wxString const &arg9_defvalue = wxButtonNameStr ;
42757 wxString *arg9 = (wxString *) &arg9_defvalue ;
42758 bool result;
42759 void *argp1 = 0 ;
42760 int res1 = 0 ;
42761 void *argp2 = 0 ;
42762 int res2 = 0 ;
42763 int val3 ;
42764 int ecode3 = 0 ;
42765 bool temp4 = false ;
42766 wxPoint temp5 ;
42767 wxSize temp6 ;
42768 long val7 ;
42769 int ecode7 = 0 ;
42770 void *argp8 = 0 ;
42771 int res8 = 0 ;
42772 bool temp9 = false ;
42773 PyObject * obj0 = 0 ;
42774 PyObject * obj1 = 0 ;
42775 PyObject * obj2 = 0 ;
42776 PyObject * obj3 = 0 ;
42777 PyObject * obj4 = 0 ;
42778 PyObject * obj5 = 0 ;
42779 PyObject * obj6 = 0 ;
42780 PyObject * obj7 = 0 ;
42781 PyObject * obj8 = 0 ;
42782 char * kwnames[] = {
42783 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42784 };
42785
42786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42788 if (!SWIG_IsOK(res1)) {
42789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42790 }
42791 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42793 if (!SWIG_IsOK(res2)) {
42794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42795 }
42796 arg2 = reinterpret_cast< wxWindow * >(argp2);
42797 ecode3 = SWIG_AsVal_int(obj2, &val3);
42798 if (!SWIG_IsOK(ecode3)) {
42799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42800 }
42801 arg3 = static_cast< int >(val3);
42802 if (obj3) {
42803 {
42804 arg4 = wxString_in_helper(obj3);
42805 if (arg4 == NULL) SWIG_fail;
42806 temp4 = true;
42807 }
42808 }
42809 if (obj4) {
42810 {
42811 arg5 = &temp5;
42812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42813 }
42814 }
42815 if (obj5) {
42816 {
42817 arg6 = &temp6;
42818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42819 }
42820 }
42821 if (obj6) {
42822 ecode7 = SWIG_AsVal_long(obj6, &val7);
42823 if (!SWIG_IsOK(ecode7)) {
42824 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42825 }
42826 arg7 = static_cast< long >(val7);
42827 }
42828 if (obj7) {
42829 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42830 if (!SWIG_IsOK(res8)) {
42831 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42832 }
42833 if (!argp8) {
42834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42835 }
42836 arg8 = reinterpret_cast< wxValidator * >(argp8);
42837 }
42838 if (obj8) {
42839 {
42840 arg9 = wxString_in_helper(obj8);
42841 if (arg9 == NULL) SWIG_fail;
42842 temp9 = true;
42843 }
42844 }
42845 {
42846 PyThreadState* __tstate = wxPyBeginAllowThreads();
42847 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42848 wxPyEndAllowThreads(__tstate);
42849 if (PyErr_Occurred()) SWIG_fail;
42850 }
42851 {
42852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42853 }
42854 {
42855 if (temp4)
42856 delete arg4;
42857 }
42858 {
42859 if (temp9)
42860 delete arg9;
42861 }
42862 return resultobj;
42863fail:
42864 {
42865 if (temp4)
42866 delete arg4;
42867 }
42868 {
42869 if (temp9)
42870 delete arg9;
42871 }
42872 return NULL;
42873}
42874
42875
42876SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42877 PyObject *resultobj = 0;
42878 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42879 int arg2 ;
42880 void *argp1 = 0 ;
42881 int res1 = 0 ;
42882 int val2 ;
42883 int ecode2 = 0 ;
42884 PyObject * obj0 = 0 ;
42885 PyObject * obj1 = 0 ;
42886 char * kwnames[] = {
42887 (char *) "self",(char *) "newmargin", NULL
42888 };
42889
42890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42892 if (!SWIG_IsOK(res1)) {
42893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42894 }
42895 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42896 ecode2 = SWIG_AsVal_int(obj1, &val2);
42897 if (!SWIG_IsOK(ecode2)) {
42898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42899 }
42900 arg2 = static_cast< int >(val2);
42901 {
42902 PyThreadState* __tstate = wxPyBeginAllowThreads();
42903 (arg1)->SetInternalMargin(arg2);
42904 wxPyEndAllowThreads(__tstate);
42905 if (PyErr_Occurred()) SWIG_fail;
42906 }
42907 resultobj = SWIG_Py_Void();
42908 return resultobj;
42909fail:
42910 return NULL;
42911}
42912
42913
42914SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42915 PyObject *resultobj = 0;
42916 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42917 int result;
42918 void *argp1 = 0 ;
42919 int res1 = 0 ;
42920 PyObject *swig_obj[1] ;
42921
42922 if (!args) SWIG_fail;
42923 swig_obj[0] = args;
42924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42925 if (!SWIG_IsOK(res1)) {
42926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42927 }
42928 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42929 {
42930 PyThreadState* __tstate = wxPyBeginAllowThreads();
42931 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42932 wxPyEndAllowThreads(__tstate);
42933 if (PyErr_Occurred()) SWIG_fail;
42934 }
42935 resultobj = SWIG_From_int(static_cast< int >(result));
42936 return resultobj;
42937fail:
42938 return NULL;
42939}
42940
42941
42942SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42943 PyObject *resultobj = 0;
42944 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42945 int arg2 ;
42946 void *argp1 = 0 ;
42947 int res1 = 0 ;
42948 int val2 ;
42949 int ecode2 = 0 ;
42950 PyObject * obj0 = 0 ;
42951 PyObject * obj1 = 0 ;
42952 char * kwnames[] = {
42953 (char *) "self",(char *) "prop", NULL
42954 };
42955
42956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42958 if (!SWIG_IsOK(res1)) {
42959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42960 }
42961 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42962 ecode2 = SWIG_AsVal_int(obj1, &val2);
42963 if (!SWIG_IsOK(ecode2)) {
42964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42965 }
42966 arg2 = static_cast< int >(val2);
42967 {
42968 PyThreadState* __tstate = wxPyBeginAllowThreads();
42969 (arg1)->SetTextCtrlProportion(arg2);
42970 wxPyEndAllowThreads(__tstate);
42971 if (PyErr_Occurred()) SWIG_fail;
42972 }
42973 resultobj = SWIG_Py_Void();
42974 return resultobj;
42975fail:
42976 return NULL;
42977}
42978
42979
42980SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42981 PyObject *resultobj = 0;
42982 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42983 int result;
42984 void *argp1 = 0 ;
42985 int res1 = 0 ;
42986 PyObject *swig_obj[1] ;
42987
42988 if (!args) SWIG_fail;
42989 swig_obj[0] = args;
42990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42991 if (!SWIG_IsOK(res1)) {
42992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42993 }
42994 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42995 {
42996 PyThreadState* __tstate = wxPyBeginAllowThreads();
42997 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42998 wxPyEndAllowThreads(__tstate);
42999 if (PyErr_Occurred()) SWIG_fail;
43000 }
43001 resultobj = SWIG_From_int(static_cast< int >(result));
43002 return resultobj;
43003fail:
43004 return NULL;
43005}
43006
43007
1eeb270e
RD
43008SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43009 PyObject *resultobj = 0;
43010 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43011 int arg2 ;
43012 void *argp1 = 0 ;
43013 int res1 = 0 ;
43014 int val2 ;
43015 int ecode2 = 0 ;
43016 PyObject * obj0 = 0 ;
43017 PyObject * obj1 = 0 ;
43018 char * kwnames[] = {
43019 (char *) "self",(char *) "prop", NULL
43020 };
43021
43022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43024 if (!SWIG_IsOK(res1)) {
43025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43026 }
43027 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43028 ecode2 = SWIG_AsVal_int(obj1, &val2);
43029 if (!SWIG_IsOK(ecode2)) {
43030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43031 }
43032 arg2 = static_cast< int >(val2);
43033 {
43034 PyThreadState* __tstate = wxPyBeginAllowThreads();
43035 (arg1)->SetPickerCtrlProportion(arg2);
43036 wxPyEndAllowThreads(__tstate);
43037 if (PyErr_Occurred()) SWIG_fail;
43038 }
43039 resultobj = SWIG_Py_Void();
43040 return resultobj;
43041fail:
43042 return NULL;
43043}
43044
43045
43046SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43047 PyObject *resultobj = 0;
43048 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43049 int result;
43050 void *argp1 = 0 ;
43051 int res1 = 0 ;
43052 PyObject *swig_obj[1] ;
43053
43054 if (!args) SWIG_fail;
43055 swig_obj[0] = args;
43056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43057 if (!SWIG_IsOK(res1)) {
43058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43059 }
43060 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43061 {
43062 PyThreadState* __tstate = wxPyBeginAllowThreads();
43063 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43064 wxPyEndAllowThreads(__tstate);
43065 if (PyErr_Occurred()) SWIG_fail;
43066 }
43067 resultobj = SWIG_From_int(static_cast< int >(result));
43068 return resultobj;
43069fail:
43070 return NULL;
43071}
43072
43073
b02396e8
RD
43074SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43075 PyObject *resultobj = 0;
43076 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43077 bool result;
43078 void *argp1 = 0 ;
43079 int res1 = 0 ;
43080 PyObject *swig_obj[1] ;
43081
43082 if (!args) SWIG_fail;
43083 swig_obj[0] = args;
43084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43085 if (!SWIG_IsOK(res1)) {
43086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43087 }
43088 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43089 {
43090 PyThreadState* __tstate = wxPyBeginAllowThreads();
43091 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43092 wxPyEndAllowThreads(__tstate);
43093 if (PyErr_Occurred()) SWIG_fail;
43094 }
43095 {
43096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43097 }
43098 return resultobj;
43099fail:
43100 return NULL;
43101}
43102
43103
43104SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43105 PyObject *resultobj = 0;
43106 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43107 bool arg2 = (bool) true ;
43108 void *argp1 = 0 ;
43109 int res1 = 0 ;
43110 bool val2 ;
43111 int ecode2 = 0 ;
43112 PyObject * obj0 = 0 ;
43113 PyObject * obj1 = 0 ;
43114 char * kwnames[] = {
43115 (char *) "self",(char *) "grow", NULL
43116 };
43117
43118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43120 if (!SWIG_IsOK(res1)) {
43121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43122 }
43123 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43124 if (obj1) {
43125 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43126 if (!SWIG_IsOK(ecode2)) {
43127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43128 }
43129 arg2 = static_cast< bool >(val2);
43130 }
43131 {
43132 PyThreadState* __tstate = wxPyBeginAllowThreads();
43133 (arg1)->SetTextCtrlGrowable(arg2);
43134 wxPyEndAllowThreads(__tstate);
43135 if (PyErr_Occurred()) SWIG_fail;
43136 }
43137 resultobj = SWIG_Py_Void();
43138 return resultobj;
43139fail:
43140 return NULL;
43141}
43142
43143
43144SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43145 PyObject *resultobj = 0;
43146 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43147 bool result;
43148 void *argp1 = 0 ;
43149 int res1 = 0 ;
43150 PyObject *swig_obj[1] ;
43151
43152 if (!args) SWIG_fail;
43153 swig_obj[0] = args;
43154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43155 if (!SWIG_IsOK(res1)) {
43156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43157 }
43158 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43159 {
43160 PyThreadState* __tstate = wxPyBeginAllowThreads();
43161 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43162 wxPyEndAllowThreads(__tstate);
43163 if (PyErr_Occurred()) SWIG_fail;
43164 }
43165 {
43166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43167 }
43168 return resultobj;
43169fail:
43170 return NULL;
43171}
43172
43173
43174SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43175 PyObject *resultobj = 0;
43176 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43177 bool arg2 = (bool) true ;
43178 void *argp1 = 0 ;
43179 int res1 = 0 ;
43180 bool val2 ;
43181 int ecode2 = 0 ;
43182 PyObject * obj0 = 0 ;
43183 PyObject * obj1 = 0 ;
43184 char * kwnames[] = {
43185 (char *) "self",(char *) "grow", NULL
43186 };
43187
43188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43190 if (!SWIG_IsOK(res1)) {
43191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43192 }
43193 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43194 if (obj1) {
43195 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43196 if (!SWIG_IsOK(ecode2)) {
43197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43198 }
43199 arg2 = static_cast< bool >(val2);
43200 }
43201 {
43202 PyThreadState* __tstate = wxPyBeginAllowThreads();
43203 (arg1)->SetPickerCtrlGrowable(arg2);
43204 wxPyEndAllowThreads(__tstate);
43205 if (PyErr_Occurred()) SWIG_fail;
43206 }
43207 resultobj = SWIG_Py_Void();
43208 return resultobj;
43209fail:
43210 return NULL;
43211}
43212
43213
b850e7f3
RD
43214SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43215 PyObject *resultobj = 0;
43216 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43217 bool result;
43218 void *argp1 = 0 ;
43219 int res1 = 0 ;
43220 PyObject *swig_obj[1] ;
43221
43222 if (!args) SWIG_fail;
43223 swig_obj[0] = args;
43224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43225 if (!SWIG_IsOK(res1)) {
43226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43227 }
43228 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43229 {
43230 PyThreadState* __tstate = wxPyBeginAllowThreads();
43231 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43232 wxPyEndAllowThreads(__tstate);
43233 if (PyErr_Occurred()) SWIG_fail;
43234 }
43235 {
43236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43237 }
43238 return resultobj;
43239fail:
43240 return NULL;
43241}
43242
43243
43244SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43245 PyObject *resultobj = 0;
43246 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43247 wxTextCtrl *result = 0 ;
43248 void *argp1 = 0 ;
43249 int res1 = 0 ;
43250 PyObject *swig_obj[1] ;
43251
43252 if (!args) SWIG_fail;
43253 swig_obj[0] = args;
43254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43255 if (!SWIG_IsOK(res1)) {
43256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43257 }
43258 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43259 {
43260 PyThreadState* __tstate = wxPyBeginAllowThreads();
43261 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43262 wxPyEndAllowThreads(__tstate);
43263 if (PyErr_Occurred()) SWIG_fail;
43264 }
43265 {
43266 resultobj = wxPyMake_wxObject(result, 0);
43267 }
43268 return resultobj;
43269fail:
43270 return NULL;
43271}
43272
43273
43274SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43275 PyObject *resultobj = 0;
43276 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43277 wxControl *result = 0 ;
43278 void *argp1 = 0 ;
43279 int res1 = 0 ;
43280 PyObject *swig_obj[1] ;
43281
43282 if (!args) SWIG_fail;
43283 swig_obj[0] = args;
43284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43285 if (!SWIG_IsOK(res1)) {
43286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43287 }
43288 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43289 {
43290 PyThreadState* __tstate = wxPyBeginAllowThreads();
43291 result = (wxControl *)(arg1)->GetPickerCtrl();
43292 wxPyEndAllowThreads(__tstate);
43293 if (PyErr_Occurred()) SWIG_fail;
43294 }
43295 {
43296 resultobj = wxPyMake_wxObject(result, 0);
43297 }
43298 return resultobj;
43299fail:
43300 return NULL;
43301}
43302
43303
43304SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43305 PyObject *obj;
43306 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43308 return SWIG_Py_Void();
43309}
43310
43311SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43312 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43313 return 1;
43314}
43315
43316
43317SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43318 PyObject *pyobj = 0;
43319
43320 {
43321#if wxUSE_UNICODE
43322 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43323#else
43324 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43325#endif
43326 }
43327 return pyobj;
43328}
43329
43330
43331SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43332 PyObject *resultobj = 0;
43333 wxWindow *arg1 = (wxWindow *) 0 ;
43334 int arg2 = (int) -1 ;
43335 wxColour const &arg3_defvalue = *wxBLACK ;
43336 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43337 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43338 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43339 wxSize const &arg5_defvalue = wxDefaultSize ;
43340 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43341 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43342 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43343 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43344 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43345 wxString *arg8 = (wxString *) &arg8_defvalue ;
43346 wxColourPickerCtrl *result = 0 ;
43347 void *argp1 = 0 ;
43348 int res1 = 0 ;
43349 int val2 ;
43350 int ecode2 = 0 ;
43351 wxColour temp3 ;
43352 wxPoint temp4 ;
43353 wxSize temp5 ;
43354 long val6 ;
43355 int ecode6 = 0 ;
43356 void *argp7 = 0 ;
43357 int res7 = 0 ;
43358 bool temp8 = false ;
43359 PyObject * obj0 = 0 ;
43360 PyObject * obj1 = 0 ;
43361 PyObject * obj2 = 0 ;
43362 PyObject * obj3 = 0 ;
43363 PyObject * obj4 = 0 ;
43364 PyObject * obj5 = 0 ;
43365 PyObject * obj6 = 0 ;
43366 PyObject * obj7 = 0 ;
43367 char * kwnames[] = {
43368 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43369 };
43370
43371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43373 if (!SWIG_IsOK(res1)) {
43374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43375 }
43376 arg1 = reinterpret_cast< wxWindow * >(argp1);
43377 if (obj1) {
43378 ecode2 = SWIG_AsVal_int(obj1, &val2);
43379 if (!SWIG_IsOK(ecode2)) {
43380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43381 }
43382 arg2 = static_cast< int >(val2);
43383 }
43384 if (obj2) {
43385 {
43386 arg3 = &temp3;
43387 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43388 }
43389 }
43390 if (obj3) {
43391 {
43392 arg4 = &temp4;
43393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43394 }
43395 }
43396 if (obj4) {
43397 {
43398 arg5 = &temp5;
43399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43400 }
43401 }
43402 if (obj5) {
43403 ecode6 = SWIG_AsVal_long(obj5, &val6);
43404 if (!SWIG_IsOK(ecode6)) {
43405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43406 }
43407 arg6 = static_cast< long >(val6);
43408 }
43409 if (obj6) {
43410 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43411 if (!SWIG_IsOK(res7)) {
43412 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43413 }
43414 if (!argp7) {
43415 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43416 }
43417 arg7 = reinterpret_cast< wxValidator * >(argp7);
43418 }
43419 if (obj7) {
43420 {
43421 arg8 = wxString_in_helper(obj7);
43422 if (arg8 == NULL) SWIG_fail;
43423 temp8 = true;
43424 }
43425 }
43426 {
43427 if (!wxPyCheckForApp()) SWIG_fail;
43428 PyThreadState* __tstate = wxPyBeginAllowThreads();
43429 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43430 wxPyEndAllowThreads(__tstate);
43431 if (PyErr_Occurred()) SWIG_fail;
43432 }
43433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43434 {
43435 if (temp8)
43436 delete arg8;
43437 }
43438 return resultobj;
43439fail:
43440 {
43441 if (temp8)
43442 delete arg8;
43443 }
43444 return NULL;
43445}
43446
43447
43448SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43449 PyObject *resultobj = 0;
43450 wxColourPickerCtrl *result = 0 ;
43451
43452 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43453 {
43454 if (!wxPyCheckForApp()) SWIG_fail;
43455 PyThreadState* __tstate = wxPyBeginAllowThreads();
43456 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43457 wxPyEndAllowThreads(__tstate);
43458 if (PyErr_Occurred()) SWIG_fail;
43459 }
43460 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43461 return resultobj;
43462fail:
43463 return NULL;
43464}
43465
43466
43467SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43468 PyObject *resultobj = 0;
43469 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43470 wxWindow *arg2 = (wxWindow *) 0 ;
43471 int arg3 ;
43472 wxColour const &arg4_defvalue = *wxBLACK ;
43473 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43474 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43475 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43476 wxSize const &arg6_defvalue = wxDefaultSize ;
43477 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43478 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43479 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43480 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43481 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43482 wxString *arg9 = (wxString *) &arg9_defvalue ;
43483 bool result;
43484 void *argp1 = 0 ;
43485 int res1 = 0 ;
43486 void *argp2 = 0 ;
43487 int res2 = 0 ;
43488 int val3 ;
43489 int ecode3 = 0 ;
43490 wxColour temp4 ;
43491 wxPoint temp5 ;
43492 wxSize temp6 ;
43493 long val7 ;
43494 int ecode7 = 0 ;
43495 void *argp8 = 0 ;
43496 int res8 = 0 ;
43497 bool temp9 = false ;
43498 PyObject * obj0 = 0 ;
43499 PyObject * obj1 = 0 ;
43500 PyObject * obj2 = 0 ;
43501 PyObject * obj3 = 0 ;
43502 PyObject * obj4 = 0 ;
43503 PyObject * obj5 = 0 ;
43504 PyObject * obj6 = 0 ;
43505 PyObject * obj7 = 0 ;
43506 PyObject * obj8 = 0 ;
43507 char * kwnames[] = {
43508 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43509 };
43510
43511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43513 if (!SWIG_IsOK(res1)) {
43514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43515 }
43516 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43518 if (!SWIG_IsOK(res2)) {
43519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43520 }
43521 arg2 = reinterpret_cast< wxWindow * >(argp2);
43522 ecode3 = SWIG_AsVal_int(obj2, &val3);
43523 if (!SWIG_IsOK(ecode3)) {
43524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43525 }
43526 arg3 = static_cast< int >(val3);
43527 if (obj3) {
43528 {
43529 arg4 = &temp4;
43530 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43531 }
43532 }
43533 if (obj4) {
43534 {
43535 arg5 = &temp5;
43536 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43537 }
43538 }
43539 if (obj5) {
43540 {
43541 arg6 = &temp6;
43542 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43543 }
43544 }
43545 if (obj6) {
43546 ecode7 = SWIG_AsVal_long(obj6, &val7);
43547 if (!SWIG_IsOK(ecode7)) {
43548 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43549 }
43550 arg7 = static_cast< long >(val7);
43551 }
43552 if (obj7) {
43553 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43554 if (!SWIG_IsOK(res8)) {
43555 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43556 }
43557 if (!argp8) {
43558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43559 }
43560 arg8 = reinterpret_cast< wxValidator * >(argp8);
43561 }
43562 if (obj8) {
43563 {
43564 arg9 = wxString_in_helper(obj8);
43565 if (arg9 == NULL) SWIG_fail;
43566 temp9 = true;
43567 }
43568 }
43569 {
43570 PyThreadState* __tstate = wxPyBeginAllowThreads();
43571 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43572 wxPyEndAllowThreads(__tstate);
43573 if (PyErr_Occurred()) SWIG_fail;
43574 }
43575 {
43576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43577 }
43578 {
43579 if (temp9)
43580 delete arg9;
43581 }
43582 return resultobj;
43583fail:
43584 {
43585 if (temp9)
43586 delete arg9;
43587 }
43588 return NULL;
43589}
43590
43591
43592SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43593 PyObject *resultobj = 0;
43594 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43595 wxColour result;
43596 void *argp1 = 0 ;
43597 int res1 = 0 ;
43598 PyObject *swig_obj[1] ;
43599
43600 if (!args) SWIG_fail;
43601 swig_obj[0] = args;
43602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43603 if (!SWIG_IsOK(res1)) {
43604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43605 }
43606 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43607 {
43608 PyThreadState* __tstate = wxPyBeginAllowThreads();
43609 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43610 wxPyEndAllowThreads(__tstate);
43611 if (PyErr_Occurred()) SWIG_fail;
43612 }
43613 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43614 return resultobj;
43615fail:
43616 return NULL;
43617}
43618
43619
43620SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43621 PyObject *resultobj = 0;
43622 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43623 wxColour *arg2 = 0 ;
43624 void *argp1 = 0 ;
43625 int res1 = 0 ;
43626 wxColour temp2 ;
43627 PyObject * obj0 = 0 ;
43628 PyObject * obj1 = 0 ;
43629 char * kwnames[] = {
43630 (char *) "self",(char *) "col", NULL
43631 };
43632
43633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43635 if (!SWIG_IsOK(res1)) {
43636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43637 }
43638 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43639 {
43640 arg2 = &temp2;
43641 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43642 }
43643 {
43644 PyThreadState* __tstate = wxPyBeginAllowThreads();
43645 (arg1)->SetColour((wxColour const &)*arg2);
43646 wxPyEndAllowThreads(__tstate);
43647 if (PyErr_Occurred()) SWIG_fail;
43648 }
43649 resultobj = SWIG_Py_Void();
43650 return resultobj;
43651fail:
43652 return NULL;
43653}
43654
43655
43656SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43657 PyObject *obj;
43658 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43659 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43660 return SWIG_Py_Void();
43661}
43662
43663SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43664 return SWIG_Python_InitShadowInstance(args);
43665}
43666
43667SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43668 PyObject *resultobj = 0;
43669 wxObject *arg1 = (wxObject *) 0 ;
43670 int arg2 ;
43671 wxColour *arg3 = 0 ;
43672 wxColourPickerEvent *result = 0 ;
43673 void *argp1 = 0 ;
43674 int res1 = 0 ;
43675 int val2 ;
43676 int ecode2 = 0 ;
43677 wxColour temp3 ;
43678 PyObject * obj0 = 0 ;
43679 PyObject * obj1 = 0 ;
43680 PyObject * obj2 = 0 ;
43681 char * kwnames[] = {
43682 (char *) "generator",(char *) "id",(char *) "col", NULL
43683 };
43684
43685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43687 if (!SWIG_IsOK(res1)) {
43688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43689 }
43690 arg1 = reinterpret_cast< wxObject * >(argp1);
43691 ecode2 = SWIG_AsVal_int(obj1, &val2);
43692 if (!SWIG_IsOK(ecode2)) {
43693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43694 }
43695 arg2 = static_cast< int >(val2);
43696 {
43697 arg3 = &temp3;
43698 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43699 }
43700 {
43701 PyThreadState* __tstate = wxPyBeginAllowThreads();
43702 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43703 wxPyEndAllowThreads(__tstate);
43704 if (PyErr_Occurred()) SWIG_fail;
43705 }
43706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43707 return resultobj;
43708fail:
43709 return NULL;
43710}
43711
43712
43713SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43714 PyObject *resultobj = 0;
43715 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43716 wxColour result;
43717 void *argp1 = 0 ;
43718 int res1 = 0 ;
43719 PyObject *swig_obj[1] ;
43720
43721 if (!args) SWIG_fail;
43722 swig_obj[0] = args;
43723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43724 if (!SWIG_IsOK(res1)) {
43725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43726 }
43727 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43728 {
43729 PyThreadState* __tstate = wxPyBeginAllowThreads();
43730 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43731 wxPyEndAllowThreads(__tstate);
43732 if (PyErr_Occurred()) SWIG_fail;
43733 }
43734 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43735 return resultobj;
43736fail:
43737 return NULL;
43738}
43739
43740
43741SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43742 PyObject *resultobj = 0;
43743 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43744 wxColour *arg2 = 0 ;
43745 void *argp1 = 0 ;
43746 int res1 = 0 ;
43747 wxColour temp2 ;
43748 PyObject * obj0 = 0 ;
43749 PyObject * obj1 = 0 ;
43750 char * kwnames[] = {
43751 (char *) "self",(char *) "c", NULL
43752 };
43753
43754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43756 if (!SWIG_IsOK(res1)) {
43757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43758 }
43759 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43760 {
43761 arg2 = &temp2;
43762 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43763 }
43764 {
43765 PyThreadState* __tstate = wxPyBeginAllowThreads();
43766 (arg1)->SetColour((wxColour const &)*arg2);
43767 wxPyEndAllowThreads(__tstate);
43768 if (PyErr_Occurred()) SWIG_fail;
43769 }
43770 resultobj = SWIG_Py_Void();
43771 return resultobj;
43772fail:
43773 return NULL;
43774}
43775
43776
43777SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43778 PyObject *obj;
43779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43780 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43781 return SWIG_Py_Void();
43782}
43783
43784SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43785 return SWIG_Python_InitShadowInstance(args);
43786}
43787
43788SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43789 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43790 return 1;
43791}
43792
43793
43794SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43795 PyObject *pyobj = 0;
43796
43797 {
43798#if wxUSE_UNICODE
43799 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43800#else
43801 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43802#endif
43803 }
43804 return pyobj;
43805}
43806
43807
43808SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43809 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43810 return 1;
43811}
43812
43813
43814SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43815 PyObject *pyobj = 0;
43816
43817 {
43818#if wxUSE_UNICODE
43819 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43820#else
43821 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43822#endif
43823 }
43824 return pyobj;
43825}
43826
43827
43828SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43829 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43830 return 1;
43831}
43832
43833
43834SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43835 PyObject *pyobj = 0;
43836
43837 {
43838#if wxUSE_UNICODE
43839 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43840#else
43841 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43842#endif
43843 }
43844 return pyobj;
43845}
43846
43847
43848SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43849 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43850 return 1;
43851}
43852
43853
43854SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43855 PyObject *pyobj = 0;
43856
43857 {
43858#if wxUSE_UNICODE
43859 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43860#else
43861 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43862#endif
43863 }
43864 return pyobj;
43865}
43866
43867
43868SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43869 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43870 return 1;
43871}
43872
43873
43874SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43875 PyObject *pyobj = 0;
43876
43877 {
43878#if wxUSE_UNICODE
43879 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43880#else
43881 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43882#endif
43883 }
43884 return pyobj;
43885}
43886
43887
43888SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43889 PyObject *resultobj = 0;
43890 wxWindow *arg1 = (wxWindow *) 0 ;
43891 int arg2 = (int) -1 ;
43892 wxString const &arg3_defvalue = wxPyEmptyString ;
43893 wxString *arg3 = (wxString *) &arg3_defvalue ;
43894 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43895 wxString *arg4 = (wxString *) &arg4_defvalue ;
43896 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43897 wxString *arg5 = (wxString *) &arg5_defvalue ;
43898 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43899 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43900 wxSize const &arg7_defvalue = wxDefaultSize ;
43901 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43902 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43903 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43904 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43905 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43906 wxString *arg10 = (wxString *) &arg10_defvalue ;
43907 wxFilePickerCtrl *result = 0 ;
43908 void *argp1 = 0 ;
43909 int res1 = 0 ;
43910 int val2 ;
43911 int ecode2 = 0 ;
43912 bool temp3 = false ;
43913 bool temp4 = false ;
43914 bool temp5 = false ;
43915 wxPoint temp6 ;
43916 wxSize temp7 ;
43917 long val8 ;
43918 int ecode8 = 0 ;
43919 void *argp9 = 0 ;
43920 int res9 = 0 ;
43921 bool temp10 = false ;
43922 PyObject * obj0 = 0 ;
43923 PyObject * obj1 = 0 ;
43924 PyObject * obj2 = 0 ;
43925 PyObject * obj3 = 0 ;
43926 PyObject * obj4 = 0 ;
43927 PyObject * obj5 = 0 ;
43928 PyObject * obj6 = 0 ;
43929 PyObject * obj7 = 0 ;
43930 PyObject * obj8 = 0 ;
43931 PyObject * obj9 = 0 ;
43932 char * kwnames[] = {
43933 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43934 };
43935
43936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43938 if (!SWIG_IsOK(res1)) {
43939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43940 }
43941 arg1 = reinterpret_cast< wxWindow * >(argp1);
43942 if (obj1) {
43943 ecode2 = SWIG_AsVal_int(obj1, &val2);
43944 if (!SWIG_IsOK(ecode2)) {
43945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43946 }
43947 arg2 = static_cast< int >(val2);
43948 }
43949 if (obj2) {
43950 {
43951 arg3 = wxString_in_helper(obj2);
43952 if (arg3 == NULL) SWIG_fail;
43953 temp3 = true;
43954 }
43955 }
43956 if (obj3) {
43957 {
43958 arg4 = wxString_in_helper(obj3);
43959 if (arg4 == NULL) SWIG_fail;
43960 temp4 = true;
43961 }
43962 }
43963 if (obj4) {
43964 {
43965 arg5 = wxString_in_helper(obj4);
43966 if (arg5 == NULL) SWIG_fail;
43967 temp5 = true;
43968 }
43969 }
43970 if (obj5) {
43971 {
43972 arg6 = &temp6;
43973 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43974 }
43975 }
43976 if (obj6) {
43977 {
43978 arg7 = &temp7;
43979 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43980 }
43981 }
43982 if (obj7) {
43983 ecode8 = SWIG_AsVal_long(obj7, &val8);
43984 if (!SWIG_IsOK(ecode8)) {
43985 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43986 }
43987 arg8 = static_cast< long >(val8);
43988 }
43989 if (obj8) {
43990 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43991 if (!SWIG_IsOK(res9)) {
43992 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43993 }
43994 if (!argp9) {
43995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43996 }
43997 arg9 = reinterpret_cast< wxValidator * >(argp9);
43998 }
43999 if (obj9) {
44000 {
44001 arg10 = wxString_in_helper(obj9);
44002 if (arg10 == NULL) SWIG_fail;
44003 temp10 = true;
44004 }
44005 }
44006 {
44007 if (!wxPyCheckForApp()) SWIG_fail;
44008 PyThreadState* __tstate = wxPyBeginAllowThreads();
44009 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);
44010 wxPyEndAllowThreads(__tstate);
44011 if (PyErr_Occurred()) SWIG_fail;
44012 }
44013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44014 {
44015 if (temp3)
44016 delete arg3;
44017 }
44018 {
44019 if (temp4)
44020 delete arg4;
44021 }
44022 {
44023 if (temp5)
44024 delete arg5;
44025 }
44026 {
44027 if (temp10)
44028 delete arg10;
44029 }
44030 return resultobj;
44031fail:
44032 {
44033 if (temp3)
44034 delete arg3;
44035 }
44036 {
44037 if (temp4)
44038 delete arg4;
44039 }
44040 {
44041 if (temp5)
44042 delete arg5;
44043 }
44044 {
44045 if (temp10)
44046 delete arg10;
44047 }
44048 return NULL;
44049}
44050
44051
44052SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44053 PyObject *resultobj = 0;
44054 wxFilePickerCtrl *result = 0 ;
44055
44056 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44057 {
44058 if (!wxPyCheckForApp()) SWIG_fail;
44059 PyThreadState* __tstate = wxPyBeginAllowThreads();
44060 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44061 wxPyEndAllowThreads(__tstate);
44062 if (PyErr_Occurred()) SWIG_fail;
44063 }
44064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44065 return resultobj;
44066fail:
44067 return NULL;
44068}
44069
44070
44071SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44072 PyObject *resultobj = 0;
44073 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44074 wxWindow *arg2 = (wxWindow *) 0 ;
44075 int arg3 = (int) -1 ;
44076 wxString const &arg4_defvalue = wxPyEmptyString ;
44077 wxString *arg4 = (wxString *) &arg4_defvalue ;
44078 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44079 wxString *arg5 = (wxString *) &arg5_defvalue ;
44080 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44081 wxString *arg6 = (wxString *) &arg6_defvalue ;
44082 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44083 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44084 wxSize const &arg8_defvalue = wxDefaultSize ;
44085 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44086 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44087 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44088 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44089 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44090 wxString *arg11 = (wxString *) &arg11_defvalue ;
44091 bool result;
44092 void *argp1 = 0 ;
44093 int res1 = 0 ;
44094 void *argp2 = 0 ;
44095 int res2 = 0 ;
44096 int val3 ;
44097 int ecode3 = 0 ;
44098 bool temp4 = false ;
44099 bool temp5 = false ;
44100 bool temp6 = false ;
44101 wxPoint temp7 ;
44102 wxSize temp8 ;
44103 long val9 ;
44104 int ecode9 = 0 ;
44105 void *argp10 = 0 ;
44106 int res10 = 0 ;
44107 bool temp11 = false ;
44108 PyObject * obj0 = 0 ;
44109 PyObject * obj1 = 0 ;
44110 PyObject * obj2 = 0 ;
44111 PyObject * obj3 = 0 ;
44112 PyObject * obj4 = 0 ;
44113 PyObject * obj5 = 0 ;
44114 PyObject * obj6 = 0 ;
44115 PyObject * obj7 = 0 ;
44116 PyObject * obj8 = 0 ;
44117 PyObject * obj9 = 0 ;
44118 PyObject * obj10 = 0 ;
44119 char * kwnames[] = {
44120 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44121 };
44122
44123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44125 if (!SWIG_IsOK(res1)) {
44126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44127 }
44128 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44129 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44130 if (!SWIG_IsOK(res2)) {
44131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44132 }
44133 arg2 = reinterpret_cast< wxWindow * >(argp2);
44134 if (obj2) {
44135 ecode3 = SWIG_AsVal_int(obj2, &val3);
44136 if (!SWIG_IsOK(ecode3)) {
44137 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44138 }
44139 arg3 = static_cast< int >(val3);
44140 }
44141 if (obj3) {
44142 {
44143 arg4 = wxString_in_helper(obj3);
44144 if (arg4 == NULL) SWIG_fail;
44145 temp4 = true;
44146 }
44147 }
44148 if (obj4) {
44149 {
44150 arg5 = wxString_in_helper(obj4);
44151 if (arg5 == NULL) SWIG_fail;
44152 temp5 = true;
44153 }
44154 }
44155 if (obj5) {
44156 {
44157 arg6 = wxString_in_helper(obj5);
44158 if (arg6 == NULL) SWIG_fail;
44159 temp6 = true;
44160 }
44161 }
44162 if (obj6) {
44163 {
44164 arg7 = &temp7;
44165 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44166 }
44167 }
44168 if (obj7) {
44169 {
44170 arg8 = &temp8;
44171 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44172 }
44173 }
44174 if (obj8) {
44175 ecode9 = SWIG_AsVal_long(obj8, &val9);
44176 if (!SWIG_IsOK(ecode9)) {
44177 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44178 }
44179 arg9 = static_cast< long >(val9);
44180 }
44181 if (obj9) {
44182 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44183 if (!SWIG_IsOK(res10)) {
44184 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44185 }
44186 if (!argp10) {
44187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44188 }
44189 arg10 = reinterpret_cast< wxValidator * >(argp10);
44190 }
44191 if (obj10) {
44192 {
44193 arg11 = wxString_in_helper(obj10);
44194 if (arg11 == NULL) SWIG_fail;
44195 temp11 = true;
44196 }
44197 }
44198 {
44199 PyThreadState* __tstate = wxPyBeginAllowThreads();
44200 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);
44201 wxPyEndAllowThreads(__tstate);
44202 if (PyErr_Occurred()) SWIG_fail;
44203 }
44204 {
44205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44206 }
44207 {
44208 if (temp4)
44209 delete arg4;
44210 }
44211 {
44212 if (temp5)
44213 delete arg5;
44214 }
44215 {
44216 if (temp6)
44217 delete arg6;
44218 }
44219 {
44220 if (temp11)
44221 delete arg11;
44222 }
44223 return resultobj;
44224fail:
44225 {
44226 if (temp4)
44227 delete arg4;
44228 }
44229 {
44230 if (temp5)
44231 delete arg5;
44232 }
44233 {
44234 if (temp6)
44235 delete arg6;
44236 }
44237 {
44238 if (temp11)
44239 delete arg11;
44240 }
44241 return NULL;
44242}
44243
44244
44245SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44246 PyObject *resultobj = 0;
44247 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44248 wxString result;
44249 void *argp1 = 0 ;
44250 int res1 = 0 ;
44251 PyObject *swig_obj[1] ;
44252
44253 if (!args) SWIG_fail;
44254 swig_obj[0] = args;
44255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44256 if (!SWIG_IsOK(res1)) {
44257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44258 }
44259 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44260 {
44261 PyThreadState* __tstate = wxPyBeginAllowThreads();
44262 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44263 wxPyEndAllowThreads(__tstate);
44264 if (PyErr_Occurred()) SWIG_fail;
44265 }
44266 {
44267#if wxUSE_UNICODE
44268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44269#else
44270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44271#endif
44272 }
44273 return resultobj;
44274fail:
44275 return NULL;
44276}
44277
44278
44279SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44280 PyObject *resultobj = 0;
44281 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44282 wxString *arg2 = 0 ;
44283 void *argp1 = 0 ;
44284 int res1 = 0 ;
44285 bool temp2 = false ;
44286 PyObject * obj0 = 0 ;
44287 PyObject * obj1 = 0 ;
44288 char * kwnames[] = {
44289 (char *) "self",(char *) "str", NULL
44290 };
44291
44292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44294 if (!SWIG_IsOK(res1)) {
44295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44296 }
44297 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44298 {
44299 arg2 = wxString_in_helper(obj1);
44300 if (arg2 == NULL) SWIG_fail;
44301 temp2 = true;
44302 }
44303 {
44304 PyThreadState* __tstate = wxPyBeginAllowThreads();
44305 (arg1)->SetPath((wxString const &)*arg2);
44306 wxPyEndAllowThreads(__tstate);
44307 if (PyErr_Occurred()) SWIG_fail;
44308 }
44309 resultobj = SWIG_Py_Void();
44310 {
44311 if (temp2)
44312 delete arg2;
44313 }
44314 return resultobj;
44315fail:
44316 {
44317 if (temp2)
44318 delete arg2;
44319 }
44320 return NULL;
44321}
44322
44323
b02396e8
RD
44324SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44325 PyObject *resultobj = 0;
44326 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44327 wxString *arg2 = 0 ;
44328 bool result;
44329 void *argp1 = 0 ;
44330 int res1 = 0 ;
44331 bool temp2 = false ;
44332 PyObject * obj0 = 0 ;
44333 PyObject * obj1 = 0 ;
44334 char * kwnames[] = {
44335 (char *) "self",(char *) "path", NULL
44336 };
44337
44338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44340 if (!SWIG_IsOK(res1)) {
44341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44342 }
44343 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44344 {
44345 arg2 = wxString_in_helper(obj1);
44346 if (arg2 == NULL) SWIG_fail;
44347 temp2 = true;
44348 }
44349 {
44350 PyThreadState* __tstate = wxPyBeginAllowThreads();
44351 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44352 wxPyEndAllowThreads(__tstate);
44353 if (PyErr_Occurred()) SWIG_fail;
44354 }
44355 {
44356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44357 }
44358 {
44359 if (temp2)
44360 delete arg2;
44361 }
44362 return resultobj;
44363fail:
44364 {
44365 if (temp2)
44366 delete arg2;
44367 }
44368 return NULL;
44369}
44370
44371
44372SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44373 PyObject *resultobj = 0;
44374 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44375 wxString result;
44376 void *argp1 = 0 ;
44377 int res1 = 0 ;
44378 PyObject *swig_obj[1] ;
44379
44380 if (!args) SWIG_fail;
44381 swig_obj[0] = args;
44382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44383 if (!SWIG_IsOK(res1)) {
44384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44385 }
44386 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44387 {
44388 PyThreadState* __tstate = wxPyBeginAllowThreads();
44389 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44390 wxPyEndAllowThreads(__tstate);
44391 if (PyErr_Occurred()) SWIG_fail;
44392 }
44393 {
44394#if wxUSE_UNICODE
44395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44396#else
44397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44398#endif
44399 }
44400 return resultobj;
44401fail:
44402 return NULL;
44403}
44404
44405
b850e7f3
RD
44406SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44407 PyObject *obj;
44408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44409 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44410 return SWIG_Py_Void();
44411}
44412
44413SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44414 return SWIG_Python_InitShadowInstance(args);
44415}
44416
44417SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44418 PyObject *resultobj = 0;
44419 wxWindow *arg1 = (wxWindow *) 0 ;
44420 int arg2 = (int) -1 ;
44421 wxString const &arg3_defvalue = wxPyEmptyString ;
44422 wxString *arg3 = (wxString *) &arg3_defvalue ;
44423 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44424 wxString *arg4 = (wxString *) &arg4_defvalue ;
44425 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44426 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44427 wxSize const &arg6_defvalue = wxDefaultSize ;
44428 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44429 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44430 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44431 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44432 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44433 wxString *arg9 = (wxString *) &arg9_defvalue ;
44434 wxDirPickerCtrl *result = 0 ;
44435 void *argp1 = 0 ;
44436 int res1 = 0 ;
44437 int val2 ;
44438 int ecode2 = 0 ;
44439 bool temp3 = false ;
44440 bool temp4 = false ;
44441 wxPoint temp5 ;
44442 wxSize temp6 ;
44443 long val7 ;
44444 int ecode7 = 0 ;
44445 void *argp8 = 0 ;
44446 int res8 = 0 ;
44447 bool temp9 = false ;
44448 PyObject * obj0 = 0 ;
44449 PyObject * obj1 = 0 ;
44450 PyObject * obj2 = 0 ;
44451 PyObject * obj3 = 0 ;
44452 PyObject * obj4 = 0 ;
44453 PyObject * obj5 = 0 ;
44454 PyObject * obj6 = 0 ;
44455 PyObject * obj7 = 0 ;
44456 PyObject * obj8 = 0 ;
44457 char * kwnames[] = {
44458 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44459 };
44460
44461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44463 if (!SWIG_IsOK(res1)) {
44464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44465 }
44466 arg1 = reinterpret_cast< wxWindow * >(argp1);
44467 if (obj1) {
44468 ecode2 = SWIG_AsVal_int(obj1, &val2);
44469 if (!SWIG_IsOK(ecode2)) {
44470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44471 }
44472 arg2 = static_cast< int >(val2);
44473 }
44474 if (obj2) {
44475 {
44476 arg3 = wxString_in_helper(obj2);
44477 if (arg3 == NULL) SWIG_fail;
44478 temp3 = true;
44479 }
44480 }
44481 if (obj3) {
44482 {
44483 arg4 = wxString_in_helper(obj3);
44484 if (arg4 == NULL) SWIG_fail;
44485 temp4 = true;
44486 }
44487 }
44488 if (obj4) {
44489 {
44490 arg5 = &temp5;
44491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44492 }
44493 }
44494 if (obj5) {
44495 {
44496 arg6 = &temp6;
44497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44498 }
44499 }
44500 if (obj6) {
44501 ecode7 = SWIG_AsVal_long(obj6, &val7);
44502 if (!SWIG_IsOK(ecode7)) {
44503 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44504 }
44505 arg7 = static_cast< long >(val7);
44506 }
44507 if (obj7) {
44508 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44509 if (!SWIG_IsOK(res8)) {
44510 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44511 }
44512 if (!argp8) {
44513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44514 }
44515 arg8 = reinterpret_cast< wxValidator * >(argp8);
44516 }
44517 if (obj8) {
44518 {
44519 arg9 = wxString_in_helper(obj8);
44520 if (arg9 == NULL) SWIG_fail;
44521 temp9 = true;
44522 }
44523 }
44524 {
44525 if (!wxPyCheckForApp()) SWIG_fail;
44526 PyThreadState* __tstate = wxPyBeginAllowThreads();
44527 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);
44528 wxPyEndAllowThreads(__tstate);
44529 if (PyErr_Occurred()) SWIG_fail;
44530 }
44531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44532 {
44533 if (temp3)
44534 delete arg3;
44535 }
44536 {
44537 if (temp4)
44538 delete arg4;
44539 }
44540 {
44541 if (temp9)
44542 delete arg9;
44543 }
44544 return resultobj;
44545fail:
44546 {
44547 if (temp3)
44548 delete arg3;
44549 }
44550 {
44551 if (temp4)
44552 delete arg4;
44553 }
44554 {
44555 if (temp9)
44556 delete arg9;
44557 }
44558 return NULL;
44559}
44560
44561
44562SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44563 PyObject *resultobj = 0;
44564 wxDirPickerCtrl *result = 0 ;
44565
44566 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44567 {
44568 if (!wxPyCheckForApp()) SWIG_fail;
44569 PyThreadState* __tstate = wxPyBeginAllowThreads();
44570 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44571 wxPyEndAllowThreads(__tstate);
44572 if (PyErr_Occurred()) SWIG_fail;
44573 }
44574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44575 return resultobj;
44576fail:
44577 return NULL;
44578}
44579
44580
44581SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44582 PyObject *resultobj = 0;
44583 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44584 wxWindow *arg2 = (wxWindow *) 0 ;
44585 int arg3 = (int) -1 ;
44586 wxString const &arg4_defvalue = wxPyEmptyString ;
44587 wxString *arg4 = (wxString *) &arg4_defvalue ;
44588 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44589 wxString *arg5 = (wxString *) &arg5_defvalue ;
44590 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44591 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44592 wxSize const &arg7_defvalue = wxDefaultSize ;
44593 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44594 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44595 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44596 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44597 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44598 wxString *arg10 = (wxString *) &arg10_defvalue ;
44599 bool result;
44600 void *argp1 = 0 ;
44601 int res1 = 0 ;
44602 void *argp2 = 0 ;
44603 int res2 = 0 ;
44604 int val3 ;
44605 int ecode3 = 0 ;
44606 bool temp4 = false ;
44607 bool temp5 = false ;
44608 wxPoint temp6 ;
44609 wxSize temp7 ;
44610 long val8 ;
44611 int ecode8 = 0 ;
44612 void *argp9 = 0 ;
44613 int res9 = 0 ;
44614 bool temp10 = false ;
44615 PyObject * obj0 = 0 ;
44616 PyObject * obj1 = 0 ;
44617 PyObject * obj2 = 0 ;
44618 PyObject * obj3 = 0 ;
44619 PyObject * obj4 = 0 ;
44620 PyObject * obj5 = 0 ;
44621 PyObject * obj6 = 0 ;
44622 PyObject * obj7 = 0 ;
44623 PyObject * obj8 = 0 ;
44624 PyObject * obj9 = 0 ;
44625 char * kwnames[] = {
44626 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44627 };
44628
44629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44631 if (!SWIG_IsOK(res1)) {
44632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44633 }
44634 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44635 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44636 if (!SWIG_IsOK(res2)) {
44637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44638 }
44639 arg2 = reinterpret_cast< wxWindow * >(argp2);
44640 if (obj2) {
44641 ecode3 = SWIG_AsVal_int(obj2, &val3);
44642 if (!SWIG_IsOK(ecode3)) {
44643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44644 }
44645 arg3 = static_cast< int >(val3);
44646 }
44647 if (obj3) {
44648 {
44649 arg4 = wxString_in_helper(obj3);
44650 if (arg4 == NULL) SWIG_fail;
44651 temp4 = true;
44652 }
44653 }
44654 if (obj4) {
44655 {
44656 arg5 = wxString_in_helper(obj4);
44657 if (arg5 == NULL) SWIG_fail;
44658 temp5 = true;
44659 }
44660 }
44661 if (obj5) {
44662 {
44663 arg6 = &temp6;
44664 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44665 }
44666 }
44667 if (obj6) {
44668 {
44669 arg7 = &temp7;
44670 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44671 }
44672 }
44673 if (obj7) {
44674 ecode8 = SWIG_AsVal_long(obj7, &val8);
44675 if (!SWIG_IsOK(ecode8)) {
44676 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44677 }
44678 arg8 = static_cast< long >(val8);
44679 }
44680 if (obj8) {
44681 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44682 if (!SWIG_IsOK(res9)) {
44683 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44684 }
44685 if (!argp9) {
44686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44687 }
44688 arg9 = reinterpret_cast< wxValidator * >(argp9);
44689 }
44690 if (obj9) {
44691 {
44692 arg10 = wxString_in_helper(obj9);
44693 if (arg10 == NULL) SWIG_fail;
44694 temp10 = true;
44695 }
44696 }
44697 {
44698 PyThreadState* __tstate = wxPyBeginAllowThreads();
44699 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);
44700 wxPyEndAllowThreads(__tstate);
44701 if (PyErr_Occurred()) SWIG_fail;
44702 }
44703 {
44704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44705 }
44706 {
44707 if (temp4)
44708 delete arg4;
44709 }
44710 {
44711 if (temp5)
44712 delete arg5;
44713 }
44714 {
44715 if (temp10)
44716 delete arg10;
44717 }
44718 return resultobj;
44719fail:
44720 {
44721 if (temp4)
44722 delete arg4;
44723 }
44724 {
44725 if (temp5)
44726 delete arg5;
44727 }
44728 {
44729 if (temp10)
44730 delete arg10;
44731 }
44732 return NULL;
44733}
44734
44735
44736SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44737 PyObject *resultobj = 0;
44738 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44739 wxString result;
44740 void *argp1 = 0 ;
44741 int res1 = 0 ;
44742 PyObject *swig_obj[1] ;
44743
44744 if (!args) SWIG_fail;
44745 swig_obj[0] = args;
44746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44747 if (!SWIG_IsOK(res1)) {
44748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44749 }
44750 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44751 {
44752 PyThreadState* __tstate = wxPyBeginAllowThreads();
44753 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44754 wxPyEndAllowThreads(__tstate);
44755 if (PyErr_Occurred()) SWIG_fail;
44756 }
44757 {
44758#if wxUSE_UNICODE
44759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44760#else
44761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44762#endif
44763 }
44764 return resultobj;
44765fail:
44766 return NULL;
44767}
44768
44769
44770SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44771 PyObject *resultobj = 0;
44772 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44773 wxString *arg2 = 0 ;
44774 void *argp1 = 0 ;
44775 int res1 = 0 ;
44776 bool temp2 = false ;
44777 PyObject * obj0 = 0 ;
44778 PyObject * obj1 = 0 ;
44779 char * kwnames[] = {
44780 (char *) "self",(char *) "str", NULL
44781 };
44782
44783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44785 if (!SWIG_IsOK(res1)) {
44786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44787 }
44788 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44789 {
44790 arg2 = wxString_in_helper(obj1);
44791 if (arg2 == NULL) SWIG_fail;
44792 temp2 = true;
44793 }
44794 {
44795 PyThreadState* __tstate = wxPyBeginAllowThreads();
44796 (arg1)->SetPath((wxString const &)*arg2);
44797 wxPyEndAllowThreads(__tstate);
44798 if (PyErr_Occurred()) SWIG_fail;
44799 }
44800 resultobj = SWIG_Py_Void();
44801 {
44802 if (temp2)
44803 delete arg2;
44804 }
44805 return resultobj;
44806fail:
44807 {
44808 if (temp2)
44809 delete arg2;
44810 }
44811 return NULL;
44812}
44813
44814
b02396e8
RD
44815SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44816 PyObject *resultobj = 0;
44817 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44818 wxString *arg2 = 0 ;
44819 bool result;
44820 void *argp1 = 0 ;
44821 int res1 = 0 ;
44822 bool temp2 = false ;
44823 PyObject * obj0 = 0 ;
44824 PyObject * obj1 = 0 ;
44825 char * kwnames[] = {
44826 (char *) "self",(char *) "path", NULL
44827 };
44828
44829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44831 if (!SWIG_IsOK(res1)) {
44832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44833 }
44834 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44835 {
44836 arg2 = wxString_in_helper(obj1);
44837 if (arg2 == NULL) SWIG_fail;
44838 temp2 = true;
44839 }
44840 {
44841 PyThreadState* __tstate = wxPyBeginAllowThreads();
44842 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44843 wxPyEndAllowThreads(__tstate);
44844 if (PyErr_Occurred()) SWIG_fail;
44845 }
44846 {
44847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44848 }
44849 {
44850 if (temp2)
44851 delete arg2;
44852 }
44853 return resultobj;
44854fail:
44855 {
44856 if (temp2)
44857 delete arg2;
44858 }
44859 return NULL;
44860}
44861
44862
44863SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44864 PyObject *resultobj = 0;
44865 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44866 wxString result;
44867 void *argp1 = 0 ;
44868 int res1 = 0 ;
44869 PyObject *swig_obj[1] ;
44870
44871 if (!args) SWIG_fail;
44872 swig_obj[0] = args;
44873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44874 if (!SWIG_IsOK(res1)) {
44875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44876 }
44877 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44878 {
44879 PyThreadState* __tstate = wxPyBeginAllowThreads();
44880 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44881 wxPyEndAllowThreads(__tstate);
44882 if (PyErr_Occurred()) SWIG_fail;
44883 }
44884 {
44885#if wxUSE_UNICODE
44886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44887#else
44888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44889#endif
44890 }
44891 return resultobj;
44892fail:
44893 return NULL;
44894}
44895
44896
b850e7f3
RD
44897SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44898 PyObject *obj;
44899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44900 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44901 return SWIG_Py_Void();
44902}
44903
44904SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44905 return SWIG_Python_InitShadowInstance(args);
44906}
44907
44908SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44909 PyObject *resultobj = 0;
44910 wxEventType arg1 ;
44911 wxObject *arg2 = (wxObject *) 0 ;
44912 int arg3 ;
44913 wxString *arg4 = 0 ;
44914 wxFileDirPickerEvent *result = 0 ;
44915 int val1 ;
44916 int ecode1 = 0 ;
44917 void *argp2 = 0 ;
44918 int res2 = 0 ;
44919 int val3 ;
44920 int ecode3 = 0 ;
44921 bool temp4 = false ;
44922 PyObject * obj0 = 0 ;
44923 PyObject * obj1 = 0 ;
44924 PyObject * obj2 = 0 ;
44925 PyObject * obj3 = 0 ;
44926 char * kwnames[] = {
44927 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44928 };
44929
44930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44931 ecode1 = SWIG_AsVal_int(obj0, &val1);
44932 if (!SWIG_IsOK(ecode1)) {
44933 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44934 }
44935 arg1 = static_cast< wxEventType >(val1);
44936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44937 if (!SWIG_IsOK(res2)) {
44938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44939 }
44940 arg2 = reinterpret_cast< wxObject * >(argp2);
44941 ecode3 = SWIG_AsVal_int(obj2, &val3);
44942 if (!SWIG_IsOK(ecode3)) {
44943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44944 }
44945 arg3 = static_cast< int >(val3);
44946 {
44947 arg4 = wxString_in_helper(obj3);
44948 if (arg4 == NULL) SWIG_fail;
44949 temp4 = true;
44950 }
44951 {
44952 PyThreadState* __tstate = wxPyBeginAllowThreads();
44953 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44954 wxPyEndAllowThreads(__tstate);
44955 if (PyErr_Occurred()) SWIG_fail;
44956 }
44957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44958 {
44959 if (temp4)
44960 delete arg4;
44961 }
44962 return resultobj;
44963fail:
44964 {
44965 if (temp4)
44966 delete arg4;
44967 }
44968 return NULL;
44969}
44970
44971
44972SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44973 PyObject *resultobj = 0;
44974 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44975 wxString result;
44976 void *argp1 = 0 ;
44977 int res1 = 0 ;
44978 PyObject *swig_obj[1] ;
44979
44980 if (!args) SWIG_fail;
44981 swig_obj[0] = args;
44982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44983 if (!SWIG_IsOK(res1)) {
44984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44985 }
44986 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44987 {
44988 PyThreadState* __tstate = wxPyBeginAllowThreads();
44989 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44990 wxPyEndAllowThreads(__tstate);
44991 if (PyErr_Occurred()) SWIG_fail;
44992 }
44993 {
44994#if wxUSE_UNICODE
44995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44996#else
44997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44998#endif
44999 }
45000 return resultobj;
45001fail:
45002 return NULL;
45003}
45004
45005
45006SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45007 PyObject *resultobj = 0;
45008 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45009 wxString *arg2 = 0 ;
45010 void *argp1 = 0 ;
45011 int res1 = 0 ;
45012 bool temp2 = false ;
45013 PyObject * obj0 = 0 ;
45014 PyObject * obj1 = 0 ;
45015 char * kwnames[] = {
45016 (char *) "self",(char *) "p", NULL
45017 };
45018
45019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45021 if (!SWIG_IsOK(res1)) {
45022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45023 }
45024 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45025 {
45026 arg2 = wxString_in_helper(obj1);
45027 if (arg2 == NULL) SWIG_fail;
45028 temp2 = true;
45029 }
45030 {
45031 PyThreadState* __tstate = wxPyBeginAllowThreads();
45032 (arg1)->SetPath((wxString const &)*arg2);
45033 wxPyEndAllowThreads(__tstate);
45034 if (PyErr_Occurred()) SWIG_fail;
45035 }
45036 resultobj = SWIG_Py_Void();
45037 {
45038 if (temp2)
45039 delete arg2;
45040 }
45041 return resultobj;
45042fail:
45043 {
45044 if (temp2)
45045 delete arg2;
45046 }
45047 return NULL;
45048}
45049
45050
45051SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45052 PyObject *obj;
45053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45054 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45055 return SWIG_Py_Void();
45056}
45057
45058SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45059 return SWIG_Python_InitShadowInstance(args);
45060}
45061
45062SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45063 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45064 return 1;
45065}
45066
45067
45068SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45069 PyObject *pyobj = 0;
45070
45071 {
45072#if wxUSE_UNICODE
45073 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45074#else
45075 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45076#endif
45077 }
45078 return pyobj;
45079}
45080
45081
45082SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45083 PyObject *resultobj = 0;
45084 wxWindow *arg1 = (wxWindow *) 0 ;
45085 int arg2 = (int) -1 ;
f89238b9 45086 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
45087 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45090 wxSize const &arg5_defvalue = wxDefaultSize ;
45091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45092 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45093 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45094 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45095 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45096 wxString *arg8 = (wxString *) &arg8_defvalue ;
45097 wxFontPickerCtrl *result = 0 ;
45098 void *argp1 = 0 ;
45099 int res1 = 0 ;
45100 int val2 ;
45101 int ecode2 = 0 ;
45102 void *argp3 = 0 ;
45103 int res3 = 0 ;
45104 wxPoint temp4 ;
45105 wxSize temp5 ;
45106 long val6 ;
45107 int ecode6 = 0 ;
45108 void *argp7 = 0 ;
45109 int res7 = 0 ;
45110 bool temp8 = false ;
45111 PyObject * obj0 = 0 ;
45112 PyObject * obj1 = 0 ;
45113 PyObject * obj2 = 0 ;
45114 PyObject * obj3 = 0 ;
45115 PyObject * obj4 = 0 ;
45116 PyObject * obj5 = 0 ;
45117 PyObject * obj6 = 0 ;
45118 PyObject * obj7 = 0 ;
45119 char * kwnames[] = {
45120 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45121 };
45122
45123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45125 if (!SWIG_IsOK(res1)) {
45126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45127 }
45128 arg1 = reinterpret_cast< wxWindow * >(argp1);
45129 if (obj1) {
45130 ecode2 = SWIG_AsVal_int(obj1, &val2);
45131 if (!SWIG_IsOK(ecode2)) {
45132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45133 }
45134 arg2 = static_cast< int >(val2);
45135 }
45136 if (obj2) {
45137 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45138 if (!SWIG_IsOK(res3)) {
45139 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45140 }
45141 if (!argp3) {
45142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45143 }
45144 arg3 = reinterpret_cast< wxFont * >(argp3);
45145 }
45146 if (obj3) {
45147 {
45148 arg4 = &temp4;
45149 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45150 }
45151 }
45152 if (obj4) {
45153 {
45154 arg5 = &temp5;
45155 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45156 }
45157 }
45158 if (obj5) {
45159 ecode6 = SWIG_AsVal_long(obj5, &val6);
45160 if (!SWIG_IsOK(ecode6)) {
45161 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45162 }
45163 arg6 = static_cast< long >(val6);
45164 }
45165 if (obj6) {
45166 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45167 if (!SWIG_IsOK(res7)) {
45168 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45169 }
45170 if (!argp7) {
45171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45172 }
45173 arg7 = reinterpret_cast< wxValidator * >(argp7);
45174 }
45175 if (obj7) {
45176 {
45177 arg8 = wxString_in_helper(obj7);
45178 if (arg8 == NULL) SWIG_fail;
45179 temp8 = true;
45180 }
45181 }
45182 {
45183 if (!wxPyCheckForApp()) SWIG_fail;
45184 PyThreadState* __tstate = wxPyBeginAllowThreads();
45185 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45186 wxPyEndAllowThreads(__tstate);
45187 if (PyErr_Occurred()) SWIG_fail;
45188 }
45189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45190 {
45191 if (temp8)
45192 delete arg8;
45193 }
45194 return resultobj;
45195fail:
45196 {
45197 if (temp8)
45198 delete arg8;
45199 }
45200 return NULL;
45201}
45202
45203
45204SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45205 PyObject *resultobj = 0;
45206 wxFontPickerCtrl *result = 0 ;
45207
45208 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45209 {
45210 if (!wxPyCheckForApp()) SWIG_fail;
45211 PyThreadState* __tstate = wxPyBeginAllowThreads();
45212 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45213 wxPyEndAllowThreads(__tstate);
45214 if (PyErr_Occurred()) SWIG_fail;
45215 }
45216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45217 return resultobj;
45218fail:
45219 return NULL;
45220}
45221
45222
45223SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45224 PyObject *resultobj = 0;
45225 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45226 wxWindow *arg2 = (wxWindow *) 0 ;
45227 int arg3 = (int) -1 ;
f89238b9 45228 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
45229 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45230 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45231 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45232 wxSize const &arg6_defvalue = wxDefaultSize ;
45233 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45234 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45235 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45236 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45237 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45238 wxString *arg9 = (wxString *) &arg9_defvalue ;
45239 bool result;
45240 void *argp1 = 0 ;
45241 int res1 = 0 ;
45242 void *argp2 = 0 ;
45243 int res2 = 0 ;
45244 int val3 ;
45245 int ecode3 = 0 ;
45246 void *argp4 = 0 ;
45247 int res4 = 0 ;
45248 wxPoint temp5 ;
45249 wxSize temp6 ;
45250 long val7 ;
45251 int ecode7 = 0 ;
45252 void *argp8 = 0 ;
45253 int res8 = 0 ;
45254 bool temp9 = false ;
45255 PyObject * obj0 = 0 ;
45256 PyObject * obj1 = 0 ;
45257 PyObject * obj2 = 0 ;
45258 PyObject * obj3 = 0 ;
45259 PyObject * obj4 = 0 ;
45260 PyObject * obj5 = 0 ;
45261 PyObject * obj6 = 0 ;
45262 PyObject * obj7 = 0 ;
45263 PyObject * obj8 = 0 ;
45264 char * kwnames[] = {
45265 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45266 };
45267
45268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45270 if (!SWIG_IsOK(res1)) {
45271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45272 }
45273 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45275 if (!SWIG_IsOK(res2)) {
45276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45277 }
45278 arg2 = reinterpret_cast< wxWindow * >(argp2);
45279 if (obj2) {
45280 ecode3 = SWIG_AsVal_int(obj2, &val3);
45281 if (!SWIG_IsOK(ecode3)) {
45282 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45283 }
45284 arg3 = static_cast< int >(val3);
45285 }
45286 if (obj3) {
45287 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45288 if (!SWIG_IsOK(res4)) {
45289 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45290 }
45291 if (!argp4) {
45292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45293 }
45294 arg4 = reinterpret_cast< wxFont * >(argp4);
45295 }
45296 if (obj4) {
45297 {
45298 arg5 = &temp5;
45299 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45300 }
45301 }
45302 if (obj5) {
45303 {
45304 arg6 = &temp6;
45305 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45306 }
45307 }
45308 if (obj6) {
45309 ecode7 = SWIG_AsVal_long(obj6, &val7);
45310 if (!SWIG_IsOK(ecode7)) {
45311 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45312 }
45313 arg7 = static_cast< long >(val7);
45314 }
45315 if (obj7) {
45316 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45317 if (!SWIG_IsOK(res8)) {
45318 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45319 }
45320 if (!argp8) {
45321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45322 }
45323 arg8 = reinterpret_cast< wxValidator * >(argp8);
45324 }
45325 if (obj8) {
45326 {
45327 arg9 = wxString_in_helper(obj8);
45328 if (arg9 == NULL) SWIG_fail;
45329 temp9 = true;
45330 }
45331 }
45332 {
45333 PyThreadState* __tstate = wxPyBeginAllowThreads();
45334 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45335 wxPyEndAllowThreads(__tstate);
45336 if (PyErr_Occurred()) SWIG_fail;
45337 }
45338 {
45339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45340 }
45341 {
45342 if (temp9)
45343 delete arg9;
45344 }
45345 return resultobj;
45346fail:
45347 {
45348 if (temp9)
45349 delete arg9;
45350 }
45351 return NULL;
45352}
45353
45354
45355SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45356 PyObject *resultobj = 0;
45357 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45358 wxFont result;
45359 void *argp1 = 0 ;
45360 int res1 = 0 ;
45361 PyObject *swig_obj[1] ;
45362
45363 if (!args) SWIG_fail;
45364 swig_obj[0] = args;
45365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45366 if (!SWIG_IsOK(res1)) {
45367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45368 }
45369 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45370 {
45371 PyThreadState* __tstate = wxPyBeginAllowThreads();
45372 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45373 wxPyEndAllowThreads(__tstate);
45374 if (PyErr_Occurred()) SWIG_fail;
45375 }
45376 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45377 return resultobj;
45378fail:
45379 return NULL;
45380}
45381
45382
45383SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45384 PyObject *resultobj = 0;
45385 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45386 wxFont *arg2 = 0 ;
45387 void *argp1 = 0 ;
45388 int res1 = 0 ;
45389 void *argp2 = 0 ;
45390 int res2 = 0 ;
45391 PyObject * obj0 = 0 ;
45392 PyObject * obj1 = 0 ;
45393 char * kwnames[] = {
45394 (char *) "self",(char *) "f", NULL
45395 };
45396
45397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45399 if (!SWIG_IsOK(res1)) {
45400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45401 }
45402 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45403 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45404 if (!SWIG_IsOK(res2)) {
45405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45406 }
45407 if (!argp2) {
45408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45409 }
45410 arg2 = reinterpret_cast< wxFont * >(argp2);
45411 {
45412 PyThreadState* __tstate = wxPyBeginAllowThreads();
45413 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45414 wxPyEndAllowThreads(__tstate);
45415 if (PyErr_Occurred()) SWIG_fail;
45416 }
45417 resultobj = SWIG_Py_Void();
45418 return resultobj;
45419fail:
45420 return NULL;
45421}
45422
45423
45424SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45425 PyObject *resultobj = 0;
45426 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45427 unsigned int arg2 ;
45428 void *argp1 = 0 ;
45429 int res1 = 0 ;
45430 unsigned int val2 ;
45431 int ecode2 = 0 ;
45432 PyObject * obj0 = 0 ;
45433 PyObject * obj1 = 0 ;
45434 char * kwnames[] = {
45435 (char *) "self",(char *) "max", NULL
45436 };
45437
45438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45440 if (!SWIG_IsOK(res1)) {
45441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45442 }
45443 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45444 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45445 if (!SWIG_IsOK(ecode2)) {
45446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45447 }
45448 arg2 = static_cast< unsigned int >(val2);
45449 {
45450 PyThreadState* __tstate = wxPyBeginAllowThreads();
45451 (arg1)->SetMaxPointSize(arg2);
45452 wxPyEndAllowThreads(__tstate);
45453 if (PyErr_Occurred()) SWIG_fail;
45454 }
45455 resultobj = SWIG_Py_Void();
45456 return resultobj;
45457fail:
45458 return NULL;
45459}
45460
45461
45462SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45463 PyObject *resultobj = 0;
45464 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45465 unsigned int result;
45466 void *argp1 = 0 ;
45467 int res1 = 0 ;
45468 PyObject *swig_obj[1] ;
45469
45470 if (!args) SWIG_fail;
45471 swig_obj[0] = args;
45472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45473 if (!SWIG_IsOK(res1)) {
45474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45475 }
45476 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45477 {
45478 PyThreadState* __tstate = wxPyBeginAllowThreads();
45479 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45480 wxPyEndAllowThreads(__tstate);
45481 if (PyErr_Occurred()) SWIG_fail;
45482 }
45483 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45484 return resultobj;
45485fail:
45486 return NULL;
45487}
45488
45489
45490SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45491 PyObject *obj;
45492 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45493 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45494 return SWIG_Py_Void();
45495}
45496
45497SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45498 return SWIG_Python_InitShadowInstance(args);
45499}
45500
45501SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45502 PyObject *resultobj = 0;
45503 wxObject *arg1 = (wxObject *) 0 ;
45504 int arg2 ;
45505 wxFont *arg3 = 0 ;
45506 wxFontPickerEvent *result = 0 ;
45507 void *argp1 = 0 ;
45508 int res1 = 0 ;
45509 int val2 ;
45510 int ecode2 = 0 ;
45511 void *argp3 = 0 ;
45512 int res3 = 0 ;
45513 PyObject * obj0 = 0 ;
45514 PyObject * obj1 = 0 ;
45515 PyObject * obj2 = 0 ;
45516 char * kwnames[] = {
45517 (char *) "generator",(char *) "id",(char *) "f", NULL
45518 };
45519
45520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45522 if (!SWIG_IsOK(res1)) {
45523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45524 }
45525 arg1 = reinterpret_cast< wxObject * >(argp1);
45526 ecode2 = SWIG_AsVal_int(obj1, &val2);
45527 if (!SWIG_IsOK(ecode2)) {
45528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45529 }
45530 arg2 = static_cast< int >(val2);
45531 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45532 if (!SWIG_IsOK(res3)) {
45533 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45534 }
45535 if (!argp3) {
45536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45537 }
45538 arg3 = reinterpret_cast< wxFont * >(argp3);
45539 {
45540 PyThreadState* __tstate = wxPyBeginAllowThreads();
45541 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45542 wxPyEndAllowThreads(__tstate);
45543 if (PyErr_Occurred()) SWIG_fail;
45544 }
45545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45546 return resultobj;
45547fail:
45548 return NULL;
45549}
45550
45551
45552SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45553 PyObject *resultobj = 0;
45554 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45555 wxFont result;
45556 void *argp1 = 0 ;
45557 int res1 = 0 ;
45558 PyObject *swig_obj[1] ;
45559
45560 if (!args) SWIG_fail;
45561 swig_obj[0] = args;
45562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45563 if (!SWIG_IsOK(res1)) {
45564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45565 }
45566 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45567 {
45568 PyThreadState* __tstate = wxPyBeginAllowThreads();
45569 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45570 wxPyEndAllowThreads(__tstate);
45571 if (PyErr_Occurred()) SWIG_fail;
45572 }
45573 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45574 return resultobj;
45575fail:
45576 return NULL;
45577}
45578
45579
45580SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45581 PyObject *resultobj = 0;
45582 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45583 wxFont *arg2 = 0 ;
45584 void *argp1 = 0 ;
45585 int res1 = 0 ;
45586 void *argp2 = 0 ;
45587 int res2 = 0 ;
45588 PyObject * obj0 = 0 ;
45589 PyObject * obj1 = 0 ;
45590 char * kwnames[] = {
45591 (char *) "self",(char *) "c", NULL
45592 };
45593
45594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45596 if (!SWIG_IsOK(res1)) {
45597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45598 }
45599 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45600 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45601 if (!SWIG_IsOK(res2)) {
45602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45603 }
45604 if (!argp2) {
45605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45606 }
45607 arg2 = reinterpret_cast< wxFont * >(argp2);
45608 {
45609 PyThreadState* __tstate = wxPyBeginAllowThreads();
45610 (arg1)->SetFont((wxFont const &)*arg2);
45611 wxPyEndAllowThreads(__tstate);
45612 if (PyErr_Occurred()) SWIG_fail;
45613 }
45614 resultobj = SWIG_Py_Void();
45615 return resultobj;
45616fail:
45617 return NULL;
45618}
45619
45620
45621SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45622 PyObject *obj;
45623 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45624 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45625 return SWIG_Py_Void();
45626}
45627
45628SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45629 return SWIG_Python_InitShadowInstance(args);
45630}
45631
5172800e
RD
45632SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45633 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45634 return 1;
45635}
45636
45637
45638SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45639 PyObject *pyobj = 0;
45640
45641 {
45642#if wxUSE_UNICODE
45643 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45644#else
45645 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45646#endif
45647 }
45648 return pyobj;
45649}
45650
45651
45652SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45653 PyObject *resultobj = 0;
45654 wxWindow *arg1 = (wxWindow *) 0 ;
45655 int arg2 = (int) -1 ;
45656 wxString const &arg3_defvalue = wxPyEmptyString ;
45657 wxString *arg3 = (wxString *) &arg3_defvalue ;
45658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45660 wxSize const &arg5_defvalue = wxDefaultSize ;
45661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45662 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45663 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45664 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45665 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45666 wxString *arg8 = (wxString *) &arg8_defvalue ;
45667 wxCollapsiblePane *result = 0 ;
45668 void *argp1 = 0 ;
45669 int res1 = 0 ;
45670 int val2 ;
45671 int ecode2 = 0 ;
45672 bool temp3 = false ;
45673 wxPoint temp4 ;
45674 wxSize temp5 ;
45675 long val6 ;
45676 int ecode6 = 0 ;
45677 void *argp7 = 0 ;
45678 int res7 = 0 ;
45679 bool temp8 = false ;
45680 PyObject * obj0 = 0 ;
45681 PyObject * obj1 = 0 ;
45682 PyObject * obj2 = 0 ;
45683 PyObject * obj3 = 0 ;
45684 PyObject * obj4 = 0 ;
45685 PyObject * obj5 = 0 ;
45686 PyObject * obj6 = 0 ;
45687 PyObject * obj7 = 0 ;
45688 char * kwnames[] = {
45689 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45690 };
45691
45692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45694 if (!SWIG_IsOK(res1)) {
45695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45696 }
45697 arg1 = reinterpret_cast< wxWindow * >(argp1);
45698 if (obj1) {
45699 ecode2 = SWIG_AsVal_int(obj1, &val2);
45700 if (!SWIG_IsOK(ecode2)) {
45701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45702 }
45703 arg2 = static_cast< int >(val2);
45704 }
45705 if (obj2) {
45706 {
45707 arg3 = wxString_in_helper(obj2);
45708 if (arg3 == NULL) SWIG_fail;
45709 temp3 = true;
45710 }
45711 }
45712 if (obj3) {
45713 {
45714 arg4 = &temp4;
45715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45716 }
45717 }
45718 if (obj4) {
45719 {
45720 arg5 = &temp5;
45721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45722 }
45723 }
45724 if (obj5) {
45725 ecode6 = SWIG_AsVal_long(obj5, &val6);
45726 if (!SWIG_IsOK(ecode6)) {
45727 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45728 }
45729 arg6 = static_cast< long >(val6);
45730 }
45731 if (obj6) {
45732 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45733 if (!SWIG_IsOK(res7)) {
45734 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45735 }
45736 if (!argp7) {
45737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45738 }
45739 arg7 = reinterpret_cast< wxValidator * >(argp7);
45740 }
45741 if (obj7) {
45742 {
45743 arg8 = wxString_in_helper(obj7);
45744 if (arg8 == NULL) SWIG_fail;
45745 temp8 = true;
45746 }
45747 }
45748 {
45749 if (!wxPyCheckForApp()) SWIG_fail;
45750 PyThreadState* __tstate = wxPyBeginAllowThreads();
45751 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45752 wxPyEndAllowThreads(__tstate);
45753 if (PyErr_Occurred()) SWIG_fail;
45754 }
45755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45756 {
45757 if (temp3)
45758 delete arg3;
45759 }
45760 {
45761 if (temp8)
45762 delete arg8;
45763 }
45764 return resultobj;
45765fail:
45766 {
45767 if (temp3)
45768 delete arg3;
45769 }
45770 {
45771 if (temp8)
45772 delete arg8;
45773 }
45774 return NULL;
45775}
45776
45777
45778SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45779 PyObject *resultobj = 0;
45780 wxCollapsiblePane *result = 0 ;
45781
45782 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45783 {
45784 if (!wxPyCheckForApp()) SWIG_fail;
45785 PyThreadState* __tstate = wxPyBeginAllowThreads();
45786 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45787 wxPyEndAllowThreads(__tstate);
45788 if (PyErr_Occurred()) SWIG_fail;
45789 }
45790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45791 return resultobj;
45792fail:
45793 return NULL;
45794}
45795
45796
45797SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45798 PyObject *resultobj = 0;
45799 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45800 wxWindow *arg2 = (wxWindow *) 0 ;
45801 int arg3 = (int) -1 ;
45802 wxString const &arg4_defvalue = wxPyEmptyString ;
45803 wxString *arg4 = (wxString *) &arg4_defvalue ;
45804 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45805 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45806 wxSize const &arg6_defvalue = wxDefaultSize ;
45807 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45808 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45809 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45810 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45811 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45812 wxString *arg9 = (wxString *) &arg9_defvalue ;
45813 bool result;
45814 void *argp1 = 0 ;
45815 int res1 = 0 ;
45816 void *argp2 = 0 ;
45817 int res2 = 0 ;
45818 int val3 ;
45819 int ecode3 = 0 ;
45820 bool temp4 = false ;
45821 wxPoint temp5 ;
45822 wxSize temp6 ;
45823 long val7 ;
45824 int ecode7 = 0 ;
45825 void *argp8 = 0 ;
45826 int res8 = 0 ;
45827 bool temp9 = false ;
45828 PyObject * obj0 = 0 ;
45829 PyObject * obj1 = 0 ;
45830 PyObject * obj2 = 0 ;
45831 PyObject * obj3 = 0 ;
45832 PyObject * obj4 = 0 ;
45833 PyObject * obj5 = 0 ;
45834 PyObject * obj6 = 0 ;
45835 PyObject * obj7 = 0 ;
45836 PyObject * obj8 = 0 ;
45837 char * kwnames[] = {
45838 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45839 };
45840
45841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45843 if (!SWIG_IsOK(res1)) {
45844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45845 }
45846 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45848 if (!SWIG_IsOK(res2)) {
45849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45850 }
45851 arg2 = reinterpret_cast< wxWindow * >(argp2);
45852 if (obj2) {
45853 ecode3 = SWIG_AsVal_int(obj2, &val3);
45854 if (!SWIG_IsOK(ecode3)) {
45855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45856 }
45857 arg3 = static_cast< int >(val3);
45858 }
45859 if (obj3) {
45860 {
45861 arg4 = wxString_in_helper(obj3);
45862 if (arg4 == NULL) SWIG_fail;
45863 temp4 = true;
45864 }
45865 }
45866 if (obj4) {
45867 {
45868 arg5 = &temp5;
45869 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45870 }
45871 }
45872 if (obj5) {
45873 {
45874 arg6 = &temp6;
45875 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45876 }
45877 }
45878 if (obj6) {
45879 ecode7 = SWIG_AsVal_long(obj6, &val7);
45880 if (!SWIG_IsOK(ecode7)) {
45881 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45882 }
45883 arg7 = static_cast< long >(val7);
45884 }
45885 if (obj7) {
45886 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45887 if (!SWIG_IsOK(res8)) {
45888 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45889 }
45890 if (!argp8) {
45891 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45892 }
45893 arg8 = reinterpret_cast< wxValidator * >(argp8);
45894 }
45895 if (obj8) {
45896 {
45897 arg9 = wxString_in_helper(obj8);
45898 if (arg9 == NULL) SWIG_fail;
45899 temp9 = true;
45900 }
45901 }
45902 {
45903 PyThreadState* __tstate = wxPyBeginAllowThreads();
45904 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45905 wxPyEndAllowThreads(__tstate);
45906 if (PyErr_Occurred()) SWIG_fail;
45907 }
45908 {
45909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45910 }
45911 {
45912 if (temp4)
45913 delete arg4;
45914 }
45915 {
45916 if (temp9)
45917 delete arg9;
45918 }
45919 return resultobj;
45920fail:
45921 {
45922 if (temp4)
45923 delete arg4;
45924 }
45925 {
45926 if (temp9)
45927 delete arg9;
45928 }
45929 return NULL;
45930}
45931
45932
45933SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45934 PyObject *resultobj = 0;
45935 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45936 bool arg2 = (bool) true ;
45937 void *argp1 = 0 ;
45938 int res1 = 0 ;
45939 bool val2 ;
45940 int ecode2 = 0 ;
45941 PyObject * obj0 = 0 ;
45942 PyObject * obj1 = 0 ;
45943 char * kwnames[] = {
45944 (char *) "self",(char *) "collapse", NULL
45945 };
45946
45947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45949 if (!SWIG_IsOK(res1)) {
45950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45951 }
45952 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45953 if (obj1) {
45954 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45955 if (!SWIG_IsOK(ecode2)) {
45956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45957 }
45958 arg2 = static_cast< bool >(val2);
45959 }
45960 {
45961 PyThreadState* __tstate = wxPyBeginAllowThreads();
45962 (arg1)->Collapse(arg2);
45963 wxPyEndAllowThreads(__tstate);
45964 if (PyErr_Occurred()) SWIG_fail;
45965 }
45966 resultobj = SWIG_Py_Void();
45967 return resultobj;
45968fail:
45969 return NULL;
45970}
45971
45972
45973SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45974 PyObject *resultobj = 0;
45975 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45976 void *argp1 = 0 ;
45977 int res1 = 0 ;
45978 PyObject *swig_obj[1] ;
45979
45980 if (!args) SWIG_fail;
45981 swig_obj[0] = args;
45982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45983 if (!SWIG_IsOK(res1)) {
45984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45985 }
45986 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45987 {
45988 PyThreadState* __tstate = wxPyBeginAllowThreads();
45989 (arg1)->Expand();
45990 wxPyEndAllowThreads(__tstate);
45991 if (PyErr_Occurred()) SWIG_fail;
45992 }
45993 resultobj = SWIG_Py_Void();
45994 return resultobj;
45995fail:
45996 return NULL;
45997}
45998
45999
46000SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46001 PyObject *resultobj = 0;
46002 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46003 bool result;
46004 void *argp1 = 0 ;
46005 int res1 = 0 ;
46006 PyObject *swig_obj[1] ;
46007
46008 if (!args) SWIG_fail;
46009 swig_obj[0] = args;
46010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46011 if (!SWIG_IsOK(res1)) {
46012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46013 }
46014 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46015 {
46016 PyThreadState* __tstate = wxPyBeginAllowThreads();
46017 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
46018 wxPyEndAllowThreads(__tstate);
46019 if (PyErr_Occurred()) SWIG_fail;
46020 }
46021 {
46022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46023 }
46024 return resultobj;
46025fail:
46026 return NULL;
46027}
46028
46029
46030SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46031 PyObject *resultobj = 0;
46032 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46033 bool result;
46034 void *argp1 = 0 ;
46035 int res1 = 0 ;
46036 PyObject *swig_obj[1] ;
46037
46038 if (!args) SWIG_fail;
46039 swig_obj[0] = args;
46040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46041 if (!SWIG_IsOK(res1)) {
46042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46043 }
46044 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46045 {
46046 PyThreadState* __tstate = wxPyBeginAllowThreads();
46047 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
46048 wxPyEndAllowThreads(__tstate);
46049 if (PyErr_Occurred()) SWIG_fail;
46050 }
46051 {
46052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46053 }
46054 return resultobj;
46055fail:
46056 return NULL;
46057}
46058
46059
46060SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46061 PyObject *resultobj = 0;
46062 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46063 wxWindow *result = 0 ;
46064 void *argp1 = 0 ;
46065 int res1 = 0 ;
46066 PyObject *swig_obj[1] ;
46067
46068 if (!args) SWIG_fail;
46069 swig_obj[0] = args;
46070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46071 if (!SWIG_IsOK(res1)) {
46072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46073 }
46074 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46075 {
46076 PyThreadState* __tstate = wxPyBeginAllowThreads();
46077 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46078 wxPyEndAllowThreads(__tstate);
46079 if (PyErr_Occurred()) SWIG_fail;
46080 }
46081 {
46082 resultobj = wxPyMake_wxObject(result, 0);
46083 }
46084 return resultobj;
46085fail:
46086 return NULL;
46087}
46088
46089
46090SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46091 PyObject *obj;
46092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46093 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46094 return SWIG_Py_Void();
46095}
46096
46097SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46098 return SWIG_Python_InitShadowInstance(args);
46099}
46100
46101SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46102 PyObject *resultobj = 0;
46103 wxObject *arg1 = (wxObject *) 0 ;
46104 int arg2 ;
46105 bool arg3 ;
46106 wxCollapsiblePaneEvent *result = 0 ;
46107 void *argp1 = 0 ;
46108 int res1 = 0 ;
46109 int val2 ;
46110 int ecode2 = 0 ;
46111 bool val3 ;
46112 int ecode3 = 0 ;
46113 PyObject * obj0 = 0 ;
46114 PyObject * obj1 = 0 ;
46115 PyObject * obj2 = 0 ;
46116 char * kwnames[] = {
46117 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46118 };
46119
46120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46122 if (!SWIG_IsOK(res1)) {
46123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46124 }
46125 arg1 = reinterpret_cast< wxObject * >(argp1);
46126 ecode2 = SWIG_AsVal_int(obj1, &val2);
46127 if (!SWIG_IsOK(ecode2)) {
46128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46129 }
46130 arg2 = static_cast< int >(val2);
46131 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46132 if (!SWIG_IsOK(ecode3)) {
46133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46134 }
46135 arg3 = static_cast< bool >(val3);
46136 {
46137 PyThreadState* __tstate = wxPyBeginAllowThreads();
46138 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46139 wxPyEndAllowThreads(__tstate);
46140 if (PyErr_Occurred()) SWIG_fail;
46141 }
46142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46143 return resultobj;
46144fail:
46145 return NULL;
46146}
46147
46148
46149SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46150 PyObject *resultobj = 0;
46151 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46152 bool result;
46153 void *argp1 = 0 ;
46154 int res1 = 0 ;
46155 PyObject *swig_obj[1] ;
46156
46157 if (!args) SWIG_fail;
46158 swig_obj[0] = args;
46159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46160 if (!SWIG_IsOK(res1)) {
46161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46162 }
46163 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46164 {
46165 PyThreadState* __tstate = wxPyBeginAllowThreads();
46166 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46167 wxPyEndAllowThreads(__tstate);
46168 if (PyErr_Occurred()) SWIG_fail;
46169 }
46170 {
46171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46172 }
46173 return resultobj;
46174fail:
46175 return NULL;
46176}
46177
46178
46179SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46180 PyObject *resultobj = 0;
46181 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46182 bool arg2 ;
46183 void *argp1 = 0 ;
46184 int res1 = 0 ;
46185 bool val2 ;
46186 int ecode2 = 0 ;
46187 PyObject * obj0 = 0 ;
46188 PyObject * obj1 = 0 ;
46189 char * kwnames[] = {
46190 (char *) "self",(char *) "c", NULL
46191 };
46192
46193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46195 if (!SWIG_IsOK(res1)) {
46196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46197 }
46198 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46199 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46200 if (!SWIG_IsOK(ecode2)) {
46201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46202 }
46203 arg2 = static_cast< bool >(val2);
46204 {
46205 PyThreadState* __tstate = wxPyBeginAllowThreads();
46206 (arg1)->SetCollapsed(arg2);
46207 wxPyEndAllowThreads(__tstate);
46208 if (PyErr_Occurred()) SWIG_fail;
46209 }
46210 resultobj = SWIG_Py_Void();
46211 return resultobj;
46212fail:
46213 return NULL;
46214}
46215
46216
46217SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46218 PyObject *obj;
46219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46220 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46221 return SWIG_Py_Void();
46222}
46223
46224SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46225 return SWIG_Python_InitShadowInstance(args);
46226}
46227
3f7f284d
RD
46228SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46229 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46230 return 1;
46231}
46232
46233
46234SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46235 PyObject *pyobj = 0;
46236
46237 {
46238#if wxUSE_UNICODE
46239 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46240#else
46241 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46242#endif
46243 }
46244 return pyobj;
46245}
46246
46247
46248SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46249 PyObject *resultobj = 0;
46250 wxWindow *arg1 = (wxWindow *) 0 ;
46251 int arg2 = (int) -1 ;
46252 wxString const &arg3_defvalue = wxEmptyString ;
46253 wxString *arg3 = (wxString *) &arg3_defvalue ;
46254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46256 wxSize const &arg5_defvalue = wxDefaultSize ;
46257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46258 long arg6 = (long) 0 ;
46259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46261 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46262 wxString *arg8 = (wxString *) &arg8_defvalue ;
46263 wxSearchCtrl *result = 0 ;
46264 void *argp1 = 0 ;
46265 int res1 = 0 ;
46266 int val2 ;
46267 int ecode2 = 0 ;
46268 bool temp3 = false ;
46269 wxPoint temp4 ;
46270 wxSize temp5 ;
46271 long val6 ;
46272 int ecode6 = 0 ;
46273 void *argp7 = 0 ;
46274 int res7 = 0 ;
46275 bool temp8 = false ;
46276 PyObject * obj0 = 0 ;
46277 PyObject * obj1 = 0 ;
46278 PyObject * obj2 = 0 ;
46279 PyObject * obj3 = 0 ;
46280 PyObject * obj4 = 0 ;
46281 PyObject * obj5 = 0 ;
46282 PyObject * obj6 = 0 ;
46283 PyObject * obj7 = 0 ;
46284 char * kwnames[] = {
46285 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46286 };
46287
46288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46290 if (!SWIG_IsOK(res1)) {
46291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46292 }
46293 arg1 = reinterpret_cast< wxWindow * >(argp1);
46294 if (obj1) {
46295 ecode2 = SWIG_AsVal_int(obj1, &val2);
46296 if (!SWIG_IsOK(ecode2)) {
46297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46298 }
46299 arg2 = static_cast< int >(val2);
46300 }
46301 if (obj2) {
46302 {
46303 arg3 = wxString_in_helper(obj2);
46304 if (arg3 == NULL) SWIG_fail;
46305 temp3 = true;
46306 }
46307 }
46308 if (obj3) {
46309 {
46310 arg4 = &temp4;
46311 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46312 }
46313 }
46314 if (obj4) {
46315 {
46316 arg5 = &temp5;
46317 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46318 }
46319 }
46320 if (obj5) {
46321 ecode6 = SWIG_AsVal_long(obj5, &val6);
46322 if (!SWIG_IsOK(ecode6)) {
46323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46324 }
46325 arg6 = static_cast< long >(val6);
46326 }
46327 if (obj6) {
46328 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46329 if (!SWIG_IsOK(res7)) {
46330 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46331 }
46332 if (!argp7) {
46333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46334 }
46335 arg7 = reinterpret_cast< wxValidator * >(argp7);
46336 }
46337 if (obj7) {
46338 {
46339 arg8 = wxString_in_helper(obj7);
46340 if (arg8 == NULL) SWIG_fail;
46341 temp8 = true;
46342 }
46343 }
46344 {
46345 if (!wxPyCheckForApp()) SWIG_fail;
46346 PyThreadState* __tstate = wxPyBeginAllowThreads();
46347 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46348 wxPyEndAllowThreads(__tstate);
46349 if (PyErr_Occurred()) SWIG_fail;
46350 }
46351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46352 {
46353 if (temp3)
46354 delete arg3;
46355 }
46356 {
46357 if (temp8)
46358 delete arg8;
46359 }
46360 return resultobj;
46361fail:
46362 {
46363 if (temp3)
46364 delete arg3;
46365 }
46366 {
46367 if (temp8)
46368 delete arg8;
46369 }
46370 return NULL;
46371}
46372
46373
46374SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46375 PyObject *resultobj = 0;
46376 wxSearchCtrl *result = 0 ;
46377
46378 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46379 {
46380 if (!wxPyCheckForApp()) SWIG_fail;
46381 PyThreadState* __tstate = wxPyBeginAllowThreads();
46382 result = (wxSearchCtrl *)new wxSearchCtrl();
46383 wxPyEndAllowThreads(__tstate);
46384 if (PyErr_Occurred()) SWIG_fail;
46385 }
46386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46387 return resultobj;
46388fail:
46389 return NULL;
46390}
46391
46392
46393SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46394 PyObject *resultobj = 0;
46395 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46396 wxWindow *arg2 = (wxWindow *) 0 ;
46397 int arg3 = (int) -1 ;
46398 wxString const &arg4_defvalue = wxEmptyString ;
46399 wxString *arg4 = (wxString *) &arg4_defvalue ;
46400 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46401 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46402 wxSize const &arg6_defvalue = wxDefaultSize ;
46403 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46404 long arg7 = (long) 0 ;
46405 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46406 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46407 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46408 wxString *arg9 = (wxString *) &arg9_defvalue ;
46409 bool result;
46410 void *argp1 = 0 ;
46411 int res1 = 0 ;
46412 void *argp2 = 0 ;
46413 int res2 = 0 ;
46414 int val3 ;
46415 int ecode3 = 0 ;
46416 bool temp4 = false ;
46417 wxPoint temp5 ;
46418 wxSize temp6 ;
46419 long val7 ;
46420 int ecode7 = 0 ;
46421 void *argp8 = 0 ;
46422 int res8 = 0 ;
46423 bool temp9 = false ;
46424 PyObject * obj0 = 0 ;
46425 PyObject * obj1 = 0 ;
46426 PyObject * obj2 = 0 ;
46427 PyObject * obj3 = 0 ;
46428 PyObject * obj4 = 0 ;
46429 PyObject * obj5 = 0 ;
46430 PyObject * obj6 = 0 ;
46431 PyObject * obj7 = 0 ;
46432 PyObject * obj8 = 0 ;
46433 char * kwnames[] = {
46434 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46435 };
46436
46437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46439 if (!SWIG_IsOK(res1)) {
46440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46441 }
46442 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46444 if (!SWIG_IsOK(res2)) {
46445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46446 }
46447 arg2 = reinterpret_cast< wxWindow * >(argp2);
46448 if (obj2) {
46449 ecode3 = SWIG_AsVal_int(obj2, &val3);
46450 if (!SWIG_IsOK(ecode3)) {
46451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46452 }
46453 arg3 = static_cast< int >(val3);
46454 }
46455 if (obj3) {
46456 {
46457 arg4 = wxString_in_helper(obj3);
46458 if (arg4 == NULL) SWIG_fail;
46459 temp4 = true;
46460 }
46461 }
46462 if (obj4) {
46463 {
46464 arg5 = &temp5;
46465 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46466 }
46467 }
46468 if (obj5) {
46469 {
46470 arg6 = &temp6;
46471 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46472 }
46473 }
46474 if (obj6) {
46475 ecode7 = SWIG_AsVal_long(obj6, &val7);
46476 if (!SWIG_IsOK(ecode7)) {
46477 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46478 }
46479 arg7 = static_cast< long >(val7);
46480 }
46481 if (obj7) {
46482 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46483 if (!SWIG_IsOK(res8)) {
46484 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46485 }
46486 if (!argp8) {
46487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46488 }
46489 arg8 = reinterpret_cast< wxValidator * >(argp8);
46490 }
46491 if (obj8) {
46492 {
46493 arg9 = wxString_in_helper(obj8);
46494 if (arg9 == NULL) SWIG_fail;
46495 temp9 = true;
46496 }
46497 }
46498 {
46499 PyThreadState* __tstate = wxPyBeginAllowThreads();
46500 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46501 wxPyEndAllowThreads(__tstate);
46502 if (PyErr_Occurred()) SWIG_fail;
46503 }
46504 {
46505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46506 }
46507 {
46508 if (temp4)
46509 delete arg4;
46510 }
46511 {
46512 if (temp9)
46513 delete arg9;
46514 }
46515 return resultobj;
46516fail:
46517 {
46518 if (temp4)
46519 delete arg4;
46520 }
46521 {
46522 if (temp9)
46523 delete arg9;
46524 }
46525 return NULL;
46526}
46527
46528
46529SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46530 PyObject *resultobj = 0;
46531 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46532 wxMenu *arg2 = (wxMenu *) 0 ;
46533 void *argp1 = 0 ;
46534 int res1 = 0 ;
46535 void *argp2 = 0 ;
46536 int res2 = 0 ;
46537 PyObject * obj0 = 0 ;
46538 PyObject * obj1 = 0 ;
46539 char * kwnames[] = {
46540 (char *) "self",(char *) "menu", NULL
46541 };
46542
46543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46545 if (!SWIG_IsOK(res1)) {
46546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46547 }
46548 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46550 if (!SWIG_IsOK(res2)) {
46551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46552 }
46553 arg2 = reinterpret_cast< wxMenu * >(argp2);
46554 {
46555 PyThreadState* __tstate = wxPyBeginAllowThreads();
46556 (arg1)->SetMenu(arg2);
46557 wxPyEndAllowThreads(__tstate);
46558 if (PyErr_Occurred()) SWIG_fail;
46559 }
46560 resultobj = SWIG_Py_Void();
46561 return resultobj;
46562fail:
46563 return NULL;
46564}
46565
46566
46567SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46568 PyObject *resultobj = 0;
46569 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46570 wxMenu *result = 0 ;
46571 void *argp1 = 0 ;
46572 int res1 = 0 ;
46573 PyObject *swig_obj[1] ;
46574
46575 if (!args) SWIG_fail;
46576 swig_obj[0] = args;
46577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46578 if (!SWIG_IsOK(res1)) {
46579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46580 }
46581 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46582 {
46583 PyThreadState* __tstate = wxPyBeginAllowThreads();
46584 result = (wxMenu *)(arg1)->GetMenu();
46585 wxPyEndAllowThreads(__tstate);
46586 if (PyErr_Occurred()) SWIG_fail;
46587 }
46588 {
46589 resultobj = wxPyMake_wxObject(result, 0);
46590 }
46591 return resultobj;
46592fail:
46593 return NULL;
46594}
46595
46596
46597SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46598 PyObject *resultobj = 0;
46599 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46600 bool arg2 ;
46601 void *argp1 = 0 ;
46602 int res1 = 0 ;
46603 bool val2 ;
46604 int ecode2 = 0 ;
46605 PyObject * obj0 = 0 ;
46606 PyObject * obj1 = 0 ;
46607 char * kwnames[] = {
46608 (char *) "self",(char *) "show", NULL
46609 };
46610
46611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames,&obj0,&obj1)) SWIG_fail;
46612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46613 if (!SWIG_IsOK(res1)) {
46614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46615 }
46616 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46618 if (!SWIG_IsOK(ecode2)) {
46619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46620 }
46621 arg2 = static_cast< bool >(val2);
46622 {
46623 PyThreadState* __tstate = wxPyBeginAllowThreads();
46624 (arg1)->SetSearchButtonVisible(arg2);
46625 wxPyEndAllowThreads(__tstate);
46626 if (PyErr_Occurred()) SWIG_fail;
46627 }
46628 resultobj = SWIG_Py_Void();
46629 return resultobj;
46630fail:
46631 return NULL;
46632}
46633
46634
46635SWIGINTERN PyObject *_wrap_SearchCtrl_GetSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46636 PyObject *resultobj = 0;
46637 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46638 bool result;
46639 void *argp1 = 0 ;
46640 int res1 = 0 ;
46641 PyObject *swig_obj[1] ;
46642
46643 if (!args) SWIG_fail;
46644 swig_obj[0] = args;
46645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46646 if (!SWIG_IsOK(res1)) {
46647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46648 }
46649 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46650 {
46651 PyThreadState* __tstate = wxPyBeginAllowThreads();
46652 result = (bool)((wxSearchCtrl const *)arg1)->GetSearchButtonVisible();
46653 wxPyEndAllowThreads(__tstate);
46654 if (PyErr_Occurred()) SWIG_fail;
46655 }
46656 {
46657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46658 }
46659 return resultobj;
46660fail:
46661 return NULL;
46662}
46663
46664
46665SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46666 PyObject *resultobj = 0;
46667 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46668 bool arg2 ;
46669 void *argp1 = 0 ;
46670 int res1 = 0 ;
46671 bool val2 ;
46672 int ecode2 = 0 ;
46673 PyObject * obj0 = 0 ;
46674 PyObject * obj1 = 0 ;
46675 char * kwnames[] = {
46676 (char *) "self",(char *) "show", NULL
46677 };
46678
46679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames,&obj0,&obj1)) SWIG_fail;
46680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46681 if (!SWIG_IsOK(res1)) {
46682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46683 }
46684 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46686 if (!SWIG_IsOK(ecode2)) {
46687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46688 }
46689 arg2 = static_cast< bool >(val2);
46690 {
46691 PyThreadState* __tstate = wxPyBeginAllowThreads();
46692 (arg1)->SetCancelButtonVisible(arg2);
46693 wxPyEndAllowThreads(__tstate);
46694 if (PyErr_Occurred()) SWIG_fail;
46695 }
46696 resultobj = SWIG_Py_Void();
46697 return resultobj;
46698fail:
46699 return NULL;
46700}
46701
46702
46703SWIGINTERN PyObject *_wrap_SearchCtrl_GetCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46704 PyObject *resultobj = 0;
46705 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46706 bool result;
46707 void *argp1 = 0 ;
46708 int res1 = 0 ;
46709 PyObject *swig_obj[1] ;
46710
46711 if (!args) SWIG_fail;
46712 swig_obj[0] = args;
46713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46714 if (!SWIG_IsOK(res1)) {
46715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46716 }
46717 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46718 {
46719 PyThreadState* __tstate = wxPyBeginAllowThreads();
46720 result = (bool)((wxSearchCtrl const *)arg1)->GetCancelButtonVisible();
46721 wxPyEndAllowThreads(__tstate);
46722 if (PyErr_Occurred()) SWIG_fail;
46723 }
46724 {
46725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46726 }
46727 return resultobj;
46728fail:
46729 return NULL;
46730}
46731
46732
46733SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46734 PyObject *resultobj = 0;
46735 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46736 wxBitmap *arg2 = 0 ;
46737 void *argp1 = 0 ;
46738 int res1 = 0 ;
46739 void *argp2 = 0 ;
46740 int res2 = 0 ;
46741 PyObject * obj0 = 0 ;
46742 PyObject * obj1 = 0 ;
46743 char * kwnames[] = {
46744 (char *) "self",(char *) "bitmap", NULL
46745 };
46746
46747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46749 if (!SWIG_IsOK(res1)) {
46750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46751 }
46752 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46753 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46754 if (!SWIG_IsOK(res2)) {
46755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46756 }
46757 if (!argp2) {
46758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46759 }
46760 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46761 {
46762 PyThreadState* __tstate = wxPyBeginAllowThreads();
46763 (arg1)->SetSearchBitmap((wxBitmap const &)*arg2);
46764 wxPyEndAllowThreads(__tstate);
46765 if (PyErr_Occurred()) SWIG_fail;
46766 }
46767 resultobj = SWIG_Py_Void();
46768 return resultobj;
46769fail:
46770 return NULL;
46771}
46772
46773
46774SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46775 PyObject *resultobj = 0;
46776 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46777 wxBitmap *arg2 = 0 ;
46778 void *argp1 = 0 ;
46779 int res1 = 0 ;
46780 void *argp2 = 0 ;
46781 int res2 = 0 ;
46782 PyObject * obj0 = 0 ;
46783 PyObject * obj1 = 0 ;
46784 char * kwnames[] = {
46785 (char *) "self",(char *) "bitmap", NULL
46786 };
46787
46788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46790 if (!SWIG_IsOK(res1)) {
46791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46792 }
46793 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46794 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46795 if (!SWIG_IsOK(res2)) {
46796 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46797 }
46798 if (!argp2) {
46799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46800 }
46801 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46802 {
46803 PyThreadState* __tstate = wxPyBeginAllowThreads();
46804 (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2);
46805 wxPyEndAllowThreads(__tstate);
46806 if (PyErr_Occurred()) SWIG_fail;
46807 }
46808 resultobj = SWIG_Py_Void();
46809 return resultobj;
46810fail:
46811 return NULL;
46812}
46813
46814
46815SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46816 PyObject *resultobj = 0;
46817 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46818 wxBitmap *arg2 = 0 ;
46819 void *argp1 = 0 ;
46820 int res1 = 0 ;
46821 void *argp2 = 0 ;
46822 int res2 = 0 ;
46823 PyObject * obj0 = 0 ;
46824 PyObject * obj1 = 0 ;
46825 char * kwnames[] = {
46826 (char *) "self",(char *) "bitmap", NULL
46827 };
46828
46829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46831 if (!SWIG_IsOK(res1)) {
46832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46833 }
46834 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46835 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46836 if (!SWIG_IsOK(res2)) {
46837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46838 }
46839 if (!argp2) {
46840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46841 }
46842 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46843 {
46844 PyThreadState* __tstate = wxPyBeginAllowThreads();
46845 (arg1)->SetCancelBitmap((wxBitmap const &)*arg2);
46846 wxPyEndAllowThreads(__tstate);
46847 if (PyErr_Occurred()) SWIG_fail;
46848 }
46849 resultobj = SWIG_Py_Void();
46850 return resultobj;
46851fail:
46852 return NULL;
46853}
46854
46855
46856SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46857 PyObject *obj;
46858 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46859 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
46860 return SWIG_Py_Void();
46861}
46862
46863SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46864 return SWIG_Python_InitShadowInstance(args);
46865}
46866
b850e7f3
RD
46867static PyMethodDef SwigMethods[] = {
46868 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46869 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46870 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46872 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46873 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46875 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46876 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46877 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46878 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46879 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46880 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46881 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46882 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46883 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46884 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46886 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46887 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46889 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46890 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46891 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46892 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46893 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46894 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46895 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46896 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46897 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46898 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46899 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46901 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46902 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46903 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46904 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46906 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46907 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46909 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46910 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46911 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46912 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46913 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46914 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46916 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46917 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46918 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46919 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46920 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46921 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46922 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46923 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46924 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46925 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46927 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46928 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46929 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46930 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46932 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46934 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46935 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46936 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46937 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46938 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46939 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46940 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46941 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46942 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46944 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46945 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46947 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46948 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46950 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46951 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
0d2c9713 46952 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
46953 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46954 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46955 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46956 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46957 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46958 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46959 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46960 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46961 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46962 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46963 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46965 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46966 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46967 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46969 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46970 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46971 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46972 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46974 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46975 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46977 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46978 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46980 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46981 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46982 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46983 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46984 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46985 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46986 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46987 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46989 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46990 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46991 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46992 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46993 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46994 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46995 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46997 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46998 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
47002 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
47004 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
47006 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47007 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
47009 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47011 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47012 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
47015 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
47016 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47017 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
47018 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47019 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
47022 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
47023 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
47024 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47025 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
47026 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
47027 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47029 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
47033 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47034 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47035 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
47037 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
47038 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
47039 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
47040 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
47041 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
47042 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
47043 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47044 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
47045 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
47046 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
47047 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
47048 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
47049 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
47050 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
47051 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
47052 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
47053 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
47054 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
47055 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
47056 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
47057 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47058 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
47059 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47060 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
47061 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
47062 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
47063 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47064 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47066 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47067 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47068 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47069 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47070 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47071 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47072 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47073 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47074 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47075 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47076 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47077 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47078 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47079 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47080 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 47081 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47082 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47083 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47084 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47085 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47087 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47088 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47089 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47090 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47091 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47092 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47093 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47096 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47097 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47098 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47099 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47100 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47101 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47102 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47103 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47104 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47105 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47107 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47108 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47109 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47110 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47111 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
d7645bfd 47112 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47113 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
47114 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
47116 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47117 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47118 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47119 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47120 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47121 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47122 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47123 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47124 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47125 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47126 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47127 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47129 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47130 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47131 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47132 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47133 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47134 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47135 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47136 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47137 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47138 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47139 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47140 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47141 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47142 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47143 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47144 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47145 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47146 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47147 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47148 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47150 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47152 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47153 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47155 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47156 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47157 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47158 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47159 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47160 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47161 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47162 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47164 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47165 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47166 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47167 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47168 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47169 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47170 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47171 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47173 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47174 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47175 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47176 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47177 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47179 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47180 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47182 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47184 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47186 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47187 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47188 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47189 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47190 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47191 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47195 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47196 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47197 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47198 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47200 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47201 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47202 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47203 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47204 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47206 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47207 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47208 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47209 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47211 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47212 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47213 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47214 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47215 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47216 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47217 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47218 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47220 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47221 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47222 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47223 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47224 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47225 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47226 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47227 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47229 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47230 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47231 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47232 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47233 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47234 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47235 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47236 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47238 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47239 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47240 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47241 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47242 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47243 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47244 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47245 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47246 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47247 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47248 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47249 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47250 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47251 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47252 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47253 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
47255 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47256 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
554f62e9
RD
47257 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47258 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 47259 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
554f62e9
RD
47260 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47262 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47263 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47264 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47265 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47266 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 47267 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47268 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47269 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47270 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47271 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47272 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47273 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47274 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47275 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47276 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47277 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47278 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47279 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47280 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47281 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47282 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47283 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47284 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47285 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
47286 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47287 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47288 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47289 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47290 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47291 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47292 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47293 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47294 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47295 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47296 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47297 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47298 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47299 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47300 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47301 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47302 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47304 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47305 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47306 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47307 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47308 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47309 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47310 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47311 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47313 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47314 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47315 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47316 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47319 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47320 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47321 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47322 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47323 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47324 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47325 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47326 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47327 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47328 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47329 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47330 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47331 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47332 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47333 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47334 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47335 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47336 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47353 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47361 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47362 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47371 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47373 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47374 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47379 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47380 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47382 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47383 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47387 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47388 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47389 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47390 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47392 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47393 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47394 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47395 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47396 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47397 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47398 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47399 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47400 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47401 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47402 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47403 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47404 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47405 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47406 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47407 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47409 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47410 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47411 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47412 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47413 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47414 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47415 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47416 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47417 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47418 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47419 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47420 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47421 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47422 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47423 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47424 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47425 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47426 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47427 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47428 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47429 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47431 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47432 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47433 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47434 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47435 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47436 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47437 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47438 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47439 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47440 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47441 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47442 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47443 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47444 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47448 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47450 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47451 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47452 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47453 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47454 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47455 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47456 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47457 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47458 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47459 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47460 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47461 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47462 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47463 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47464 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47465 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47466 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47467 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47468 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47469 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47470 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47471 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47472 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47473 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47474 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47475 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47476 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47477 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47478 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47479 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47480 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47481 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47482 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47483 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47484 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47485 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47486 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47487 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47488 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47489 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47490 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47491 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47492 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47493 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47494 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47495 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47496 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47497 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47498 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47499 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47500 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47501 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47502 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47503 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47504 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47505 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47506 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47507 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47508 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47509 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47510 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47511 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47512 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47513 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47514 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47516 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47517 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47519 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47520 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47521 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47522 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47523 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47524 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47525 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47526 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47527 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47528 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47530 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47532 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47533 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47534 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47535 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47536 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47537 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47538 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47540 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47541 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47542 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47543 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47544 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47545 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47546 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47547 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47549 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47550 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47551 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47552 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47553 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47554 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47555 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47556 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47557 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47558 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47559 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47560 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47561 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47562 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47563 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47564 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47566 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47568 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47569 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47570 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47571 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47574 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47581 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47582 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47585 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47587 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47588 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47590 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47591 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47593 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47594 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47595 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47596 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47597 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47598 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47599 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47600 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47601 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47602 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47603 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47604 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47605 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47606 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47607 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47608 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47609 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47610 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47611 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47612 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47613 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47615 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47616 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47617 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47618 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 47619 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
554f62e9
RD
47620 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47621 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47622 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47623 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47624 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47625 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47626 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47627 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47628 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47629 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47630 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47631 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47632 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47633 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47634 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47635 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47636 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47637 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47639 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47641 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47642 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47643 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47645 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47646 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47647 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47648 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47649 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47650 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47651 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47652 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47653 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47654 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47655 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47656 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47657 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47660 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47661 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47663 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47668 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47670 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47671 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47672 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
47674 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47676 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47677 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47678 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47679 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47680 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47681 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47682 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47683 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47684 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47685 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47686 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47687 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47688 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47691 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47692 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47693 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47695 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
453fb36b
RD
47696 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47697 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
554f62e9
RD
47698 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47700 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47701 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47702 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47703 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47704 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47705 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47706 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47707 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47708 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47709 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47710 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47711 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47713 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47715 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
47717 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
554f62e9
RD
47719 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47720 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47721 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47722 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47723 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47724 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47725 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47726 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47727 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47728 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47729 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47730 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47732 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47733 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47734 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47735 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47736 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47737 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47738 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47739 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47740 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47741 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47742 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47743 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47744 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47745 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47746 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47747 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47748 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47749 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47750 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47751 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47753 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47754 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47755 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47756 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47757 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47759 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47760 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47761 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47762 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47763 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47764 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47765 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47766 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47767 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47768 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47769 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47770 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47771 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47772 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47773 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47774 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
47775 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47776 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47777 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47778 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47779 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47780 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47781 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47782 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47783 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47784 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47785 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47786 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47787 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 47788 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
554f62e9
RD
47789 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47790 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47791 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47792 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 47793 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47794 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47795 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47796 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47797 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47798 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47799 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47800 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47801 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47802 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47803 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47804 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47805 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47806 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47807 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47808 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47809 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47810 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47811 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47812 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47814 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47815 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47816 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47817 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47818 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47819 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47820 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47821 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47822 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47823 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47824 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47825 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47826 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47827 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47828 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47829 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47830 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
47831 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47832 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47833 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47834 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47835 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47836 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47837 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47838 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47839 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47840 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47841 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47842 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47843 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47844 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47845 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47846 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47847 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47848 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47849 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47850 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
47851 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47853 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47854 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47855 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
1eeb270e
RD
47856 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47857 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
47858 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47859 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47860 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47861 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47862 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47863 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47864 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47865 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47866 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47867 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47868 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47869 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47870 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47871 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47872 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47873 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47874 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47875 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47876 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47877 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47878 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47879 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47880 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47881 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47882 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47883 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47884 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47885 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47886 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47887 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47888 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47889 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47890 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47891 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47892 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47893 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47894 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47895 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47896 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47897 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47898 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47899 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47900 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47901 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47902 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47903 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47904 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47905 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47906 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47907 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47908 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47909 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47910 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47911 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47912 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47913 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47914 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
5172800e
RD
47915 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47916 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47917 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47918 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47919 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47920 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47921 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47922 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47923 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47924 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47925 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47926 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47927 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47928 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47929 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
3f7f284d
RD
47930 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47931 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
47932 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47933 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47934 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
47935 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction) _wrap_SearchCtrl_SetSearchButtonVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47936 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_GetSearchButtonVisible, METH_O, NULL},
47937 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction) _wrap_SearchCtrl_SetCancelButtonVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47938 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_GetCancelButtonVisible, METH_O, NULL},
47939 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47940 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47941 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47942 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
47943 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
554f62e9
RD
47944 { NULL, NULL, 0, NULL }
47945};
47946
47947
47948/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47949
47950static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47952}
47953static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47954 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47955}
47956static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47957 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47958}
47959static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47960 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47961}
47962static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47963 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47964}
47965static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47966 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47967}
47968static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47969 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47970}
47971static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47972 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47973}
b850e7f3
RD
47974static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47976}
47977static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47979}
47980static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47981 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47982}
554f62e9
RD
47983static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47984 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47985}
47986static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47988}
47989static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47991}
554f62e9
RD
47992static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47994}
0f83f5da
RD
47995static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47996 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47997}
2131d850
RD
47998static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47999 return (void *)((wxEvent *) ((wxPyEvent *) x));
48000}
554f62e9
RD
48001static void *_p_wxListEventTo_p_wxEvent(void *x) {
48002 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48003}
48004static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
48005 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48006}
48007static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
48008 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48009}
48010static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
48011 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48012}
48013static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
48014 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48015}
48016static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
48017 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48018}
48019static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
48020 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
48021}
48022static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
48023 return (void *)((wxEvent *) ((wxIdleEvent *) x));
48024}
48025static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
48026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
48027}
48028static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
48029 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
48030}
48031static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
48032 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
48033}
48034static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
48035 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
48036}
48037static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
48038 return (void *)((wxEvent *) ((wxActivateEvent *) x));
48039}
48040static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
48041 return (void *)((wxEvent *) ((wxSizeEvent *) x));
48042}
48043static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
48044 return (void *)((wxEvent *) ((wxMoveEvent *) x));
48045}
48046static void *_p_wxDateEventTo_p_wxEvent(void *x) {
48047 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
48048}
5172800e
RD
48049static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
48050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48051}
554f62e9
RD
48052static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
48053 return (void *)((wxEvent *) ((wxPaintEvent *) x));
48054}
48055static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
48056 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
48057}
0f83f5da
RD
48058static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
48059 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
48060}
554f62e9
RD
48061static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
48062 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
48063}
48064static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48065 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48066}
48067static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48068 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48069}
48070static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48071 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48072}
48073static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48074 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48075}
704eda0c
RD
48076static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48077 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48078}
554f62e9
RD
48079static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48080 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48081}
48082static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48083 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48084}
48085static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48086 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48087}
48088static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48089 return (void *)((wxEvent *) ((wxShowEvent *) x));
48090}
48091static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48092 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48093}
48094static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48095 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48096}
48097static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48099}
48100static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48101 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48102}
48103static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48104 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48105}
48106static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48107 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48108}
48109static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48110 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48111}
b850e7f3
RD
48112static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48113 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48114}
48115static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48116 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48117}
48118static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48119 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48120}
48121static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48122 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48123}
554f62e9
RD
48124static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48125 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48126}
48127static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48128 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48129}
48130static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48131 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48132}
48133static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48134 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48135}
48136static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48137 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48138}
48139static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48140 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48141}
48142static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48143 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48144}
5172800e
RD
48145static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48146 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48147}
554f62e9
RD
48148static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48149 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48150}
48151static void *_p_wxToolBarTo_p_wxControl(void *x) {
48152 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48153}
b850e7f3
RD
48154static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48155 return (void *)((wxControl *) ((wxPickerBase *) x));
48156}
554f62e9
RD
48157static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48158 return (void *)((wxControl *) ((wxToggleButton *) x));
48159}
48160static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48161 return (void *)((wxControl *) ((wxRadioButton *) x));
48162}
3f7f284d
RD
48163static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48164 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48165}
554f62e9
RD
48166static void *_p_wxToolbookTo_p_wxControl(void *x) {
48167 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48168}
48169static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48170 return (void *)((wxControl *) ((wxToolBarBase *) x));
48171}
48172static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48173 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48174}
48175static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48176 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48177}
48178static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48179 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48180}
48181static void *_p_wxPyControlTo_p_wxControl(void *x) {
48182 return (void *)((wxControl *) ((wxPyControl *) x));
48183}
48184static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48185 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48186}
48187static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48188 return (void *)((wxControl *) ((wxScrollBar *) x));
48189}
48190static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48191 return (void *)((wxControl *) ((wxControlWithItems *) x));
48192}
48193static void *_p_wxGaugeTo_p_wxControl(void *x) {
48194 return (void *)((wxControl *) ((wxGauge *) x));
48195}
48196static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48197 return (void *)((wxControl *) ((wxStaticLine *) x));
48198}
48199static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48200 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48201}
48202static void *_p_wxListbookTo_p_wxControl(void *x) {
48203 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48204}
704eda0c
RD
48205static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48206 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48207}
554f62e9
RD
48208static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48209 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48210}
48211static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48212 return (void *)((wxControl *) ((wxCheckBox *) x));
48213}
48214static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48215 return (void *)((wxControl *) ((wxRadioBox *) x));
48216}
48217static void *_p_wxChoiceTo_p_wxControl(void *x) {
48218 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48219}
48220static void *_p_wxListBoxTo_p_wxControl(void *x) {
48221 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48222}
48223static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48224 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48225}
48226static void *_p_wxListViewTo_p_wxControl(void *x) {
48227 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48228}
48229static void *_p_wxNotebookTo_p_wxControl(void *x) {
48230 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48231}
48232static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48233 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48234}
48235static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48236 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48237}
48238static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48239 return (void *)((wxControl *) ((wxStaticText *) x));
48240}
48241static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48242 return (void *)((wxControl *) ((wxStaticBox *) x));
48243}
48244static void *_p_wxSliderTo_p_wxControl(void *x) {
48245 return (void *)((wxControl *) ((wxSlider *) x));
48246}
48247static void *_p_wxTreebookTo_p_wxControl(void *x) {
48248 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48249}
48250static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48251 return (void *)((wxControl *) ((wxSpinButton *) x));
48252}
48253static void *_p_wxButtonTo_p_wxControl(void *x) {
48254 return (void *)((wxControl *) ((wxButton *) x));
48255}
48256static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48257 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48258}
48259static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48260 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48261}
48262static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48263 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48264}
b850e7f3
RD
48265static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48266 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48267}
48268static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48269 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48270}
48271static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48272 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48273}
48274static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48275 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48276}
554f62e9
RD
48277static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48278 return (void *)((wxControl *) ((wxTextCtrl *) x));
48279}
48280static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48281 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48282}
48283static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
48284 return (void *)((wxChoice *) ((wxComboBox *) x));
48285}
48286static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48287 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48288}
3f7f284d
RD
48289static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48290 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48291}
554f62e9
RD
48292static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48293 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48294}
48295static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48296 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48297}
48298static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48299 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48300}
48301static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48302 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48303}
48304static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48305 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48306}
48307static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48308 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48309}
48310static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48311 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48312}
48313static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48314 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48315}
48316static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48317 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48318}
48319static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48320 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48321}
48322static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48323 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48324}
48325static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48326 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48327}
48328static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48329 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48330}
48331static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48332 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48333}
5172800e
RD
48334static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48335 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48336}
554f62e9
RD
48337static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48338 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48339}
48340static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48341 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48342}
48343static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48344 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48345}
48346static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48347 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48348}
48349static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48351}
b850e7f3
RD
48352static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48354}
554f62e9
RD
48355static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48356 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48357}
48358static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48359 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48360}
48361static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48363}
3f7f284d
RD
48364static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48365 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48366}
554f62e9
RD
48367static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48369}
48370static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48371 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48372}
48373static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48374 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48375}
48376static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48378}
48379static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48381}
48382static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48384}
48385static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48387}
48388static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48390}
48391static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48392 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48393}
48394static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48396}
48397static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48399}
48400static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48402}
48403static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48405}
48406static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48408}
48409static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48411}
48412static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48414}
704eda0c
RD
48415static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48417}
554f62e9
RD
48418static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48420}
48421static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48423}
48424static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48426}
48427static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48429}
48430static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48432}
48433static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48435}
48436static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48438}
48439static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48441}
48442static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48444}
48445static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48447}
48448static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48450}
48451static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48453}
48454static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48456}
48457static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48459}
48460static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48462}
48463static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48465}
48466static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48468}
48469static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48471}
48472static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48474}
b850e7f3
RD
48475static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48477}
48478static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48480}
48481static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48483}
48484static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48486}
554f62e9
RD
48487static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48489}
48490static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48491 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48492}
48493static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48494 return (void *)((wxButton *) ((wxBitmapButton *) x));
48495}
48496static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48497 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48498}
48499static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48500 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48501}
48502static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48503 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48504}
48505static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48506 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48507}
48508static void *_p_wxToolbookTo_p_wxObject(void *x) {
48509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48510}
554f62e9
RD
48511static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48512 return (void *)((wxObject *) ((wxSizerItem *) x));
48513}
0f83f5da
RD
48514static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48515 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48516}
554f62e9
RD
48517static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48519}
48520static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48521 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48522}
48523static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48525}
48526static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48527 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48528}
48529static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48530 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48531}
48532static void *_p_wxSizerTo_p_wxObject(void *x) {
48533 return (void *)((wxObject *) ((wxSizer *) x));
48534}
48535static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48536 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48537}
48538static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48540}
48541static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48543}
48544static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48546}
48547static void *_p_wxEventTo_p_wxObject(void *x) {
48548 return (void *)((wxObject *) ((wxEvent *) x));
48549}
48550static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48551 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48552}
48553static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48554 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48555}
3f7f284d
RD
48556static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48558}
554f62e9
RD
48559static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48560 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48561}
48562static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48564}
b850e7f3
RD
48565static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48567}
554f62e9
RD
48568static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48570}
48571static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48573}
2131d850
RD
48574static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48576}
554f62e9
RD
48577static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48578 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48579}
48580static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48581 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48582}
48583static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48584 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48585}
48586static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48587 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48588}
48589static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48590 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48591}
48592static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48593 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48594}
48595static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48597}
48598static void *_p_wxControlTo_p_wxObject(void *x) {
48599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48600}
48601static void *_p_wxPyControlTo_p_wxObject(void *x) {
48602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48603}
48604static void *_p_wxGaugeTo_p_wxObject(void *x) {
48605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48606}
48607static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48609}
48610static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48612}
48613static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48615}
48616static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48617 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48618}
b850e7f3
RD
48619static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48621}
48622static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48624}
48625static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48627}
554f62e9
RD
48628static void *_p_wxChoiceTo_p_wxObject(void *x) {
48629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48630}
48631static void *_p_wxFSFileTo_p_wxObject(void *x) {
48632 return (void *)((wxObject *) ((wxFSFile *) x));
48633}
48634static void *_p_wxPySizerTo_p_wxObject(void *x) {
48635 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48636}
48637static void *_p_wxTreebookTo_p_wxObject(void *x) {
48638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48639}
48640static void *_p_wxListViewTo_p_wxObject(void *x) {
48641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48642}
704eda0c
RD
48643static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48645}
554f62e9
RD
48646static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48648}
48649static void *_p_wxNotebookTo_p_wxObject(void *x) {
48650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48651}
48652static void *_p_wxPyEventTo_p_wxObject(void *x) {
48653 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48654}
48655static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48657}
48658static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48660}
48661static void *_p_wxListbookTo_p_wxObject(void *x) {
48662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48663}
48664static void *_p_wxShowEventTo_p_wxObject(void *x) {
48665 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48666}
48667static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48669}
48670static void *_p_wxSliderTo_p_wxObject(void *x) {
48671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48672}
48673static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48674 return (void *)((wxObject *) ((wxMenuItem *) x));
48675}
48676static void *_p_wxDateEventTo_p_wxObject(void *x) {
48677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48678}
48679static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48680 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48681}
48682static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48684}
48685static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48686 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48687}
48688static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48689 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48690}
48691static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48692 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48693}
48694static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48695 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48696}
48697static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48698 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48699}
48700static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48701 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48702}
48703static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48705}
48706static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48707 return (void *)((wxObject *) ((wxContextHelp *) x));
48708}
5172800e
RD
48709static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48711}
554f62e9
RD
48712static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48714}
48715static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48716 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48717}
48718static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48719 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48720}
48721static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48722 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48723}
48724static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48725 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48726}
48727static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48728 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48729}
48730static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48731 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48732}
48733static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48735}
48736static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48738}
48739static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48740 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48741}
48742static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48743 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48744}
48745static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48746 return (void *)((wxObject *) ((wxImageHandler *) x));
48747}
48748static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48749 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48750}
48751static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48752 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48753}
580080c5
RD
48754static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48755 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48756}
554f62e9
RD
48757static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48758 return (void *)((wxObject *) ((wxEvtHandler *) x));
48759}
0f83f5da
RD
48760static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48761 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48762}
554f62e9
RD
48763static void *_p_wxListEventTo_p_wxObject(void *x) {
48764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48765}
48766static void *_p_wxListBoxTo_p_wxObject(void *x) {
48767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48768}
48769static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48771}
48772static void *_p_wxButtonTo_p_wxObject(void *x) {
48773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48774}
48775static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48777}
48778static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48780}
48781static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48783}
554f62e9
RD
48784static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48785 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48786}
580080c5
RD
48787static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48788 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48789}
554f62e9
RD
48790static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48792}
48793static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48795}
48796static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48798}
48799static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48801}
48802static void *_p_wxListItemTo_p_wxObject(void *x) {
48803 return (void *)((wxObject *) ((wxListItem *) x));
48804}
48805static void *_p_wxImageTo_p_wxObject(void *x) {
48806 return (void *)((wxObject *) ((wxImage *) x));
48807}
48808static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48809 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48810}
48811static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48813}
48814static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48815 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48816}
48817static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48819}
48820static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48822}
48823static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48825}
48826static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48828}
48829static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48831}
48832static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48834}
48835static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48837}
48838static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48839 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48840}
48841static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48842 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48843}
48844static void *_p_wxWindowTo_p_wxObject(void *x) {
48845 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48846}
48847static void *_p_wxMenuTo_p_wxObject(void *x) {
48848 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48849}
48850static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48852}
48853static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48854 return (void *)((wxObject *) ((wxFileSystem *) x));
48855}
5172800e
RD
48856static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48858}
554f62e9
RD
48859static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48861}
48862static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48863 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48864}
48865static void *_p_wxPyAppTo_p_wxObject(void *x) {
48866 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48867}
48868static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48869 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48870}
48871static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48872 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48873}
48874static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48875 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48876}
48877static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48879}
48880static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48882}
48883static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48885}
48886static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48887 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48888}
48889static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48891}
48892static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48893 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48894}
48895static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48896 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48897}
48898static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48899 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48900}
48901static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48903}
b850e7f3
RD
48904static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48906}
48907static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48909}
48910static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48912}
48913static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48915}
554f62e9
RD
48916static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48918}
704eda0c
RD
48919static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48921}
554f62e9
RD
48922static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48923 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48924}
48925static void *_p_wxToolBarTo_p_wxObject(void *x) {
48926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48927}
48928static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48929 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48930}
48931static void *_p_wxValidatorTo_p_wxObject(void *x) {
48932 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48933}
5172800e
RD
48934static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48935 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48936}
554f62e9
RD
48937static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48938 return (void *)((wxWindow *) ((wxMenuBar *) x));
48939}
48940static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48941 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48942}
48943static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48944 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48945}
b850e7f3
RD
48946static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48947 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48948}
554f62e9
RD
48949static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48950 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48951}
48952static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48953 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48954}
3f7f284d
RD
48955static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
48956 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48957}
554f62e9
RD
48958static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48959 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48960}
48961static void *_p_wxControlTo_p_wxWindow(void *x) {
48962 return (void *)((wxWindow *) ((wxControl *) x));
48963}
48964static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48965 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48966}
48967static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48968 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48969}
48970static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48971 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48972}
48973static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48974 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48975}
48976static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48977 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48978}
48979static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48980 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48981}
48982static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48983 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48984}
48985static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48986 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48987}
48988static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48989 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48990}
48991static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48992 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48993}
48994static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48995 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48996}
48997static void *_p_wxListbookTo_p_wxWindow(void *x) {
48998 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48999}
704eda0c
RD
49000static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
49001 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
49002}
554f62e9
RD
49003static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
49004 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
49005}
49006static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
49007 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
49008}
49009static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
49010 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
49011}
49012static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
49013 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49014}
49015static void *_p_wxChoiceTo_p_wxWindow(void *x) {
49016 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49017}
49018static void *_p_wxListBoxTo_p_wxWindow(void *x) {
49019 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49020}
49021static void *_p_wxListViewTo_p_wxWindow(void *x) {
49022 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49023}
49024static void *_p_wxNotebookTo_p_wxWindow(void *x) {
49025 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49026}
49027static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
49028 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
49029}
49030static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
49031 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
49032}
49033static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
49034 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
49035}
49036static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
49037 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
49038}
49039static void *_p_wxSliderTo_p_wxWindow(void *x) {
49040 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
49041}
49042static void *_p_wxTreebookTo_p_wxWindow(void *x) {
49043 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49044}
49045static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
49046 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
49047}
49048static void *_p_wxButtonTo_p_wxWindow(void *x) {
49049 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
49050}
49051static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
49052 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
49053}
49054static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
49055 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49056}
49057static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
49058 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
49059}
b850e7f3
RD
49060static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
49061 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49062}
49063static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
49064 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49065}
49066static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49067 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49068}
49069static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49070 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49071}
554f62e9
RD
49072static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49073 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49074}
49075static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49076 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49077}
49078static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49079 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49080}
49081static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49082 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49083}
49084static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49085 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49086}
49087static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49088 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49089}
49090static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49091 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49092}
704eda0c
RD
49093static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49094 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49095}
2131d850
RD
49096static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49097 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49098}
b850e7f3
RD
49099static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49100 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49101}
49102static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49103 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49104}
49105static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49106 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49107}
554f62e9
RD
49108static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49109 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49110}
49111static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49112 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49113}
49114static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49115 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49116}
49117static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49118 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49119}
49120static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49121 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49122}
554f62e9
RD
49123static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49124 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49125}
2131d850
RD
49126static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49127 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49128}
554f62e9
RD
49129static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49130 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49131}
49132static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49133 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49134}
49135static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49136 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49137}
49138static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49139 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49140}
49141static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49142 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49143}
49144static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49145 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49146}
5172800e
RD
49147static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49148 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49149}
554f62e9
RD
49150static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49151 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49152}
49153static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49154 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49155}
49156static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49157 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49158}
49159static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49160 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49161}
49162static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49163 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49164}
49165static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49166 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49167}
49168static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
49169 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
49170}
49171static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49172 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49173}
49174static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49175 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49176}
49177static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49178 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49179}
49180static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49181 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49182}
49183static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49184 return (void *)((wxValidator *) ((wxPyValidator *) x));
49185}
49186static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49187static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49188static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
49189static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49190static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49191static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49192static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49193static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49194static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49195static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49196static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49197static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49198static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49199static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49200static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49201static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49202static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49203static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49204static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49205static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49206static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
5172800e
RD
49207static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49208static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
554f62e9 49209static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
49210static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49211static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
49212static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49213static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49214static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 49215static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
49216static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49217static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49218static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49219static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49220static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49221static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49222static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49223static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49224static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49225static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49226static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49227static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49228static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49229static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49230static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49231static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 49232static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
554f62e9
RD
49233static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49234static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49235static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49236static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49237static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49238static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49239static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49240static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 49241static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
554f62e9
RD
49242static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49243static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49244static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49245static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49246static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49247static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
0f83f5da 49248static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
554f62e9
RD
49249static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49250static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49251static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49252static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49253static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49254static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49255static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49256static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49257static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49258static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49259static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49260static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49261static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49262static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49263static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
b850e7f3
RD
49264static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49265static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
554f62e9 49266static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
49267static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49268static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
49269static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49270static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49271static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49272static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49273static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
49274static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49275static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
49276static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49277static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49278static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49279static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49280static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49281static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49282static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49283static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49284static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49285static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49286static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49287static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
3f7f284d 49288static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
554f62e9
RD
49289static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49290static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49291static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49292static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49293static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49294static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
554f62e9 49295static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 49296static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
554f62e9
RD
49297static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49298static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49299static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49300static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49301static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49302static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49303static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49304static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49305static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49306static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
49307static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49308static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49309static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
3f7f284d 49310static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
5172800e 49311static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
49312static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49313static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49314static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49315static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 49316static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 49317static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
49318static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49319static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 49320static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
554f62e9 49321static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 49322static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
554f62e9
RD
49323static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49324static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49325static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 49326static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
554f62e9
RD
49327static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49328static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49329static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49330static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49331static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49332static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49333static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49334static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49335static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
3f7f284d 49336static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
554f62e9
RD
49337static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49338static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49339static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49340static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49341static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49342static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49343static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49344static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49345static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49346static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49347static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49348static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49349static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49350static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49351static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49352static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49353static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49354static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49355static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49356static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
49357static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49358static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49359static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49360static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49361static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49362static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49363static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 49364static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
554f62e9
RD
49365
49366static swig_type_info *swig_type_initial[] = {
49367 &_swigt__p_bool,
49368 &_swigt__p_char,
49369 &_swigt__p_form_ops_t,
49370 &_swigt__p_int,
49371 &_swigt__p_long,
49372 &_swigt__p_unsigned_char,
49373 &_swigt__p_unsigned_int,
49374 &_swigt__p_unsigned_long,
49375 &_swigt__p_void,
49376 &_swigt__p_wxANIHandler,
49377 &_swigt__p_wxAcceleratorTable,
49378 &_swigt__p_wxActivateEvent,
49379 &_swigt__p_wxArrayInt,
49380 &_swigt__p_wxArrayString,
49381 &_swigt__p_wxBMPHandler,
49382 &_swigt__p_wxBitmap,
49383 &_swigt__p_wxBitmapButton,
49384 &_swigt__p_wxBookCtrlBase,
49385 &_swigt__p_wxBookCtrlBaseEvent,
49386 &_swigt__p_wxBoxSizer,
49387 &_swigt__p_wxButton,
49388 &_swigt__p_wxCURHandler,
49389 &_swigt__p_wxCheckBox,
49390 &_swigt__p_wxCheckListBox,
49391 &_swigt__p_wxChildFocusEvent,
49392 &_swigt__p_wxChoice,
49393 &_swigt__p_wxChoicebook,
49394 &_swigt__p_wxChoicebookEvent,
2131d850 49395 &_swigt__p_wxClipboardTextEvent,
554f62e9 49396 &_swigt__p_wxCloseEvent,
5172800e
RD
49397 &_swigt__p_wxCollapsiblePane,
49398 &_swigt__p_wxCollapsiblePaneEvent,
554f62e9 49399 &_swigt__p_wxColour,
b850e7f3
RD
49400 &_swigt__p_wxColourPickerCtrl,
49401 &_swigt__p_wxColourPickerEvent,
554f62e9
RD
49402 &_swigt__p_wxComboBox,
49403 &_swigt__p_wxCommandEvent,
49404 &_swigt__p_wxContextHelp,
49405 &_swigt__p_wxContextHelpButton,
49406 &_swigt__p_wxContextMenuEvent,
49407 &_swigt__p_wxControl,
49408 &_swigt__p_wxControlWithItems,
49409 &_swigt__p_wxCursor,
49410 &_swigt__p_wxDC,
49411 &_swigt__p_wxDateEvent,
49412 &_swigt__p_wxDatePickerCtrl,
49413 &_swigt__p_wxDateTime,
49414 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 49415 &_swigt__p_wxDirPickerCtrl,
554f62e9
RD
49416 &_swigt__p_wxDisplayChangedEvent,
49417 &_swigt__p_wxDropFilesEvent,
49418 &_swigt__p_wxDuplexMode,
49419 &_swigt__p_wxEraseEvent,
49420 &_swigt__p_wxEvent,
49421 &_swigt__p_wxEvtHandler,
49422 &_swigt__p_wxFSFile,
b850e7f3
RD
49423 &_swigt__p_wxFileDirPickerEvent,
49424 &_swigt__p_wxFilePickerCtrl,
554f62e9
RD
49425 &_swigt__p_wxFileSystem,
49426 &_swigt__p_wxFlexGridSizer,
49427 &_swigt__p_wxFocusEvent,
49428 &_swigt__p_wxFont,
b850e7f3
RD
49429 &_swigt__p_wxFontPickerCtrl,
49430 &_swigt__p_wxFontPickerEvent,
554f62e9
RD
49431 &_swigt__p_wxGBSizerItem,
49432 &_swigt__p_wxGIFHandler,
49433 &_swigt__p_wxGauge,
49434 &_swigt__p_wxGenericDirCtrl,
49435 &_swigt__p_wxGenericDragImage,
49436 &_swigt__p_wxGridBagSizer,
49437 &_swigt__p_wxGridSizer,
49438 &_swigt__p_wxHelpEvent,
49439 &_swigt__p_wxHelpProvider,
704eda0c
RD
49440 &_swigt__p_wxHyperlinkCtrl,
49441 &_swigt__p_wxHyperlinkEvent,
554f62e9
RD
49442 &_swigt__p_wxICOHandler,
49443 &_swigt__p_wxIcon,
49444 &_swigt__p_wxIconizeEvent,
49445 &_swigt__p_wxIdleEvent,
49446 &_swigt__p_wxImage,
49447 &_swigt__p_wxImageHandler,
49448 &_swigt__p_wxImageList,
49449 &_swigt__p_wxIndividualLayoutConstraint,
49450 &_swigt__p_wxInitDialogEvent,
49451 &_swigt__p_wxItemContainer,
49452 &_swigt__p_wxJPEGHandler,
49453 &_swigt__p_wxKeyEvent,
49454 &_swigt__p_wxLayoutConstraints,
49455 &_swigt__p_wxListBox,
49456 &_swigt__p_wxListEvent,
49457 &_swigt__p_wxListItem,
49458 &_swigt__p_wxListItemAttr,
49459 &_swigt__p_wxListView,
49460 &_swigt__p_wxListbook,
49461 &_swigt__p_wxListbookEvent,
49462 &_swigt__p_wxMaximizeEvent,
49463 &_swigt__p_wxMemoryDC,
49464 &_swigt__p_wxMenu,
49465 &_swigt__p_wxMenuBar,
49466 &_swigt__p_wxMenuEvent,
49467 &_swigt__p_wxMenuItem,
49468 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 49469 &_swigt__p_wxMouseCaptureLostEvent,
554f62e9
RD
49470 &_swigt__p_wxMouseEvent,
49471 &_swigt__p_wxMoveEvent,
49472 &_swigt__p_wxNavigationKeyEvent,
49473 &_swigt__p_wxNcPaintEvent,
49474 &_swigt__p_wxNotebook,
49475 &_swigt__p_wxNotebookEvent,
49476 &_swigt__p_wxNotifyEvent,
49477 &_swigt__p_wxObject,
49478 &_swigt__p_wxPCXHandler,
49479 &_swigt__p_wxPNGHandler,
49480 &_swigt__p_wxPNMHandler,
49481 &_swigt__p_wxPaintEvent,
49482 &_swigt__p_wxPaletteChangedEvent,
49483 &_swigt__p_wxPaperSize,
b850e7f3 49484 &_swigt__p_wxPickerBase,
554f62e9
RD
49485 &_swigt__p_wxPoint,
49486 &_swigt__p_wxPyApp,
49487 &_swigt__p_wxPyCommandEvent,
49488 &_swigt__p_wxPyControl,
49489 &_swigt__p_wxPyEvent,
49490 &_swigt__p_wxPyImageHandler,
49491 &_swigt__p_wxPyListCtrl,
49492 &_swigt__p_wxPySizer,
49493 &_swigt__p_wxPyTreeCtrl,
49494 &_swigt__p_wxPyTreeItemData,
49495 &_swigt__p_wxPyValidator,
49496 &_swigt__p_wxQueryNewPaletteEvent,
49497 &_swigt__p_wxRadioBox,
49498 &_swigt__p_wxRadioButton,
49499 &_swigt__p_wxRect,
49500 &_swigt__p_wxScrollBar,
49501 &_swigt__p_wxScrollEvent,
49502 &_swigt__p_wxScrollWinEvent,
3f7f284d 49503 &_swigt__p_wxSearchCtrl,
554f62e9
RD
49504 &_swigt__p_wxSetCursorEvent,
49505 &_swigt__p_wxShowEvent,
49506 &_swigt__p_wxSimpleHelpProvider,
49507 &_swigt__p_wxSize,
49508 &_swigt__p_wxSizeEvent,
49509 &_swigt__p_wxSizer,
49510 &_swigt__p_wxSizerItem,
49511 &_swigt__p_wxSlider,
49512 &_swigt__p_wxSpinButton,
49513 &_swigt__p_wxSpinCtrl,
49514 &_swigt__p_wxSpinEvent,
49515 &_swigt__p_wxStaticBitmap,
49516 &_swigt__p_wxStaticBox,
49517 &_swigt__p_wxStaticBoxSizer,
49518 &_swigt__p_wxStaticLine,
49519 &_swigt__p_wxStaticText,
49520 &_swigt__p_wxStdDialogButtonSizer,
49521 &_swigt__p_wxString,
49522 &_swigt__p_wxSysColourChangedEvent,
580080c5 49523 &_swigt__p_wxTGAHandler,
554f62e9
RD
49524 &_swigt__p_wxTIFFHandler,
49525 &_swigt__p_wxTextAttr,
49526 &_swigt__p_wxTextCtrl,
49527 &_swigt__p_wxTextUrlEvent,
49528 &_swigt__p_wxToggleButton,
49529 &_swigt__p_wxToolBar,
49530 &_swigt__p_wxToolBarBase,
49531 &_swigt__p_wxToolBarToolBase,
49532 &_swigt__p_wxToolbook,
49533 &_swigt__p_wxToolbookEvent,
554f62e9
RD
49534 &_swigt__p_wxTreeEvent,
49535 &_swigt__p_wxTreeItemId,
49536 &_swigt__p_wxTreebook,
49537 &_swigt__p_wxTreebookEvent,
49538 &_swigt__p_wxUpdateUIEvent,
49539 &_swigt__p_wxValidator,
49540 &_swigt__p_wxVisualAttributes,
49541 &_swigt__p_wxWindow,
b850e7f3 49542 &_swigt__p_wxWindowBase,
554f62e9
RD
49543 &_swigt__p_wxWindowCreateEvent,
49544 &_swigt__p_wxWindowDestroyEvent,
49545 &_swigt__p_wxXPMHandler,
49546};
49547
49548static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49549static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49550static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49551static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49552static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49553static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49554static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49555static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49556static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49557static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49558static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49559static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49560static 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}};
49561static 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}};
49562static 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}};
49563static 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}};
49564static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49565static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49566static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
49567static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49568static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e
RD
49569static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49570static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 49571static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49572static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49573static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49574static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49575static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49576static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49577static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49578static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49579static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49580static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49581static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49582static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49583static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49584static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49585static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49586static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49587static 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}};
554f62e9
RD
49588static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
49589static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49590static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49591static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49592static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49593static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49594static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49595static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49596static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49597static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49598static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49599static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49600static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49601static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 49602static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49603static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49604static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49605static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49606static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49607static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49608static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 49609static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49610static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49611static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49612static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49613static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49614static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49615static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49616static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49617static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49618static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49619static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49620static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49621static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49622static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49623static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49624static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49625static 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
49626static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49627static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 49628static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49629static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49630static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49631static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49632static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49633static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49634static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49635static 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
49636static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49637static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49638static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49639static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49640static 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}};
49641static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49642static 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}};
49643static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49644static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49645static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49646static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49647static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49648static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49649static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49650static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49651static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49652static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49653static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49654static 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}};
49655static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 49656static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 49657static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49658static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49659static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49660static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49661static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49662static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49663static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49664static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49665static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49666static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49667static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49668static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49669static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49670static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49671static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49672static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49673static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49674static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49675static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49676static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 49677static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49678static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49679static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49680static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49681static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 49682static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49683static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49684static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49685static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49686static 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}};
554f62e9 49687static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49688static swig_cast_info _swigc__p_wxPickerBase[] = { {&_swigt__p_wxPickerBase, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxPickerBase, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49689static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49690static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49691static 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}};
49692static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49693static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49694static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49695static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49696static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49697static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49698static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49699static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49700static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49701static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49702static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49703static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49704static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49705static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49706static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49707static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49708static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49709static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49710static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49711static 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}};
554f62e9
RD
49712static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49713static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49714static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49715static 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}};
49716static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49717static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49718static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49719static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49720static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49721static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49722static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49723static 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}};
49724static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49725static 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 49726static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49727
49728static swig_cast_info *swig_cast_initial[] = {
49729 _swigc__p_bool,
49730 _swigc__p_char,
49731 _swigc__p_form_ops_t,
49732 _swigc__p_int,
49733 _swigc__p_long,
49734 _swigc__p_unsigned_char,
49735 _swigc__p_unsigned_int,
49736 _swigc__p_unsigned_long,
49737 _swigc__p_void,
49738 _swigc__p_wxANIHandler,
49739 _swigc__p_wxAcceleratorTable,
49740 _swigc__p_wxActivateEvent,
49741 _swigc__p_wxArrayInt,
49742 _swigc__p_wxArrayString,
49743 _swigc__p_wxBMPHandler,
49744 _swigc__p_wxBitmap,
49745 _swigc__p_wxBitmapButton,
49746 _swigc__p_wxBookCtrlBase,
49747 _swigc__p_wxBookCtrlBaseEvent,
49748 _swigc__p_wxBoxSizer,
49749 _swigc__p_wxButton,
49750 _swigc__p_wxCURHandler,
49751 _swigc__p_wxCheckBox,
49752 _swigc__p_wxCheckListBox,
49753 _swigc__p_wxChildFocusEvent,
49754 _swigc__p_wxChoice,
49755 _swigc__p_wxChoicebook,
49756 _swigc__p_wxChoicebookEvent,
2131d850 49757 _swigc__p_wxClipboardTextEvent,
554f62e9 49758 _swigc__p_wxCloseEvent,
5172800e
RD
49759 _swigc__p_wxCollapsiblePane,
49760 _swigc__p_wxCollapsiblePaneEvent,
554f62e9 49761 _swigc__p_wxColour,
b850e7f3
RD
49762 _swigc__p_wxColourPickerCtrl,
49763 _swigc__p_wxColourPickerEvent,
554f62e9
RD
49764 _swigc__p_wxComboBox,
49765 _swigc__p_wxCommandEvent,
49766 _swigc__p_wxContextHelp,
49767 _swigc__p_wxContextHelpButton,
49768 _swigc__p_wxContextMenuEvent,
49769 _swigc__p_wxControl,
49770 _swigc__p_wxControlWithItems,
49771 _swigc__p_wxCursor,
49772 _swigc__p_wxDC,
49773 _swigc__p_wxDateEvent,
49774 _swigc__p_wxDatePickerCtrl,
49775 _swigc__p_wxDateTime,
49776 _swigc__p_wxDirFilterListCtrl,
b850e7f3 49777 _swigc__p_wxDirPickerCtrl,
554f62e9
RD
49778 _swigc__p_wxDisplayChangedEvent,
49779 _swigc__p_wxDropFilesEvent,
49780 _swigc__p_wxDuplexMode,
49781 _swigc__p_wxEraseEvent,
49782 _swigc__p_wxEvent,
49783 _swigc__p_wxEvtHandler,
49784 _swigc__p_wxFSFile,
b850e7f3
RD
49785 _swigc__p_wxFileDirPickerEvent,
49786 _swigc__p_wxFilePickerCtrl,
554f62e9
RD
49787 _swigc__p_wxFileSystem,
49788 _swigc__p_wxFlexGridSizer,
49789 _swigc__p_wxFocusEvent,
49790 _swigc__p_wxFont,
b850e7f3
RD
49791 _swigc__p_wxFontPickerCtrl,
49792 _swigc__p_wxFontPickerEvent,
554f62e9
RD
49793 _swigc__p_wxGBSizerItem,
49794 _swigc__p_wxGIFHandler,
49795 _swigc__p_wxGauge,
49796 _swigc__p_wxGenericDirCtrl,
49797 _swigc__p_wxGenericDragImage,
49798 _swigc__p_wxGridBagSizer,
49799 _swigc__p_wxGridSizer,
49800 _swigc__p_wxHelpEvent,
49801 _swigc__p_wxHelpProvider,
704eda0c
RD
49802 _swigc__p_wxHyperlinkCtrl,
49803 _swigc__p_wxHyperlinkEvent,
554f62e9
RD
49804 _swigc__p_wxICOHandler,
49805 _swigc__p_wxIcon,
49806 _swigc__p_wxIconizeEvent,
49807 _swigc__p_wxIdleEvent,
49808 _swigc__p_wxImage,
49809 _swigc__p_wxImageHandler,
49810 _swigc__p_wxImageList,
49811 _swigc__p_wxIndividualLayoutConstraint,
49812 _swigc__p_wxInitDialogEvent,
49813 _swigc__p_wxItemContainer,
49814 _swigc__p_wxJPEGHandler,
49815 _swigc__p_wxKeyEvent,
49816 _swigc__p_wxLayoutConstraints,
49817 _swigc__p_wxListBox,
49818 _swigc__p_wxListEvent,
49819 _swigc__p_wxListItem,
49820 _swigc__p_wxListItemAttr,
49821 _swigc__p_wxListView,
49822 _swigc__p_wxListbook,
49823 _swigc__p_wxListbookEvent,
49824 _swigc__p_wxMaximizeEvent,
49825 _swigc__p_wxMemoryDC,
49826 _swigc__p_wxMenu,
49827 _swigc__p_wxMenuBar,
49828 _swigc__p_wxMenuEvent,
49829 _swigc__p_wxMenuItem,
49830 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 49831 _swigc__p_wxMouseCaptureLostEvent,
554f62e9
RD
49832 _swigc__p_wxMouseEvent,
49833 _swigc__p_wxMoveEvent,
49834 _swigc__p_wxNavigationKeyEvent,
49835 _swigc__p_wxNcPaintEvent,
49836 _swigc__p_wxNotebook,
49837 _swigc__p_wxNotebookEvent,
49838 _swigc__p_wxNotifyEvent,
49839 _swigc__p_wxObject,
49840 _swigc__p_wxPCXHandler,
49841 _swigc__p_wxPNGHandler,
49842 _swigc__p_wxPNMHandler,
49843 _swigc__p_wxPaintEvent,
49844 _swigc__p_wxPaletteChangedEvent,
49845 _swigc__p_wxPaperSize,
b850e7f3 49846 _swigc__p_wxPickerBase,
554f62e9
RD
49847 _swigc__p_wxPoint,
49848 _swigc__p_wxPyApp,
49849 _swigc__p_wxPyCommandEvent,
49850 _swigc__p_wxPyControl,
49851 _swigc__p_wxPyEvent,
49852 _swigc__p_wxPyImageHandler,
49853 _swigc__p_wxPyListCtrl,
49854 _swigc__p_wxPySizer,
49855 _swigc__p_wxPyTreeCtrl,
49856 _swigc__p_wxPyTreeItemData,
49857 _swigc__p_wxPyValidator,
49858 _swigc__p_wxQueryNewPaletteEvent,
49859 _swigc__p_wxRadioBox,
49860 _swigc__p_wxRadioButton,
49861 _swigc__p_wxRect,
49862 _swigc__p_wxScrollBar,
49863 _swigc__p_wxScrollEvent,
49864 _swigc__p_wxScrollWinEvent,
3f7f284d 49865 _swigc__p_wxSearchCtrl,
554f62e9
RD
49866 _swigc__p_wxSetCursorEvent,
49867 _swigc__p_wxShowEvent,
49868 _swigc__p_wxSimpleHelpProvider,
49869 _swigc__p_wxSize,
49870 _swigc__p_wxSizeEvent,
49871 _swigc__p_wxSizer,
49872 _swigc__p_wxSizerItem,
49873 _swigc__p_wxSlider,
49874 _swigc__p_wxSpinButton,
49875 _swigc__p_wxSpinCtrl,
49876 _swigc__p_wxSpinEvent,
49877 _swigc__p_wxStaticBitmap,
49878 _swigc__p_wxStaticBox,
49879 _swigc__p_wxStaticBoxSizer,
49880 _swigc__p_wxStaticLine,
49881 _swigc__p_wxStaticText,
49882 _swigc__p_wxStdDialogButtonSizer,
49883 _swigc__p_wxString,
49884 _swigc__p_wxSysColourChangedEvent,
580080c5 49885 _swigc__p_wxTGAHandler,
554f62e9
RD
49886 _swigc__p_wxTIFFHandler,
49887 _swigc__p_wxTextAttr,
49888 _swigc__p_wxTextCtrl,
49889 _swigc__p_wxTextUrlEvent,
49890 _swigc__p_wxToggleButton,
49891 _swigc__p_wxToolBar,
49892 _swigc__p_wxToolBarBase,
49893 _swigc__p_wxToolBarToolBase,
49894 _swigc__p_wxToolbook,
49895 _swigc__p_wxToolbookEvent,
554f62e9
RD
49896 _swigc__p_wxTreeEvent,
49897 _swigc__p_wxTreeItemId,
49898 _swigc__p_wxTreebook,
49899 _swigc__p_wxTreebookEvent,
49900 _swigc__p_wxUpdateUIEvent,
49901 _swigc__p_wxValidator,
49902 _swigc__p_wxVisualAttributes,
49903 _swigc__p_wxWindow,
b850e7f3 49904 _swigc__p_wxWindowBase,
554f62e9
RD
49905 _swigc__p_wxWindowCreateEvent,
49906 _swigc__p_wxWindowDestroyEvent,
49907 _swigc__p_wxXPMHandler,
49908};
49909
49910
49911/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49912
49913static swig_const_info swig_const_table[] = {
49914{0, 0, 0, 0.0, 0, 0}};
49915
49916#ifdef __cplusplus
49917}
49918#endif
49919/* -----------------------------------------------------------------------------
49920 * Type initialization:
49921 * This problem is tough by the requirement that no dynamic
49922 * memory is used. Also, since swig_type_info structures store pointers to
49923 * swig_cast_info structures and swig_cast_info structures store pointers back
49924 * to swig_type_info structures, we need some lookup code at initialization.
49925 * The idea is that swig generates all the structures that are needed.
49926 * The runtime then collects these partially filled structures.
49927 * The SWIG_InitializeModule function takes these initial arrays out of
49928 * swig_module, and does all the lookup, filling in the swig_module.types
49929 * array with the correct data and linking the correct swig_cast_info
49930 * structures together.
49931 *
49932 * The generated swig_type_info structures are assigned staticly to an initial
49933 * array. We just loop though that array, and handle each type individually.
49934 * First we lookup if this type has been already loaded, and if so, use the
49935 * loaded structure instead of the generated one. Then we have to fill in the
49936 * cast linked list. The cast data is initially stored in something like a
49937 * two-dimensional array. Each row corresponds to a type (there are the same
49938 * number of rows as there are in the swig_type_initial array). Each entry in
49939 * a column is one of the swig_cast_info structures for that type.
49940 * The cast_initial array is actually an array of arrays, because each row has
49941 * a variable number of columns. So to actually build the cast linked list,
49942 * we find the array of casts associated with the type, and loop through it
49943 * adding the casts to the list. The one last trick we need to do is making
49944 * sure the type pointer in the swig_cast_info struct is correct.
49945 *
49946 * First off, we lookup the cast->type name to see if it is already loaded.
49947 * There are three cases to handle:
49948 * 1) If the cast->type has already been loaded AND the type we are adding
49949 * casting info to has not been loaded (it is in this module), THEN we
49950 * replace the cast->type pointer with the type pointer that has already
49951 * been loaded.
49952 * 2) If BOTH types (the one we are adding casting info to, and the
49953 * cast->type) are loaded, THEN the cast info has already been loaded by
49954 * the previous module so we just ignore it.
49955 * 3) Finally, if cast->type has not already been loaded, then we add that
49956 * swig_cast_info to the linked list (because the cast->type) pointer will
49957 * be correct.
49958 * ----------------------------------------------------------------------------- */
49959
49960#ifdef __cplusplus
49961extern "C" {
49962#if 0
49963} /* c-mode */
49964#endif
49965#endif
49966
49967#if 0
49968#define SWIGRUNTIME_DEBUG
49969#endif
49970
49971SWIGRUNTIME void
49972SWIG_InitializeModule(void *clientdata) {
49973 size_t i;
49974 swig_module_info *module_head;
49975 static int init_run = 0;
49976
49977 clientdata = clientdata;
49978
49979 if (init_run) return;
49980 init_run = 1;
49981
49982 /* Initialize the swig_module */
49983 swig_module.type_initial = swig_type_initial;
49984 swig_module.cast_initial = swig_cast_initial;
49985
49986 /* Try and load any already created modules */
49987 module_head = SWIG_GetModule(clientdata);
49988 if (module_head) {
49989 swig_module.next = module_head->next;
49990 module_head->next = &swig_module;
49991 } else {
49992 /* This is the first module loaded */
49993 swig_module.next = &swig_module;
49994 SWIG_SetModule(clientdata, &swig_module);
49995 }
49996
49997 /* Now work on filling in swig_module.types */
49998#ifdef SWIGRUNTIME_DEBUG
49999 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
50000#endif
50001 for (i = 0; i < swig_module.size; ++i) {
50002 swig_type_info *type = 0;
50003 swig_type_info *ret;
50004 swig_cast_info *cast;
d55e5bfc 50005
554f62e9
RD
50006#ifdef SWIGRUNTIME_DEBUG
50007 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50008#endif
d55e5bfc 50009
554f62e9
RD
50010 /* if there is another module already loaded */
50011 if (swig_module.next != &swig_module) {
50012 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 50013 }
554f62e9
RD
50014 if (type) {
50015 /* Overwrite clientdata field */
50016#ifdef SWIGRUNTIME_DEBUG
50017 printf("SWIG_InitializeModule: found type %s\n", type->name);
50018#endif
50019 if (swig_module.type_initial[i]->clientdata) {
50020 type->clientdata = swig_module.type_initial[i]->clientdata;
50021#ifdef SWIGRUNTIME_DEBUG
50022 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
50023#endif
50024 }
50025 } else {
50026 type = swig_module.type_initial[i];
093d3ff1 50027 }
d55e5bfc 50028
554f62e9
RD
50029 /* Insert casting types */
50030 cast = swig_module.cast_initial[i];
50031 while (cast->type) {
50032 /* Don't need to add information already in the list */
50033 ret = 0;
50034#ifdef SWIGRUNTIME_DEBUG
50035 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
50036#endif
50037 if (swig_module.next != &swig_module) {
50038 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
50039#ifdef SWIGRUNTIME_DEBUG
50040 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
50041#endif
50042 }
50043 if (ret) {
50044 if (type == swig_module.type_initial[i]) {
50045#ifdef SWIGRUNTIME_DEBUG
50046 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
50047#endif
50048 cast->type = ret;
50049 ret = 0;
50050 } else {
50051 /* Check for casting already in the list */
50052 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
50053#ifdef SWIGRUNTIME_DEBUG
50054 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
50055#endif
50056 if (!ocast) ret = 0;
50057 }
50058 }
50059
50060 if (!ret) {
50061#ifdef SWIGRUNTIME_DEBUG
50062 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
50063#endif
50064 if (type->cast) {
50065 type->cast->prev = cast;
50066 cast->next = type->cast;
50067 }
50068 type->cast = cast;
50069 }
50070 cast++;
093d3ff1 50071 }
554f62e9
RD
50072 /* Set entry in modules->types array equal to the type */
50073 swig_module.types[i] = type;
50074 }
50075 swig_module.types[i] = 0;
50076
50077#ifdef SWIGRUNTIME_DEBUG
50078 printf("**** SWIG_InitializeModule: Cast List ******\n");
50079 for (i = 0; i < swig_module.size; ++i) {
50080 int j = 0;
50081 swig_cast_info *cast = swig_module.cast_initial[i];
50082 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50083 while (cast->type) {
50084 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50085 cast++;
50086 ++j;
50087 }
50088 printf("---- Total casts: %d\n",j);
50089 }
50090 printf("**** SWIG_InitializeModule: Cast List ******\n");
50091#endif
50092}
50093
50094/* This function will propagate the clientdata field of type to
50095* any new swig_type_info structures that have been added into the list
50096* of equivalent types. It is like calling
50097* SWIG_TypeClientData(type, clientdata) a second time.
50098*/
50099SWIGRUNTIME void
50100SWIG_PropagateClientData(void) {
50101 size_t i;
50102 swig_cast_info *equiv;
50103 static int init_run = 0;
50104
50105 if (init_run) return;
50106 init_run = 1;
50107
50108 for (i = 0; i < swig_module.size; i++) {
50109 if (swig_module.types[i]->clientdata) {
50110 equiv = swig_module.types[i]->cast;
50111 while (equiv) {
50112 if (!equiv->converter) {
50113 if (equiv->type && !equiv->type->clientdata)
50114 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50115 }
50116 equiv = equiv->next;
50117 }
093d3ff1 50118 }
554f62e9
RD
50119 }
50120}
50121
50122#ifdef __cplusplus
50123#if 0
50124{
50125 /* c-mode */
50126#endif
50127}
50128#endif
50129
50130
50131
50132#ifdef __cplusplus
50133extern "C" {
50134#endif
50135
50136 /* Python-specific SWIG API */
50137#define SWIG_newvarlink() SWIG_Python_newvarlink()
50138#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50139#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50140
50141 /* -----------------------------------------------------------------------------
50142 * global variable support code.
50143 * ----------------------------------------------------------------------------- */
50144
50145 typedef struct swig_globalvar {
50146 char *name; /* Name of global variable */
50147 PyObject *(*get_attr)(void); /* Return the current value */
50148 int (*set_attr)(PyObject *); /* Set the value */
50149 struct swig_globalvar *next;
50150 } swig_globalvar;
50151
50152 typedef struct swig_varlinkobject {
50153 PyObject_HEAD
50154 swig_globalvar *vars;
50155 } swig_varlinkobject;
50156
50157 SWIGINTERN PyObject *
50158 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50159 return PyString_FromString("<Swig global variables>");
50160 }
50161
50162 SWIGINTERN PyObject *
50163 swig_varlink_str(swig_varlinkobject *v) {
50164 PyObject *str = PyString_FromString("(");
50165 swig_globalvar *var;
50166 for (var = v->vars; var; var=var->next) {
50167 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50168 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50169 }
50170 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50171 return str;
50172 }
50173
50174 SWIGINTERN int
50175 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50176 PyObject *str = swig_varlink_str(v);
50177 fprintf(fp,"Swig global variables ");
50178 fprintf(fp,"%s\n", PyString_AsString(str));
50179 Py_DECREF(str);
50180 return 0;
50181 }
50182
50183 SWIGINTERN void
50184 swig_varlink_dealloc(swig_varlinkobject *v) {
50185 swig_globalvar *var = v->vars;
50186 while (var) {
50187 swig_globalvar *n = var->next;
50188 free(var->name);
50189 free(var);
50190 var = n;
093d3ff1 50191 }
554f62e9
RD
50192 }
50193
50194 SWIGINTERN PyObject *
50195 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50196 PyObject *res = NULL;
50197 swig_globalvar *var = v->vars;
50198 while (var) {
50199 if (strcmp(var->name,n) == 0) {
50200 res = (*var->get_attr)();
50201 break;
50202 }
50203 var = var->next;
093d3ff1 50204 }
554f62e9
RD
50205 if (res == NULL && !PyErr_Occurred()) {
50206 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 50207 }
554f62e9
RD
50208 return res;
50209 }
50210
50211 SWIGINTERN int
50212 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50213 int res = 1;
50214 swig_globalvar *var = v->vars;
50215 while (var) {
50216 if (strcmp(var->name,n) == 0) {
50217 res = (*var->set_attr)(p);
50218 break;
50219 }
50220 var = var->next;
093d3ff1 50221 }
554f62e9
RD
50222 if (res == 1 && !PyErr_Occurred()) {
50223 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 50224 }
554f62e9
RD
50225 return res;
50226 }
50227
50228 SWIGINTERN PyTypeObject*
50229 swig_varlink_type(void) {
50230 static char varlink__doc__[] = "Swig var link object";
50231 static PyTypeObject varlink_type;
50232 static int type_init = 0;
50233 if (!type_init) {
50234 const PyTypeObject tmp
50235 = {
50236 PyObject_HEAD_INIT(NULL)
50237 0, /* Number of items in variable part (ob_size) */
50238 (char *)"swigvarlink", /* Type name (tp_name) */
50239 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50240 0, /* Itemsize (tp_itemsize) */
50241 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50242 (printfunc) swig_varlink_print, /* Print (tp_print) */
50243 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50244 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50245 0, /* tp_compare */
50246 (reprfunc) swig_varlink_repr, /* tp_repr */
50247 0, /* tp_as_number */
50248 0, /* tp_as_sequence */
50249 0, /* tp_as_mapping */
50250 0, /* tp_hash */
50251 0, /* tp_call */
50252 (reprfunc)swig_varlink_str, /* tp_str */
50253 0, /* tp_getattro */
50254 0, /* tp_setattro */
50255 0, /* tp_as_buffer */
50256 0, /* tp_flags */
50257 varlink__doc__, /* tp_doc */
50258 0, /* tp_traverse */
50259 0, /* tp_clear */
50260 0, /* tp_richcompare */
50261 0, /* tp_weaklistoffset */
50262#if PY_VERSION_HEX >= 0x02020000
50263 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50264#endif
50265#if PY_VERSION_HEX >= 0x02030000
50266 0, /* tp_del */
50267#endif
50268#ifdef COUNT_ALLOCS
50269 0,0,0,0 /* tp_alloc -> tp_next */
50270#endif
50271 };
50272 varlink_type = tmp;
50273 varlink_type.ob_type = &PyType_Type;
50274 type_init = 1;
53aa7709 50275 }
554f62e9
RD
50276 return &varlink_type;
50277 }
50278
50279 /* Create a variable linking object for use later */
50280 SWIGINTERN PyObject *
50281 SWIG_Python_newvarlink(void) {
50282 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50283 if (result) {
50284 result->vars = 0;
50285 }
50286 return ((PyObject*) result);
50287 }
50288
50289 SWIGINTERN void
50290 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50291 swig_varlinkobject *v = (swig_varlinkobject *) p;
50292 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50293 if (gv) {
50294 size_t size = strlen(name)+1;
50295 gv->name = (char *)malloc(size);
50296 if (gv->name) {
50297 strncpy(gv->name,name,size);
50298 gv->get_attr = get_attr;
50299 gv->set_attr = set_attr;
50300 gv->next = v->vars;
50301 }
53aa7709 50302 }
554f62e9
RD
50303 v->vars = gv;
50304 }
50305
50306 SWIGINTERN PyObject *
50307 SWIG_globals() {
50308 static PyObject *_SWIG_globals = 0;
50309 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50310 return _SWIG_globals;
50311 }
50312
50313 /* -----------------------------------------------------------------------------
50314 * constants/methods manipulation
50315 * ----------------------------------------------------------------------------- */
50316
50317 /* Install Constants */
50318 SWIGINTERN void
50319 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50320 PyObject *obj = 0;
50321 size_t i;
50322 for (i = 0; constants[i].type; ++i) {
50323 switch(constants[i].type) {
50324 case SWIG_PY_POINTER:
50325 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50326 break;
50327 case SWIG_PY_BINARY:
50328 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50329 break;
50330 default:
50331 obj = 0;
50332 break;
50333 }
50334 if (obj) {
50335 PyDict_SetItemString(d, constants[i].name, obj);
50336 Py_DECREF(obj);
50337 }
53aa7709 50338 }
554f62e9
RD
50339 }
50340
50341 /* -----------------------------------------------------------------------------*/
50342 /* Fix SwigMethods to carry the callback ptrs when needed */
50343 /* -----------------------------------------------------------------------------*/
50344
50345 SWIGINTERN void
50346 SWIG_Python_FixMethods(PyMethodDef *methods,
50347 swig_const_info *const_table,
50348 swig_type_info **types,
50349 swig_type_info **types_initial) {
50350 size_t i;
50351 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 50352 const char *c = methods[i].ml_doc;
554f62e9
RD
50353 if (c && (c = strstr(c, "swig_ptr: "))) {
50354 int j;
50355 swig_const_info *ci = 0;
453fb36b 50356 const char *name = c + 10;
554f62e9
RD
50357 for (j = 0; const_table[j].type; ++j) {
50358 if (strncmp(const_table[j].name, name,
50359 strlen(const_table[j].name)) == 0) {
50360 ci = &(const_table[j]);
50361 break;
50362 }
50363 }
50364 if (ci) {
50365 size_t shift = (ci->ptype) - types;
50366 swig_type_info *ty = types_initial[shift];
50367 size_t ldoc = (c - methods[i].ml_doc);
50368 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50369 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50370 if (ndoc) {
50371 char *buff = ndoc;
50372 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50373 if (ptr) {
50374 strncpy(buff, methods[i].ml_doc, ldoc);
50375 buff += ldoc;
50376 strncpy(buff, "swig_ptr: ", 10);
50377 buff += 10;
50378 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50379 methods[i].ml_doc = ndoc;
50380 }
50381 }
50382 }
50383 }
53aa7709 50384 }
554f62e9
RD
50385 }
50386
50387#ifdef __cplusplus
50388}
50389#endif
50390
50391/* -----------------------------------------------------------------------------*
50392 * Partial Init method
50393 * -----------------------------------------------------------------------------*/
50394
50395#ifdef __cplusplus
50396extern "C"
50397#endif
50398SWIGEXPORT void SWIG_init(void) {
50399 PyObject *m, *d;
50400
50401 /* Fix SwigMethods to carry the callback ptrs when needed */
50402 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50403
50404 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50405 d = PyModule_GetDict(m);
50406
50407 SWIG_InitializeModule(0);
50408 SWIG_InstallConstants(d,swig_const_table);
50409
50410
50411 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50412 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50413 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50414 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50415 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50416 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50417 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50418 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50419 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50420 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50421 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50422 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50423 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50424 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50425 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50426 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50427 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50428 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50429 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50430 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50431 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50432 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
554f62e9
RD
50433 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50434 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50435 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
3f7f284d 50436 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
554f62e9
RD
50437 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50438 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50439 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50440 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50441 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50442 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50443 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50444 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50445 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50446 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50447 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50448 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50449 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50450 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50451 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50452 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50453 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50454 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50455 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50456 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
554f62e9
RD
50457 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50458 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50459 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50460 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50461 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50462 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50463 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50464 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50465 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50466 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50467 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50468 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50469 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50470 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50471 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50472 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50473 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50474 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50475 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50476 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50477 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50478 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50479 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50480 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50481 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50482 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50483 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 50484 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
554f62e9
RD
50485 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50486 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50487 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50488 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50489 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50490 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50491 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50492 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50493 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50494 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50495 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50496 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50497 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50498 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50499 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50500 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50501 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50502 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50503 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50504 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50505 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50506 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50507 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50508 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50509 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50510 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50511 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50512 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50513 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50514 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50515 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50516 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50517 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50518 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50519 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50520 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 50521 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
50522 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50523 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50524 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50525 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50526 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
554f62e9
RD
50527 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50528 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50529 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50530 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50531 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50532 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50533 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50534 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50535 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50536 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50537 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 50538 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
554f62e9
RD
50539 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50540 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50541 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50542 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50543 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50544 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50545 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50546 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50547 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50548 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50549 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50550 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50551 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50552 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50553 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50554 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50555 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50556 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50557 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50558 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50559 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50560 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50561 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50562 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50563 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50564 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50565 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50566 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50567 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
50568 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50569 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50570 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50571 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
554f62e9
RD
50572 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50573 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50574 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50575 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50576 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50577 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50578 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50579 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50580 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 50581 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
554f62e9
RD
50582 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50583 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50584 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50585 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50586 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50587 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50588 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50589 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50590 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50591 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50592 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50593 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50594 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50595 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50596 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50597 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50598 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50599 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50600 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50601 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50602 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50603 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50604 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50605 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50606 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50607 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50608 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50609 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50610 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50611 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50612 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50613 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50614 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50615 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50616 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50617 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50618 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50619 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50620 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50621 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50622 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50623 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50624 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50625 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50626 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50627 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50628 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 50629 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
554f62e9
RD
50630 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50631 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50632 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50633 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50634 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50635 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50636 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50637 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50638 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50639 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50640 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50641 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50642 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50643 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50644 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50645 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50646 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50647 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50648 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50649 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50650 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50651 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50652 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50653 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50654 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50655 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50656 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50657 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50658 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50659 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50660 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50661 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50662 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50663 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50664 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50665 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50666 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50667 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50668 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50669 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50670 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50671 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50672
50673 // Map renamed classes back to their common name for OOR
50674 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50675
50676 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50677 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50678 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50679 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50680 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50681 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50682 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50683 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50684 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50685 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50686 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50687 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50688 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50689 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50690 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
554f62e9
RD
50691 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50692 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50693 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50694 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50695 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50696 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50697 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50698 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50699 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50700 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50701 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50702 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50703 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50704 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50705 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50706 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50707 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50708 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50709 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50710 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50711 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50712 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50713 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50714 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50715 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50716 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50717 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50718 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50719 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50720 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50721 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50722 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50723 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50724 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50725 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50726 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50727 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50728 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50729 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50730 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 50731 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
554f62e9
RD
50732
50733 // Map renamed classes back to their common name for OOR
50734 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50735 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50736
50737 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50738 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50739 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50740 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50741 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50742 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
554f62e9
RD
50743 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50744 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
50745 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50746 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50747 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
554f62e9
RD
50748
50749 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50750
50751 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50752 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50753 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50754 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50755 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50756 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
50757 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50758 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
50759 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50760 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50761 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
50762 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50763 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
50764 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50765 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50766 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50767 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50768 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50769 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50770 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50771 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50772 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50773 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50774 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50775 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50776 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50777 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50778 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50779 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50780 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50781 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50782 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50783 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50784 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50785 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50786 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50787 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50788 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50789 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50790 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50791 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50792 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50793 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
5172800e
RD
50794 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50795 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50796 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50797 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
3f7f284d
RD
50798 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
50799 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL));
50800 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH));
d55e5bfc
RD
50801}
50802