]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d55e5bfc 47
7449af73
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
554f62e9
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
554f62e9
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
7449af73
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
554f62e9
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
7449af73
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
7449af73
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
554f62e9
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
554f62e9
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
554f62e9
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
d55e5bfc 996
554f62e9
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1000
554f62e9
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1004
554f62e9
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1008
554f62e9
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1012
d55e5bfc 1013
554f62e9 1014/* Runtime API */
d55e5bfc 1015
554f62e9
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1019
554f62e9
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
7449af73 1025
d55e5bfc 1026
554f62e9 1027/* Runtime API implementation */
093d3ff1 1028
554f62e9 1029/* Error manipulation */
093d3ff1 1030
554f62e9
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1037}
1038
554f62e9
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1044}
d55e5bfc 1045
554f62e9 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1047
554f62e9 1048/* Set a constant value */
093d3ff1 1049
554f62e9
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
d55e5bfc
RD
1054}
1055
554f62e9 1056/* Append a value to the result obj */
d55e5bfc 1057
554f62e9
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
c32bde28 1084 } else {
554f62e9
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c32bde28 1096 }
554f62e9
RD
1097 return result;
1098#endif
d55e5bfc 1099}
093d3ff1 1100
554f62e9 1101/* Unpack the argument tuple */
093d3ff1 1102
554f62e9
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
554f62e9 1612 static PyTypeObject pyswigobject_type;
7449af73 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
554f62e9
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
554f62e9
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
d55e5bfc 1668#endif
093d3ff1 1669#if PY_VERSION_HEX >= 0x02030000
554f62e9 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
554f62e9 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
554f62e9 1675 };
7449af73 1676 pyswigobject_type = tmp;
554f62e9 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
7449af73 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
554f62e9 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1685{
554f62e9
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
7449af73 1692 }
554f62e9 1693 return (PyObject *)sobj;
093d3ff1
RD
1694}
1695
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
554f62e9 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
1706
1707SWIGRUNTIME int
554f62e9 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1709{
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
554f62e9 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
9d7dfdff 1720
093d3ff1
RD
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
554f62e9 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1729 }
1730}
1731
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
554f62e9 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
1742
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745{
554f62e9
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1750}
1751
554f62e9 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1753
1754SWIGRUNTIME PyTypeObject*
7449af73 1755PySwigPacked_type(void) {
554f62e9
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
554f62e9 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
554f62e9 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
554f62e9 1838 };
7449af73 1839 pyswigpacked_type = tmp;
554f62e9 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
7449af73 1843 return &pyswigpacked_type;
093d3ff1
RD
1844}
1845
1846SWIGRUNTIME PyObject *
554f62e9 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
554f62e9
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
7449af73
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
554f62e9
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
7449af73 1860 }
093d3ff1 1861 }
554f62e9 1862 return (PyObject *) sobj;
093d3ff1
RD
1863}
1864
554f62e9 1865SWIGRUNTIME swig_type_info *
093d3ff1
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
554f62e9
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1
RD
1876}
1877
093d3ff1 1878/* -----------------------------------------------------------------------------
554f62e9 1879 * pointers/data manipulation
093d3ff1
RD
1880 * ----------------------------------------------------------------------------- */
1881
554f62e9
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
093d3ff1 1887
554f62e9
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
093d3ff1 1894
554f62e9 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1896
554f62e9
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
554f62e9
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
554f62e9
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
554f62e9
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
1945
554f62e9
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
554f62e9 1958 return 0;
093d3ff1
RD
1959}
1960
554f62e9
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
554f62e9
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
554f62e9
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
554f62e9
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
2040
554f62e9
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
554f62e9
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
554f62e9
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
2067
554f62e9 2068/* Convert a packed value value */
093d3ff1 2069
093d3ff1 2070SWIGRUNTIME int
554f62e9
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
554f62e9
RD
2081 return SWIG_OK;
2082}
093d3ff1 2083
554f62e9
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
093d3ff1 2087
554f62e9
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
093d3ff1 2092
554f62e9
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
554f62e9
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
554f62e9
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
554f62e9
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
554f62e9
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
554f62e9
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1
RD
2154}
2155
554f62e9
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
554f62e9
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
093d3ff1 2176
554f62e9
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
554f62e9 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
554f62e9 2190 return SWIG_Py_Void();
093d3ff1 2191 }
554f62e9
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
554f62e9 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
554f62e9
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
554f62e9 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
554f62e9
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
7449af73
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
7449af73
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
7449af73
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
554f62e9 2259 return SWIG_ERROR;
7449af73
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
554f62e9 2264 return SWIG_ERROR;
7449af73
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
554f62e9 2272 return SWIG_ERROR;
7449af73
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
554f62e9 2275 return SWIG_ERROR;
7449af73 2276 Py_DECREF(o);
554f62e9 2277 return SWIG_OK;
093d3ff1 2278}
7449af73 2279#endif
093d3ff1 2280
554f62e9
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
7449af73
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
554f62e9 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2306 } else {
2307 Py_XDECREF(pointer);
7449af73
RD
2308 }
2309}
093d3ff1 2310
554f62e9
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
093d3ff1 2317
554f62e9
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
7449af73
RD
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_long swig_types[4]
2467#define SWIGTYPE_p_unsigned_char swig_types[5]
2468#define SWIGTYPE_p_unsigned_int swig_types[6]
2469#define SWIGTYPE_p_unsigned_long swig_types[7]
2470#define SWIGTYPE_p_void swig_types[8]
2471#define SWIGTYPE_p_wxANIHandler swig_types[9]
2472#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474#define SWIGTYPE_p_wxArrayInt swig_types[12]
2475#define SWIGTYPE_p_wxArrayString swig_types[13]
2476#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477#define SWIGTYPE_p_wxBitmap swig_types[15]
2478#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482#define SWIGTYPE_p_wxButton swig_types[20]
2483#define SWIGTYPE_p_wxCURHandler swig_types[21]
2484#define SWIGTYPE_p_wxCheckBox swig_types[22]
2485#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487#define SWIGTYPE_p_wxChoice swig_types[25]
2488#define SWIGTYPE_p_wxChoicebook swig_types[26]
2489#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2490#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492#define SWIGTYPE_p_wxColour swig_types[30]
2493#define SWIGTYPE_p_wxComboBox swig_types[31]
2494#define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495#define SWIGTYPE_p_wxContextHelp swig_types[33]
2496#define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497#define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498#define SWIGTYPE_p_wxControl swig_types[36]
2499#define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500#define SWIGTYPE_p_wxCursor swig_types[38]
2501#define SWIGTYPE_p_wxDC swig_types[39]
2502#define SWIGTYPE_p_wxDateEvent swig_types[40]
2503#define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504#define SWIGTYPE_p_wxDateTime swig_types[42]
2505#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[43]
2506#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507#define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508#define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509#define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510#define SWIGTYPE_p_wxEvent swig_types[48]
2511#define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512#define SWIGTYPE_p_wxFSFile swig_types[50]
2513#define SWIGTYPE_p_wxFileSystem swig_types[51]
2514#define SWIGTYPE_p_wxFlexGridSizer swig_types[52]
2515#define SWIGTYPE_p_wxFocusEvent swig_types[53]
2516#define SWIGTYPE_p_wxFont swig_types[54]
2517#define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2518#define SWIGTYPE_p_wxGIFHandler swig_types[56]
2519#define SWIGTYPE_p_wxGauge swig_types[57]
2520#define SWIGTYPE_p_wxGenericDirCtrl swig_types[58]
2521#define SWIGTYPE_p_wxGenericDragImage swig_types[59]
2522#define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2523#define SWIGTYPE_p_wxGridSizer swig_types[61]
2524#define SWIGTYPE_p_wxHelpEvent swig_types[62]
2525#define SWIGTYPE_p_wxHelpProvider swig_types[63]
704eda0c
RD
2526#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[64]
2527#define SWIGTYPE_p_wxHyperlinkEvent swig_types[65]
2528#define SWIGTYPE_p_wxICOHandler swig_types[66]
2529#define SWIGTYPE_p_wxIcon swig_types[67]
2530#define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531#define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532#define SWIGTYPE_p_wxImage swig_types[70]
2533#define SWIGTYPE_p_wxImageHandler swig_types[71]
2534#define SWIGTYPE_p_wxImageList swig_types[72]
2535#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2536#define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2537#define SWIGTYPE_p_wxItemContainer swig_types[75]
2538#define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2539#define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540#define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541#define SWIGTYPE_p_wxListBox swig_types[79]
2542#define SWIGTYPE_p_wxListEvent swig_types[80]
2543#define SWIGTYPE_p_wxListItem swig_types[81]
2544#define SWIGTYPE_p_wxListItemAttr swig_types[82]
2545#define SWIGTYPE_p_wxListView swig_types[83]
2546#define SWIGTYPE_p_wxListbook swig_types[84]
2547#define SWIGTYPE_p_wxListbookEvent swig_types[85]
2548#define SWIGTYPE_p_wxMaximizeEvent swig_types[86]
2549#define SWIGTYPE_p_wxMemoryDC swig_types[87]
2550#define SWIGTYPE_p_wxMenu swig_types[88]
2551#define SWIGTYPE_p_wxMenuBar swig_types[89]
2552#define SWIGTYPE_p_wxMenuEvent swig_types[90]
2553#define SWIGTYPE_p_wxMenuItem swig_types[91]
2554#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[92]
2555#define SWIGTYPE_p_wxMouseEvent swig_types[93]
2556#define SWIGTYPE_p_wxMoveEvent swig_types[94]
2557#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[95]
2558#define SWIGTYPE_p_wxNcPaintEvent swig_types[96]
2559#define SWIGTYPE_p_wxNotebook swig_types[97]
2560#define SWIGTYPE_p_wxNotebookEvent swig_types[98]
2561#define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2562#define SWIGTYPE_p_wxObject swig_types[100]
2563#define SWIGTYPE_p_wxPCXHandler swig_types[101]
2564#define SWIGTYPE_p_wxPNGHandler swig_types[102]
2565#define SWIGTYPE_p_wxPNMHandler swig_types[103]
2566#define SWIGTYPE_p_wxPaintEvent swig_types[104]
2567#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105]
2568#define SWIGTYPE_p_wxPaperSize swig_types[106]
2569#define SWIGTYPE_p_wxPoint swig_types[107]
2570#define SWIGTYPE_p_wxPyApp swig_types[108]
2571#define SWIGTYPE_p_wxPyCommandEvent swig_types[109]
2572#define SWIGTYPE_p_wxPyControl swig_types[110]
2573#define SWIGTYPE_p_wxPyEvent swig_types[111]
2574#define SWIGTYPE_p_wxPyImageHandler swig_types[112]
2575#define SWIGTYPE_p_wxPyListCtrl swig_types[113]
2576#define SWIGTYPE_p_wxPySizer swig_types[114]
2577#define SWIGTYPE_p_wxPyTreeCtrl swig_types[115]
2578#define SWIGTYPE_p_wxPyTreeItemData swig_types[116]
2579#define SWIGTYPE_p_wxPyValidator swig_types[117]
2580#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[118]
2581#define SWIGTYPE_p_wxRadioBox swig_types[119]
2582#define SWIGTYPE_p_wxRadioButton swig_types[120]
2583#define SWIGTYPE_p_wxRect swig_types[121]
2584#define SWIGTYPE_p_wxScrollBar swig_types[122]
2585#define SWIGTYPE_p_wxScrollEvent swig_types[123]
2586#define SWIGTYPE_p_wxScrollWinEvent swig_types[124]
2587#define SWIGTYPE_p_wxSetCursorEvent swig_types[125]
2588#define SWIGTYPE_p_wxShowEvent swig_types[126]
2589#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[127]
2590#define SWIGTYPE_p_wxSize swig_types[128]
2591#define SWIGTYPE_p_wxSizeEvent swig_types[129]
2592#define SWIGTYPE_p_wxSizer swig_types[130]
2593#define SWIGTYPE_p_wxSizerItem swig_types[131]
2594#define SWIGTYPE_p_wxSlider swig_types[132]
2595#define SWIGTYPE_p_wxSpinButton swig_types[133]
2596#define SWIGTYPE_p_wxSpinCtrl swig_types[134]
2597#define SWIGTYPE_p_wxSpinEvent swig_types[135]
2598#define SWIGTYPE_p_wxStaticBitmap swig_types[136]
2599#define SWIGTYPE_p_wxStaticBox swig_types[137]
2600#define SWIGTYPE_p_wxStaticBoxSizer swig_types[138]
2601#define SWIGTYPE_p_wxStaticLine swig_types[139]
2602#define SWIGTYPE_p_wxStaticText swig_types[140]
2603#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141]
2604#define SWIGTYPE_p_wxString swig_types[142]
2605#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143]
2606#define SWIGTYPE_p_wxTIFFHandler swig_types[144]
2607#define SWIGTYPE_p_wxTextAttr swig_types[145]
2608#define SWIGTYPE_p_wxTextCtrl swig_types[146]
2609#define SWIGTYPE_p_wxTextUrlEvent swig_types[147]
2610#define SWIGTYPE_p_wxToggleButton swig_types[148]
2611#define SWIGTYPE_p_wxToolBar swig_types[149]
2612#define SWIGTYPE_p_wxToolBarBase swig_types[150]
2613#define SWIGTYPE_p_wxToolBarToolBase swig_types[151]
2614#define SWIGTYPE_p_wxToolbook swig_types[152]
2615#define SWIGTYPE_p_wxToolbookEvent swig_types[153]
2616#define SWIGTYPE_p_wxTreeCtrl swig_types[154]
2617#define SWIGTYPE_p_wxTreeEvent swig_types[155]
2618#define SWIGTYPE_p_wxTreeItemId swig_types[156]
2619#define SWIGTYPE_p_wxTreebook swig_types[157]
2620#define SWIGTYPE_p_wxTreebookEvent swig_types[158]
2621#define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2622#define SWIGTYPE_p_wxValidator swig_types[160]
2623#define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2624#define SWIGTYPE_p_wxWindow swig_types[162]
2625#define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2626#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2627#define SWIGTYPE_p_wxXPMHandler swig_types[165]
2628static swig_type_info *swig_types[167];
2629static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
7449af73
RD
2630#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2631#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2632
2633/* -------- TYPES TABLE (END) -------- */
2634
554f62e9
RD
2635#if (PY_VERSION_HEX <= 0x02000000)
2636# if !defined(SWIG_PYTHON_CLASSIC)
2637# error "This python version requires to use swig with the '-classic' option"
2638# endif
2639#endif
2640#if (PY_VERSION_HEX <= 0x02020000)
2641# error "This python version requires to use swig with the '-nomodern' option"
2642#endif
2643#if (PY_VERSION_HEX <= 0x02020000)
2644# error "This python version requires to use swig with the '-nomodernargs' option"
2645#endif
2646#ifndef METH_O
2647# error "This python version requires to use swig with the '-nofastunpack' option"
2648#endif
093d3ff1
RD
2649
2650/*-----------------------------------------------
2651 @(target):= _controls_.so
2652 ------------------------------------------------*/
2653#define SWIG_init init_controls_
2654
2655#define SWIG_name "_controls_"
2656
554f62e9
RD
2657#define SWIGVERSION 0x010329
2658
2659
2660#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2661#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2662
2663
2664#include <stdexcept>
2665
2666
2667namespace swig {
2668 class PyObject_ptr {
2669 protected:
2670 PyObject *_obj;
2671
2672 public:
2673 PyObject_ptr() :_obj(0)
2674 {
2675 }
2676
2677 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2678 {
2679 Py_XINCREF(_obj);
2680 }
2681
2682 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2683 {
2684 if (initial_ref) Py_XINCREF(_obj);
2685 }
2686
2687 PyObject_ptr & operator=(const PyObject_ptr& item)
2688 {
2689 Py_XINCREF(item._obj);
2690 Py_XDECREF(_obj);
2691 _obj = item._obj;
2692 return *this;
2693 }
2694
2695 ~PyObject_ptr()
2696 {
2697 Py_XDECREF(_obj);
2698 }
2699
2700 operator PyObject *() const
2701 {
2702 return _obj;
2703 }
2704
2705 PyObject *operator->() const
2706 {
2707 return _obj;
2708 }
2709 };
2710}
2711
2712
2713namespace swig {
2714 struct PyObject_var : PyObject_ptr {
2715 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2716
2717 PyObject_var & operator = (PyObject* obj)
2718 {
2719 Py_XDECREF(_obj);
2720 _obj = obj;
2721 return *this;
2722 }
2723 };
2724}
2725
2726
093d3ff1
RD
2727#include "wx/wxPython/wxPython.h"
2728#include "wx/wxPython/pyclasses.h"
2729
2730 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2731 static const wxString wxPyEmptyString(wxEmptyString);
2732 static const wxString wxPyControlNameStr(wxControlNameStr);
2733
2734 const wxArrayString wxPyEmptyStringArray;
2735
2736 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2737
554f62e9 2738 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2739
2740
554f62e9
RD
2741SWIGINTERNINLINE PyObject *
2742SWIG_From_int (int value)
2743{
2744 return SWIG_From_long (value);
2745}
093d3ff1
RD
2746
2747
554f62e9
RD
2748#include <limits.h>
2749#ifndef LLONG_MIN
2750# define LLONG_MIN LONG_LONG_MIN
2751#endif
2752#ifndef LLONG_MAX
2753# define LLONG_MAX LONG_LONG_MAX
2754#endif
2755#ifndef ULLONG_MAX
2756# define ULLONG_MAX ULONG_LONG_MAX
2757#endif
093d3ff1
RD
2758
2759
2760SWIGINTERN int
554f62e9 2761SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2762{
2763 if (PyNumber_Check(obj)) {
2764 if (val) *val = PyInt_AsLong(obj);
554f62e9 2765 return SWIG_OK;
093d3ff1 2766 }
554f62e9 2767 return SWIG_TypeError;
093d3ff1
RD
2768}
2769
2770
093d3ff1 2771SWIGINTERN int
554f62e9
RD
2772SWIG_AsVal_int (PyObject * obj, int *val)
2773{
093d3ff1 2774 long v;
554f62e9
RD
2775 int res = SWIG_AsVal_long (obj, &v);
2776 if (SWIG_IsOK(res)) {
2777 if ((v < INT_MIN || v > INT_MAX)) {
2778 return SWIG_OverflowError;
093d3ff1 2779 } else {
554f62e9 2780 if (val) *val = static_cast< int >(v);
093d3ff1 2781 }
554f62e9
RD
2782 }
2783 return res;
d55e5bfc
RD
2784}
2785
c32bde28 2786 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2787
093d3ff1 2788SWIGINTERN int
554f62e9 2789SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2790{
c32bde28
RD
2791 if (obj == Py_True) {
2792 if (val) *val = true;
554f62e9
RD
2793 return SWIG_OK;
2794 } else if (obj == Py_False) {
c32bde28 2795 if (val) *val = false;
554f62e9 2796 return SWIG_OK;
093d3ff1 2797 } else {
554f62e9
RD
2798 long v = 0;
2799 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2800 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2801 return res;
c32bde28 2802 }
d55e5bfc
RD
2803}
2804
2805 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2806 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2807 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2808 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2809 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2810 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2811
2812#include <wx/checklst.h>
d55e5bfc
RD
2813
2814 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
554f62e9 2815SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2816 if (clientData)
2817 {
d55e5bfc
RD
2818 wxPyClientData* data = new wxPyClientData(clientData);
2819 self->Insert(item, pos, data);
e9d6f3a4
RD
2820 }
2821 else
d55e5bfc
RD
2822 self->Insert(item, pos);
2823 }
50f151d7
RD
2824
2825SWIGINTERN int
2826SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2827{
2828 long v = 0;
2829 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2830 return SWIG_TypeError;
2831 }
2832 else if (val)
2833 *val = (unsigned long)v;
2834 return SWIG_OK;
2835}
2836
2837
2838SWIGINTERN int
2839SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2840{
2841 unsigned long v;
2842 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2843 if (SWIG_IsOK(res)) {
2844 if ((v > UINT_MAX)) {
2845 return SWIG_OverflowError;
2846 } else {
2847 if (val) *val = static_cast< unsigned int >(v);
2848 }
2849 }
2850 return res;
2851}
2852
554f62e9 2853SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2854 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2855 wxArrayInt lst;
2856 self->GetSelections(lst);
2857 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2858 for (size_t i=0; i<lst.GetCount(); i++)
2859 {
7e08d4ef
RD
2860 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2861 }
e9d6f3a4 2862 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2863 return tup;
2864 }
554f62e9 2865SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2866 #ifdef __WXMSW__
2867 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2868 self->GetItem(item)->SetTextColour(c);
2869 #endif
2870 }
554f62e9 2871SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2872 #ifdef __WXMSW__
2873 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2874 self->GetItem(item)->SetBackgroundColour(c);
2875 #endif
2876 }
554f62e9 2877SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
2878 #ifdef __WXMSW__
2879 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2880 self->GetItem(item)->SetFont(f);
2881 #endif
2882 }
2883 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
554f62e9 2884SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2885 self->AppendText(text);
2886 }
554f62e9 2887SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2888 return self->GetValue().Mid(from, to - from);
2889 }
2890 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2891 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2892 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2893 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2894 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2895
1c71765a
RD
2896SWIGINTERNINLINE PyObject*
2897SWIG_From_unsigned_SS_long (unsigned long value)
2898{
2899 return (value > LONG_MAX) ?
2900 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2901}
2902
2903
2904SWIGINTERNINLINE PyObject *
2905SWIG_From_size_t (size_t value)
2906{
2907 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2908}
2909
2910
50f151d7
RD
2911SWIGINTERNINLINE PyObject *
2912SWIG_From_unsigned_SS_int (unsigned int value)
2913{
2914 return SWIG_From_unsigned_SS_long (value);
2915}
2916
2917
d55e5bfc
RD
2918#include <wx/slider.h>
2919
2920
2921 static const wxString wxPySliderNameStr(wxSliderNameStr);
2922 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2923
2924#if !wxUSE_TOGGLEBTN
2925// implement dummy items for platforms that don't have this class
2926
2927#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2928
2929class wxToggleButton : public wxControl
2930{
2931public:
2932 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2933 const wxPoint&, const wxSize&, long,
2934 const wxValidator&, const wxString&)
2935 { wxPyRaiseNotImplemented(); }
2936
2937 wxToggleButton()
2938 { wxPyRaiseNotImplemented(); }
2939};
2940#endif
2941
51b83b37 2942 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2943
7e08d4ef 2944SWIGINTERNINLINE int
554f62e9 2945SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2946{
7e08d4ef 2947 unsigned long v;
554f62e9
RD
2948 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2949 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2950 return res;
7e08d4ef 2951}
7e08d4ef 2952
d55e5bfc 2953 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9 2954SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2955 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2956 if (udata) {
2957 Py_INCREF(udata->m_obj);
2958 return udata->m_obj;
2959 } else {
2960 Py_INCREF(Py_None);
2961 return Py_None;
2962 }
2963 }
554f62e9 2964SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2965 self->SetClientData(new wxPyUserData(clientData));
2966 }
554f62e9 2967SWIGINTERN 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
2968 wxPyUserData* udata = NULL;
2969 if (clientData && clientData != Py_None)
2970 udata = new wxPyUserData(clientData);
2971 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2972 shortHelp, longHelp, udata);
2973 }
554f62e9 2974SWIGINTERN 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
2975 wxPyUserData* udata = NULL;
2976 if (clientData && clientData != Py_None)
2977 udata = new wxPyUserData(clientData);
2978 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2979 shortHelp, longHelp, udata);
2980 }
554f62e9 2981SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2982 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2983 if (udata) {
2984 Py_INCREF(udata->m_obj);
2985 return udata->m_obj;
2986 } else {
2987 Py_INCREF(Py_None);
2988 return Py_None;
2989 }
2990 }
554f62e9 2991SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
2992 self->SetToolClientData(id, new wxPyUserData(clientData));
2993 }
2994
2995#include <wx/listctrl.h>
2996
fef4c27a 2997 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
554f62e9 2998SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
2999 // Python aware sorting function for wxPyListCtrl
3000 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3001 int retval = 0;
3002 PyObject* func = (PyObject*)funcPtr;
5a446332 3003 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3004
3005 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3006 PyObject* result = PyEval_CallObject(func, args);
3007 Py_DECREF(args);
3008 if (result) {
3009 retval = PyInt_AsLong(result);
3010 Py_DECREF(result);
3011 }
3012
3013 wxPyEndBlockThreads(blocked);
3014 return retval;
3015 }
3016
3017 // C++ Version of a Python aware class
3018class wxPyListCtrl : public wxListCtrl {
7449af73 3019 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3020public:
3021 wxPyListCtrl() : wxListCtrl() {}
3022 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3023 const wxPoint& pos,
3024 const wxSize& size,
3025 long style,
3026 const wxValidator& validator,
3027 const wxString& name) :
3028 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3029
3030 bool Create(wxWindow* parent, wxWindowID id,
3031 const wxPoint& pos,
3032 const wxSize& size,
3033 long style,
3034 const wxValidator& validator,
3035 const wxString& name) {
3036 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3037 }
3038
3039 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3040 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3041
84f85550
RD
3042 // use the virtual version to avoid a confusing assert in the base class
3043 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3044 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3045
d55e5bfc
RD
3046 PYPRIVATE;
3047};
3048
3049IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3050
3051IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3052IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3053IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
3054IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3055
d55e5bfc 3056
554f62e9 3057SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3058 wxListItem item;
3059 item.SetMask( wxLIST_MASK_STATE |
3060 wxLIST_MASK_TEXT |
3061 wxLIST_MASK_IMAGE |
3062 wxLIST_MASK_DATA |
3063 wxLIST_SET_ITEM |
3064 wxLIST_MASK_WIDTH |
3065 wxLIST_MASK_FORMAT
3066 );
3067 if (self->GetColumn(col, item))
3068 return new wxListItem(item);
3069 else
3070 return NULL;
3071 }
554f62e9 3072SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3073 wxListItem* info = new wxListItem;
3074 info->m_itemId = itemId;
3075 info->m_col = col;
3076 info->m_mask = 0xFFFF;
3077 self->GetItem(*info);
3078 return info;
3079 }
554f62e9 3080SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3081 wxPoint pos;
3082 self->GetItemPosition(item, pos);
3083 return pos;
3084 }
554f62e9 3085SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3086 wxRect rect;
3087 self->GetItemRect(item, rect, code);
3088 return rect;
3089 }
554f62e9 3090SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3091 if (!PyCallable_Check(func))
ae8162c8 3092 return false;
d55e5bfc
RD
3093 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3094 }
554f62e9 3095SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
3096
3097 return self;
3098
3099
3100
3101 }
3102
3103#include <wx/treectrl.h>
3104#include "wx/wxPython/pytree.h"
3105
3106 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
554f62e9
RD
3107SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3108SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3109SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
3110 // C++ version of Python aware wxTreeCtrl
3111class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 3112 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3113public:
3114 wxPyTreeCtrl() : wxTreeCtrl() {}
3115 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3116 const wxPoint& pos,
3117 const wxSize& size,
3118 long style,
3119 const wxValidator& validator,
3120 const wxString& name) :
3121 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3122
3123 bool Create(wxWindow *parent, wxWindowID id,
3124 const wxPoint& pos,
3125 const wxSize& size,
3126 long style,
3127 const wxValidator& validator,
3128 const wxString& name) {
3129 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3130 }
3131
3132
3133 int OnCompareItems(const wxTreeItemId& item1,
3134 const wxTreeItemId& item2) {
3135 int rval = 0;
3136 bool found;
5a446332 3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3139 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3140 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3141 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3142 Py_DECREF(o1);
3143 Py_DECREF(o2);
3144 }
3145 wxPyEndBlockThreads(blocked);
3146 if (! found)
3147 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3148 return rval;
3149 }
3150 PYPRIVATE;
3151};
3152
3153IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3154
3155
554f62e9 3156SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3157 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3158 if (data == NULL) {
3159 data = new wxPyTreeItemData();
3160 data->SetId(item); // set the id
3161 self->SetItemData(item, data);
3162 }
3163 return data;
3164 }
554f62e9 3165SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3166 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3167 if (data == NULL) {
3168 data = new wxPyTreeItemData();
3169 data->SetId(item); // set the id
3170 self->SetItemData(item, data);
3171 }
3172 return data->GetData();
3173 }
554f62e9 3174SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3175 data->SetId(item); // set the id
3176 self->SetItemData(item, data);
3177 }
554f62e9 3178SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3179 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3180 if (data == NULL) {
3181 data = new wxPyTreeItemData(obj);
3182 data->SetId(item); // set the id
3183 self->SetItemData(item, data);
3184 } else
3185 data->SetData(obj);
3186 }
554f62e9 3187SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3188 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3189 PyObject* rval = PyList_New(0);
3190 wxArrayTreeItemIds array;
3191 size_t num, x;
3192 num = self->GetSelections(array);
3193 for (x=0; x < num; x++) {
3194 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3195 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3196 PyList_Append(rval, item);
a07a67e6 3197 Py_DECREF(item);
d55e5bfc
RD
3198 }
3199 wxPyEndBlockThreads(blocked);
3200 return rval;
3201 }
554f62e9 3202SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3203 void* cookie = 0;
3204 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3205 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3206 PyObject* tup = PyTuple_New(2);
ae8162c8 3207 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3208 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3209 wxPyEndBlockThreads(blocked);
3210 return tup;
3211 }
554f62e9 3212SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3213 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3215 PyObject* tup = PyTuple_New(2);
ae8162c8 3216 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3217 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3218 wxPyEndBlockThreads(blocked);
3219 return tup;
3220 }
554f62e9 3221SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3222 wxRect rect;
3223 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3224 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3225 wxRect* r = new wxRect(rect);
ae8162c8 3226 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3227 wxPyEndBlockThreads(blocked);
3228 return val;
3229 }
3230 else
3231 RETURN_NONE();
3232 }
3233 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3234
7449af73 3235SWIGINTERNINLINE PyObject*
554f62e9 3236 SWIG_From_bool (bool value)
c32bde28 3237{
554f62e9 3238 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3239}
3240
d55e5bfc
RD
3241 // C++ version of Python aware wxControl
3242class wxPyControl : public wxControl
3243{
3244 DECLARE_DYNAMIC_CLASS(wxPyControl)
3245public:
3246 wxPyControl() : wxControl() {}
3247 wxPyControl(wxWindow* parent, const wxWindowID id,
3248 const wxPoint& pos = wxDefaultPosition,
3249 const wxSize& size = wxDefaultSize,
3250 long style = 0,
3251 const wxValidator& validator=wxDefaultValidator,
3252 const wxString& name = wxPyControlNameStr)
3253 : wxControl(parent, id, pos, size, style, validator, name) {}
3254
caef1a4d 3255 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 3256
60d5fcc1
RD
3257 bool DoEraseBackground(wxDC* dc) {
3258#ifdef __WXMSW__
3259 return wxWindow::DoEraseBackground(dc->GetHDC());
3260#else
3261 dc->SetBackground(wxBrush(GetBackgroundColour()));
3262 dc->Clear();
3263 return true;
3264#endif
3265 }
3266
d55e5bfc
RD
3267 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3268 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3269 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3270 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3271
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3274 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3275
3276 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3277 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3278
3279 DEC_PYCALLBACK__(InitDialog);
3280 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3281 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3282 DEC_PYCALLBACK_BOOL_(Validate);
3283
3284 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3285 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3286 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3287
3288 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3289 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3290
caef1a4d 3291 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3292 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3293
51b83b37
RD
3294 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3295
8d38bd1d
RD
3296 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3297
d55e5bfc
RD
3298 PYPRIVATE;
3299};
3300
3301IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3302
3303IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3304IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3305IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3306IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3307
3308IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3309IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3310IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3311
3312IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3313IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3314
3315IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3316IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3317IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3318IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3319
3320IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3321IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3322IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3323
3324IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3325IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3326
caef1a4d 3327IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 3328IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3329
51b83b37 3330IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3331
3332IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3333
d55e5bfc
RD
3334
3335
554f62e9 3336SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3337
3338#include <wx/generic/dragimgg.h>
3339
53aa7709 3340 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
554f62e9 3341SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3342 wxDateTime rv;
3343 self->GetRange(&rv, NULL);
3344 return rv;
3345 }
554f62e9 3346SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3347 wxDateTime rv;
3348 self->GetRange(NULL, &rv);
3349 return rv;
3350 }
704eda0c 3351 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
d55e5bfc
RD
3352#ifdef __cplusplus
3353extern "C" {
3354#endif
554f62e9
RD
3355SWIGINTERN int ButtonNameStr_set(PyObject *) {
3356 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3357 return 1;
d55e5bfc
RD
3358}
3359
3360
554f62e9
RD
3361SWIGINTERN PyObject *ButtonNameStr_get(void) {
3362 PyObject *pyobj = 0;
3363
3364 {
d55e5bfc 3365#if wxUSE_UNICODE
554f62e9 3366 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3367#else
554f62e9 3368 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3369#endif
554f62e9
RD
3370 }
3371 return pyobj;
3372}
3373
3374
3375SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj = 0;
3377 wxWindow *arg1 = (wxWindow *) 0 ;
3378 int arg2 = (int) -1 ;
3379 wxString const &arg3_defvalue = wxPyEmptyString ;
3380 wxString *arg3 = (wxString *) &arg3_defvalue ;
3381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3383 wxSize const &arg5_defvalue = wxDefaultSize ;
3384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3385 long arg6 = (long) 0 ;
3386 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3387 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3388 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3389 wxString *arg8 = (wxString *) &arg8_defvalue ;
3390 wxButton *result = 0 ;
3391 void *argp1 = 0 ;
3392 int res1 = 0 ;
3393 int val2 ;
3394 int ecode2 = 0 ;
3395 bool temp3 = false ;
3396 wxPoint temp4 ;
3397 wxSize temp5 ;
3398 long val6 ;
3399 int ecode6 = 0 ;
3400 void *argp7 = 0 ;
3401 int res7 = 0 ;
3402 bool temp8 = false ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 PyObject * obj2 = 0 ;
3406 PyObject * obj3 = 0 ;
3407 PyObject * obj4 = 0 ;
3408 PyObject * obj5 = 0 ;
3409 PyObject * obj6 = 0 ;
3410 PyObject * obj7 = 0 ;
3411 char * kwnames[] = {
3412 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3413 };
3414
3415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3417 if (!SWIG_IsOK(res1)) {
3418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3419 }
3420 arg1 = reinterpret_cast< wxWindow * >(argp1);
3421 if (obj1) {
3422 ecode2 = SWIG_AsVal_int(obj1, &val2);
3423 if (!SWIG_IsOK(ecode2)) {
3424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3425 }
3426 arg2 = static_cast< int >(val2);
3427 }
3428 if (obj2) {
d55e5bfc 3429 {
554f62e9
RD
3430 arg3 = wxString_in_helper(obj2);
3431 if (arg3 == NULL) SWIG_fail;
3432 temp3 = true;
d55e5bfc 3433 }
554f62e9
RD
3434 }
3435 if (obj3) {
d55e5bfc 3436 {
554f62e9
RD
3437 arg4 = &temp4;
3438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3439 }
554f62e9
RD
3440 }
3441 if (obj4) {
d55e5bfc 3442 {
554f62e9
RD
3443 arg5 = &temp5;
3444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3445 }
554f62e9
RD
3446 }
3447 if (obj5) {
3448 ecode6 = SWIG_AsVal_long(obj5, &val6);
3449 if (!SWIG_IsOK(ecode6)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3451 }
3452 arg6 = static_cast< long >(val6);
3453 }
3454 if (obj6) {
3455 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3456 if (!SWIG_IsOK(res7)) {
3457 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3458 }
554f62e9
RD
3459 if (!argp7) {
3460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3461 }
554f62e9
RD
3462 arg7 = reinterpret_cast< wxValidator * >(argp7);
3463 }
3464 if (obj7) {
d55e5bfc 3465 {
554f62e9
RD
3466 arg8 = wxString_in_helper(obj7);
3467 if (arg8 == NULL) SWIG_fail;
3468 temp8 = true;
d55e5bfc 3469 }
554f62e9
RD
3470 }
3471 {
3472 if (!wxPyCheckForApp()) SWIG_fail;
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3479 {
3480 if (temp3)
3481 delete arg3;
3482 }
3483 {
3484 if (temp8)
3485 delete arg8;
3486 }
3487 return resultobj;
3488fail:
3489 {
3490 if (temp3)
3491 delete arg3;
3492 }
3493 {
3494 if (temp8)
3495 delete arg8;
3496 }
3497 return NULL;
d55e5bfc
RD
3498}
3499
3500
554f62e9
RD
3501SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3502 PyObject *resultobj = 0;
3503 wxButton *result = 0 ;
3504
3505 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3506 {
3507 if (!wxPyCheckForApp()) SWIG_fail;
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (wxButton *)new wxButton();
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3514 return resultobj;
3515fail:
3516 return NULL;
3517}
3518
3519
3520SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj = 0;
3522 wxButton *arg1 = (wxButton *) 0 ;
3523 wxWindow *arg2 = (wxWindow *) 0 ;
3524 int arg3 = (int) -1 ;
3525 wxString const &arg4_defvalue = wxPyEmptyString ;
3526 wxString *arg4 = (wxString *) &arg4_defvalue ;
3527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3529 wxSize const &arg6_defvalue = wxDefaultSize ;
3530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3531 long arg7 = (long) 0 ;
3532 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3533 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3534 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3535 wxString *arg9 = (wxString *) &arg9_defvalue ;
3536 bool result;
3537 void *argp1 = 0 ;
3538 int res1 = 0 ;
3539 void *argp2 = 0 ;
3540 int res2 = 0 ;
3541 int val3 ;
3542 int ecode3 = 0 ;
3543 bool temp4 = false ;
3544 wxPoint temp5 ;
3545 wxSize temp6 ;
3546 long val7 ;
3547 int ecode7 = 0 ;
3548 void *argp8 = 0 ;
3549 int res8 = 0 ;
3550 bool temp9 = false ;
3551 PyObject * obj0 = 0 ;
3552 PyObject * obj1 = 0 ;
3553 PyObject * obj2 = 0 ;
3554 PyObject * obj3 = 0 ;
3555 PyObject * obj4 = 0 ;
3556 PyObject * obj5 = 0 ;
3557 PyObject * obj6 = 0 ;
3558 PyObject * obj7 = 0 ;
3559 PyObject * obj8 = 0 ;
3560 char * kwnames[] = {
3561 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3562 };
3563
3564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3566 if (!SWIG_IsOK(res1)) {
3567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3568 }
3569 arg1 = reinterpret_cast< wxButton * >(argp1);
3570 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3571 if (!SWIG_IsOK(res2)) {
3572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3573 }
3574 arg2 = reinterpret_cast< wxWindow * >(argp2);
3575 if (obj2) {
3576 ecode3 = SWIG_AsVal_int(obj2, &val3);
3577 if (!SWIG_IsOK(ecode3)) {
3578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3579 }
3580 arg3 = static_cast< int >(val3);
3581 }
3582 if (obj3) {
d55e5bfc 3583 {
554f62e9
RD
3584 arg4 = wxString_in_helper(obj3);
3585 if (arg4 == NULL) SWIG_fail;
3586 temp4 = true;
d55e5bfc 3587 }
554f62e9
RD
3588 }
3589 if (obj4) {
d55e5bfc 3590 {
554f62e9
RD
3591 arg5 = &temp5;
3592 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3593 }
554f62e9
RD
3594 }
3595 if (obj5) {
d55e5bfc 3596 {
554f62e9
RD
3597 arg6 = &temp6;
3598 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3599 }
554f62e9
RD
3600 }
3601 if (obj6) {
3602 ecode7 = SWIG_AsVal_long(obj6, &val7);
3603 if (!SWIG_IsOK(ecode7)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3605 }
3606 arg7 = static_cast< long >(val7);
3607 }
3608 if (obj7) {
3609 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3610 if (!SWIG_IsOK(res8)) {
3611 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3612 }
554f62e9
RD
3613 if (!argp8) {
3614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3615 }
554f62e9
RD
3616 arg8 = reinterpret_cast< wxValidator * >(argp8);
3617 }
3618 if (obj8) {
d55e5bfc 3619 {
554f62e9
RD
3620 arg9 = wxString_in_helper(obj8);
3621 if (arg9 == NULL) SWIG_fail;
3622 temp9 = true;
d55e5bfc 3623 }
554f62e9
RD
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 {
3632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3633 }
3634 {
3635 if (temp4)
3636 delete arg4;
3637 }
3638 {
3639 if (temp9)
3640 delete arg9;
3641 }
3642 return resultobj;
3643fail:
3644 {
3645 if (temp4)
3646 delete arg4;
3647 }
3648 {
3649 if (temp9)
3650 delete arg9;
3651 }
3652 return NULL;
d55e5bfc
RD
3653}
3654
3655
554f62e9
RD
3656SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3657 PyObject *resultobj = 0;
3658 wxButton *arg1 = (wxButton *) 0 ;
3659 void *argp1 = 0 ;
3660 int res1 = 0 ;
3661 PyObject *swig_obj[1] ;
3662
3663 if (!args) SWIG_fail;
3664 swig_obj[0] = args;
3665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3666 if (!SWIG_IsOK(res1)) {
3667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3668 }
3669 arg1 = reinterpret_cast< wxButton * >(argp1);
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 (arg1)->SetDefault();
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 resultobj = SWIG_Py_Void();
3677 return resultobj;
3678fail:
3679 return NULL;
d55e5bfc
RD
3680}
3681
3682
554f62e9
RD
3683SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3684 PyObject *resultobj = 0;
3685 wxSize result;
3686
3687 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = wxButton::GetDefaultSize();
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3695 return resultobj;
3696fail:
3697 return NULL;
3698}
3699
3700
3701SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj = 0;
3703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3704 SwigValueWrapper<wxVisualAttributes > result;
3705 int val1 ;
3706 int ecode1 = 0 ;
3707 PyObject * obj0 = 0 ;
3708 char * kwnames[] = {
3709 (char *) "variant", NULL
3710 };
3711
3712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3713 if (obj0) {
3714 ecode1 = SWIG_AsVal_int(obj0, &val1);
3715 if (!SWIG_IsOK(ecode1)) {
3716 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3717 }
3718 arg1 = static_cast< wxWindowVariant >(val1);
3719 }
3720 {
3721 if (!wxPyCheckForApp()) SWIG_fail;
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxButton::GetClassDefaultAttributes(arg1);
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3728 return resultobj;
3729fail:
3730 return NULL;
3731}
3732
3733
3734SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3735 PyObject *obj;
3736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3737 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3738 return SWIG_Py_Void();
3739}
3740
3741SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3742 return SWIG_Python_InitShadowInstance(args);
3743}
3744
3745SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj = 0;
3747 wxWindow *arg1 = (wxWindow *) 0 ;
3748 int arg2 = (int) -1 ;
3749 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3750 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3751 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3752 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3753 wxSize const &arg5_defvalue = wxDefaultSize ;
3754 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3755 long arg6 = (long) wxBU_AUTODRAW ;
3756 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3757 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3758 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3759 wxString *arg8 = (wxString *) &arg8_defvalue ;
3760 wxBitmapButton *result = 0 ;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 int val2 ;
3764 int ecode2 = 0 ;
3765 void *argp3 = 0 ;
3766 int res3 = 0 ;
3767 wxPoint temp4 ;
3768 wxSize temp5 ;
3769 long val6 ;
3770 int ecode6 = 0 ;
3771 void *argp7 = 0 ;
3772 int res7 = 0 ;
3773 bool temp8 = false ;
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 PyObject * obj3 = 0 ;
3778 PyObject * obj4 = 0 ;
3779 PyObject * obj5 = 0 ;
3780 PyObject * obj6 = 0 ;
3781 PyObject * obj7 = 0 ;
3782 char * kwnames[] = {
3783 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3784 };
3785
3786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3788 if (!SWIG_IsOK(res1)) {
3789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3790 }
3791 arg1 = reinterpret_cast< wxWindow * >(argp1);
3792 if (obj1) {
3793 ecode2 = SWIG_AsVal_int(obj1, &val2);
3794 if (!SWIG_IsOK(ecode2)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3796 }
3797 arg2 = static_cast< int >(val2);
3798 }
3799 if (obj2) {
3800 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3801 if (!SWIG_IsOK(res3)) {
3802 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3803 }
3804 if (!argp3) {
3805 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3806 }
3807 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3808 }
3809 if (obj3) {
d55e5bfc 3810 {
554f62e9
RD
3811 arg4 = &temp4;
3812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3813 }
554f62e9
RD
3814 }
3815 if (obj4) {
d55e5bfc 3816 {
554f62e9
RD
3817 arg5 = &temp5;
3818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3819 }
554f62e9
RD
3820 }
3821 if (obj5) {
3822 ecode6 = SWIG_AsVal_long(obj5, &val6);
3823 if (!SWIG_IsOK(ecode6)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3825 }
3826 arg6 = static_cast< long >(val6);
3827 }
3828 if (obj6) {
3829 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3830 if (!SWIG_IsOK(res7)) {
3831 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3832 }
554f62e9
RD
3833 if (!argp7) {
3834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3835 }
554f62e9
RD
3836 arg7 = reinterpret_cast< wxValidator * >(argp7);
3837 }
3838 if (obj7) {
f20a2e1f 3839 {
554f62e9
RD
3840 arg8 = wxString_in_helper(obj7);
3841 if (arg8 == NULL) SWIG_fail;
3842 temp8 = true;
f20a2e1f 3843 }
554f62e9
RD
3844 }
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3853 {
3854 if (temp8)
3855 delete arg8;
3856 }
3857 return resultobj;
3858fail:
3859 {
3860 if (temp8)
3861 delete arg8;
3862 }
3863 return NULL;
f20a2e1f
RD
3864}
3865
3866
554f62e9
RD
3867SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3868 PyObject *resultobj = 0;
3869 wxBitmapButton *result = 0 ;
3870
3871 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3872 {
3873 if (!wxPyCheckForApp()) SWIG_fail;
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 result = (wxBitmapButton *)new wxBitmapButton();
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3880 return resultobj;
3881fail:
3882 return NULL;
3883}
3884
3885
3886SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj = 0;
3888 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3889 wxWindow *arg2 = (wxWindow *) 0 ;
3890 int arg3 = (int) -1 ;
3891 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3892 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3895 wxSize const &arg6_defvalue = wxDefaultSize ;
3896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3897 long arg7 = (long) wxBU_AUTODRAW ;
3898 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3899 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3900 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3901 wxString *arg9 = (wxString *) &arg9_defvalue ;
3902 bool result;
3903 void *argp1 = 0 ;
3904 int res1 = 0 ;
3905 void *argp2 = 0 ;
3906 int res2 = 0 ;
3907 int val3 ;
3908 int ecode3 = 0 ;
3909 void *argp4 = 0 ;
3910 int res4 = 0 ;
3911 wxPoint temp5 ;
3912 wxSize temp6 ;
3913 long val7 ;
3914 int ecode7 = 0 ;
3915 void *argp8 = 0 ;
3916 int res8 = 0 ;
3917 bool temp9 = false ;
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
3920 PyObject * obj2 = 0 ;
3921 PyObject * obj3 = 0 ;
3922 PyObject * obj4 = 0 ;
3923 PyObject * obj5 = 0 ;
3924 PyObject * obj6 = 0 ;
3925 PyObject * obj7 = 0 ;
3926 PyObject * obj8 = 0 ;
3927 char * kwnames[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3929 };
3930
3931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3933 if (!SWIG_IsOK(res1)) {
3934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3935 }
3936 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3937 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3938 if (!SWIG_IsOK(res2)) {
3939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3940 }
3941 arg2 = reinterpret_cast< wxWindow * >(argp2);
3942 if (obj2) {
3943 ecode3 = SWIG_AsVal_int(obj2, &val3);
3944 if (!SWIG_IsOK(ecode3)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3946 }
3947 arg3 = static_cast< int >(val3);
3948 }
3949 if (obj3) {
3950 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3951 if (!SWIG_IsOK(res4)) {
3952 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3953 }
554f62e9
RD
3954 if (!argp4) {
3955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3956 }
554f62e9
RD
3957 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3958 }
3959 if (obj4) {
d55e5bfc 3960 {
554f62e9
RD
3961 arg5 = &temp5;
3962 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3963 }
554f62e9
RD
3964 }
3965 if (obj5) {
d55e5bfc 3966 {
554f62e9
RD
3967 arg6 = &temp6;
3968 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3969 }
3970 }
3971 if (obj6) {
3972 ecode7 = SWIG_AsVal_long(obj6, &val7);
3973 if (!SWIG_IsOK(ecode7)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3975 }
3976 arg7 = static_cast< long >(val7);
3977 }
3978 if (obj7) {
3979 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3980 if (!SWIG_IsOK(res8)) {
3981 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3982 }
3983 if (!argp8) {
3984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3985 }
554f62e9
RD
3986 arg8 = reinterpret_cast< wxValidator * >(argp8);
3987 }
3988 if (obj8) {
d55e5bfc 3989 {
554f62e9
RD
3990 arg9 = wxString_in_helper(obj8);
3991 if (arg9 == NULL) SWIG_fail;
3992 temp9 = true;
d55e5bfc 3993 }
554f62e9
RD
3994 }
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 {
4002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4003 }
4004 {
4005 if (temp9)
4006 delete arg9;
4007 }
4008 return resultobj;
4009fail:
4010 {
4011 if (temp9)
4012 delete arg9;
4013 }
4014 return NULL;
d55e5bfc
RD
4015}
4016
4017
554f62e9
RD
4018SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4019 PyObject *resultobj = 0;
4020 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4021 wxBitmap result;
4022 void *argp1 = 0 ;
4023 int res1 = 0 ;
4024 PyObject *swig_obj[1] ;
4025
4026 if (!args) SWIG_fail;
4027 swig_obj[0] = args;
4028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4029 if (!SWIG_IsOK(res1)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4031 }
4032 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = (arg1)->GetBitmapLabel();
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4040 return resultobj;
4041fail:
4042 return NULL;
d55e5bfc
RD
4043}
4044
4045
554f62e9
RD
4046SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4047 PyObject *resultobj = 0;
4048 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4049 wxBitmap result;
4050 void *argp1 = 0 ;
4051 int res1 = 0 ;
4052 PyObject *swig_obj[1] ;
4053
4054 if (!args) SWIG_fail;
4055 swig_obj[0] = args;
4056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4057 if (!SWIG_IsOK(res1)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4059 }
4060 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (arg1)->GetBitmapDisabled();
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4068 return resultobj;
4069fail:
4070 return NULL;
d55e5bfc
RD
4071}
4072
4073
554f62e9
RD
4074SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4075 PyObject *resultobj = 0;
4076 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4077 wxBitmap result;
4078 void *argp1 = 0 ;
4079 int res1 = 0 ;
4080 PyObject *swig_obj[1] ;
4081
4082 if (!args) SWIG_fail;
4083 swig_obj[0] = args;
4084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4085 if (!SWIG_IsOK(res1)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4087 }
4088 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (arg1)->GetBitmapFocus();
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4096 return resultobj;
4097fail:
4098 return NULL;
d55e5bfc
RD
4099}
4100
4101
554f62e9
RD
4102SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4103 PyObject *resultobj = 0;
4104 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4105 wxBitmap result;
4106 void *argp1 = 0 ;
4107 int res1 = 0 ;
4108 PyObject *swig_obj[1] ;
4109
4110 if (!args) SWIG_fail;
4111 swig_obj[0] = args;
4112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4113 if (!SWIG_IsOK(res1)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4115 }
4116 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (arg1)->GetBitmapSelected();
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4124 return resultobj;
4125fail:
4126 return NULL;
d55e5bfc
RD
4127}
4128
4129
554f62e9
RD
4130SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4131 PyObject *resultobj = 0;
4132 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4133 wxBitmap result;
4134 void *argp1 = 0 ;
4135 int res1 = 0 ;
4136 PyObject *swig_obj[1] ;
4137
4138 if (!args) SWIG_fail;
4139 swig_obj[0] = args;
4140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4141 if (!SWIG_IsOK(res1)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4143 }
4144 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (arg1)->GetBitmapHover();
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4152 return resultobj;
4153fail:
4154 return NULL;
4155}
4156
4157
4158SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj = 0;
4160 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4161 wxBitmap *arg2 = 0 ;
4162 void *argp1 = 0 ;
4163 int res1 = 0 ;
4164 void *argp2 = 0 ;
4165 int res2 = 0 ;
4166 PyObject * obj0 = 0 ;
4167 PyObject * obj1 = 0 ;
4168 char * kwnames[] = {
4169 (char *) "self",(char *) "bitmap", NULL
4170 };
4171
4172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4174 if (!SWIG_IsOK(res1)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4176 }
4177 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4178 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4179 if (!SWIG_IsOK(res2)) {
4180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4181 }
4182 if (!argp2) {
4183 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4184 }
4185 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 resultobj = SWIG_Py_Void();
4193 return resultobj;
4194fail:
4195 return NULL;
4196}
4197
4198
4199SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj = 0;
4201 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4202 wxBitmap *arg2 = 0 ;
4203 void *argp1 = 0 ;
4204 int res1 = 0 ;
4205 void *argp2 = 0 ;
4206 int res2 = 0 ;
4207 PyObject * obj0 = 0 ;
4208 PyObject * obj1 = 0 ;
4209 char * kwnames[] = {
4210 (char *) "self",(char *) "bitmap", NULL
4211 };
4212
4213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4215 if (!SWIG_IsOK(res1)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4217 }
4218 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4219 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4220 if (!SWIG_IsOK(res2)) {
4221 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4222 }
4223 if (!argp2) {
4224 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4225 }
4226 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_Py_Void();
4234 return resultobj;
4235fail:
4236 return NULL;
4237}
4238
4239
4240SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj = 0;
4242 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4243 wxBitmap *arg2 = 0 ;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char * kwnames[] = {
4251 (char *) "self",(char *) "bitmap", NULL
4252 };
4253
4254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4256 if (!SWIG_IsOK(res1)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4258 }
4259 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4260 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4261 if (!SWIG_IsOK(res2)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 }
4264 if (!argp2) {
4265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4266 }
4267 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 resultobj = SWIG_Py_Void();
4275 return resultobj;
4276fail:
4277 return NULL;
4278}
4279
4280
4281SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj = 0;
4283 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4284 wxBitmap *arg2 = 0 ;
4285 void *argp1 = 0 ;
4286 int res1 = 0 ;
4287 void *argp2 = 0 ;
4288 int res2 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 char * kwnames[] = {
4292 (char *) "self",(char *) "bitmap", NULL
4293 };
4294
4295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4297 if (!SWIG_IsOK(res1)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4299 }
4300 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4302 if (!SWIG_IsOK(res2)) {
4303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 }
4305 if (!argp2) {
4306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4307 }
4308 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 resultobj = SWIG_Py_Void();
4316 return resultobj;
4317fail:
4318 return NULL;
4319}
4320
4321
4322SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj = 0;
4324 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4325 wxBitmap *arg2 = 0 ;
4326 void *argp1 = 0 ;
4327 int res1 = 0 ;
4328 void *argp2 = 0 ;
4329 int res2 = 0 ;
4330 PyObject * obj0 = 0 ;
4331 PyObject * obj1 = 0 ;
4332 char * kwnames[] = {
4333 (char *) "self",(char *) "hover", NULL
4334 };
4335
4336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4338 if (!SWIG_IsOK(res1)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4340 }
4341 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4342 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4343 if (!SWIG_IsOK(res2)) {
4344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 }
4346 if (!argp2) {
4347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4348 }
4349 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 resultobj = SWIG_Py_Void();
4357 return resultobj;
4358fail:
4359 return NULL;
4360}
4361
4362
4363SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj = 0;
4365 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4366 int arg2 ;
4367 int arg3 ;
4368 void *argp1 = 0 ;
4369 int res1 = 0 ;
4370 int val2 ;
4371 int ecode2 = 0 ;
4372 int val3 ;
4373 int ecode3 = 0 ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4376 PyObject * obj2 = 0 ;
4377 char * kwnames[] = {
4378 (char *) "self",(char *) "x",(char *) "y", NULL
4379 };
4380
4381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4383 if (!SWIG_IsOK(res1)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4385 }
4386 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4387 ecode2 = SWIG_AsVal_int(obj1, &val2);
4388 if (!SWIG_IsOK(ecode2)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4390 }
4391 arg2 = static_cast< int >(val2);
4392 ecode3 = SWIG_AsVal_int(obj2, &val3);
4393 if (!SWIG_IsOK(ecode3)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4395 }
4396 arg3 = static_cast< int >(val3);
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 (arg1)->SetMargins(arg2,arg3);
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 resultobj = SWIG_Py_Void();
4404 return resultobj;
4405fail:
4406 return NULL;
d55e5bfc
RD
4407}
4408
4409
554f62e9
RD
4410SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4411 PyObject *resultobj = 0;
4412 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4413 int result;
4414 void *argp1 = 0 ;
4415 int res1 = 0 ;
4416 PyObject *swig_obj[1] ;
4417
4418 if (!args) SWIG_fail;
4419 swig_obj[0] = args;
4420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4421 if (!SWIG_IsOK(res1)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4423 }
4424 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 resultobj = SWIG_From_int(static_cast< int >(result));
4432 return resultobj;
4433fail:
4434 return NULL;
d55e5bfc
RD
4435}
4436
4437
554f62e9
RD
4438SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4439 PyObject *resultobj = 0;
4440 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4441 int result;
4442 void *argp1 = 0 ;
4443 int res1 = 0 ;
4444 PyObject *swig_obj[1] ;
4445
4446 if (!args) SWIG_fail;
4447 swig_obj[0] = args;
4448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4449 if (!SWIG_IsOK(res1)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4451 }
4452 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_From_int(static_cast< int >(result));
4460 return resultobj;
4461fail:
4462 return NULL;
b1fcee84
RD
4463}
4464
4465
554f62e9
RD
4466SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4467 PyObject *obj;
4468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4469 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4470 return SWIG_Py_Void();
d55e5bfc
RD
4471}
4472
554f62e9
RD
4473SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4474 return SWIG_Python_InitShadowInstance(args);
4475}
d55e5bfc 4476
554f62e9
RD
4477SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4478 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4479 return 1;
d55e5bfc
RD
4480}
4481
4482
554f62e9
RD
4483SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4484 PyObject *pyobj = 0;
4485
4486 {
4487#if wxUSE_UNICODE
4488 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4489#else
4490 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4491#endif
4492 }
4493 return pyobj;
4494}
4495
4496
4497SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj = 0;
4499 wxWindow *arg1 = (wxWindow *) 0 ;
4500 int arg2 = (int) -1 ;
4501 wxString const &arg3_defvalue = wxPyEmptyString ;
4502 wxString *arg3 = (wxString *) &arg3_defvalue ;
4503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4505 wxSize const &arg5_defvalue = wxDefaultSize ;
4506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4507 long arg6 = (long) 0 ;
4508 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4509 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4510 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4511 wxString *arg8 = (wxString *) &arg8_defvalue ;
4512 wxCheckBox *result = 0 ;
4513 void *argp1 = 0 ;
4514 int res1 = 0 ;
4515 int val2 ;
4516 int ecode2 = 0 ;
4517 bool temp3 = false ;
4518 wxPoint temp4 ;
4519 wxSize temp5 ;
4520 long val6 ;
4521 int ecode6 = 0 ;
4522 void *argp7 = 0 ;
4523 int res7 = 0 ;
4524 bool temp8 = false ;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 PyObject * obj2 = 0 ;
4528 PyObject * obj3 = 0 ;
4529 PyObject * obj4 = 0 ;
4530 PyObject * obj5 = 0 ;
4531 PyObject * obj6 = 0 ;
4532 PyObject * obj7 = 0 ;
4533 char * kwnames[] = {
4534 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4535 };
4536
4537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4539 if (!SWIG_IsOK(res1)) {
4540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4541 }
4542 arg1 = reinterpret_cast< wxWindow * >(argp1);
4543 if (obj1) {
4544 ecode2 = SWIG_AsVal_int(obj1, &val2);
4545 if (!SWIG_IsOK(ecode2)) {
4546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4547 }
4548 arg2 = static_cast< int >(val2);
4549 }
4550 if (obj2) {
d55e5bfc 4551 {
554f62e9
RD
4552 arg3 = wxString_in_helper(obj2);
4553 if (arg3 == NULL) SWIG_fail;
4554 temp3 = true;
d55e5bfc 4555 }
554f62e9
RD
4556 }
4557 if (obj3) {
4558 {
4559 arg4 = &temp4;
4560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4561 }
554f62e9
RD
4562 }
4563 if (obj4) {
d55e5bfc 4564 {
554f62e9
RD
4565 arg5 = &temp5;
4566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4567 }
554f62e9
RD
4568 }
4569 if (obj5) {
4570 ecode6 = SWIG_AsVal_long(obj5, &val6);
4571 if (!SWIG_IsOK(ecode6)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4573 }
4574 arg6 = static_cast< long >(val6);
4575 }
4576 if (obj6) {
4577 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4578 if (!SWIG_IsOK(res7)) {
4579 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4580 }
554f62e9
RD
4581 if (!argp7) {
4582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4583 }
4584 arg7 = reinterpret_cast< wxValidator * >(argp7);
4585 }
4586 if (obj7) {
b1fcee84 4587 {
554f62e9
RD
4588 arg8 = wxString_in_helper(obj7);
4589 if (arg8 == NULL) SWIG_fail;
4590 temp8 = true;
b1fcee84 4591 }
554f62e9
RD
4592 }
4593 {
4594 if (!wxPyCheckForApp()) SWIG_fail;
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4601 {
4602 if (temp3)
4603 delete arg3;
4604 }
4605 {
4606 if (temp8)
4607 delete arg8;
4608 }
4609 return resultobj;
4610fail:
4611 {
4612 if (temp3)
4613 delete arg3;
4614 }
4615 {
4616 if (temp8)
4617 delete arg8;
4618 }
4619 return NULL;
b1fcee84
RD
4620}
4621
4622
554f62e9
RD
4623SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4624 PyObject *resultobj = 0;
4625 wxCheckBox *result = 0 ;
4626
4627 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4628 {
4629 if (!wxPyCheckForApp()) SWIG_fail;
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 result = (wxCheckBox *)new wxCheckBox();
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4636 return resultobj;
4637fail:
4638 return NULL;
4639}
4640
4641
4642SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj = 0;
4644 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4645 wxWindow *arg2 = (wxWindow *) 0 ;
4646 int arg3 = (int) -1 ;
4647 wxString const &arg4_defvalue = wxPyEmptyString ;
4648 wxString *arg4 = (wxString *) &arg4_defvalue ;
4649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4651 wxSize const &arg6_defvalue = wxDefaultSize ;
4652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4653 long arg7 = (long) 0 ;
4654 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4655 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4656 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4657 wxString *arg9 = (wxString *) &arg9_defvalue ;
4658 bool result;
4659 void *argp1 = 0 ;
4660 int res1 = 0 ;
4661 void *argp2 = 0 ;
4662 int res2 = 0 ;
4663 int val3 ;
4664 int ecode3 = 0 ;
4665 bool temp4 = false ;
4666 wxPoint temp5 ;
4667 wxSize temp6 ;
4668 long val7 ;
4669 int ecode7 = 0 ;
4670 void *argp8 = 0 ;
4671 int res8 = 0 ;
4672 bool temp9 = false ;
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 PyObject * obj4 = 0 ;
4678 PyObject * obj5 = 0 ;
4679 PyObject * obj6 = 0 ;
4680 PyObject * obj7 = 0 ;
4681 PyObject * obj8 = 0 ;
4682 char * kwnames[] = {
4683 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4684 };
4685
4686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4688 if (!SWIG_IsOK(res1)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4690 }
4691 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4693 if (!SWIG_IsOK(res2)) {
4694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4695 }
4696 arg2 = reinterpret_cast< wxWindow * >(argp2);
4697 if (obj2) {
4698 ecode3 = SWIG_AsVal_int(obj2, &val3);
4699 if (!SWIG_IsOK(ecode3)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4701 }
4702 arg3 = static_cast< int >(val3);
4703 }
4704 if (obj3) {
093d3ff1 4705 {
554f62e9
RD
4706 arg4 = wxString_in_helper(obj3);
4707 if (arg4 == NULL) SWIG_fail;
4708 temp4 = true;
093d3ff1 4709 }
554f62e9
RD
4710 }
4711 if (obj4) {
093d3ff1 4712 {
554f62e9
RD
4713 arg5 = &temp5;
4714 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4715 }
554f62e9
RD
4716 }
4717 if (obj5) {
d55e5bfc 4718 {
554f62e9
RD
4719 arg6 = &temp6;
4720 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4721 }
554f62e9
RD
4722 }
4723 if (obj6) {
4724 ecode7 = SWIG_AsVal_long(obj6, &val7);
4725 if (!SWIG_IsOK(ecode7)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4727 }
4728 arg7 = static_cast< long >(val7);
4729 }
4730 if (obj7) {
4731 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4732 if (!SWIG_IsOK(res8)) {
4733 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4734 }
554f62e9
RD
4735 if (!argp8) {
4736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4737 }
4738 arg8 = reinterpret_cast< wxValidator * >(argp8);
4739 }
4740 if (obj8) {
093d3ff1 4741 {
554f62e9
RD
4742 arg9 = wxString_in_helper(obj8);
4743 if (arg9 == NULL) SWIG_fail;
4744 temp9 = true;
093d3ff1 4745 }
554f62e9
RD
4746 }
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 {
4754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4755 }
4756 {
4757 if (temp4)
4758 delete arg4;
4759 }
4760 {
4761 if (temp9)
4762 delete arg9;
4763 }
4764 return resultobj;
4765fail:
4766 {
4767 if (temp4)
4768 delete arg4;
4769 }
4770 {
4771 if (temp9)
4772 delete arg9;
4773 }
4774 return NULL;
d55e5bfc
RD
4775}
4776
4777
554f62e9
RD
4778SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4779 PyObject *resultobj = 0;
4780 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4781 bool result;
4782 void *argp1 = 0 ;
4783 int res1 = 0 ;
4784 PyObject *swig_obj[1] ;
4785
4786 if (!args) SWIG_fail;
4787 swig_obj[0] = args;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4791 }
4792 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4793 {
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 result = (bool)(arg1)->GetValue();
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 {
4800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4801 }
4802 return resultobj;
4803fail:
4804 return NULL;
d55e5bfc
RD
4805}
4806
4807
554f62e9
RD
4808SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(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_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4821 }
4822 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (bool)(arg1)->IsChecked();
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;
4835}
4836
4837
4838SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4839 PyObject *resultobj = 0;
4840 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4841 bool arg2 ;
4842 void *argp1 = 0 ;
4843 int res1 = 0 ;
4844 bool val2 ;
4845 int ecode2 = 0 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 char * kwnames[] = {
4849 (char *) "self",(char *) "state", NULL
4850 };
4851
4852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4854 if (!SWIG_IsOK(res1)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4856 }
4857 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4858 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4859 if (!SWIG_IsOK(ecode2)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4861 }
4862 arg2 = static_cast< bool >(val2);
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 (arg1)->SetValue(arg2);
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) SWIG_fail;
4868 }
4869 resultobj = SWIG_Py_Void();
4870 return resultobj;
4871fail:
4872 return NULL;
d55e5bfc 4873}
554f62e9
RD
4874
4875
4876SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4877 PyObject *resultobj = 0;
4878 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4879 wxCheckBoxState result;
4880 void *argp1 = 0 ;
4881 int res1 = 0 ;
4882 PyObject *swig_obj[1] ;
4883
4884 if (!args) SWIG_fail;
4885 swig_obj[0] = args;
4886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4887 if (!SWIG_IsOK(res1)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4889 }
4890 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 resultobj = SWIG_From_int(static_cast< int >(result));
4898 return resultobj;
4899fail:
4900 return NULL;
4901}
4902
4903
4904SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj = 0;
4906 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4907 wxCheckBoxState arg2 ;
4908 void *argp1 = 0 ;
4909 int res1 = 0 ;
4910 int val2 ;
4911 int ecode2 = 0 ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 char * kwnames[] = {
4915 (char *) "self",(char *) "state", NULL
4916 };
4917
4918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4920 if (!SWIG_IsOK(res1)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4922 }
4923 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4924 ecode2 = SWIG_AsVal_int(obj1, &val2);
4925 if (!SWIG_IsOK(ecode2)) {
4926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4927 }
4928 arg2 = static_cast< wxCheckBoxState >(val2);
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 (arg1)->Set3StateValue(arg2);
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = SWIG_Py_Void();
4936 return resultobj;
4937fail:
4938 return NULL;
d55e5bfc
RD
4939}
4940
4941
554f62e9
RD
4942SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4943 PyObject *resultobj = 0;
4944 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4945 bool result;
4946 void *argp1 = 0 ;
4947 int res1 = 0 ;
4948 PyObject *swig_obj[1] ;
4949
4950 if (!args) SWIG_fail;
4951 swig_obj[0] = args;
4952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4953 if (!SWIG_IsOK(res1)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4955 }
4956 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 {
4964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4965 }
4966 return resultobj;
4967fail:
4968 return NULL;
d55e5bfc
RD
4969}
4970
4971
554f62e9
RD
4972SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(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_Is3rdStateAllowedForUser" "', 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)->Is3rdStateAllowedForUser();
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_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj = 0;
5004 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5005 SwigValueWrapper<wxVisualAttributes > result;
5006 int val1 ;
5007 int ecode1 = 0 ;
5008 PyObject * obj0 = 0 ;
5009 char * kwnames[] = {
5010 (char *) "variant", NULL
5011 };
5012
5013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5014 if (obj0) {
5015 ecode1 = SWIG_AsVal_int(obj0, &val1);
5016 if (!SWIG_IsOK(ecode1)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5018 }
5019 arg1 = static_cast< wxWindowVariant >(val1);
5020 }
5021 {
5022 if (!wxPyCheckForApp()) SWIG_fail;
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5029 return resultobj;
5030fail:
5031 return NULL;
d55e5bfc
RD
5032}
5033
5034
554f62e9
RD
5035SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5036 PyObject *obj;
5037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5038 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5039 return SWIG_Py_Void();
d55e5bfc
RD
5040}
5041
554f62e9
RD
5042SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5043 return SWIG_Python_InitShadowInstance(args);
5044}
d55e5bfc 5045
554f62e9
RD
5046SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5047 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5048 return 1;
d55e5bfc
RD
5049}
5050
5051
554f62e9
RD
5052SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5053 PyObject *pyobj = 0;
5054
5055 {
5056#if wxUSE_UNICODE
5057 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5058#else
5059 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5060#endif
5061 }
5062 return pyobj;
5063}
5064
5065
5066SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5067 PyObject *resultobj = 0;
5068 wxWindow *arg1 = (wxWindow *) 0 ;
5069 int arg2 = (int) -1 ;
5070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5072 wxSize const &arg4_defvalue = wxDefaultSize ;
5073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5074 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5075 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5076 long arg6 = (long) 0 ;
5077 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5078 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5079 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5080 wxString *arg8 = (wxString *) &arg8_defvalue ;
5081 wxChoice *result = 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 int val2 ;
5085 int ecode2 = 0 ;
5086 wxPoint temp3 ;
5087 wxSize temp4 ;
5088 bool temp5 = false ;
5089 long val6 ;
5090 int ecode6 = 0 ;
5091 void *argp7 = 0 ;
5092 int res7 = 0 ;
5093 bool temp8 = false ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 PyObject * obj2 = 0 ;
5097 PyObject * obj3 = 0 ;
5098 PyObject * obj4 = 0 ;
5099 PyObject * obj5 = 0 ;
5100 PyObject * obj6 = 0 ;
5101 PyObject * obj7 = 0 ;
5102 char * kwnames[] = {
5103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5104 };
5105
5106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5108 if (!SWIG_IsOK(res1)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5110 }
5111 arg1 = reinterpret_cast< wxWindow * >(argp1);
5112 if (obj1) {
5113 ecode2 = SWIG_AsVal_int(obj1, &val2);
5114 if (!SWIG_IsOK(ecode2)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5116 }
5117 arg2 = static_cast< int >(val2);
5118 }
5119 if (obj2) {
093d3ff1 5120 {
554f62e9
RD
5121 arg3 = &temp3;
5122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5123 }
554f62e9
RD
5124 }
5125 if (obj3) {
d55e5bfc 5126 {
554f62e9
RD
5127 arg4 = &temp4;
5128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5129 }
554f62e9
RD
5130 }
5131 if (obj4) {
d55e5bfc 5132 {
554f62e9
RD
5133 if (! PySequence_Check(obj4)) {
5134 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5135 SWIG_fail;
5136 }
5137 arg5 = new wxArrayString;
5138 temp5 = true;
5139 int i, len=PySequence_Length(obj4);
5140 for (i=0; i<len; i++) {
5141 PyObject* item = PySequence_GetItem(obj4, i);
5142 wxString* s = wxString_in_helper(item);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 arg5->Add(*s);
5145 delete s;
5146 Py_DECREF(item);
5147 }
d55e5bfc 5148 }
554f62e9
RD
5149 }
5150 if (obj5) {
5151 ecode6 = SWIG_AsVal_long(obj5, &val6);
5152 if (!SWIG_IsOK(ecode6)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5154 }
5155 arg6 = static_cast< long >(val6);
5156 }
5157 if (obj6) {
5158 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5159 if (!SWIG_IsOK(res7)) {
5160 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5161 }
554f62e9
RD
5162 if (!argp7) {
5163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5164 }
5165 arg7 = reinterpret_cast< wxValidator * >(argp7);
5166 }
5167 if (obj7) {
d55e5bfc 5168 {
554f62e9
RD
5169 arg8 = wxString_in_helper(obj7);
5170 if (arg8 == NULL) SWIG_fail;
5171 temp8 = true;
d55e5bfc 5172 }
554f62e9
RD
5173 }
5174 {
5175 if (!wxPyCheckForApp()) SWIG_fail;
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5182 {
5183 if (temp5) delete arg5;
5184 }
5185 {
5186 if (temp8)
5187 delete arg8;
5188 }
5189 return resultobj;
5190fail:
5191 {
5192 if (temp5) delete arg5;
5193 }
5194 {
5195 if (temp8)
5196 delete arg8;
5197 }
5198 return NULL;
d55e5bfc
RD
5199}
5200
5201
554f62e9
RD
5202SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5203 PyObject *resultobj = 0;
5204 wxChoice *result = 0 ;
5205
5206 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5207 {
5208 if (!wxPyCheckForApp()) SWIG_fail;
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = (wxChoice *)new wxChoice();
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5215 return resultobj;
5216fail:
5217 return NULL;
5218}
5219
5220
5221SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj = 0;
5223 wxChoice *arg1 = (wxChoice *) 0 ;
5224 wxWindow *arg2 = (wxWindow *) 0 ;
5225 int arg3 = (int) -1 ;
5226 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5227 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5228 wxSize const &arg5_defvalue = wxDefaultSize ;
5229 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5230 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5231 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5232 long arg7 = (long) 0 ;
5233 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5234 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5235 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5236 wxString *arg9 = (wxString *) &arg9_defvalue ;
5237 bool result;
5238 void *argp1 = 0 ;
5239 int res1 = 0 ;
5240 void *argp2 = 0 ;
5241 int res2 = 0 ;
5242 int val3 ;
5243 int ecode3 = 0 ;
5244 wxPoint temp4 ;
5245 wxSize temp5 ;
5246 bool temp6 = false ;
5247 long val7 ;
5248 int ecode7 = 0 ;
5249 void *argp8 = 0 ;
5250 int res8 = 0 ;
5251 bool temp9 = false ;
5252 PyObject * obj0 = 0 ;
5253 PyObject * obj1 = 0 ;
5254 PyObject * obj2 = 0 ;
5255 PyObject * obj3 = 0 ;
5256 PyObject * obj4 = 0 ;
5257 PyObject * obj5 = 0 ;
5258 PyObject * obj6 = 0 ;
5259 PyObject * obj7 = 0 ;
5260 PyObject * obj8 = 0 ;
5261 char * kwnames[] = {
5262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5263 };
5264
5265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5267 if (!SWIG_IsOK(res1)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5269 }
5270 arg1 = reinterpret_cast< wxChoice * >(argp1);
5271 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5272 if (!SWIG_IsOK(res2)) {
5273 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5274 }
5275 arg2 = reinterpret_cast< wxWindow * >(argp2);
5276 if (obj2) {
5277 ecode3 = SWIG_AsVal_int(obj2, &val3);
5278 if (!SWIG_IsOK(ecode3)) {
5279 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5280 }
5281 arg3 = static_cast< int >(val3);
5282 }
5283 if (obj3) {
d55e5bfc 5284 {
554f62e9
RD
5285 arg4 = &temp4;
5286 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5287 }
554f62e9
RD
5288 }
5289 if (obj4) {
d55e5bfc 5290 {
554f62e9
RD
5291 arg5 = &temp5;
5292 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5293 }
554f62e9
RD
5294 }
5295 if (obj5) {
d55e5bfc 5296 {
554f62e9
RD
5297 if (! PySequence_Check(obj5)) {
5298 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5299 SWIG_fail;
5300 }
5301 arg6 = new wxArrayString;
5302 temp6 = true;
5303 int i, len=PySequence_Length(obj5);
5304 for (i=0; i<len; i++) {
5305 PyObject* item = PySequence_GetItem(obj5, i);
5306 wxString* s = wxString_in_helper(item);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 arg6->Add(*s);
5309 delete s;
5310 Py_DECREF(item);
5311 }
5312 }
5313 }
5314 if (obj6) {
5315 ecode7 = SWIG_AsVal_long(obj6, &val7);
5316 if (!SWIG_IsOK(ecode7)) {
5317 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5318 }
5319 arg7 = static_cast< long >(val7);
5320 }
5321 if (obj7) {
5322 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5323 if (!SWIG_IsOK(res8)) {
5324 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5325 }
554f62e9
RD
5326 if (!argp8) {
5327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5328 }
5329 arg8 = reinterpret_cast< wxValidator * >(argp8);
5330 }
5331 if (obj8) {
d55e5bfc 5332 {
554f62e9
RD
5333 arg9 = wxString_in_helper(obj8);
5334 if (arg9 == NULL) SWIG_fail;
5335 temp9 = true;
d55e5bfc 5336 }
554f62e9
RD
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 {
5345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5346 }
5347 {
5348 if (temp6) delete arg6;
5349 }
5350 {
5351 if (temp9)
5352 delete arg9;
5353 }
5354 return resultobj;
5355fail:
5356 {
5357 if (temp6) delete arg6;
5358 }
5359 {
5360 if (temp9)
5361 delete arg9;
5362 }
5363 return NULL;
d55e5bfc
RD
5364}
5365
5366
554f62e9
RD
5367SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5368 PyObject *resultobj = 0;
5369 wxChoice *arg1 = (wxChoice *) 0 ;
5370 int result;
5371 void *argp1 = 0 ;
5372 int res1 = 0 ;
5373 PyObject *swig_obj[1] ;
5374
5375 if (!args) SWIG_fail;
5376 swig_obj[0] = args;
5377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5378 if (!SWIG_IsOK(res1)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5380 }
5381 arg1 = reinterpret_cast< wxChoice * >(argp1);
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_From_int(static_cast< int >(result));
5389 return resultobj;
5390fail:
5391 return NULL;
5392}
5393
5394
5395SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj = 0;
5397 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5398 SwigValueWrapper<wxVisualAttributes > result;
5399 int val1 ;
5400 int ecode1 = 0 ;
5401 PyObject * obj0 = 0 ;
5402 char * kwnames[] = {
5403 (char *) "variant", NULL
5404 };
5405
5406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5407 if (obj0) {
5408 ecode1 = SWIG_AsVal_int(obj0, &val1);
5409 if (!SWIG_IsOK(ecode1)) {
5410 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5411 }
5412 arg1 = static_cast< wxWindowVariant >(val1);
5413 }
5414 {
5415 if (!wxPyCheckForApp()) SWIG_fail;
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = wxChoice::GetClassDefaultAttributes(arg1);
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5422 return resultobj;
5423fail:
5424 return NULL;
f20a2e1f
RD
5425}
5426
5427
554f62e9
RD
5428SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5429 PyObject *obj;
5430 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5431 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5432 return SWIG_Py_Void();
d55e5bfc 5433}
554f62e9
RD
5434
5435SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5436 return SWIG_Python_InitShadowInstance(args);
5437}
5438
5439SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5440 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5441 return 1;
d55e5bfc
RD
5442}
5443
5444
554f62e9
RD
5445SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5446 PyObject *pyobj = 0;
5447
5448 {
d55e5bfc 5449#if wxUSE_UNICODE
554f62e9 5450 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5451#else
554f62e9 5452 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5453#endif
554f62e9
RD
5454 }
5455 return pyobj;
5456}
5457
5458
5459SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj = 0;
5461 wxWindow *arg1 = (wxWindow *) 0 ;
5462 int arg2 = (int) -1 ;
5463 wxString const &arg3_defvalue = wxPyEmptyString ;
5464 wxString *arg3 = (wxString *) &arg3_defvalue ;
5465 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5466 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5467 wxSize const &arg5_defvalue = wxDefaultSize ;
5468 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5469 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5470 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5471 long arg7 = (long) 0 ;
5472 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5473 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5474 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5475 wxString *arg9 = (wxString *) &arg9_defvalue ;
5476 wxComboBox *result = 0 ;
5477 void *argp1 = 0 ;
5478 int res1 = 0 ;
5479 int val2 ;
5480 int ecode2 = 0 ;
5481 bool temp3 = false ;
5482 wxPoint temp4 ;
5483 wxSize temp5 ;
5484 bool temp6 = false ;
5485 long val7 ;
5486 int ecode7 = 0 ;
5487 void *argp8 = 0 ;
5488 int res8 = 0 ;
5489 bool temp9 = false ;
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 PyObject * obj2 = 0 ;
5493 PyObject * obj3 = 0 ;
5494 PyObject * obj4 = 0 ;
5495 PyObject * obj5 = 0 ;
5496 PyObject * obj6 = 0 ;
5497 PyObject * obj7 = 0 ;
5498 PyObject * obj8 = 0 ;
5499 char * kwnames[] = {
5500 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5501 };
5502
5503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5505 if (!SWIG_IsOK(res1)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5507 }
5508 arg1 = reinterpret_cast< wxWindow * >(argp1);
5509 if (obj1) {
5510 ecode2 = SWIG_AsVal_int(obj1, &val2);
5511 if (!SWIG_IsOK(ecode2)) {
5512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5513 }
5514 arg2 = static_cast< int >(val2);
5515 }
5516 if (obj2) {
d55e5bfc 5517 {
554f62e9
RD
5518 arg3 = wxString_in_helper(obj2);
5519 if (arg3 == NULL) SWIG_fail;
5520 temp3 = true;
d55e5bfc 5521 }
554f62e9
RD
5522 }
5523 if (obj3) {
d55e5bfc 5524 {
554f62e9
RD
5525 arg4 = &temp4;
5526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5527 }
554f62e9
RD
5528 }
5529 if (obj4) {
d55e5bfc 5530 {
554f62e9
RD
5531 arg5 = &temp5;
5532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5533 }
554f62e9
RD
5534 }
5535 if (obj5) {
d55e5bfc 5536 {
554f62e9
RD
5537 if (! PySequence_Check(obj5)) {
5538 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5539 SWIG_fail;
5540 }
5541 arg6 = new wxArrayString;
5542 temp6 = true;
5543 int i, len=PySequence_Length(obj5);
5544 for (i=0; i<len; i++) {
5545 PyObject* item = PySequence_GetItem(obj5, i);
5546 wxString* s = wxString_in_helper(item);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 arg6->Add(*s);
5549 delete s;
5550 Py_DECREF(item);
5551 }
d55e5bfc 5552 }
554f62e9
RD
5553 }
5554 if (obj6) {
5555 ecode7 = SWIG_AsVal_long(obj6, &val7);
5556 if (!SWIG_IsOK(ecode7)) {
5557 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5558 }
5559 arg7 = static_cast< long >(val7);
5560 }
5561 if (obj7) {
5562 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5563 if (!SWIG_IsOK(res8)) {
5564 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5565 }
5566 if (!argp8) {
5567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5568 }
5569 arg8 = reinterpret_cast< wxValidator * >(argp8);
5570 }
5571 if (obj8) {
d55e5bfc 5572 {
554f62e9
RD
5573 arg9 = wxString_in_helper(obj8);
5574 if (arg9 == NULL) SWIG_fail;
5575 temp9 = true;
d55e5bfc 5576 }
554f62e9
RD
5577 }
5578 {
5579 if (!wxPyCheckForApp()) SWIG_fail;
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 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);
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5586 {
5587 if (temp3)
5588 delete arg3;
5589 }
5590 {
5591 if (temp6) delete arg6;
5592 }
5593 {
5594 if (temp9)
5595 delete arg9;
5596 }
5597 return resultobj;
5598fail:
5599 {
5600 if (temp3)
5601 delete arg3;
5602 }
5603 {
5604 if (temp6) delete arg6;
5605 }
5606 {
5607 if (temp9)
5608 delete arg9;
5609 }
5610 return NULL;
d55e5bfc
RD
5611}
5612
5613
554f62e9
RD
5614SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5615 PyObject *resultobj = 0;
5616 wxComboBox *result = 0 ;
5617
5618 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5619 {
5620 if (!wxPyCheckForApp()) SWIG_fail;
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (wxComboBox *)new wxComboBox();
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5627 return resultobj;
5628fail:
5629 return NULL;
5630}
5631
5632
5633SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj = 0;
5635 wxComboBox *arg1 = (wxComboBox *) 0 ;
5636 wxWindow *arg2 = (wxWindow *) 0 ;
5637 int arg3 = (int) -1 ;
5638 wxString const &arg4_defvalue = wxPyEmptyString ;
5639 wxString *arg4 = (wxString *) &arg4_defvalue ;
5640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5642 wxSize const &arg6_defvalue = wxDefaultSize ;
5643 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5644 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5645 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5646 long arg8 = (long) 0 ;
5647 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5648 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5649 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5650 wxString *arg10 = (wxString *) &arg10_defvalue ;
5651 bool result;
5652 void *argp1 = 0 ;
5653 int res1 = 0 ;
5654 void *argp2 = 0 ;
5655 int res2 = 0 ;
5656 int val3 ;
5657 int ecode3 = 0 ;
5658 bool temp4 = false ;
5659 wxPoint temp5 ;
5660 wxSize temp6 ;
5661 bool temp7 = false ;
5662 long val8 ;
5663 int ecode8 = 0 ;
5664 void *argp9 = 0 ;
5665 int res9 = 0 ;
5666 bool temp10 = false ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 PyObject * obj2 = 0 ;
5670 PyObject * obj3 = 0 ;
5671 PyObject * obj4 = 0 ;
5672 PyObject * obj5 = 0 ;
5673 PyObject * obj6 = 0 ;
5674 PyObject * obj7 = 0 ;
5675 PyObject * obj8 = 0 ;
5676 PyObject * obj9 = 0 ;
5677 char * kwnames[] = {
5678 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5679 };
5680
5681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5683 if (!SWIG_IsOK(res1)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5685 }
5686 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5688 if (!SWIG_IsOK(res2)) {
5689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5690 }
5691 arg2 = reinterpret_cast< wxWindow * >(argp2);
5692 if (obj2) {
5693 ecode3 = SWIG_AsVal_int(obj2, &val3);
5694 if (!SWIG_IsOK(ecode3)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5696 }
5697 arg3 = static_cast< int >(val3);
5698 }
5699 if (obj3) {
d55e5bfc 5700 {
554f62e9
RD
5701 arg4 = wxString_in_helper(obj3);
5702 if (arg4 == NULL) SWIG_fail;
5703 temp4 = true;
d55e5bfc 5704 }
554f62e9
RD
5705 }
5706 if (obj4) {
d55e5bfc 5707 {
554f62e9
RD
5708 arg5 = &temp5;
5709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5710 }
554f62e9
RD
5711 }
5712 if (obj5) {
d55e5bfc 5713 {
554f62e9
RD
5714 arg6 = &temp6;
5715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5716 }
554f62e9
RD
5717 }
5718 if (obj6) {
d55e5bfc 5719 {
554f62e9
RD
5720 if (! PySequence_Check(obj6)) {
5721 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5722 SWIG_fail;
5723 }
5724 arg7 = new wxArrayString;
5725 temp7 = true;
5726 int i, len=PySequence_Length(obj6);
5727 for (i=0; i<len; i++) {
5728 PyObject* item = PySequence_GetItem(obj6, i);
5729 wxString* s = wxString_in_helper(item);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 arg7->Add(*s);
5732 delete s;
5733 Py_DECREF(item);
5734 }
d55e5bfc 5735 }
554f62e9
RD
5736 }
5737 if (obj7) {
5738 ecode8 = SWIG_AsVal_long(obj7, &val8);
5739 if (!SWIG_IsOK(ecode8)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5741 }
5742 arg8 = static_cast< long >(val8);
5743 }
5744 if (obj8) {
5745 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5746 if (!SWIG_IsOK(res9)) {
5747 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5748 }
554f62e9
RD
5749 if (!argp9) {
5750 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5751 }
554f62e9
RD
5752 arg9 = reinterpret_cast< wxValidator * >(argp9);
5753 }
5754 if (obj9) {
d55e5bfc 5755 {
554f62e9
RD
5756 arg10 = wxString_in_helper(obj9);
5757 if (arg10 == NULL) SWIG_fail;
5758 temp10 = true;
d55e5bfc 5759 }
554f62e9
RD
5760 }
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 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);
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 {
5768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5769 }
5770 {
5771 if (temp4)
5772 delete arg4;
5773 }
5774 {
5775 if (temp7) delete arg7;
5776 }
5777 {
5778 if (temp10)
5779 delete arg10;
5780 }
5781 return resultobj;
5782fail:
5783 {
5784 if (temp4)
5785 delete arg4;
5786 }
5787 {
5788 if (temp7) delete arg7;
5789 }
5790 {
5791 if (temp10)
5792 delete arg10;
5793 }
5794 return NULL;
d55e5bfc
RD
5795}
5796
5797
554f62e9
RD
5798SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5799 PyObject *resultobj = 0;
5800 wxComboBox *arg1 = (wxComboBox *) 0 ;
5801 wxString result;
5802 void *argp1 = 0 ;
5803 int res1 = 0 ;
5804 PyObject *swig_obj[1] ;
5805
5806 if (!args) SWIG_fail;
5807 swig_obj[0] = args;
5808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5809 if (!SWIG_IsOK(res1)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5811 }
5812 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = ((wxComboBox const *)arg1)->GetValue();
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
d55e5bfc 5820#if wxUSE_UNICODE
554f62e9 5821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5822#else
554f62e9 5823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5824#endif
554f62e9
RD
5825 }
5826 return resultobj;
5827fail:
5828 return NULL;
5829}
5830
5831
5832SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj = 0;
5834 wxComboBox *arg1 = (wxComboBox *) 0 ;
5835 wxString *arg2 = 0 ;
5836 void *argp1 = 0 ;
5837 int res1 = 0 ;
5838 bool temp2 = false ;
5839 PyObject * obj0 = 0 ;
5840 PyObject * obj1 = 0 ;
5841 char * kwnames[] = {
5842 (char *) "self",(char *) "value", NULL
5843 };
5844
5845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5847 if (!SWIG_IsOK(res1)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5849 }
5850 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5851 {
5852 arg2 = wxString_in_helper(obj1);
5853 if (arg2 == NULL) SWIG_fail;
5854 temp2 = true;
5855 }
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 (arg1)->SetValue((wxString const &)*arg2);
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 resultobj = SWIG_Py_Void();
5863 {
5864 if (temp2)
5865 delete arg2;
5866 }
5867 return resultobj;
5868fail:
5869 {
5870 if (temp2)
5871 delete arg2;
5872 }
5873 return NULL;
d55e5bfc
RD
5874}
5875
5876
554f62e9
RD
5877SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5878 PyObject *resultobj = 0;
5879 wxComboBox *arg1 = (wxComboBox *) 0 ;
5880 void *argp1 = 0 ;
5881 int res1 = 0 ;
5882 PyObject *swig_obj[1] ;
5883
5884 if (!args) SWIG_fail;
5885 swig_obj[0] = args;
5886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5889 }
5890 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 (arg1)->Copy();
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = SWIG_Py_Void();
5898 return resultobj;
5899fail:
5900 return NULL;
d55e5bfc
RD
5901}
5902
5903
554f62e9
RD
5904SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5905 PyObject *resultobj = 0;
5906 wxComboBox *arg1 = (wxComboBox *) 0 ;
5907 void *argp1 = 0 ;
5908 int res1 = 0 ;
5909 PyObject *swig_obj[1] ;
5910
5911 if (!args) SWIG_fail;
5912 swig_obj[0] = args;
5913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5914 if (!SWIG_IsOK(res1)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 }
5917 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 (arg1)->Cut();
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_Py_Void();
5925 return resultobj;
5926fail:
5927 return NULL;
d55e5bfc
RD
5928}
5929
5930
554f62e9
RD
5931SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5932 PyObject *resultobj = 0;
5933 wxComboBox *arg1 = (wxComboBox *) 0 ;
5934 void *argp1 = 0 ;
5935 int res1 = 0 ;
5936 PyObject *swig_obj[1] ;
5937
5938 if (!args) SWIG_fail;
5939 swig_obj[0] = args;
5940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5941 if (!SWIG_IsOK(res1)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 }
5944 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 (arg1)->Paste();
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_Py_Void();
5952 return resultobj;
5953fail:
5954 return NULL;
5955}
5956
5957
5958SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj = 0;
5960 wxComboBox *arg1 = (wxComboBox *) 0 ;
5961 long arg2 ;
5962 void *argp1 = 0 ;
5963 int res1 = 0 ;
5964 long val2 ;
5965 int ecode2 = 0 ;
5966 PyObject * obj0 = 0 ;
5967 PyObject * obj1 = 0 ;
5968 char * kwnames[] = {
5969 (char *) "self",(char *) "pos", NULL
5970 };
5971
5972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5976 }
5977 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5978 ecode2 = SWIG_AsVal_long(obj1, &val2);
5979 if (!SWIG_IsOK(ecode2)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5981 }
5982 arg2 = static_cast< long >(val2);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 (arg1)->SetInsertionPoint(arg2);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_Py_Void();
5990 return resultobj;
5991fail:
5992 return NULL;
d55e5bfc
RD
5993}
5994
5995
554f62e9
RD
5996SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5997 PyObject *resultobj = 0;
5998 wxComboBox *arg1 = (wxComboBox *) 0 ;
5999 long result;
6000 void *argp1 = 0 ;
6001 int res1 = 0 ;
6002 PyObject *swig_obj[1] ;
6003
6004 if (!args) SWIG_fail;
6005 swig_obj[0] = args;
6006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6009 }
6010 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 resultobj = SWIG_From_long(static_cast< long >(result));
6018 return resultobj;
6019fail:
6020 return NULL;
d55e5bfc
RD
6021}
6022
6023
554f62e9
RD
6024SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6025 PyObject *resultobj = 0;
6026 wxComboBox *arg1 = (wxComboBox *) 0 ;
6027 long result;
6028 void *argp1 = 0 ;
6029 int res1 = 0 ;
6030 PyObject *swig_obj[1] ;
6031
6032 if (!args) SWIG_fail;
6033 swig_obj[0] = args;
6034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6035 if (!SWIG_IsOK(res1)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6037 }
6038 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 resultobj = SWIG_From_long(static_cast< long >(result));
6046 return resultobj;
6047fail:
6048 return NULL;
6049}
6050
6051
6052SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj = 0;
6054 wxComboBox *arg1 = (wxComboBox *) 0 ;
6055 long arg2 ;
6056 long arg3 ;
6057 wxString *arg4 = 0 ;
6058 void *argp1 = 0 ;
6059 int res1 = 0 ;
6060 long val2 ;
6061 int ecode2 = 0 ;
6062 long val3 ;
6063 int ecode3 = 0 ;
6064 bool temp4 = false ;
6065 PyObject * obj0 = 0 ;
6066 PyObject * obj1 = 0 ;
6067 PyObject * obj2 = 0 ;
6068 PyObject * obj3 = 0 ;
6069 char * kwnames[] = {
f460c29d 6070 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
6071 };
6072
6073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6075 if (!SWIG_IsOK(res1)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6077 }
6078 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6079 ecode2 = SWIG_AsVal_long(obj1, &val2);
6080 if (!SWIG_IsOK(ecode2)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6082 }
6083 arg2 = static_cast< long >(val2);
6084 ecode3 = SWIG_AsVal_long(obj2, &val3);
6085 if (!SWIG_IsOK(ecode3)) {
6086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6087 }
6088 arg3 = static_cast< long >(val3);
6089 {
6090 arg4 = wxString_in_helper(obj3);
6091 if (arg4 == NULL) SWIG_fail;
6092 temp4 = true;
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_Py_Void();
6101 {
6102 if (temp4)
6103 delete arg4;
6104 }
6105 return resultobj;
6106fail:
6107 {
6108 if (temp4)
6109 delete arg4;
6110 }
6111 return NULL;
6112}
6113
6114
6115SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj = 0;
6117 wxComboBox *arg1 = (wxComboBox *) 0 ;
6118 long arg2 ;
6119 long arg3 ;
6120 void *argp1 = 0 ;
6121 int res1 = 0 ;
6122 long val2 ;
6123 int ecode2 = 0 ;
6124 long val3 ;
6125 int ecode3 = 0 ;
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj1 = 0 ;
6128 PyObject * obj2 = 0 ;
6129 char * kwnames[] = {
f460c29d 6130 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6131 };
6132
6133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6135 if (!SWIG_IsOK(res1)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6137 }
6138 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6139 ecode2 = SWIG_AsVal_long(obj1, &val2);
6140 if (!SWIG_IsOK(ecode2)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6142 }
6143 arg2 = static_cast< long >(val2);
6144 ecode3 = SWIG_AsVal_long(obj2, &val3);
6145 if (!SWIG_IsOK(ecode3)) {
6146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6147 }
6148 arg3 = static_cast< long >(val3);
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 (arg1)->SetSelection(arg2,arg3);
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 resultobj = SWIG_Py_Void();
6156 return resultobj;
6157fail:
6158 return NULL;
6159}
6160
6161
6162SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6163 PyObject *resultobj = 0;
6164 wxComboBox *arg1 = (wxComboBox *) 0 ;
6165 long *arg2 = (long *) 0 ;
6166 long *arg3 = (long *) 0 ;
6167 void *argp1 = 0 ;
6168 int res1 = 0 ;
6169 long temp2 ;
6170 int res2 = SWIG_TMPOBJ ;
6171 long temp3 ;
6172 int res3 = SWIG_TMPOBJ ;
6173 PyObject *swig_obj[1] ;
6174
6175 arg2 = &temp2;
6176 arg3 = &temp3;
6177 if (!args) SWIG_fail;
6178 swig_obj[0] = args;
6179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6180 if (!SWIG_IsOK(res1)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6182 }
6183 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->GetSelection(arg2,arg3);
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_Py_Void();
6191 if (SWIG_IsTmpObj(res2)) {
6192 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6193 } else {
6194 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6196 }
6197 if (SWIG_IsTmpObj(res3)) {
6198 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6199 } else {
6200 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6201 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6202 }
6203 return resultobj;
6204fail:
6205 return NULL;
d55e5bfc
RD
6206}
6207
6208
554f62e9
RD
6209SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6210 PyObject *resultobj = 0;
6211 wxComboBox *arg1 = (wxComboBox *) 0 ;
6212 int result;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 PyObject *swig_obj[1] ;
6216
6217 if (!args) SWIG_fail;
6218 swig_obj[0] = args;
6219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6220 if (!SWIG_IsOK(res1)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6222 }
6223 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 resultobj = SWIG_From_int(static_cast< int >(result));
6231 return resultobj;
6232fail:
6233 return NULL;
6234}
6235
6236
6237SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj = 0;
6239 wxComboBox *arg1 = (wxComboBox *) 0 ;
6240 wxString *arg2 = 0 ;
6241 bool result;
6242 void *argp1 = 0 ;
6243 int res1 = 0 ;
6244 bool temp2 = false ;
6245 PyObject * obj0 = 0 ;
6246 PyObject * obj1 = 0 ;
6247 char * kwnames[] = {
6248 (char *) "self",(char *) "string", NULL
6249 };
6250
6251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6253 if (!SWIG_IsOK(res1)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6255 }
6256 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6257 {
6258 arg2 = wxString_in_helper(obj1);
6259 if (arg2 == NULL) SWIG_fail;
6260 temp2 = true;
6261 }
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 {
6269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6270 }
6271 {
6272 if (temp2)
6273 delete arg2;
6274 }
6275 return resultobj;
6276fail:
6277 {
6278 if (temp2)
6279 delete arg2;
6280 }
6281 return NULL;
6282}
6283
6284
50f151d7
RD
6285SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6286 PyObject *resultobj = 0;
6287 wxComboBox *arg1 = (wxComboBox *) 0 ;
6288 int arg2 ;
6289 wxString *arg3 = 0 ;
6290 void *argp1 = 0 ;
6291 int res1 = 0 ;
6292 int val2 ;
6293 int ecode2 = 0 ;
6294 bool temp3 = false ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
6297 PyObject * obj2 = 0 ;
6298 char * kwnames[] = {
6299 (char *) "self",(char *) "n",(char *) "string", NULL
6300 };
6301
6302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6304 if (!SWIG_IsOK(res1)) {
6305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6306 }
6307 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6308 ecode2 = SWIG_AsVal_int(obj1, &val2);
6309 if (!SWIG_IsOK(ecode2)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6311 }
6312 arg2 = static_cast< int >(val2);
6313 {
6314 arg3 = wxString_in_helper(obj2);
6315 if (arg3 == NULL) SWIG_fail;
6316 temp3 = true;
6317 }
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->SetString(arg2,(wxString const &)*arg3);
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 resultobj = SWIG_Py_Void();
6325 {
6326 if (temp3)
6327 delete arg3;
6328 }
6329 return resultobj;
6330fail:
6331 {
6332 if (temp3)
6333 delete arg3;
6334 }
6335 return NULL;
6336}
6337
6338
554f62e9
RD
6339SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj = 0;
6341 wxComboBox *arg1 = (wxComboBox *) 0 ;
6342 bool arg2 ;
6343 void *argp1 = 0 ;
6344 int res1 = 0 ;
6345 bool val2 ;
6346 int ecode2 = 0 ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char * kwnames[] = {
6350 (char *) "self",(char *) "editable", NULL
6351 };
6352
6353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6355 if (!SWIG_IsOK(res1)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6357 }
6358 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6359 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6360 if (!SWIG_IsOK(ecode2)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6362 }
6363 arg2 = static_cast< bool >(val2);
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetEditable(arg2);
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_Py_Void();
6371 return resultobj;
6372fail:
6373 return NULL;
d55e5bfc
RD
6374}
6375
6376
554f62e9
RD
6377SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6378 PyObject *resultobj = 0;
6379 wxComboBox *arg1 = (wxComboBox *) 0 ;
6380 void *argp1 = 0 ;
6381 int res1 = 0 ;
6382 PyObject *swig_obj[1] ;
6383
6384 if (!args) SWIG_fail;
6385 swig_obj[0] = args;
6386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6387 if (!SWIG_IsOK(res1)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6389 }
6390 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 (arg1)->SetInsertionPointEnd();
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = SWIG_Py_Void();
6398 return resultobj;
6399fail:
6400 return NULL;
6401}
6402
6403
6404SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj = 0;
6406 wxComboBox *arg1 = (wxComboBox *) 0 ;
6407 long arg2 ;
6408 long arg3 ;
6409 void *argp1 = 0 ;
6410 int res1 = 0 ;
6411 long val2 ;
6412 int ecode2 = 0 ;
6413 long val3 ;
6414 int ecode3 = 0 ;
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 PyObject * obj2 = 0 ;
6418 char * kwnames[] = {
f460c29d 6419 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6420 };
6421
6422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6424 if (!SWIG_IsOK(res1)) {
6425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6426 }
6427 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6428 ecode2 = SWIG_AsVal_long(obj1, &val2);
6429 if (!SWIG_IsOK(ecode2)) {
6430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6431 }
6432 arg2 = static_cast< long >(val2);
6433 ecode3 = SWIG_AsVal_long(obj2, &val3);
6434 if (!SWIG_IsOK(ecode3)) {
6435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6436 }
6437 arg3 = static_cast< long >(val3);
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->Remove(arg2,arg3);
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_Py_Void();
6445 return resultobj;
6446fail:
6447 return NULL;
d55e5bfc
RD
6448}
6449
6450
554f62e9
RD
6451SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6452 PyObject *resultobj = 0;
6453 wxComboBox *arg1 = (wxComboBox *) 0 ;
6454 bool result;
6455 void *argp1 = 0 ;
6456 int res1 = 0 ;
6457 PyObject *swig_obj[1] ;
6458
6459 if (!args) SWIG_fail;
6460 swig_obj[0] = args;
6461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6462 if (!SWIG_IsOK(res1)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6464 }
6465 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 {
6473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6474 }
6475 return resultobj;
6476fail:
6477 return NULL;
d55e5bfc
RD
6478}
6479
6480
554f62e9
RD
6481SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6482 PyObject *resultobj = 0;
6483 wxComboBox *arg1 = (wxComboBox *) 0 ;
6484 void *argp1 = 0 ;
6485 int res1 = 0 ;
6486 PyObject *swig_obj[1] ;
6487
6488 if (!args) SWIG_fail;
6489 swig_obj[0] = args;
6490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6491 if (!SWIG_IsOK(res1)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6493 }
6494 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 (arg1)->Undo();
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 resultobj = SWIG_Py_Void();
6502 return resultobj;
6503fail:
6504 return NULL;
d55e5bfc
RD
6505}
6506
6507
554f62e9
RD
6508SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6509 PyObject *resultobj = 0;
6510 wxComboBox *arg1 = (wxComboBox *) 0 ;
6511 void *argp1 = 0 ;
6512 int res1 = 0 ;
6513 PyObject *swig_obj[1] ;
6514
6515 if (!args) SWIG_fail;
6516 swig_obj[0] = args;
6517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6518 if (!SWIG_IsOK(res1)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 }
6521 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 (arg1)->Redo();
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 resultobj = SWIG_Py_Void();
6529 return resultobj;
6530fail:
6531 return NULL;
d55e5bfc
RD
6532}
6533
6534
554f62e9
RD
6535SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6536 PyObject *resultobj = 0;
6537 wxComboBox *arg1 = (wxComboBox *) 0 ;
6538 void *argp1 = 0 ;
6539 int res1 = 0 ;
6540 PyObject *swig_obj[1] ;
6541
6542 if (!args) SWIG_fail;
6543 swig_obj[0] = args;
6544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6545 if (!SWIG_IsOK(res1)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6547 }
6548 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SelectAll();
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = SWIG_Py_Void();
6556 return resultobj;
6557fail:
6558 return NULL;
f78cc896
RD
6559}
6560
6561
554f62e9
RD
6562SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6563 PyObject *resultobj = 0;
6564 wxComboBox *arg1 = (wxComboBox *) 0 ;
6565 bool result;
6566 void *argp1 = 0 ;
6567 int res1 = 0 ;
6568 PyObject *swig_obj[1] ;
6569
6570 if (!args) SWIG_fail;
6571 swig_obj[0] = args;
6572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6573 if (!SWIG_IsOK(res1)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6575 }
6576 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6585 }
6586 return resultobj;
6587fail:
6588 return NULL;
9d7dfdff
RD
6589}
6590
6591
554f62e9
RD
6592SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6593 PyObject *resultobj = 0;
6594 wxComboBox *arg1 = (wxComboBox *) 0 ;
6595 bool result;
6596 void *argp1 = 0 ;
6597 int res1 = 0 ;
6598 PyObject *swig_obj[1] ;
6599
6600 if (!args) SWIG_fail;
6601 swig_obj[0] = args;
6602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6605 }
6606 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = (bool)((wxComboBox const *)arg1)->CanCut();
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6615 }
6616 return resultobj;
6617fail:
6618 return NULL;
121b9a67
RD
6619}
6620
6621
554f62e9
RD
6622SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6623 PyObject *resultobj = 0;
6624 wxComboBox *arg1 = (wxComboBox *) 0 ;
6625 bool result;
6626 void *argp1 = 0 ;
6627 int res1 = 0 ;
6628 PyObject *swig_obj[1] ;
6629
6630 if (!args) SWIG_fail;
6631 swig_obj[0] = args;
6632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6633 if (!SWIG_IsOK(res1)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6635 }
6636 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 {
6644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6645 }
6646 return resultobj;
6647fail:
6648 return NULL;
121b9a67
RD
6649}
6650
6651
554f62e9
RD
6652SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6653 PyObject *resultobj = 0;
6654 wxComboBox *arg1 = (wxComboBox *) 0 ;
6655 bool result;
6656 void *argp1 = 0 ;
6657 int res1 = 0 ;
6658 PyObject *swig_obj[1] ;
6659
6660 if (!args) SWIG_fail;
6661 swig_obj[0] = args;
6662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6663 if (!SWIG_IsOK(res1)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6665 }
6666 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6675 }
6676 return resultobj;
6677fail:
6678 return NULL;
d55e5bfc
RD
6679}
6680
6681
554f62e9
RD
6682SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6683 PyObject *resultobj = 0;
6684 wxComboBox *arg1 = (wxComboBox *) 0 ;
6685 bool result;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 PyObject *swig_obj[1] ;
6689
6690 if (!args) SWIG_fail;
6691 swig_obj[0] = args;
6692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6693 if (!SWIG_IsOK(res1)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6695 }
6696 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6705 }
6706 return resultobj;
6707fail:
6708 return NULL;
d55e5bfc
RD
6709}
6710
6711
554f62e9
RD
6712SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj = 0;
6714 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6715 SwigValueWrapper<wxVisualAttributes > result;
6716 int val1 ;
6717 int ecode1 = 0 ;
6718 PyObject * obj0 = 0 ;
6719 char * kwnames[] = {
6720 (char *) "variant", NULL
6721 };
6722
6723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6724 if (obj0) {
6725 ecode1 = SWIG_AsVal_int(obj0, &val1);
6726 if (!SWIG_IsOK(ecode1)) {
6727 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6728 }
6729 arg1 = static_cast< wxWindowVariant >(val1);
6730 }
6731 {
6732 if (!wxPyCheckForApp()) SWIG_fail;
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = wxComboBox::GetClassDefaultAttributes(arg1);
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6739 return resultobj;
6740fail:
6741 return NULL;
d55e5bfc
RD
6742}
6743
6744
554f62e9
RD
6745SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6746 PyObject *obj;
6747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6748 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6749 return SWIG_Py_Void();
b519803b
RD
6750}
6751
554f62e9
RD
6752SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6753 return SWIG_Python_InitShadowInstance(args);
6754}
b519803b 6755
554f62e9
RD
6756SWIGINTERN int GaugeNameStr_set(PyObject *) {
6757 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6758 return 1;
b519803b
RD
6759}
6760
6761
554f62e9
RD
6762SWIGINTERN PyObject *GaugeNameStr_get(void) {
6763 PyObject *pyobj = 0;
6764
6765 {
6766#if wxUSE_UNICODE
6767 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6768#else
6769 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6770#endif
6771 }
6772 return pyobj;
6773}
6774
6775
6776SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxWindow *arg1 = (wxWindow *) 0 ;
6779 int arg2 = (int) -1 ;
6780 int arg3 = (int) 100 ;
6781 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6782 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6783 wxSize const &arg5_defvalue = wxDefaultSize ;
6784 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6785 long arg6 = (long) wxGA_HORIZONTAL ;
6786 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6787 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6788 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6789 wxString *arg8 = (wxString *) &arg8_defvalue ;
6790 wxGauge *result = 0 ;
6791 void *argp1 = 0 ;
6792 int res1 = 0 ;
6793 int val2 ;
6794 int ecode2 = 0 ;
6795 int val3 ;
6796 int ecode3 = 0 ;
6797 wxPoint temp4 ;
6798 wxSize temp5 ;
6799 long val6 ;
6800 int ecode6 = 0 ;
6801 void *argp7 = 0 ;
6802 int res7 = 0 ;
6803 bool temp8 = false ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 PyObject * obj2 = 0 ;
6807 PyObject * obj3 = 0 ;
6808 PyObject * obj4 = 0 ;
6809 PyObject * obj5 = 0 ;
6810 PyObject * obj6 = 0 ;
6811 PyObject * obj7 = 0 ;
6812 char * kwnames[] = {
6813 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6814 };
6815
6816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6818 if (!SWIG_IsOK(res1)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6820 }
6821 arg1 = reinterpret_cast< wxWindow * >(argp1);
6822 if (obj1) {
6823 ecode2 = SWIG_AsVal_int(obj1, &val2);
6824 if (!SWIG_IsOK(ecode2)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6826 }
6827 arg2 = static_cast< int >(val2);
6828 }
6829 if (obj2) {
6830 ecode3 = SWIG_AsVal_int(obj2, &val3);
6831 if (!SWIG_IsOK(ecode3)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6833 }
6834 arg3 = static_cast< int >(val3);
6835 }
6836 if (obj3) {
b519803b 6837 {
554f62e9
RD
6838 arg4 = &temp4;
6839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b519803b 6840 }
554f62e9
RD
6841 }
6842 if (obj4) {
b519803b 6843 {
554f62e9
RD
6844 arg5 = &temp5;
6845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b519803b 6846 }
554f62e9
RD
6847 }
6848 if (obj5) {
6849 ecode6 = SWIG_AsVal_long(obj5, &val6);
6850 if (!SWIG_IsOK(ecode6)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6852 }
6853 arg6 = static_cast< long >(val6);
6854 }
6855 if (obj6) {
6856 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6857 if (!SWIG_IsOK(res7)) {
6858 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6859 }
6860 if (!argp7) {
6861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
b519803b 6862 }
554f62e9
RD
6863 arg7 = reinterpret_cast< wxValidator * >(argp7);
6864 }
6865 if (obj7) {
b519803b 6866 {
554f62e9
RD
6867 arg8 = wxString_in_helper(obj7);
6868 if (arg8 == NULL) SWIG_fail;
6869 temp8 = true;
b519803b 6870 }
554f62e9
RD
6871 }
6872 {
6873 if (!wxPyCheckForApp()) SWIG_fail;
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6880 {
6881 if (temp8)
6882 delete arg8;
6883 }
6884 return resultobj;
6885fail:
6886 {
6887 if (temp8)
6888 delete arg8;
6889 }
6890 return NULL;
b519803b
RD
6891}
6892
6893
554f62e9
RD
6894SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6895 PyObject *resultobj = 0;
6896 wxGauge *result = 0 ;
6897
6898 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6899 {
6900 if (!wxPyCheckForApp()) SWIG_fail;
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (wxGauge *)new wxGauge();
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6907 return resultobj;
6908fail:
6909 return NULL;
6910}
6911
6912
6913SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj = 0;
6915 wxGauge *arg1 = (wxGauge *) 0 ;
6916 wxWindow *arg2 = (wxWindow *) 0 ;
6917 int arg3 = (int) -1 ;
6918 int arg4 = (int) 100 ;
6919 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6920 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6921 wxSize const &arg6_defvalue = wxDefaultSize ;
6922 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6923 long arg7 = (long) wxGA_HORIZONTAL ;
6924 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6925 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6926 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6927 wxString *arg9 = (wxString *) &arg9_defvalue ;
6928 bool result;
6929 void *argp1 = 0 ;
6930 int res1 = 0 ;
6931 void *argp2 = 0 ;
6932 int res2 = 0 ;
6933 int val3 ;
6934 int ecode3 = 0 ;
6935 int val4 ;
6936 int ecode4 = 0 ;
6937 wxPoint temp5 ;
6938 wxSize temp6 ;
6939 long val7 ;
6940 int ecode7 = 0 ;
6941 void *argp8 = 0 ;
6942 int res8 = 0 ;
6943 bool temp9 = false ;
6944 PyObject * obj0 = 0 ;
6945 PyObject * obj1 = 0 ;
6946 PyObject * obj2 = 0 ;
6947 PyObject * obj3 = 0 ;
6948 PyObject * obj4 = 0 ;
6949 PyObject * obj5 = 0 ;
6950 PyObject * obj6 = 0 ;
6951 PyObject * obj7 = 0 ;
6952 PyObject * obj8 = 0 ;
6953 char * kwnames[] = {
6954 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6955 };
6956
6957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6959 if (!SWIG_IsOK(res1)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6961 }
6962 arg1 = reinterpret_cast< wxGauge * >(argp1);
6963 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6964 if (!SWIG_IsOK(res2)) {
6965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6966 }
6967 arg2 = reinterpret_cast< wxWindow * >(argp2);
6968 if (obj2) {
6969 ecode3 = SWIG_AsVal_int(obj2, &val3);
6970 if (!SWIG_IsOK(ecode3)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6972 }
6973 arg3 = static_cast< int >(val3);
6974 }
6975 if (obj3) {
6976 ecode4 = SWIG_AsVal_int(obj3, &val4);
6977 if (!SWIG_IsOK(ecode4)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6979 }
6980 arg4 = static_cast< int >(val4);
6981 }
6982 if (obj4) {
b519803b 6983 {
554f62e9
RD
6984 arg5 = &temp5;
6985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b519803b 6986 }
554f62e9
RD
6987 }
6988 if (obj5) {
b519803b 6989 {
554f62e9
RD
6990 arg6 = &temp6;
6991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b519803b 6992 }
554f62e9
RD
6993 }
6994 if (obj6) {
6995 ecode7 = SWIG_AsVal_long(obj6, &val7);
6996 if (!SWIG_IsOK(ecode7)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6998 }
6999 arg7 = static_cast< long >(val7);
7000 }
7001 if (obj7) {
7002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7003 if (!SWIG_IsOK(res8)) {
7004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
b519803b 7005 }
554f62e9
RD
7006 if (!argp8) {
7007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7008 }
7009 arg8 = reinterpret_cast< wxValidator * >(argp8);
7010 }
7011 if (obj8) {
b519803b 7012 {
554f62e9
RD
7013 arg9 = wxString_in_helper(obj8);
7014 if (arg9 == NULL) SWIG_fail;
7015 temp9 = true;
b519803b 7016 }
554f62e9
RD
7017 }
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 {
7025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7026 }
7027 {
7028 if (temp9)
7029 delete arg9;
7030 }
7031 return resultobj;
7032fail:
7033 {
7034 if (temp9)
7035 delete arg9;
7036 }
7037 return NULL;
7038}
7039
7040
7041SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj = 0;
7043 wxGauge *arg1 = (wxGauge *) 0 ;
7044 int arg2 ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 int val2 ;
7048 int ecode2 = 0 ;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 char * kwnames[] = {
7052 (char *) "self",(char *) "range", NULL
7053 };
7054
7055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7059 }
7060 arg1 = reinterpret_cast< wxGauge * >(argp1);
7061 ecode2 = SWIG_AsVal_int(obj1, &val2);
7062 if (!SWIG_IsOK(ecode2)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7064 }
7065 arg2 = static_cast< int >(val2);
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 (arg1)->SetRange(arg2);
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = SWIG_Py_Void();
7073 return resultobj;
7074fail:
7075 return NULL;
b519803b
RD
7076}
7077
7078
554f62e9
RD
7079SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7080 PyObject *resultobj = 0;
7081 wxGauge *arg1 = (wxGauge *) 0 ;
7082 int result;
7083 void *argp1 = 0 ;
7084 int res1 = 0 ;
7085 PyObject *swig_obj[1] ;
7086
7087 if (!args) SWIG_fail;
7088 swig_obj[0] = args;
7089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7090 if (!SWIG_IsOK(res1)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7092 }
7093 arg1 = reinterpret_cast< wxGauge * >(argp1);
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (int)((wxGauge const *)arg1)->GetRange();
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 resultobj = SWIG_From_int(static_cast< int >(result));
7101 return resultobj;
7102fail:
7103 return NULL;
7104}
7105
7106
7107SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj = 0;
7109 wxGauge *arg1 = (wxGauge *) 0 ;
7110 int arg2 ;
7111 void *argp1 = 0 ;
7112 int res1 = 0 ;
7113 int val2 ;
7114 int ecode2 = 0 ;
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj1 = 0 ;
7117 char * kwnames[] = {
7118 (char *) "self",(char *) "pos", NULL
7119 };
7120
7121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7123 if (!SWIG_IsOK(res1)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7125 }
7126 arg1 = reinterpret_cast< wxGauge * >(argp1);
7127 ecode2 = SWIG_AsVal_int(obj1, &val2);
7128 if (!SWIG_IsOK(ecode2)) {
7129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7130 }
7131 arg2 = static_cast< int >(val2);
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 (arg1)->SetValue(arg2);
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_Py_Void();
7139 return resultobj;
7140fail:
7141 return NULL;
b519803b
RD
7142}
7143
7144
554f62e9
RD
7145SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7146 PyObject *resultobj = 0;
7147 wxGauge *arg1 = (wxGauge *) 0 ;
7148 int result;
7149 void *argp1 = 0 ;
7150 int res1 = 0 ;
7151 PyObject *swig_obj[1] ;
7152
7153 if (!args) SWIG_fail;
7154 swig_obj[0] = args;
7155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7158 }
7159 arg1 = reinterpret_cast< wxGauge * >(argp1);
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 result = (int)((wxGauge const *)arg1)->GetValue();
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = SWIG_From_int(static_cast< int >(result));
7167 return resultobj;
7168fail:
7169 return NULL;
b519803b
RD
7170}
7171
7172
554f62e9
RD
7173SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7174 PyObject *resultobj = 0;
7175 wxGauge *arg1 = (wxGauge *) 0 ;
7176 bool result;
7177 void *argp1 = 0 ;
7178 int res1 = 0 ;
7179 PyObject *swig_obj[1] ;
7180
7181 if (!args) SWIG_fail;
7182 swig_obj[0] = args;
7183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7184 if (!SWIG_IsOK(res1)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7186 }
7187 arg1 = reinterpret_cast< wxGauge * >(argp1);
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 result = (bool)((wxGauge const *)arg1)->IsVertical();
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 {
7195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7196 }
7197 return resultobj;
7198fail:
7199 return NULL;
7200}
7201
7202
7203SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj = 0;
7205 wxGauge *arg1 = (wxGauge *) 0 ;
7206 int arg2 ;
7207 void *argp1 = 0 ;
7208 int res1 = 0 ;
7209 int val2 ;
7210 int ecode2 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 char * kwnames[] = {
7214 (char *) "self",(char *) "w", NULL
7215 };
7216
7217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7219 if (!SWIG_IsOK(res1)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7221 }
7222 arg1 = reinterpret_cast< wxGauge * >(argp1);
7223 ecode2 = SWIG_AsVal_int(obj1, &val2);
7224 if (!SWIG_IsOK(ecode2)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7226 }
7227 arg2 = static_cast< int >(val2);
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 (arg1)->SetShadowWidth(arg2);
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_Py_Void();
7235 return resultobj;
7236fail:
7237 return NULL;
f20a2e1f
RD
7238}
7239
7240
554f62e9
RD
7241SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7242 PyObject *resultobj = 0;
7243 wxGauge *arg1 = (wxGauge *) 0 ;
7244 int result;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 PyObject *swig_obj[1] ;
7248
7249 if (!args) SWIG_fail;
7250 swig_obj[0] = args;
7251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7252 if (!SWIG_IsOK(res1)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7254 }
7255 arg1 = reinterpret_cast< wxGauge * >(argp1);
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = SWIG_From_int(static_cast< int >(result));
7263 return resultobj;
7264fail:
7265 return NULL;
7266}
7267
7268
7269SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj = 0;
7271 wxGauge *arg1 = (wxGauge *) 0 ;
7272 int arg2 ;
7273 void *argp1 = 0 ;
7274 int res1 = 0 ;
7275 int val2 ;
7276 int ecode2 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "self",(char *) "w", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7285 if (!SWIG_IsOK(res1)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7287 }
7288 arg1 = reinterpret_cast< wxGauge * >(argp1);
7289 ecode2 = SWIG_AsVal_int(obj1, &val2);
7290 if (!SWIG_IsOK(ecode2)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7292 }
7293 arg2 = static_cast< int >(val2);
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 (arg1)->SetBezelFace(arg2);
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_Py_Void();
7301 return resultobj;
7302fail:
7303 return NULL;
d55e5bfc 7304}
554f62e9
RD
7305
7306
7307SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7308 PyObject *resultobj = 0;
7309 wxGauge *arg1 = (wxGauge *) 0 ;
7310 int result;
7311 void *argp1 = 0 ;
7312 int res1 = 0 ;
7313 PyObject *swig_obj[1] ;
7314
7315 if (!args) SWIG_fail;
7316 swig_obj[0] = args;
7317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7318 if (!SWIG_IsOK(res1)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7320 }
7321 arg1 = reinterpret_cast< wxGauge * >(argp1);
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 resultobj = SWIG_From_int(static_cast< int >(result));
7329 return resultobj;
7330fail:
7331 return NULL;
7332}
7333
7334
7335SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj = 0;
7337 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7338 SwigValueWrapper<wxVisualAttributes > result;
7339 int val1 ;
7340 int ecode1 = 0 ;
7341 PyObject * obj0 = 0 ;
7342 char * kwnames[] = {
7343 (char *) "variant", NULL
7344 };
7345
7346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7347 if (obj0) {
7348 ecode1 = SWIG_AsVal_int(obj0, &val1);
7349 if (!SWIG_IsOK(ecode1)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7351 }
7352 arg1 = static_cast< wxWindowVariant >(val1);
7353 }
7354 {
7355 if (!wxPyCheckForApp()) SWIG_fail;
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = wxGauge::GetClassDefaultAttributes(arg1);
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7362 return resultobj;
7363fail:
7364 return NULL;
d55e5bfc
RD
7365}
7366
7367
554f62e9
RD
7368SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7369 PyObject *obj;
7370 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7372 return SWIG_Py_Void();
7373}
7374
7375SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7376 return SWIG_Python_InitShadowInstance(args);
7377}
7378
7379SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7380 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7381 return 1;
7382}
7383
7384
7385SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7386 PyObject *pyobj = 0;
7387
7388 {
d55e5bfc 7389#if wxUSE_UNICODE
554f62e9 7390 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7391#else
554f62e9 7392 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7393#endif
554f62e9
RD
7394 }
7395 return pyobj;
d55e5bfc
RD
7396}
7397
7398
554f62e9
RD
7399SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7400 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7401 return 1;
d55e5bfc
RD
7402}
7403
7404
554f62e9
RD
7405SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7406 PyObject *pyobj = 0;
7407
7408 {
7409#if wxUSE_UNICODE
7410 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7411#else
7412 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7413#endif
7414 }
7415 return pyobj;
7416}
7417
7418
7419SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7420 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7421 return 1;
7422}
7423
7424
7425SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7426 PyObject *pyobj = 0;
7427
7428 {
7429#if wxUSE_UNICODE
7430 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7431#else
7432 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7433#endif
7434 }
7435 return pyobj;
7436}
7437
7438
7439SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj = 0;
7441 wxWindow *arg1 = (wxWindow *) 0 ;
7442 int arg2 = (int) -1 ;
7443 wxString const &arg3_defvalue = wxPyEmptyString ;
7444 wxString *arg3 = (wxString *) &arg3_defvalue ;
7445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7447 wxSize const &arg5_defvalue = wxDefaultSize ;
7448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7449 long arg6 = (long) 0 ;
7450 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7451 wxString *arg7 = (wxString *) &arg7_defvalue ;
7452 wxStaticBox *result = 0 ;
7453 void *argp1 = 0 ;
7454 int res1 = 0 ;
7455 int val2 ;
7456 int ecode2 = 0 ;
7457 bool temp3 = false ;
7458 wxPoint temp4 ;
7459 wxSize temp5 ;
7460 long val6 ;
7461 int ecode6 = 0 ;
7462 bool temp7 = false ;
7463 PyObject * obj0 = 0 ;
7464 PyObject * obj1 = 0 ;
7465 PyObject * obj2 = 0 ;
7466 PyObject * obj3 = 0 ;
7467 PyObject * obj4 = 0 ;
7468 PyObject * obj5 = 0 ;
7469 PyObject * obj6 = 0 ;
7470 char * kwnames[] = {
7471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7472 };
7473
7474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7476 if (!SWIG_IsOK(res1)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7478 }
7479 arg1 = reinterpret_cast< wxWindow * >(argp1);
7480 if (obj1) {
7481 ecode2 = SWIG_AsVal_int(obj1, &val2);
7482 if (!SWIG_IsOK(ecode2)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7484 }
7485 arg2 = static_cast< int >(val2);
7486 }
7487 if (obj2) {
d55e5bfc 7488 {
554f62e9
RD
7489 arg3 = wxString_in_helper(obj2);
7490 if (arg3 == NULL) SWIG_fail;
7491 temp3 = true;
d55e5bfc 7492 }
554f62e9
RD
7493 }
7494 if (obj3) {
d55e5bfc 7495 {
554f62e9
RD
7496 arg4 = &temp4;
7497 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7498 }
554f62e9
RD
7499 }
7500 if (obj4) {
d55e5bfc 7501 {
554f62e9
RD
7502 arg5 = &temp5;
7503 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7504 }
554f62e9
RD
7505 }
7506 if (obj5) {
7507 ecode6 = SWIG_AsVal_long(obj5, &val6);
7508 if (!SWIG_IsOK(ecode6)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7510 }
7511 arg6 = static_cast< long >(val6);
7512 }
7513 if (obj6) {
d55e5bfc 7514 {
554f62e9
RD
7515 arg7 = wxString_in_helper(obj6);
7516 if (arg7 == NULL) SWIG_fail;
7517 temp7 = true;
d55e5bfc 7518 }
554f62e9
RD
7519 }
7520 {
7521 if (!wxPyCheckForApp()) SWIG_fail;
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7528 {
7529 if (temp3)
7530 delete arg3;
7531 }
7532 {
7533 if (temp7)
7534 delete arg7;
7535 }
7536 return resultobj;
7537fail:
7538 {
7539 if (temp3)
7540 delete arg3;
7541 }
7542 {
7543 if (temp7)
7544 delete arg7;
7545 }
7546 return NULL;
d55e5bfc
RD
7547}
7548
7549
554f62e9
RD
7550SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7551 PyObject *resultobj = 0;
7552 wxStaticBox *result = 0 ;
7553
7554 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7555 {
7556 if (!wxPyCheckForApp()) SWIG_fail;
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (wxStaticBox *)new wxStaticBox();
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7563 return resultobj;
7564fail:
7565 return NULL;
7566}
7567
7568
7569SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj = 0;
7571 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7572 wxWindow *arg2 = (wxWindow *) 0 ;
7573 int arg3 = (int) -1 ;
7574 wxString const &arg4_defvalue = wxPyEmptyString ;
7575 wxString *arg4 = (wxString *) &arg4_defvalue ;
7576 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7577 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7578 wxSize const &arg6_defvalue = wxDefaultSize ;
7579 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7580 long arg7 = (long) 0 ;
7581 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7582 wxString *arg8 = (wxString *) &arg8_defvalue ;
7583 bool result;
7584 void *argp1 = 0 ;
7585 int res1 = 0 ;
7586 void *argp2 = 0 ;
7587 int res2 = 0 ;
7588 int val3 ;
7589 int ecode3 = 0 ;
7590 bool temp4 = false ;
7591 wxPoint temp5 ;
7592 wxSize temp6 ;
7593 long val7 ;
7594 int ecode7 = 0 ;
7595 bool temp8 = false ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 PyObject * obj2 = 0 ;
7599 PyObject * obj3 = 0 ;
7600 PyObject * obj4 = 0 ;
7601 PyObject * obj5 = 0 ;
7602 PyObject * obj6 = 0 ;
7603 PyObject * obj7 = 0 ;
7604 char * kwnames[] = {
7605 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7606 };
7607
7608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7610 if (!SWIG_IsOK(res1)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7612 }
7613 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7615 if (!SWIG_IsOK(res2)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7617 }
7618 arg2 = reinterpret_cast< wxWindow * >(argp2);
7619 if (obj2) {
7620 ecode3 = SWIG_AsVal_int(obj2, &val3);
7621 if (!SWIG_IsOK(ecode3)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7623 }
7624 arg3 = static_cast< int >(val3);
7625 }
7626 if (obj3) {
093d3ff1 7627 {
554f62e9
RD
7628 arg4 = wxString_in_helper(obj3);
7629 if (arg4 == NULL) SWIG_fail;
7630 temp4 = true;
093d3ff1 7631 }
554f62e9
RD
7632 }
7633 if (obj4) {
d55e5bfc 7634 {
554f62e9
RD
7635 arg5 = &temp5;
7636 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7637 }
554f62e9
RD
7638 }
7639 if (obj5) {
d55e5bfc 7640 {
554f62e9
RD
7641 arg6 = &temp6;
7642 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7643 }
554f62e9
RD
7644 }
7645 if (obj6) {
7646 ecode7 = SWIG_AsVal_long(obj6, &val7);
7647 if (!SWIG_IsOK(ecode7)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7649 }
7650 arg7 = static_cast< long >(val7);
7651 }
7652 if (obj7) {
093d3ff1 7653 {
554f62e9
RD
7654 arg8 = wxString_in_helper(obj7);
7655 if (arg8 == NULL) SWIG_fail;
7656 temp8 = true;
093d3ff1 7657 }
554f62e9
RD
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 {
7666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7667 }
7668 {
7669 if (temp4)
7670 delete arg4;
7671 }
7672 {
7673 if (temp8)
7674 delete arg8;
7675 }
7676 return resultobj;
7677fail:
7678 {
7679 if (temp4)
7680 delete arg4;
7681 }
7682 {
7683 if (temp8)
7684 delete arg8;
7685 }
7686 return NULL;
7687}
d55e5bfc 7688
554f62e9
RD
7689
7690SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj = 0;
7692 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7693 SwigValueWrapper<wxVisualAttributes > result;
7694 int val1 ;
7695 int ecode1 = 0 ;
7696 PyObject * obj0 = 0 ;
7697 char * kwnames[] = {
7698 (char *) "variant", NULL
7699 };
7700
7701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7702 if (obj0) {
7703 ecode1 = SWIG_AsVal_int(obj0, &val1);
7704 if (!SWIG_IsOK(ecode1)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7706 }
7707 arg1 = static_cast< wxWindowVariant >(val1);
7708 }
7709 {
7710 if (!wxPyCheckForApp()) SWIG_fail;
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7717 return resultobj;
7718fail:
7719 return NULL;
7720}
7721
7722
7723SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7724 PyObject *obj;
7725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7727 return SWIG_Py_Void();
7728}
7729
7730SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7731 return SWIG_Python_InitShadowInstance(args);
7732}
7733
7734SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj = 0;
7736 wxWindow *arg1 = (wxWindow *) 0 ;
7737 int arg2 = (int) -1 ;
7738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7740 wxSize const &arg4_defvalue = wxDefaultSize ;
7741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7742 long arg5 = (long) wxLI_HORIZONTAL ;
7743 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7744 wxString *arg6 = (wxString *) &arg6_defvalue ;
7745 wxStaticLine *result = 0 ;
7746 void *argp1 = 0 ;
7747 int res1 = 0 ;
7748 int val2 ;
7749 int ecode2 = 0 ;
7750 wxPoint temp3 ;
7751 wxSize temp4 ;
7752 long val5 ;
7753 int ecode5 = 0 ;
7754 bool temp6 = false ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj2 = 0 ;
7758 PyObject * obj3 = 0 ;
7759 PyObject * obj4 = 0 ;
7760 PyObject * obj5 = 0 ;
7761 char * kwnames[] = {
7762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7763 };
7764
7765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7767 if (!SWIG_IsOK(res1)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7769 }
7770 arg1 = reinterpret_cast< wxWindow * >(argp1);
7771 if (obj1) {
7772 ecode2 = SWIG_AsVal_int(obj1, &val2);
7773 if (!SWIG_IsOK(ecode2)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7775 }
7776 arg2 = static_cast< int >(val2);
7777 }
7778 if (obj2) {
093d3ff1 7779 {
554f62e9
RD
7780 arg3 = &temp3;
7781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7782 }
554f62e9
RD
7783 }
7784 if (obj3) {
d55e5bfc 7785 {
554f62e9
RD
7786 arg4 = &temp4;
7787 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7788 }
554f62e9
RD
7789 }
7790 if (obj4) {
7791 ecode5 = SWIG_AsVal_long(obj4, &val5);
7792 if (!SWIG_IsOK(ecode5)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7794 }
7795 arg5 = static_cast< long >(val5);
7796 }
7797 if (obj5) {
7798 {
7799 arg6 = wxString_in_helper(obj5);
7800 if (arg6 == NULL) SWIG_fail;
7801 temp6 = true;
7802 }
7803 }
7804 {
7805 if (!wxPyCheckForApp()) SWIG_fail;
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7812 {
7813 if (temp6)
7814 delete arg6;
7815 }
7816 return resultobj;
7817fail:
7818 {
7819 if (temp6)
7820 delete arg6;
7821 }
7822 return NULL;
d55e5bfc
RD
7823}
7824
7825
554f62e9
RD
7826SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7827 PyObject *resultobj = 0;
7828 wxStaticLine *result = 0 ;
7829
7830 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7831 {
7832 if (!wxPyCheckForApp()) SWIG_fail;
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (wxStaticLine *)new wxStaticLine();
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7839 return resultobj;
7840fail:
7841 return NULL;
7842}
7843
7844
7845SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj = 0;
7847 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7848 wxWindow *arg2 = (wxWindow *) 0 ;
7849 int arg3 = (int) -1 ;
7850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7852 wxSize const &arg5_defvalue = wxDefaultSize ;
7853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7854 long arg6 = (long) wxLI_HORIZONTAL ;
7855 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7856 wxString *arg7 = (wxString *) &arg7_defvalue ;
7857 bool result;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 void *argp2 = 0 ;
7861 int res2 = 0 ;
7862 int val3 ;
7863 int ecode3 = 0 ;
7864 wxPoint temp4 ;
7865 wxSize temp5 ;
7866 long val6 ;
7867 int ecode6 = 0 ;
7868 bool temp7 = false ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 PyObject * obj3 = 0 ;
7873 PyObject * obj4 = 0 ;
7874 PyObject * obj5 = 0 ;
7875 PyObject * obj6 = 0 ;
7876 char * kwnames[] = {
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7878 };
7879
7880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7882 if (!SWIG_IsOK(res1)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7884 }
7885 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7887 if (!SWIG_IsOK(res2)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7889 }
7890 arg2 = reinterpret_cast< wxWindow * >(argp2);
7891 if (obj2) {
7892 ecode3 = SWIG_AsVal_int(obj2, &val3);
7893 if (!SWIG_IsOK(ecode3)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7895 }
7896 arg3 = static_cast< int >(val3);
7897 }
7898 if (obj3) {
d55e5bfc 7899 {
554f62e9
RD
7900 arg4 = &temp4;
7901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7902 }
554f62e9
RD
7903 }
7904 if (obj4) {
093d3ff1 7905 {
554f62e9
RD
7906 arg5 = &temp5;
7907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7908 }
554f62e9
RD
7909 }
7910 if (obj5) {
7911 ecode6 = SWIG_AsVal_long(obj5, &val6);
7912 if (!SWIG_IsOK(ecode6)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7914 }
7915 arg6 = static_cast< long >(val6);
7916 }
7917 if (obj6) {
7918 {
7919 arg7 = wxString_in_helper(obj6);
7920 if (arg7 == NULL) SWIG_fail;
7921 temp7 = true;
7922 }
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7932 }
7933 {
7934 if (temp7)
7935 delete arg7;
7936 }
7937 return resultobj;
7938fail:
7939 {
7940 if (temp7)
7941 delete arg7;
7942 }
7943 return NULL;
d55e5bfc
RD
7944}
7945
7946
554f62e9
RD
7947SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7948 PyObject *resultobj = 0;
7949 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7950 bool result;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 PyObject *swig_obj[1] ;
7954
7955 if (!args) SWIG_fail;
7956 swig_obj[0] = args;
7957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7958 if (!SWIG_IsOK(res1)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7960 }
7961 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7970 }
7971 return resultobj;
7972fail:
7973 return NULL;
7974}
7975
7976
7977SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7978 PyObject *resultobj = 0;
7979 int result;
7980
7981 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)wxStaticLine::GetDefaultSize();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_From_int(static_cast< int >(result));
7989 return resultobj;
7990fail:
7991 return NULL;
7992}
7993
7994
7995SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj = 0;
7997 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7998 SwigValueWrapper<wxVisualAttributes > result;
7999 int val1 ;
8000 int ecode1 = 0 ;
8001 PyObject * obj0 = 0 ;
8002 char * kwnames[] = {
8003 (char *) "variant", NULL
8004 };
8005
8006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8007 if (obj0) {
8008 ecode1 = SWIG_AsVal_int(obj0, &val1);
8009 if (!SWIG_IsOK(ecode1)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8011 }
8012 arg1 = static_cast< wxWindowVariant >(val1);
8013 }
8014 {
8015 if (!wxPyCheckForApp()) SWIG_fail;
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8022 return resultobj;
8023fail:
8024 return NULL;
8025}
8026
8027
8028SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *obj;
8030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8031 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8032 return SWIG_Py_Void();
8033}
8034
8035SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8036 return SWIG_Python_InitShadowInstance(args);
8037}
8038
8039SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj = 0;
8041 wxWindow *arg1 = (wxWindow *) 0 ;
8042 int arg2 = (int) -1 ;
8043 wxString const &arg3_defvalue = wxPyEmptyString ;
8044 wxString *arg3 = (wxString *) &arg3_defvalue ;
8045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8047 wxSize const &arg5_defvalue = wxDefaultSize ;
8048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8049 long arg6 = (long) 0 ;
8050 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8051 wxString *arg7 = (wxString *) &arg7_defvalue ;
8052 wxStaticText *result = 0 ;
8053 void *argp1 = 0 ;
8054 int res1 = 0 ;
8055 int val2 ;
8056 int ecode2 = 0 ;
8057 bool temp3 = false ;
8058 wxPoint temp4 ;
8059 wxSize temp5 ;
8060 long val6 ;
8061 int ecode6 = 0 ;
8062 bool temp7 = false ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 PyObject * obj2 = 0 ;
8066 PyObject * obj3 = 0 ;
8067 PyObject * obj4 = 0 ;
8068 PyObject * obj5 = 0 ;
8069 PyObject * obj6 = 0 ;
8070 char * kwnames[] = {
8071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8072 };
8073
8074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8076 if (!SWIG_IsOK(res1)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8078 }
8079 arg1 = reinterpret_cast< wxWindow * >(argp1);
8080 if (obj1) {
8081 ecode2 = SWIG_AsVal_int(obj1, &val2);
8082 if (!SWIG_IsOK(ecode2)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8084 }
8085 arg2 = static_cast< int >(val2);
8086 }
8087 if (obj2) {
d55e5bfc 8088 {
554f62e9
RD
8089 arg3 = wxString_in_helper(obj2);
8090 if (arg3 == NULL) SWIG_fail;
8091 temp3 = true;
d55e5bfc 8092 }
554f62e9
RD
8093 }
8094 if (obj3) {
d55e5bfc 8095 {
554f62e9
RD
8096 arg4 = &temp4;
8097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8098 }
554f62e9
RD
8099 }
8100 if (obj4) {
093d3ff1 8101 {
554f62e9
RD
8102 arg5 = &temp5;
8103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8104 }
554f62e9
RD
8105 }
8106 if (obj5) {
8107 ecode6 = SWIG_AsVal_long(obj5, &val6);
8108 if (!SWIG_IsOK(ecode6)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8110 }
8111 arg6 = static_cast< long >(val6);
8112 }
8113 if (obj6) {
d55e5bfc 8114 {
554f62e9
RD
8115 arg7 = wxString_in_helper(obj6);
8116 if (arg7 == NULL) SWIG_fail;
8117 temp7 = true;
d55e5bfc 8118 }
554f62e9
RD
8119 }
8120 {
8121 if (!wxPyCheckForApp()) SWIG_fail;
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8128 {
8129 if (temp3)
8130 delete arg3;
8131 }
8132 {
8133 if (temp7)
8134 delete arg7;
8135 }
8136 return resultobj;
8137fail:
8138 {
8139 if (temp3)
8140 delete arg3;
8141 }
8142 {
8143 if (temp7)
8144 delete arg7;
8145 }
8146 return NULL;
d55e5bfc
RD
8147}
8148
8149
554f62e9
RD
8150SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8151 PyObject *resultobj = 0;
8152 wxStaticText *result = 0 ;
8153
8154 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8155 {
8156 if (!wxPyCheckForApp()) SWIG_fail;
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (wxStaticText *)new wxStaticText();
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8163 return resultobj;
8164fail:
8165 return NULL;
8166}
8167
8168
8169SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj = 0;
8171 wxStaticText *arg1 = (wxStaticText *) 0 ;
8172 wxWindow *arg2 = (wxWindow *) 0 ;
8173 int arg3 = (int) -1 ;
8174 wxString const &arg4_defvalue = wxPyEmptyString ;
8175 wxString *arg4 = (wxString *) &arg4_defvalue ;
8176 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8177 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8178 wxSize const &arg6_defvalue = wxDefaultSize ;
8179 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8180 long arg7 = (long) 0 ;
8181 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8182 wxString *arg8 = (wxString *) &arg8_defvalue ;
8183 bool result;
8184 void *argp1 = 0 ;
8185 int res1 = 0 ;
8186 void *argp2 = 0 ;
8187 int res2 = 0 ;
8188 int val3 ;
8189 int ecode3 = 0 ;
8190 bool temp4 = false ;
8191 wxPoint temp5 ;
8192 wxSize temp6 ;
8193 long val7 ;
8194 int ecode7 = 0 ;
8195 bool temp8 = false ;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 PyObject * obj2 = 0 ;
8199 PyObject * obj3 = 0 ;
8200 PyObject * obj4 = 0 ;
8201 PyObject * obj5 = 0 ;
8202 PyObject * obj6 = 0 ;
8203 PyObject * obj7 = 0 ;
8204 char * kwnames[] = {
8205 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8206 };
8207
8208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8210 if (!SWIG_IsOK(res1)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8212 }
8213 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8215 if (!SWIG_IsOK(res2)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8217 }
8218 arg2 = reinterpret_cast< wxWindow * >(argp2);
8219 if (obj2) {
8220 ecode3 = SWIG_AsVal_int(obj2, &val3);
8221 if (!SWIG_IsOK(ecode3)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8223 }
8224 arg3 = static_cast< int >(val3);
8225 }
8226 if (obj3) {
d55e5bfc 8227 {
554f62e9
RD
8228 arg4 = wxString_in_helper(obj3);
8229 if (arg4 == NULL) SWIG_fail;
8230 temp4 = true;
8231 }
8232 }
8233 if (obj4) {
8234 {
8235 arg5 = &temp5;
8236 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8237 }
554f62e9
RD
8238 }
8239 if (obj5) {
093d3ff1 8240 {
554f62e9
RD
8241 arg6 = &temp6;
8242 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8243 }
554f62e9
RD
8244 }
8245 if (obj6) {
8246 ecode7 = SWIG_AsVal_long(obj6, &val7);
8247 if (!SWIG_IsOK(ecode7)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8249 }
8250 arg7 = static_cast< long >(val7);
8251 }
8252 if (obj7) {
093d3ff1 8253 {
554f62e9
RD
8254 arg8 = wxString_in_helper(obj7);
8255 if (arg8 == NULL) SWIG_fail;
8256 temp8 = true;
8257 }
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 {
8266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8267 }
8268 {
8269 if (temp4)
8270 delete arg4;
8271 }
8272 {
8273 if (temp8)
8274 delete arg8;
8275 }
8276 return resultobj;
8277fail:
8278 {
8279 if (temp4)
8280 delete arg4;
8281 }
8282 {
8283 if (temp8)
8284 delete arg8;
8285 }
8286 return NULL;
8287}
8288
8289
8290SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj = 0;
8292 wxStaticText *arg1 = (wxStaticText *) 0 ;
8293 int arg2 ;
8294 void *argp1 = 0 ;
8295 int res1 = 0 ;
8296 int val2 ;
8297 int ecode2 = 0 ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 char * kwnames[] = {
8301 (char *) "self",(char *) "width", NULL
8302 };
8303
8304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8306 if (!SWIG_IsOK(res1)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8308 }
8309 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8310 ecode2 = SWIG_AsVal_int(obj1, &val2);
8311 if (!SWIG_IsOK(ecode2)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8313 }
8314 arg2 = static_cast< int >(val2);
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->Wrap(arg2);
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 resultobj = SWIG_Py_Void();
8322 return resultobj;
8323fail:
8324 return NULL;
8325}
8326
8327
8328SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj = 0;
8330 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8331 SwigValueWrapper<wxVisualAttributes > result;
8332 int val1 ;
8333 int ecode1 = 0 ;
8334 PyObject * obj0 = 0 ;
8335 char * kwnames[] = {
8336 (char *) "variant", NULL
8337 };
8338
8339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8340 if (obj0) {
8341 ecode1 = SWIG_AsVal_int(obj0, &val1);
8342 if (!SWIG_IsOK(ecode1)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8344 }
8345 arg1 = static_cast< wxWindowVariant >(val1);
8346 }
8347 {
8348 if (!wxPyCheckForApp()) SWIG_fail;
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = wxStaticText::GetClassDefaultAttributes(arg1);
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8355 return resultobj;
8356fail:
8357 return NULL;
8358}
8359
8360
8361SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8362 PyObject *obj;
8363 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8365 return SWIG_Py_Void();
8366}
8367
8368SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8369 return SWIG_Python_InitShadowInstance(args);
8370}
8371
8372SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj = 0;
8374 wxWindow *arg1 = (wxWindow *) 0 ;
8375 int arg2 = (int) -1 ;
8376 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8377 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8380 wxSize const &arg5_defvalue = wxDefaultSize ;
8381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8382 long arg6 = (long) 0 ;
8383 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8384 wxString *arg7 = (wxString *) &arg7_defvalue ;
8385 wxStaticBitmap *result = 0 ;
8386 void *argp1 = 0 ;
8387 int res1 = 0 ;
8388 int val2 ;
8389 int ecode2 = 0 ;
8390 void *argp3 = 0 ;
8391 int res3 = 0 ;
8392 wxPoint temp4 ;
8393 wxSize temp5 ;
8394 long val6 ;
8395 int ecode6 = 0 ;
8396 bool temp7 = false ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 PyObject * obj2 = 0 ;
8400 PyObject * obj3 = 0 ;
8401 PyObject * obj4 = 0 ;
8402 PyObject * obj5 = 0 ;
8403 PyObject * obj6 = 0 ;
8404 char * kwnames[] = {
8405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8406 };
8407
8408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8412 }
8413 arg1 = reinterpret_cast< wxWindow * >(argp1);
8414 if (obj1) {
8415 ecode2 = SWIG_AsVal_int(obj1, &val2);
8416 if (!SWIG_IsOK(ecode2)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8418 }
8419 arg2 = static_cast< int >(val2);
8420 }
8421 if (obj2) {
8422 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8423 if (!SWIG_IsOK(res3)) {
8424 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8425 }
8426 if (!argp3) {
8427 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8428 }
554f62e9
RD
8429 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8430 }
8431 if (obj3) {
d55e5bfc 8432 {
554f62e9
RD
8433 arg4 = &temp4;
8434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8435 }
554f62e9
RD
8436 }
8437 if (obj4) {
d55e5bfc 8438 {
554f62e9
RD
8439 arg5 = &temp5;
8440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8441 }
554f62e9
RD
8442 }
8443 if (obj5) {
8444 ecode6 = SWIG_AsVal_long(obj5, &val6);
8445 if (!SWIG_IsOK(ecode6)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8447 }
8448 arg6 = static_cast< long >(val6);
8449 }
8450 if (obj6) {
093d3ff1 8451 {
554f62e9
RD
8452 arg7 = wxString_in_helper(obj6);
8453 if (arg7 == NULL) SWIG_fail;
8454 temp7 = true;
093d3ff1 8455 }
554f62e9
RD
8456 }
8457 {
8458 if (!wxPyCheckForApp()) SWIG_fail;
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8465 {
8466 if (temp7)
8467 delete arg7;
8468 }
8469 return resultobj;
8470fail:
8471 {
8472 if (temp7)
8473 delete arg7;
8474 }
8475 return NULL;
d55e5bfc
RD
8476}
8477
8478
554f62e9
RD
8479SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8480 PyObject *resultobj = 0;
8481 wxStaticBitmap *result = 0 ;
8482
8483 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8484 {
8485 if (!wxPyCheckForApp()) SWIG_fail;
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (wxStaticBitmap *)new wxStaticBitmap();
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8492 return resultobj;
8493fail:
8494 return NULL;
8495}
8496
8497
8498SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj = 0;
8500 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8501 wxWindow *arg2 = (wxWindow *) 0 ;
8502 int arg3 = (int) -1 ;
8503 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8504 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8505 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8506 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8507 wxSize const &arg6_defvalue = wxDefaultSize ;
8508 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8509 long arg7 = (long) 0 ;
8510 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8511 wxString *arg8 = (wxString *) &arg8_defvalue ;
8512 bool result;
8513 void *argp1 = 0 ;
8514 int res1 = 0 ;
8515 void *argp2 = 0 ;
8516 int res2 = 0 ;
8517 int val3 ;
8518 int ecode3 = 0 ;
8519 void *argp4 = 0 ;
8520 int res4 = 0 ;
8521 wxPoint temp5 ;
8522 wxSize temp6 ;
8523 long val7 ;
8524 int ecode7 = 0 ;
8525 bool temp8 = false ;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 PyObject * obj2 = 0 ;
8529 PyObject * obj3 = 0 ;
8530 PyObject * obj4 = 0 ;
8531 PyObject * obj5 = 0 ;
8532 PyObject * obj6 = 0 ;
8533 PyObject * obj7 = 0 ;
8534 char * kwnames[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8536 };
8537
8538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8540 if (!SWIG_IsOK(res1)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8542 }
8543 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8545 if (!SWIG_IsOK(res2)) {
8546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8547 }
8548 arg2 = reinterpret_cast< wxWindow * >(argp2);
8549 if (obj2) {
8550 ecode3 = SWIG_AsVal_int(obj2, &val3);
8551 if (!SWIG_IsOK(ecode3)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8553 }
8554 arg3 = static_cast< int >(val3);
8555 }
8556 if (obj3) {
8557 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8558 if (!SWIG_IsOK(res4)) {
8559 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8560 }
8561 if (!argp4) {
8562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
f20a2e1f 8563 }
554f62e9
RD
8564 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8565 }
8566 if (obj4) {
f20a2e1f 8567 {
554f62e9
RD
8568 arg5 = &temp5;
8569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8570 }
554f62e9
RD
8571 }
8572 if (obj5) {
f20a2e1f 8573 {
554f62e9
RD
8574 arg6 = &temp6;
8575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
f20a2e1f 8576 }
554f62e9
RD
8577 }
8578 if (obj6) {
8579 ecode7 = SWIG_AsVal_long(obj6, &val7);
8580 if (!SWIG_IsOK(ecode7)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8582 }
8583 arg7 = static_cast< long >(val7);
8584 }
8585 if (obj7) {
d55e5bfc 8586 {
554f62e9
RD
8587 arg8 = wxString_in_helper(obj7);
8588 if (arg8 == NULL) SWIG_fail;
8589 temp8 = true;
d55e5bfc 8590 }
554f62e9
RD
8591 }
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 {
8599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8600 }
8601 {
8602 if (temp8)
8603 delete arg8;
8604 }
8605 return resultobj;
8606fail:
8607 {
8608 if (temp8)
8609 delete arg8;
8610 }
8611 return NULL;
d55e5bfc
RD
8612}
8613
8614
554f62e9
RD
8615SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8616 PyObject *resultobj = 0;
8617 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8618 wxBitmap result;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 PyObject *swig_obj[1] ;
8622
8623 if (!args) SWIG_fail;
8624 swig_obj[0] = args;
8625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8628 }
8629 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (arg1)->GetBitmap();
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8637 return resultobj;
8638fail:
8639 return NULL;
8640}
8641
8642
8643SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj = 0;
8645 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8646 wxBitmap *arg2 = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 void *argp2 = 0 ;
8650 int res2 = 0 ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 char * kwnames[] = {
8654 (char *) "self",(char *) "bitmap", NULL
8655 };
8656
8657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8661 }
8662 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8663 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8664 if (!SWIG_IsOK(res2)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8666 }
8667 if (!argp2) {
8668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8669 }
8670 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = SWIG_Py_Void();
8678 return resultobj;
8679fail:
8680 return NULL;
8681}
8682
8683
8684SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj = 0;
8686 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8687 wxIcon *arg2 = 0 ;
8688 void *argp1 = 0 ;
8689 int res1 = 0 ;
8690 void *argp2 = 0 ;
8691 int res2 = 0 ;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 char * kwnames[] = {
8695 (char *) "self",(char *) "icon", NULL
8696 };
8697
8698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8700 if (!SWIG_IsOK(res1)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8702 }
8703 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8705 if (!SWIG_IsOK(res2)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8707 }
8708 if (!argp2) {
8709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8710 }
8711 arg2 = reinterpret_cast< wxIcon * >(argp2);
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->SetIcon((wxIcon const &)*arg2);
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = SWIG_Py_Void();
8719 return resultobj;
8720fail:
8721 return NULL;
8722}
8723
8724
8725SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8728 SwigValueWrapper<wxVisualAttributes > result;
8729 int val1 ;
8730 int ecode1 = 0 ;
8731 PyObject * obj0 = 0 ;
8732 char * kwnames[] = {
8733 (char *) "variant", NULL
8734 };
8735
8736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8737 if (obj0) {
8738 ecode1 = SWIG_AsVal_int(obj0, &val1);
8739 if (!SWIG_IsOK(ecode1)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8741 }
8742 arg1 = static_cast< wxWindowVariant >(val1);
8743 }
8744 {
8745 if (!wxPyCheckForApp()) SWIG_fail;
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8752 return resultobj;
8753fail:
8754 return NULL;
d55e5bfc
RD
8755}
8756
8757
554f62e9
RD
8758SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8759 PyObject *obj;
8760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8761 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8762 return SWIG_Py_Void();
d55e5bfc
RD
8763}
8764
554f62e9
RD
8765SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8766 return SWIG_Python_InitShadowInstance(args);
8767}
d55e5bfc 8768
554f62e9
RD
8769SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8770 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8771 return 1;
d55e5bfc
RD
8772}
8773
8774
554f62e9
RD
8775SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8776 PyObject *pyobj = 0;
8777
8778 {
d55e5bfc 8779#if wxUSE_UNICODE
554f62e9 8780 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8781#else
554f62e9 8782 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8783#endif
554f62e9
RD
8784 }
8785 return pyobj;
8786}
8787
8788
8789SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = 0;
8791 wxWindow *arg1 = (wxWindow *) 0 ;
8792 int arg2 = (int) -1 ;
8793 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8794 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8795 wxSize const &arg4_defvalue = wxDefaultSize ;
8796 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8797 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8798 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8799 long arg6 = (long) 0 ;
8800 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8801 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8802 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8803 wxString *arg8 = (wxString *) &arg8_defvalue ;
8804 wxListBox *result = 0 ;
8805 void *argp1 = 0 ;
8806 int res1 = 0 ;
8807 int val2 ;
8808 int ecode2 = 0 ;
8809 wxPoint temp3 ;
8810 wxSize temp4 ;
8811 bool temp5 = false ;
8812 long val6 ;
8813 int ecode6 = 0 ;
8814 void *argp7 = 0 ;
8815 int res7 = 0 ;
8816 bool temp8 = false ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 PyObject * obj2 = 0 ;
8820 PyObject * obj3 = 0 ;
8821 PyObject * obj4 = 0 ;
8822 PyObject * obj5 = 0 ;
8823 PyObject * obj6 = 0 ;
8824 PyObject * obj7 = 0 ;
8825 char * kwnames[] = {
8826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8827 };
8828
8829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8833 }
8834 arg1 = reinterpret_cast< wxWindow * >(argp1);
8835 if (obj1) {
8836 ecode2 = SWIG_AsVal_int(obj1, &val2);
8837 if (!SWIG_IsOK(ecode2)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8839 }
8840 arg2 = static_cast< int >(val2);
8841 }
8842 if (obj2) {
d55e5bfc 8843 {
554f62e9
RD
8844 arg3 = &temp3;
8845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8846 }
554f62e9
RD
8847 }
8848 if (obj3) {
d55e5bfc 8849 {
554f62e9
RD
8850 arg4 = &temp4;
8851 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8852 }
554f62e9
RD
8853 }
8854 if (obj4) {
d55e5bfc 8855 {
554f62e9
RD
8856 if (! PySequence_Check(obj4)) {
8857 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8858 SWIG_fail;
8859 }
8860 arg5 = new wxArrayString;
8861 temp5 = true;
8862 int i, len=PySequence_Length(obj4);
8863 for (i=0; i<len; i++) {
8864 PyObject* item = PySequence_GetItem(obj4, i);
8865 wxString* s = wxString_in_helper(item);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 arg5->Add(*s);
8868 delete s;
8869 Py_DECREF(item);
8870 }
d55e5bfc 8871 }
554f62e9
RD
8872 }
8873 if (obj5) {
8874 ecode6 = SWIG_AsVal_long(obj5, &val6);
8875 if (!SWIG_IsOK(ecode6)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8877 }
8878 arg6 = static_cast< long >(val6);
8879 }
8880 if (obj6) {
8881 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8882 if (!SWIG_IsOK(res7)) {
8883 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8884 }
554f62e9
RD
8885 if (!argp7) {
8886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8887 }
554f62e9
RD
8888 arg7 = reinterpret_cast< wxValidator * >(argp7);
8889 }
8890 if (obj7) {
d55e5bfc 8891 {
554f62e9
RD
8892 arg8 = wxString_in_helper(obj7);
8893 if (arg8 == NULL) SWIG_fail;
8894 temp8 = true;
d55e5bfc 8895 }
554f62e9
RD
8896 }
8897 {
8898 if (!wxPyCheckForApp()) SWIG_fail;
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8905 {
8906 if (temp5) delete arg5;
8907 }
8908 {
8909 if (temp8)
8910 delete arg8;
8911 }
8912 return resultobj;
8913fail:
8914 {
8915 if (temp5) delete arg5;
8916 }
8917 {
8918 if (temp8)
8919 delete arg8;
8920 }
8921 return NULL;
d55e5bfc
RD
8922}
8923
8924
554f62e9
RD
8925SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8926 PyObject *resultobj = 0;
8927 wxListBox *result = 0 ;
8928
8929 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8930 {
8931 if (!wxPyCheckForApp()) SWIG_fail;
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (wxListBox *)new wxListBox();
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8938 return resultobj;
8939fail:
8940 return NULL;
8941}
8942
8943
8944SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxListBox *arg1 = (wxListBox *) 0 ;
8947 wxWindow *arg2 = (wxWindow *) 0 ;
8948 int arg3 = (int) -1 ;
8949 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8950 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8951 wxSize const &arg5_defvalue = wxDefaultSize ;
8952 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8953 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8954 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8955 long arg7 = (long) 0 ;
8956 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8957 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8958 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8959 wxString *arg9 = (wxString *) &arg9_defvalue ;
8960 bool result;
8961 void *argp1 = 0 ;
8962 int res1 = 0 ;
8963 void *argp2 = 0 ;
8964 int res2 = 0 ;
8965 int val3 ;
8966 int ecode3 = 0 ;
8967 wxPoint temp4 ;
8968 wxSize temp5 ;
8969 bool temp6 = false ;
8970 long val7 ;
8971 int ecode7 = 0 ;
8972 void *argp8 = 0 ;
8973 int res8 = 0 ;
8974 bool temp9 = false ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 PyObject * obj2 = 0 ;
8978 PyObject * obj3 = 0 ;
8979 PyObject * obj4 = 0 ;
8980 PyObject * obj5 = 0 ;
8981 PyObject * obj6 = 0 ;
8982 PyObject * obj7 = 0 ;
8983 PyObject * obj8 = 0 ;
8984 char * kwnames[] = {
8985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8986 };
8987
8988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
8989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
8990 if (!SWIG_IsOK(res1)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8992 }
8993 arg1 = reinterpret_cast< wxListBox * >(argp1);
8994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8995 if (!SWIG_IsOK(res2)) {
8996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8997 }
8998 arg2 = reinterpret_cast< wxWindow * >(argp2);
8999 if (obj2) {
9000 ecode3 = SWIG_AsVal_int(obj2, &val3);
9001 if (!SWIG_IsOK(ecode3)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9003 }
9004 arg3 = static_cast< int >(val3);
9005 }
9006 if (obj3) {
d55e5bfc 9007 {
554f62e9
RD
9008 arg4 = &temp4;
9009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9010 }
554f62e9
RD
9011 }
9012 if (obj4) {
d55e5bfc 9013 {
554f62e9
RD
9014 arg5 = &temp5;
9015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9016 }
554f62e9
RD
9017 }
9018 if (obj5) {
d55e5bfc 9019 {
554f62e9
RD
9020 if (! PySequence_Check(obj5)) {
9021 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9022 SWIG_fail;
9023 }
9024 arg6 = new wxArrayString;
9025 temp6 = true;
9026 int i, len=PySequence_Length(obj5);
9027 for (i=0; i<len; i++) {
9028 PyObject* item = PySequence_GetItem(obj5, i);
9029 wxString* s = wxString_in_helper(item);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 arg6->Add(*s);
9032 delete s;
9033 Py_DECREF(item);
9034 }
d55e5bfc 9035 }
554f62e9
RD
9036 }
9037 if (obj6) {
9038 ecode7 = SWIG_AsVal_long(obj6, &val7);
9039 if (!SWIG_IsOK(ecode7)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9041 }
9042 arg7 = static_cast< long >(val7);
9043 }
9044 if (obj7) {
9045 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9046 if (!SWIG_IsOK(res8)) {
9047 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 9048 }
554f62e9
RD
9049 if (!argp8) {
9050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9051 }
554f62e9
RD
9052 arg8 = reinterpret_cast< wxValidator * >(argp8);
9053 }
9054 if (obj8) {
f20a2e1f 9055 {
554f62e9
RD
9056 arg9 = wxString_in_helper(obj8);
9057 if (arg9 == NULL) SWIG_fail;
9058 temp9 = true;
f20a2e1f 9059 }
554f62e9
RD
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 {
9068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9069 }
9070 {
9071 if (temp6) delete arg6;
9072 }
9073 {
9074 if (temp9)
9075 delete arg9;
9076 }
9077 return resultobj;
9078fail:
9079 {
9080 if (temp6) delete arg6;
9081 }
9082 {
9083 if (temp9)
9084 delete arg9;
9085 }
9086 return NULL;
9087}
9088
9089
9090SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj = 0;
9092 wxListBox *arg1 = (wxListBox *) 0 ;
9093 wxString *arg2 = 0 ;
9094 int arg3 ;
9095 PyObject *arg4 = (PyObject *) NULL ;
9096 void *argp1 = 0 ;
9097 int res1 = 0 ;
9098 bool temp2 = false ;
9099 int val3 ;
9100 int ecode3 = 0 ;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 PyObject * obj2 = 0 ;
9104 PyObject * obj3 = 0 ;
9105 char * kwnames[] = {
9106 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9107 };
9108
9109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9111 if (!SWIG_IsOK(res1)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9113 }
9114 arg1 = reinterpret_cast< wxListBox * >(argp1);
9115 {
9116 arg2 = wxString_in_helper(obj1);
9117 if (arg2 == NULL) SWIG_fail;
9118 temp2 = true;
9119 }
9120 ecode3 = SWIG_AsVal_int(obj2, &val3);
9121 if (!SWIG_IsOK(ecode3)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9123 }
9124 arg3 = static_cast< int >(val3);
9125 if (obj3) {
9126 arg4 = obj3;
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_Py_Void();
9135 {
9136 if (temp2)
9137 delete arg2;
9138 }
9139 return resultobj;
9140fail:
9141 {
9142 if (temp2)
9143 delete arg2;
9144 }
9145 return NULL;
9146}
9147
9148
9149SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj = 0;
9151 wxListBox *arg1 = (wxListBox *) 0 ;
9152 wxArrayString *arg2 = 0 ;
50f151d7 9153 unsigned int arg3 ;
554f62e9
RD
9154 void *argp1 = 0 ;
9155 int res1 = 0 ;
9156 bool temp2 = false ;
50f151d7 9157 unsigned int val3 ;
554f62e9
RD
9158 int ecode3 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
9162 char * kwnames[] = {
9163 (char *) "self",(char *) "items",(char *) "pos", NULL
9164 };
9165
9166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9168 if (!SWIG_IsOK(res1)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9170 }
9171 arg1 = reinterpret_cast< wxListBox * >(argp1);
9172 {
9173 if (! PySequence_Check(obj1)) {
9174 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9175 SWIG_fail;
9176 }
9177 arg2 = new wxArrayString;
9178 temp2 = true;
9179 int i, len=PySequence_Length(obj1);
9180 for (i=0; i<len; i++) {
9181 PyObject* item = PySequence_GetItem(obj1, i);
9182 wxString* s = wxString_in_helper(item);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 arg2->Add(*s);
9185 delete s;
9186 Py_DECREF(item);
f20a2e1f 9187 }
554f62e9 9188 }
50f151d7 9189 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
554f62e9 9190 if (!SWIG_IsOK(ecode3)) {
50f151d7 9191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
554f62e9 9192 }
50f151d7 9193 arg3 = static_cast< unsigned int >(val3);
554f62e9
RD
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 {
9202 if (temp2) delete arg2;
9203 }
9204 return resultobj;
9205fail:
9206 {
9207 if (temp2) delete arg2;
9208 }
9209 return NULL;
f20a2e1f
RD
9210}
9211
9212
554f62e9
RD
9213SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxListBox *arg1 = (wxListBox *) 0 ;
9216 wxArrayString *arg2 = 0 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 bool temp2 = false ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "items", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9230 }
9231 arg1 = reinterpret_cast< wxListBox * >(argp1);
9232 {
9233 if (! PySequence_Check(obj1)) {
9234 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9235 SWIG_fail;
9236 }
9237 arg2 = new wxArrayString;
9238 temp2 = true;
9239 int i, len=PySequence_Length(obj1);
9240 for (i=0; i<len; i++) {
9241 PyObject* item = PySequence_GetItem(obj1, i);
9242 wxString* s = wxString_in_helper(item);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 arg2->Add(*s);
9245 delete s;
9246 Py_DECREF(item);
d55e5bfc 9247 }
554f62e9
RD
9248 }
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 (arg1)->Set((wxArrayString const &)*arg2);
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = SWIG_Py_Void();
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return resultobj;
9260fail:
9261 {
9262 if (temp2) delete arg2;
9263 }
9264 return NULL;
9265}
9266
9267
9268SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj = 0;
9270 wxListBox *arg1 = (wxListBox *) 0 ;
9271 int arg2 ;
9272 bool result;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 int val2 ;
9276 int ecode2 = 0 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char * kwnames[] = {
9280 (char *) "self",(char *) "n", NULL
9281 };
9282
9283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9287 }
9288 arg1 = reinterpret_cast< wxListBox * >(argp1);
9289 ecode2 = SWIG_AsVal_int(obj1, &val2);
9290 if (!SWIG_IsOK(ecode2)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9292 }
9293 arg2 = static_cast< int >(val2);
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 return resultobj;
9304fail:
9305 return NULL;
9306}
9307
9308
9309SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj = 0;
9311 wxListBox *arg1 = (wxListBox *) 0 ;
9312 int arg2 ;
9313 bool arg3 = (bool) true ;
9314 void *argp1 = 0 ;
9315 int res1 = 0 ;
9316 int val2 ;
9317 int ecode2 = 0 ;
9318 bool val3 ;
9319 int ecode3 = 0 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 PyObject * obj2 = 0 ;
9323 char * kwnames[] = {
9324 (char *) "self",(char *) "n",(char *) "select", NULL
9325 };
9326
9327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9331 }
9332 arg1 = reinterpret_cast< wxListBox * >(argp1);
9333 ecode2 = SWIG_AsVal_int(obj1, &val2);
9334 if (!SWIG_IsOK(ecode2)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9336 }
9337 arg2 = static_cast< int >(val2);
9338 if (obj2) {
9339 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9340 if (!SWIG_IsOK(ecode3)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9342 }
9343 arg3 = static_cast< bool >(val3);
9344 }
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 (arg1)->SetSelection(arg2,arg3);
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 resultobj = SWIG_Py_Void();
9352 return resultobj;
9353fail:
9354 return NULL;
9355}
9356
9357
9358SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj = 0;
9360 wxListBox *arg1 = (wxListBox *) 0 ;
9361 int arg2 ;
9362 void *argp1 = 0 ;
9363 int res1 = 0 ;
9364 int val2 ;
9365 int ecode2 = 0 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "self",(char *) "n", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9374 if (!SWIG_IsOK(res1)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9376 }
9377 arg1 = reinterpret_cast< wxListBox * >(argp1);
9378 ecode2 = SWIG_AsVal_int(obj1, &val2);
9379 if (!SWIG_IsOK(ecode2)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9381 }
9382 arg2 = static_cast< int >(val2);
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 (arg1)->Select(arg2);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_Py_Void();
9390 return resultobj;
9391fail:
9392 return NULL;
9393}
9394
9395
9396SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj = 0;
9398 wxListBox *arg1 = (wxListBox *) 0 ;
9399 int arg2 ;
9400 void *argp1 = 0 ;
9401 int res1 = 0 ;
9402 int val2 ;
9403 int ecode2 = 0 ;
9404 PyObject * obj0 = 0 ;
9405 PyObject * obj1 = 0 ;
9406 char * kwnames[] = {
9407 (char *) "self",(char *) "n", NULL
9408 };
9409
9410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9412 if (!SWIG_IsOK(res1)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9414 }
9415 arg1 = reinterpret_cast< wxListBox * >(argp1);
9416 ecode2 = SWIG_AsVal_int(obj1, &val2);
9417 if (!SWIG_IsOK(ecode2)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9419 }
9420 arg2 = static_cast< int >(val2);
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->Deselect(arg2);
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = SWIG_Py_Void();
9428 return resultobj;
9429fail:
9430 return NULL;
9431}
9432
9433
9434SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxListBox *arg1 = (wxListBox *) 0 ;
9437 int arg2 = (int) -1 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 int val2 ;
9441 int ecode2 = 0 ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char * kwnames[] = {
9445 (char *) "self",(char *) "itemToLeaveSelected", NULL
9446 };
9447
9448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9450 if (!SWIG_IsOK(res1)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9452 }
9453 arg1 = reinterpret_cast< wxListBox * >(argp1);
9454 if (obj1) {
9455 ecode2 = SWIG_AsVal_int(obj1, &val2);
9456 if (!SWIG_IsOK(ecode2)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9458 }
9459 arg2 = static_cast< int >(val2);
9460 }
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->DeselectAll(arg2);
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 resultobj = SWIG_Py_Void();
9468 return resultobj;
9469fail:
9470 return NULL;
9471}
9472
9473
9474SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj = 0;
9476 wxListBox *arg1 = (wxListBox *) 0 ;
9477 wxString *arg2 = 0 ;
9478 bool arg3 = (bool) true ;
9479 bool result;
9480 void *argp1 = 0 ;
9481 int res1 = 0 ;
9482 bool temp2 = false ;
9483 bool val3 ;
9484 int ecode3 = 0 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 PyObject * obj2 = 0 ;
9488 char * kwnames[] = {
9489 (char *) "self",(char *) "s",(char *) "select", NULL
9490 };
9491
9492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9494 if (!SWIG_IsOK(res1)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9496 }
9497 arg1 = reinterpret_cast< wxListBox * >(argp1);
9498 {
9499 arg2 = wxString_in_helper(obj1);
9500 if (arg2 == NULL) SWIG_fail;
9501 temp2 = true;
9502 }
9503 if (obj2) {
9504 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9505 if (!SWIG_IsOK(ecode3)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9507 }
9508 arg3 = static_cast< bool >(val3);
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 {
9517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9518 }
9519 {
9520 if (temp2)
9521 delete arg2;
9522 }
9523 return resultobj;
9524fail:
9525 {
9526 if (temp2)
9527 delete arg2;
9528 }
9529 return NULL;
d55e5bfc
RD
9530}
9531
9532
554f62e9
RD
9533SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9534 PyObject *resultobj = 0;
9535 wxListBox *arg1 = (wxListBox *) 0 ;
9536 PyObject *result = 0 ;
9537 void *argp1 = 0 ;
9538 int res1 = 0 ;
9539 PyObject *swig_obj[1] ;
9540
9541 if (!args) SWIG_fail;
9542 swig_obj[0] = args;
9543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (PyObject *)wxListBox_GetSelections(arg1);
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = result;
9555 return resultobj;
9556fail:
9557 return NULL;
9558}
9559
9560
9561SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj = 0;
9563 wxListBox *arg1 = (wxListBox *) 0 ;
9564 int arg2 ;
9565 void *argp1 = 0 ;
9566 int res1 = 0 ;
9567 int val2 ;
9568 int ecode2 = 0 ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char * kwnames[] = {
9572 (char *) "self",(char *) "n", NULL
9573 };
9574
9575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9577 if (!SWIG_IsOK(res1)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9579 }
9580 arg1 = reinterpret_cast< wxListBox * >(argp1);
9581 ecode2 = SWIG_AsVal_int(obj1, &val2);
9582 if (!SWIG_IsOK(ecode2)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9584 }
9585 arg2 = static_cast< int >(val2);
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SetFirstItem(arg2);
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 resultobj = SWIG_Py_Void();
9593 return resultobj;
9594fail:
9595 return NULL;
9596}
9597
9598
9599SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj = 0;
9601 wxListBox *arg1 = (wxListBox *) 0 ;
9602 wxString *arg2 = 0 ;
9603 void *argp1 = 0 ;
9604 int res1 = 0 ;
9605 bool temp2 = false ;
9606 PyObject * obj0 = 0 ;
9607 PyObject * obj1 = 0 ;
9608 char * kwnames[] = {
9609 (char *) "self",(char *) "s", NULL
9610 };
9611
9612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9614 if (!SWIG_IsOK(res1)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 }
9617 arg1 = reinterpret_cast< wxListBox * >(argp1);
9618 {
9619 arg2 = wxString_in_helper(obj1);
9620 if (arg2 == NULL) SWIG_fail;
9621 temp2 = true;
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 (arg1)->SetFirstItem((wxString const &)*arg2);
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_Py_Void();
9630 {
9631 if (temp2)
9632 delete arg2;
9633 }
9634 return resultobj;
9635fail:
9636 {
9637 if (temp2)
9638 delete arg2;
9639 }
9640 return NULL;
9641}
9642
9643
9644SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj = 0;
9646 wxListBox *arg1 = (wxListBox *) 0 ;
9647 int arg2 ;
9648 void *argp1 = 0 ;
9649 int res1 = 0 ;
9650 int val2 ;
9651 int ecode2 = 0 ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char * kwnames[] = {
9655 (char *) "self",(char *) "n", NULL
9656 };
9657
9658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9660 if (!SWIG_IsOK(res1)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9662 }
9663 arg1 = reinterpret_cast< wxListBox * >(argp1);
9664 ecode2 = SWIG_AsVal_int(obj1, &val2);
9665 if (!SWIG_IsOK(ecode2)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9667 }
9668 arg2 = static_cast< int >(val2);
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 (arg1)->EnsureVisible(arg2);
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 resultobj = SWIG_Py_Void();
9676 return resultobj;
9677fail:
9678 return NULL;
9679}
9680
9681
9682SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj = 0;
9684 wxListBox *arg1 = (wxListBox *) 0 ;
9685 wxString *arg2 = 0 ;
9686 void *argp1 = 0 ;
9687 int res1 = 0 ;
9688 bool temp2 = false ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char * kwnames[] = {
9692 (char *) "self",(char *) "s", NULL
9693 };
9694
9695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9697 if (!SWIG_IsOK(res1)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9699 }
9700 arg1 = reinterpret_cast< wxListBox * >(argp1);
9701 {
9702 arg2 = wxString_in_helper(obj1);
9703 if (arg2 == NULL) SWIG_fail;
9704 temp2 = true;
9705 }
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_Py_Void();
9713 {
9714 if (temp2)
9715 delete arg2;
9716 }
9717 return resultobj;
9718fail:
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return NULL;
d55e5bfc
RD
9724}
9725
9726
554f62e9
RD
9727SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9728 PyObject *resultobj = 0;
9729 wxListBox *arg1 = (wxListBox *) 0 ;
9730 bool result;
9731 void *argp1 = 0 ;
9732 int res1 = 0 ;
9733 PyObject *swig_obj[1] ;
9734
9735 if (!args) SWIG_fail;
9736 swig_obj[0] = args;
9737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9738 if (!SWIG_IsOK(res1)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9740 }
9741 arg1 = reinterpret_cast< wxListBox * >(argp1);
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)((wxListBox const *)arg1)->IsSorted();
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
9751 return resultobj;
9752fail:
9753 return NULL;
9754}
9755
9756
9757SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = 0;
9759 wxListBox *arg1 = (wxListBox *) 0 ;
9760 wxPoint *arg2 = 0 ;
9761 int result;
9762 void *argp1 = 0 ;
9763 int res1 = 0 ;
9764 wxPoint temp2 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char * kwnames[] = {
9768 (char *) "self",(char *) "pt", NULL
9769 };
9770
9771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9773 if (!SWIG_IsOK(res1)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9775 }
9776 arg1 = reinterpret_cast< wxListBox * >(argp1);
9777 {
9778 arg2 = &temp2;
9779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 resultobj = SWIG_From_int(static_cast< int >(result));
9788 return resultobj;
9789fail:
9790 return NULL;
9791}
9792
9793
9794SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj = 0;
9796 wxListBox *arg1 = (wxListBox *) 0 ;
9797 int arg2 ;
9798 wxColour *arg3 = 0 ;
9799 void *argp1 = 0 ;
9800 int res1 = 0 ;
9801 int val2 ;
9802 int ecode2 = 0 ;
9803 wxColour temp3 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806 PyObject * obj2 = 0 ;
9807 char * kwnames[] = {
9808 (char *) "self",(char *) "item",(char *) "c", NULL
9809 };
9810
9811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9813 if (!SWIG_IsOK(res1)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9815 }
9816 arg1 = reinterpret_cast< wxListBox * >(argp1);
9817 ecode2 = SWIG_AsVal_int(obj1, &val2);
9818 if (!SWIG_IsOK(ecode2)) {
9819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9820 }
9821 arg2 = static_cast< int >(val2);
9822 {
9823 arg3 = &temp3;
9824 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834fail:
9835 return NULL;
9836}
9837
9838
9839SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = 0;
9841 wxListBox *arg1 = (wxListBox *) 0 ;
9842 int arg2 ;
9843 wxColour *arg3 = 0 ;
9844 void *argp1 = 0 ;
9845 int res1 = 0 ;
9846 int val2 ;
9847 int ecode2 = 0 ;
9848 wxColour temp3 ;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 char * kwnames[] = {
9853 (char *) "self",(char *) "item",(char *) "c", NULL
9854 };
9855
9856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9858 if (!SWIG_IsOK(res1)) {
9859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9860 }
9861 arg1 = reinterpret_cast< wxListBox * >(argp1);
9862 ecode2 = SWIG_AsVal_int(obj1, &val2);
9863 if (!SWIG_IsOK(ecode2)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9865 }
9866 arg2 = static_cast< int >(val2);
9867 {
9868 arg3 = &temp3;
9869 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9870 }
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_Py_Void();
9878 return resultobj;
9879fail:
9880 return NULL;
9881}
9882
9883
9884SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj = 0;
9886 wxListBox *arg1 = (wxListBox *) 0 ;
9887 int arg2 ;
9888 wxFont *arg3 = 0 ;
9889 void *argp1 = 0 ;
9890 int res1 = 0 ;
9891 int val2 ;
9892 int ecode2 = 0 ;
9893 void *argp3 = 0 ;
9894 int res3 = 0 ;
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 PyObject * obj2 = 0 ;
9898 char * kwnames[] = {
9899 (char *) "self",(char *) "item",(char *) "f", NULL
9900 };
9901
9902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9904 if (!SWIG_IsOK(res1)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9906 }
9907 arg1 = reinterpret_cast< wxListBox * >(argp1);
9908 ecode2 = SWIG_AsVal_int(obj1, &val2);
9909 if (!SWIG_IsOK(ecode2)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9911 }
9912 arg2 = static_cast< int >(val2);
9913 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9914 if (!SWIG_IsOK(res3)) {
9915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9916 }
9917 if (!argp3) {
9918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9919 }
9920 arg3 = reinterpret_cast< wxFont * >(argp3);
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929fail:
9930 return NULL;
9931}
9932
9933
9934SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9937 SwigValueWrapper<wxVisualAttributes > result;
9938 int val1 ;
9939 int ecode1 = 0 ;
9940 PyObject * obj0 = 0 ;
9941 char * kwnames[] = {
9942 (char *) "variant", NULL
9943 };
9944
9945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9946 if (obj0) {
9947 ecode1 = SWIG_AsVal_int(obj0, &val1);
9948 if (!SWIG_IsOK(ecode1)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9950 }
9951 arg1 = static_cast< wxWindowVariant >(val1);
9952 }
9953 {
9954 if (!wxPyCheckForApp()) SWIG_fail;
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = wxListBox::GetClassDefaultAttributes(arg1);
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9961 return resultobj;
9962fail:
9963 return NULL;
9964}
9965
9966
9967SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9968 PyObject *obj;
9969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9970 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9971 return SWIG_Py_Void();
9972}
9973
9974SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9975 return SWIG_Python_InitShadowInstance(args);
9976}
9977
9978SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj = 0;
9980 wxWindow *arg1 = (wxWindow *) 0 ;
9981 int arg2 = (int) -1 ;
9982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9984 wxSize const &arg4_defvalue = wxDefaultSize ;
9985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9986 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
9987 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
9988 long arg6 = (long) 0 ;
9989 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9990 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9991 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
9992 wxString *arg8 = (wxString *) &arg8_defvalue ;
9993 wxCheckListBox *result = 0 ;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 int val2 ;
9997 int ecode2 = 0 ;
9998 wxPoint temp3 ;
9999 wxSize temp4 ;
10000 bool temp5 = false ;
10001 long val6 ;
10002 int ecode6 = 0 ;
10003 void *argp7 = 0 ;
10004 int res7 = 0 ;
10005 bool temp8 = false ;
10006 PyObject * obj0 = 0 ;
10007 PyObject * obj1 = 0 ;
10008 PyObject * obj2 = 0 ;
10009 PyObject * obj3 = 0 ;
10010 PyObject * obj4 = 0 ;
10011 PyObject * obj5 = 0 ;
10012 PyObject * obj6 = 0 ;
10013 PyObject * obj7 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10022 }
10023 arg1 = reinterpret_cast< wxWindow * >(argp1);
10024 if (obj1) {
10025 ecode2 = SWIG_AsVal_int(obj1, &val2);
10026 if (!SWIG_IsOK(ecode2)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10028 }
10029 arg2 = static_cast< int >(val2);
10030 }
10031 if (obj2) {
d55e5bfc 10032 {
554f62e9
RD
10033 arg3 = &temp3;
10034 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10035 }
554f62e9
RD
10036 }
10037 if (obj3) {
d55e5bfc 10038 {
554f62e9
RD
10039 arg4 = &temp4;
10040 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10041 }
554f62e9
RD
10042 }
10043 if (obj4) {
d55e5bfc 10044 {
554f62e9
RD
10045 if (! PySequence_Check(obj4)) {
10046 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10047 SWIG_fail;
10048 }
10049 arg5 = new wxArrayString;
10050 temp5 = true;
10051 int i, len=PySequence_Length(obj4);
10052 for (i=0; i<len; i++) {
10053 PyObject* item = PySequence_GetItem(obj4, i);
10054 wxString* s = wxString_in_helper(item);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 arg5->Add(*s);
10057 delete s;
10058 Py_DECREF(item);
10059 }
d55e5bfc 10060 }
554f62e9
RD
10061 }
10062 if (obj5) {
10063 ecode6 = SWIG_AsVal_long(obj5, &val6);
10064 if (!SWIG_IsOK(ecode6)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10066 }
10067 arg6 = static_cast< long >(val6);
10068 }
10069 if (obj6) {
10070 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10071 if (!SWIG_IsOK(res7)) {
10072 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10073 }
554f62e9
RD
10074 if (!argp7) {
10075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10076 }
554f62e9
RD
10077 arg7 = reinterpret_cast< wxValidator * >(argp7);
10078 }
10079 if (obj7) {
093d3ff1 10080 {
554f62e9
RD
10081 arg8 = wxString_in_helper(obj7);
10082 if (arg8 == NULL) SWIG_fail;
10083 temp8 = true;
093d3ff1 10084 }
554f62e9
RD
10085 }
10086 {
10087 if (!wxPyCheckForApp()) SWIG_fail;
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
10089 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10094 {
10095 if (temp5) delete arg5;
10096 }
10097 {
10098 if (temp8)
10099 delete arg8;
10100 }
10101 return resultobj;
10102fail:
10103 {
10104 if (temp5) delete arg5;
10105 }
10106 {
10107 if (temp8)
10108 delete arg8;
10109 }
10110 return NULL;
d55e5bfc
RD
10111}
10112
10113
554f62e9
RD
10114SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxCheckListBox *result = 0 ;
10117
10118 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10119 {
10120 if (!wxPyCheckForApp()) SWIG_fail;
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (wxCheckListBox *)new wxCheckListBox();
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10127 return resultobj;
10128fail:
10129 return NULL;
10130}
10131
10132
10133SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj = 0;
10135 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10136 wxWindow *arg2 = (wxWindow *) 0 ;
10137 int arg3 = (int) -1 ;
10138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10140 wxSize const &arg5_defvalue = wxDefaultSize ;
10141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10142 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10143 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10144 long arg7 = (long) 0 ;
10145 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10146 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10147 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10148 wxString *arg9 = (wxString *) &arg9_defvalue ;
10149 bool result;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 void *argp2 = 0 ;
10153 int res2 = 0 ;
10154 int val3 ;
10155 int ecode3 = 0 ;
10156 wxPoint temp4 ;
10157 wxSize temp5 ;
10158 bool temp6 = false ;
10159 long val7 ;
10160 int ecode7 = 0 ;
10161 void *argp8 = 0 ;
10162 int res8 = 0 ;
10163 bool temp9 = false ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166 PyObject * obj2 = 0 ;
10167 PyObject * obj3 = 0 ;
10168 PyObject * obj4 = 0 ;
10169 PyObject * obj5 = 0 ;
10170 PyObject * obj6 = 0 ;
10171 PyObject * obj7 = 0 ;
10172 PyObject * obj8 = 0 ;
10173 char * kwnames[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10175 };
10176
10177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10179 if (!SWIG_IsOK(res1)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10181 }
10182 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10184 if (!SWIG_IsOK(res2)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10186 }
10187 arg2 = reinterpret_cast< wxWindow * >(argp2);
10188 if (obj2) {
10189 ecode3 = SWIG_AsVal_int(obj2, &val3);
10190 if (!SWIG_IsOK(ecode3)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10192 }
10193 arg3 = static_cast< int >(val3);
10194 }
10195 if (obj3) {
f20a2e1f 10196 {
554f62e9
RD
10197 arg4 = &temp4;
10198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10199 }
554f62e9
RD
10200 }
10201 if (obj4) {
d55e5bfc 10202 {
554f62e9
RD
10203 arg5 = &temp5;
10204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10205 }
554f62e9
RD
10206 }
10207 if (obj5) {
d55e5bfc 10208 {
554f62e9
RD
10209 if (! PySequence_Check(obj5)) {
10210 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10211 SWIG_fail;
10212 }
10213 arg6 = new wxArrayString;
10214 temp6 = true;
10215 int i, len=PySequence_Length(obj5);
10216 for (i=0; i<len; i++) {
10217 PyObject* item = PySequence_GetItem(obj5, i);
10218 wxString* s = wxString_in_helper(item);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 arg6->Add(*s);
10221 delete s;
10222 Py_DECREF(item);
10223 }
d55e5bfc 10224 }
554f62e9
RD
10225 }
10226 if (obj6) {
10227 ecode7 = SWIG_AsVal_long(obj6, &val7);
10228 if (!SWIG_IsOK(ecode7)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10230 }
10231 arg7 = static_cast< long >(val7);
10232 }
10233 if (obj7) {
10234 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10235 if (!SWIG_IsOK(res8)) {
10236 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10237 }
554f62e9
RD
10238 if (!argp8) {
10239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10240 }
554f62e9
RD
10241 arg8 = reinterpret_cast< wxValidator * >(argp8);
10242 }
10243 if (obj8) {
d55e5bfc 10244 {
554f62e9
RD
10245 arg9 = wxString_in_helper(obj8);
10246 if (arg9 == NULL) SWIG_fail;
10247 temp9 = true;
d55e5bfc 10248 }
554f62e9
RD
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 {
10257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10258 }
10259 {
10260 if (temp6) delete arg6;
10261 }
10262 {
10263 if (temp9)
10264 delete arg9;
10265 }
10266 return resultobj;
10267fail:
10268 {
10269 if (temp6) delete arg6;
10270 }
10271 {
10272 if (temp9)
10273 delete arg9;
10274 }
10275 return NULL;
10276}
10277
10278
10279SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj = 0;
10281 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10282 unsigned int arg2 ;
554f62e9
RD
10283 bool result;
10284 void *argp1 = 0 ;
10285 int res1 = 0 ;
50f151d7 10286 unsigned int val2 ;
554f62e9
RD
10287 int ecode2 = 0 ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 char * kwnames[] = {
10291 (char *) "self",(char *) "index", NULL
10292 };
10293
10294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10296 if (!SWIG_IsOK(res1)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10298 }
10299 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10300 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10301 if (!SWIG_IsOK(ecode2)) {
50f151d7 10302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10303 }
50f151d7 10304 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (bool)(arg1)->IsChecked(arg2);
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 {
10312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10313 }
10314 return resultobj;
10315fail:
10316 return NULL;
10317}
10318
10319
10320SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = 0;
10322 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10323 unsigned int arg2 ;
554f62e9
RD
10324 int arg3 = (int) true ;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
50f151d7 10327 unsigned int val2 ;
554f62e9
RD
10328 int ecode2 = 0 ;
10329 int val3 ;
10330 int ecode3 = 0 ;
10331 PyObject * obj0 = 0 ;
10332 PyObject * obj1 = 0 ;
10333 PyObject * obj2 = 0 ;
10334 char * kwnames[] = {
10335 (char *) "self",(char *) "index",(char *) "check", NULL
10336 };
10337
10338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10340 if (!SWIG_IsOK(res1)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10342 }
10343 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10344 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10345 if (!SWIG_IsOK(ecode2)) {
50f151d7 10346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10347 }
50f151d7 10348 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10349 if (obj2) {
10350 ecode3 = SWIG_AsVal_int(obj2, &val3);
10351 if (!SWIG_IsOK(ecode3)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10353 }
10354 arg3 = static_cast< int >(val3);
10355 }
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->Check(arg2,arg3);
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_Py_Void();
10363 return resultobj;
10364fail:
10365 return NULL;
d55e5bfc
RD
10366}
10367
10368
554f62e9
RD
10369SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10370 PyObject *resultobj = 0;
10371 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10372 int result;
10373 void *argp1 = 0 ;
10374 int res1 = 0 ;
10375 PyObject *swig_obj[1] ;
10376
10377 if (!args) SWIG_fail;
10378 swig_obj[0] = args;
10379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10382 }
10383 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (int)(arg1)->GetItemHeight();
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_From_int(static_cast< int >(result));
10391 return resultobj;
10392fail:
10393 return NULL;
d55e5bfc
RD
10394}
10395
10396
554f62e9
RD
10397SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10398 PyObject *obj;
10399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10400 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10401 return SWIG_Py_Void();
d55e5bfc
RD
10402}
10403
554f62e9
RD
10404SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 return SWIG_Python_InitShadowInstance(args);
9d7dfdff
RD
10406}
10407
554f62e9
RD
10408SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10409 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10410 return 1;
f20a2e1f
RD
10411}
10412
10413
554f62e9
RD
10414SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10415 PyObject *pyobj = 0;
10416
10417 {
10418#if wxUSE_UNICODE
10419 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10420#else
10421 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10422#endif
10423 }
10424 return pyobj;
10425}
10426
10427
10428SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj = 0;
10430 wxColour const &arg1_defvalue = wxNullColour ;
10431 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10432 wxColour const &arg2_defvalue = wxNullColour ;
10433 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10434 wxFont const &arg3_defvalue = wxNullFont ;
10435 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10436 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10437 wxTextAttr *result = 0 ;
10438 wxColour temp1 ;
10439 wxColour temp2 ;
10440 void *argp3 = 0 ;
10441 int res3 = 0 ;
10442 int val4 ;
10443 int ecode4 = 0 ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 PyObject * obj2 = 0 ;
10447 PyObject * obj3 = 0 ;
10448 char * kwnames[] = {
10449 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10450 };
10451
10452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10453 if (obj0) {
d55e5bfc 10454 {
554f62e9
RD
10455 arg1 = &temp1;
10456 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10457 }
554f62e9
RD
10458 }
10459 if (obj1) {
d55e5bfc 10460 {
554f62e9
RD
10461 arg2 = &temp2;
10462 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10463 }
554f62e9
RD
10464 }
10465 if (obj2) {
10466 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10467 if (!SWIG_IsOK(res3)) {
10468 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10469 }
554f62e9
RD
10470 if (!argp3) {
10471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10472 }
10473 arg3 = reinterpret_cast< wxFont * >(argp3);
10474 }
10475 if (obj3) {
10476 ecode4 = SWIG_AsVal_int(obj3, &val4);
10477 if (!SWIG_IsOK(ecode4)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10479 }
10480 arg4 = static_cast< wxTextAttrAlignment >(val4);
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10489 return resultobj;
10490fail:
10491 return NULL;
d55e5bfc
RD
10492}
10493
10494
554f62e9
RD
10495SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10496 PyObject *resultobj = 0;
10497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10498 void *argp1 = 0 ;
10499 int res1 = 0 ;
10500 PyObject *swig_obj[1] ;
10501
10502 if (!args) SWIG_fail;
10503 swig_obj[0] = args;
10504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10505 if (!SWIG_IsOK(res1)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10507 }
10508 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 delete arg1;
d55e5bfc 10512
554f62e9
RD
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_Py_Void();
10517 return resultobj;
10518fail:
10519 return NULL;
d55e5bfc
RD
10520}
10521
10522
554f62e9
RD
10523SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10524 PyObject *resultobj = 0;
10525 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10526 void *argp1 = 0 ;
10527 int res1 = 0 ;
10528 PyObject *swig_obj[1] ;
10529
10530 if (!args) SWIG_fail;
10531 swig_obj[0] = args;
10532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10533 if (!SWIG_IsOK(res1)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10535 }
10536 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->Init();
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_Py_Void();
10544 return resultobj;
10545fail:
10546 return NULL;
10547}
10548
10549
f460c29d
RD
10550SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj = 0;
10552 wxTextAttr *arg1 = 0 ;
10553 wxTextAttr *arg2 = 0 ;
10554 wxTextAttr result;
10555 void *argp1 = 0 ;
10556 int res1 = 0 ;
10557 void *argp2 = 0 ;
10558 int res2 = 0 ;
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561 char * kwnames[] = {
10562 (char *) "base",(char *) "overlay", NULL
10563 };
10564
10565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10566 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10567 if (!SWIG_IsOK(res1)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10569 }
10570 if (!argp1) {
10571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10572 }
10573 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10575 if (!SWIG_IsOK(res2)) {
10576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10577 }
10578 if (!argp2) {
10579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10580 }
10581 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10589 return resultobj;
10590fail:
10591 return NULL;
10592}
10593
10594
554f62e9
RD
10595SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj = 0;
10597 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10598 wxColour *arg2 = 0 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 wxColour temp2 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char * kwnames[] = {
10605 (char *) "self",(char *) "colText", NULL
10606 };
10607
10608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10610 if (!SWIG_IsOK(res1)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10612 }
10613 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10614 {
10615 arg2 = &temp2;
10616 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetTextColour((wxColour const &)*arg2);
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_Py_Void();
10625 return resultobj;
10626fail:
10627 return NULL;
10628}
10629
10630
10631SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj = 0;
10633 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10634 wxColour *arg2 = 0 ;
10635 void *argp1 = 0 ;
10636 int res1 = 0 ;
10637 wxColour temp2 ;
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 char * kwnames[] = {
10641 (char *) "self",(char *) "colBack", NULL
10642 };
10643
10644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10648 }
10649 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10650 {
10651 arg2 = &temp2;
10652 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_Py_Void();
10661 return resultobj;
10662fail:
10663 return NULL;
10664}
10665
10666
10667SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj = 0;
10669 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10670 wxFont *arg2 = 0 ;
10671 long arg3 = (long) wxTEXT_ATTR_FONT ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 void *argp2 = 0 ;
10675 int res2 = 0 ;
10676 long val3 ;
10677 int ecode3 = 0 ;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 PyObject * obj2 = 0 ;
10681 char * kwnames[] = {
10682 (char *) "self",(char *) "font",(char *) "flags", NULL
10683 };
10684
10685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10687 if (!SWIG_IsOK(res1)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10689 }
10690 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10692 if (!SWIG_IsOK(res2)) {
10693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10694 }
10695 if (!argp2) {
10696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10697 }
10698 arg2 = reinterpret_cast< wxFont * >(argp2);
10699 if (obj2) {
10700 ecode3 = SWIG_AsVal_long(obj2, &val3);
10701 if (!SWIG_IsOK(ecode3)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10703 }
10704 arg3 = static_cast< long >(val3);
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = SWIG_Py_Void();
10713 return resultobj;
10714fail:
10715 return NULL;
10716}
10717
10718
10719SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj = 0;
10721 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10722 wxTextAttrAlignment arg2 ;
10723 void *argp1 = 0 ;
10724 int res1 = 0 ;
10725 int val2 ;
10726 int ecode2 = 0 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char * kwnames[] = {
10730 (char *) "self",(char *) "alignment", NULL
10731 };
10732
10733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10737 }
10738 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10739 ecode2 = SWIG_AsVal_int(obj1, &val2);
10740 if (!SWIG_IsOK(ecode2)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10742 }
10743 arg2 = static_cast< wxTextAttrAlignment >(val2);
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetAlignment(arg2);
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 resultobj = SWIG_Py_Void();
10751 return resultobj;
10752fail:
10753 return NULL;
10754}
10755
10756
10757SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj = 0;
10759 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10760 wxArrayInt *arg2 = 0 ;
10761 void *argp1 = 0 ;
10762 int res1 = 0 ;
10763 bool temp2 = false ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 char * kwnames[] = {
10767 (char *) "self",(char *) "tabs", NULL
10768 };
10769
10770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10772 if (!SWIG_IsOK(res1)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10774 }
10775 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10776 {
10777 if (! PySequence_Check(obj1)) {
10778 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10779 SWIG_fail;
10780 }
10781 arg2 = new wxArrayInt;
10782 temp2 = true;
10783 int i, len=PySequence_Length(obj1);
10784 for (i=0; i<len; i++) {
10785 PyObject* item = PySequence_GetItem(obj1, i);
10786 PyObject* number = PyNumber_Int(item);
10787 arg2->Add(PyInt_AS_LONG(number));
10788 Py_DECREF(item);
10789 Py_DECREF(number);
d55e5bfc 10790 }
554f62e9
RD
10791 }
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 resultobj = SWIG_Py_Void();
10799 {
10800 if (temp2) delete arg2;
10801 }
10802 return resultobj;
10803fail:
10804 {
10805 if (temp2) delete arg2;
10806 }
10807 return NULL;
10808}
10809
10810
10811SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj = 0;
10813 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10814 int arg2 ;
10815 int arg3 = (int) 0 ;
10816 void *argp1 = 0 ;
10817 int res1 = 0 ;
10818 int val2 ;
10819 int ecode2 = 0 ;
10820 int val3 ;
10821 int ecode3 = 0 ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 PyObject * obj2 = 0 ;
10825 char * kwnames[] = {
10826 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10827 };
10828
10829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10831 if (!SWIG_IsOK(res1)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10833 }
10834 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10835 ecode2 = SWIG_AsVal_int(obj1, &val2);
10836 if (!SWIG_IsOK(ecode2)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10838 }
10839 arg2 = static_cast< int >(val2);
10840 if (obj2) {
10841 ecode3 = SWIG_AsVal_int(obj2, &val3);
10842 if (!SWIG_IsOK(ecode3)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10844 }
10845 arg3 = static_cast< int >(val3);
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->SetLeftIndent(arg2,arg3);
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = SWIG_Py_Void();
10854 return resultobj;
10855fail:
10856 return NULL;
10857}
10858
10859
10860SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj = 0;
10862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10863 int arg2 ;
10864 void *argp1 = 0 ;
10865 int res1 = 0 ;
10866 int val2 ;
10867 int ecode2 = 0 ;
10868 PyObject * obj0 = 0 ;
10869 PyObject * obj1 = 0 ;
10870 char * kwnames[] = {
10871 (char *) "self",(char *) "indent", NULL
10872 };
10873
10874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10876 if (!SWIG_IsOK(res1)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10878 }
10879 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10880 ecode2 = SWIG_AsVal_int(obj1, &val2);
10881 if (!SWIG_IsOK(ecode2)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10883 }
10884 arg2 = static_cast< int >(val2);
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 (arg1)->SetRightIndent(arg2);
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 resultobj = SWIG_Py_Void();
10892 return resultobj;
10893fail:
10894 return NULL;
10895}
10896
10897
10898SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj = 0;
10900 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10901 long arg2 ;
10902 void *argp1 = 0 ;
10903 int res1 = 0 ;
10904 long val2 ;
10905 int ecode2 = 0 ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char * kwnames[] = {
10909 (char *) "self",(char *) "flags", NULL
10910 };
10911
10912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10914 if (!SWIG_IsOK(res1)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10916 }
10917 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10918 ecode2 = SWIG_AsVal_long(obj1, &val2);
10919 if (!SWIG_IsOK(ecode2)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10921 }
10922 arg2 = static_cast< long >(val2);
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetFlags(arg2);
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = SWIG_Py_Void();
10930 return resultobj;
10931fail:
10932 return NULL;
d55e5bfc
RD
10933}
10934
10935
554f62e9
RD
10936SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10937 PyObject *resultobj = 0;
10938 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10939 bool result;
10940 void *argp1 = 0 ;
10941 int res1 = 0 ;
10942 PyObject *swig_obj[1] ;
10943
10944 if (!args) SWIG_fail;
10945 swig_obj[0] = args;
10946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10947 if (!SWIG_IsOK(res1)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10949 }
10950 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 {
10958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10959 }
10960 return resultobj;
10961fail:
10962 return NULL;
d55e5bfc
RD
10963}
10964
10965
554f62e9
RD
10966SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10967 PyObject *resultobj = 0;
10968 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 PyObject *swig_obj[1] ;
10973
10974 if (!args) SWIG_fail;
10975 swig_obj[0] = args;
10976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10977 if (!SWIG_IsOK(res1)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10979 }
10980 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 {
10988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10989 }
10990 return resultobj;
10991fail:
10992 return NULL;
d55e5bfc
RD
10993}
10994
10995
554f62e9
RD
10996SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10997 PyObject *resultobj = 0;
10998 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10999 bool result;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 PyObject *swig_obj[1] ;
11003
11004 if (!args) SWIG_fail;
11005 swig_obj[0] = args;
11006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11009 }
11010 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11019 }
11020 return resultobj;
11021fail:
11022 return NULL;
d55e5bfc
RD
11023}
11024
11025
554f62e9
RD
11026SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027 PyObject *resultobj = 0;
11028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11029 bool result;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 PyObject *swig_obj[1] ;
11033
11034 if (!args) SWIG_fail;
11035 swig_obj[0] = args;
11036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11037 if (!SWIG_IsOK(res1)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11039 }
11040 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051fail:
11052 return NULL;
f20a2e1f
RD
11053}
11054
11055
554f62e9
RD
11056SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081fail:
11082 return NULL;
d55e5bfc
RD
11083}
11084
11085
554f62e9
RD
11086SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11087 PyObject *resultobj = 0;
11088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11089 bool result;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 PyObject *swig_obj[1] ;
11093
11094 if (!args) SWIG_fail;
11095 swig_obj[0] = args;
11096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11099 }
11100 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 }
11110 return resultobj;
11111fail:
11112 return NULL;
d55e5bfc
RD
11113}
11114
11115
554f62e9
RD
11116SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11117 PyObject *resultobj = 0;
11118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11119 bool result;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 PyObject *swig_obj[1] ;
11123
11124 if (!args) SWIG_fail;
11125 swig_obj[0] = args;
11126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 }
11130 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
11140 return resultobj;
11141fail:
11142 return NULL;
11143}
11144
11145
11146SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11149 long arg2 ;
11150 bool result;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 long val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "flag", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11165 }
11166 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11167 ecode2 = SWIG_AsVal_long(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11170 }
11171 arg2 = static_cast< long >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182fail:
11183 return NULL;
d55e5bfc
RD
11184}
11185
11186
554f62e9
RD
11187SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11188 PyObject *resultobj = 0;
11189 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11190 wxColour *result = 0 ;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 PyObject *swig_obj[1] ;
11194
11195 if (!args) SWIG_fail;
11196 swig_obj[0] = args;
11197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11200 }
11201 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11204 {
554f62e9
RD
11205 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11206 result = (wxColour *) &_result_ref;
d55e5bfc 11207 }
554f62e9
RD
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11212 return resultobj;
11213fail:
11214 return NULL;
d55e5bfc
RD
11215}
11216
11217
554f62e9
RD
11218SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11219 PyObject *resultobj = 0;
11220 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11221 wxColour *result = 0 ;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 PyObject *swig_obj[1] ;
11225
11226 if (!args) SWIG_fail;
11227 swig_obj[0] = args;
11228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11229 if (!SWIG_IsOK(res1)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11231 }
11232 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11235 {
554f62e9
RD
11236 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11237 result = (wxColour *) &_result_ref;
d55e5bfc 11238 }
554f62e9
RD
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11243 return resultobj;
11244fail:
11245 return NULL;
d55e5bfc
RD
11246}
11247
11248
554f62e9
RD
11249SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11250 PyObject *resultobj = 0;
11251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11252 wxFont *result = 0 ;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 PyObject *swig_obj[1] ;
11256
11257 if (!args) SWIG_fail;
11258 swig_obj[0] = args;
11259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11260 if (!SWIG_IsOK(res1)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11262 }
11263 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11266 {
554f62e9
RD
11267 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11268 result = (wxFont *) &_result_ref;
d55e5bfc 11269 }
554f62e9
RD
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 {
11274 wxFont* resultptr = new wxFont(*result);
11275 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11276 }
11277 return resultobj;
11278fail:
11279 return NULL;
d55e5bfc
RD
11280}
11281
11282
554f62e9
RD
11283SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11284 PyObject *resultobj = 0;
11285 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11286 wxTextAttrAlignment result;
11287 void *argp1 = 0 ;
11288 int res1 = 0 ;
11289 PyObject *swig_obj[1] ;
11290
11291 if (!args) SWIG_fail;
11292 swig_obj[0] = args;
11293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11296 }
11297 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_From_int(static_cast< int >(result));
11305 return resultobj;
11306fail:
11307 return NULL;
d55e5bfc
RD
11308}
11309
11310
554f62e9
RD
11311SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11312 PyObject *resultobj = 0;
11313 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11314 wxArrayInt *result = 0 ;
11315 void *argp1 = 0 ;
11316 int res1 = 0 ;
11317 PyObject *swig_obj[1] ;
11318
11319 if (!args) SWIG_fail;
11320 swig_obj[0] = args;
11321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11322 if (!SWIG_IsOK(res1)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11324 }
11325 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11328 {
554f62e9
RD
11329 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11330 result = (wxArrayInt *) &_result_ref;
d55e5bfc 11331 }
554f62e9
RD
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 resultobj = PyList_New(0);
11337 size_t idx;
11338 for (idx = 0; idx < result->GetCount(); idx += 1) {
11339 PyObject* val = PyInt_FromLong( result->Item(idx) );
11340 PyList_Append(resultobj, val);
11341 Py_DECREF(val);
d55e5bfc 11342 }
554f62e9
RD
11343 }
11344 return resultobj;
11345fail:
11346 return NULL;
d55e5bfc
RD
11347}
11348
11349
554f62e9
RD
11350SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11351 PyObject *resultobj = 0;
11352 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11353 long result;
11354 void *argp1 = 0 ;
11355 int res1 = 0 ;
11356 PyObject *swig_obj[1] ;
11357
11358 if (!args) SWIG_fail;
11359 swig_obj[0] = args;
11360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11361 if (!SWIG_IsOK(res1)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11363 }
11364 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_From_long(static_cast< long >(result));
11372 return resultobj;
11373fail:
11374 return NULL;
d55e5bfc
RD
11375}
11376
11377
554f62e9
RD
11378SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 PyObject *resultobj = 0;
11380 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11381 long result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 PyObject *swig_obj[1] ;
11385
11386 if (!args) SWIG_fail;
11387 swig_obj[0] = args;
11388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11391 }
11392 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_long(static_cast< long >(result));
11400 return resultobj;
11401fail:
11402 return NULL;
d55e5bfc
RD
11403}
11404
11405
554f62e9
RD
11406SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11407 PyObject *resultobj = 0;
11408 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11409 long result;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 PyObject *swig_obj[1] ;
11413
11414 if (!args) SWIG_fail;
11415 swig_obj[0] = args;
11416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11417 if (!SWIG_IsOK(res1)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11419 }
11420 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = SWIG_From_long(static_cast< long >(result));
11428 return resultobj;
11429fail:
11430 return NULL;
d55e5bfc
RD
11431}
11432
11433
554f62e9
RD
11434SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *resultobj = 0;
11436 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11437 long result;
11438 void *argp1 = 0 ;
11439 int res1 = 0 ;
11440 PyObject *swig_obj[1] ;
11441
11442 if (!args) SWIG_fail;
11443 swig_obj[0] = args;
11444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11447 }
11448 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_From_long(static_cast< long >(result));
11456 return resultobj;
11457fail:
11458 return NULL;
d55e5bfc
RD
11459}
11460
11461
554f62e9
RD
11462SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11463 PyObject *resultobj = 0;
11464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11465 bool result;
11466 void *argp1 = 0 ;
11467 int res1 = 0 ;
11468 PyObject *swig_obj[1] ;
11469
11470 if (!args) SWIG_fail;
11471 swig_obj[0] = args;
11472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11475 }
11476 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 {
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 }
11486 return resultobj;
11487fail:
11488 return NULL;
11489}
11490
11491
11492SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj = 0;
11494 wxTextAttr *arg1 = 0 ;
11495 wxTextAttr *arg2 = 0 ;
11496 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11497 wxTextAttr result;
11498 void *argp1 = 0 ;
11499 int res1 = 0 ;
11500 void *argp2 = 0 ;
11501 int res2 = 0 ;
11502 void *argp3 = 0 ;
11503 int res3 = 0 ;
11504 PyObject * obj0 = 0 ;
11505 PyObject * obj1 = 0 ;
11506 PyObject * obj2 = 0 ;
11507 char * kwnames[] = {
11508 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11509 };
11510
11511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11512 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11513 if (!SWIG_IsOK(res1)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11515 }
11516 if (!argp1) {
11517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11518 }
11519 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11521 if (!SWIG_IsOK(res2)) {
11522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11523 }
11524 if (!argp2) {
11525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11526 }
11527 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11528 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11529 if (!SWIG_IsOK(res3)) {
11530 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11531 }
11532 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11540 return resultobj;
11541fail:
11542 return NULL;
11543}
11544
11545
11546SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11547 PyObject *obj;
11548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11549 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11550 return SWIG_Py_Void();
11551}
11552
11553SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11554 return SWIG_Python_InitShadowInstance(args);
11555}
11556
11557SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11558 PyObject *resultobj = 0;
11559 wxWindow *arg1 = (wxWindow *) 0 ;
11560 int arg2 = (int) -1 ;
11561 wxString const &arg3_defvalue = wxPyEmptyString ;
11562 wxString *arg3 = (wxString *) &arg3_defvalue ;
11563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11565 wxSize const &arg5_defvalue = wxDefaultSize ;
11566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11567 long arg6 = (long) 0 ;
11568 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11569 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11570 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11571 wxString *arg8 = (wxString *) &arg8_defvalue ;
11572 wxTextCtrl *result = 0 ;
11573 void *argp1 = 0 ;
11574 int res1 = 0 ;
11575 int val2 ;
11576 int ecode2 = 0 ;
11577 bool temp3 = false ;
11578 wxPoint temp4 ;
11579 wxSize temp5 ;
11580 long val6 ;
11581 int ecode6 = 0 ;
11582 void *argp7 = 0 ;
11583 int res7 = 0 ;
11584 bool temp8 = false ;
11585 PyObject * obj0 = 0 ;
11586 PyObject * obj1 = 0 ;
11587 PyObject * obj2 = 0 ;
11588 PyObject * obj3 = 0 ;
11589 PyObject * obj4 = 0 ;
11590 PyObject * obj5 = 0 ;
11591 PyObject * obj6 = 0 ;
11592 PyObject * obj7 = 0 ;
11593 char * kwnames[] = {
11594 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11595 };
11596
11597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11599 if (!SWIG_IsOK(res1)) {
11600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11601 }
11602 arg1 = reinterpret_cast< wxWindow * >(argp1);
11603 if (obj1) {
11604 ecode2 = SWIG_AsVal_int(obj1, &val2);
11605 if (!SWIG_IsOK(ecode2)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11607 }
11608 arg2 = static_cast< int >(val2);
11609 }
11610 if (obj2) {
d55e5bfc 11611 {
554f62e9
RD
11612 arg3 = wxString_in_helper(obj2);
11613 if (arg3 == NULL) SWIG_fail;
11614 temp3 = true;
d55e5bfc 11615 }
554f62e9
RD
11616 }
11617 if (obj3) {
d55e5bfc 11618 {
554f62e9
RD
11619 arg4 = &temp4;
11620 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11621 }
554f62e9
RD
11622 }
11623 if (obj4) {
d55e5bfc 11624 {
554f62e9
RD
11625 arg5 = &temp5;
11626 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11627 }
554f62e9
RD
11628 }
11629 if (obj5) {
11630 ecode6 = SWIG_AsVal_long(obj5, &val6);
11631 if (!SWIG_IsOK(ecode6)) {
11632 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11633 }
11634 arg6 = static_cast< long >(val6);
11635 }
11636 if (obj6) {
11637 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11638 if (!SWIG_IsOK(res7)) {
11639 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11640 }
554f62e9
RD
11641 if (!argp7) {
11642 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11643 }
554f62e9
RD
11644 arg7 = reinterpret_cast< wxValidator * >(argp7);
11645 }
11646 if (obj7) {
d55e5bfc 11647 {
554f62e9
RD
11648 arg8 = wxString_in_helper(obj7);
11649 if (arg8 == NULL) SWIG_fail;
11650 temp8 = true;
d55e5bfc 11651 }
554f62e9
RD
11652 }
11653 {
11654 if (!wxPyCheckForApp()) SWIG_fail;
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11661 {
11662 if (temp3)
11663 delete arg3;
11664 }
11665 {
11666 if (temp8)
11667 delete arg8;
11668 }
11669 return resultobj;
11670fail:
11671 {
11672 if (temp3)
11673 delete arg3;
11674 }
11675 {
11676 if (temp8)
11677 delete arg8;
11678 }
11679 return NULL;
d55e5bfc
RD
11680}
11681
11682
554f62e9
RD
11683SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11684 PyObject *resultobj = 0;
11685 wxTextCtrl *result = 0 ;
11686
11687 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11688 {
11689 if (!wxPyCheckForApp()) SWIG_fail;
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (wxTextCtrl *)new wxTextCtrl();
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11696 return resultobj;
11697fail:
11698 return NULL;
11699}
11700
11701
11702SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj = 0;
11704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11705 wxWindow *arg2 = (wxWindow *) 0 ;
11706 int arg3 = (int) -1 ;
11707 wxString const &arg4_defvalue = wxPyEmptyString ;
11708 wxString *arg4 = (wxString *) &arg4_defvalue ;
11709 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11710 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11711 wxSize const &arg6_defvalue = wxDefaultSize ;
11712 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11713 long arg7 = (long) 0 ;
11714 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11715 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11716 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11717 wxString *arg9 = (wxString *) &arg9_defvalue ;
11718 bool result;
11719 void *argp1 = 0 ;
11720 int res1 = 0 ;
11721 void *argp2 = 0 ;
11722 int res2 = 0 ;
11723 int val3 ;
11724 int ecode3 = 0 ;
11725 bool temp4 = false ;
11726 wxPoint temp5 ;
11727 wxSize temp6 ;
11728 long val7 ;
11729 int ecode7 = 0 ;
11730 void *argp8 = 0 ;
11731 int res8 = 0 ;
11732 bool temp9 = false ;
11733 PyObject * obj0 = 0 ;
11734 PyObject * obj1 = 0 ;
11735 PyObject * obj2 = 0 ;
11736 PyObject * obj3 = 0 ;
11737 PyObject * obj4 = 0 ;
11738 PyObject * obj5 = 0 ;
11739 PyObject * obj6 = 0 ;
11740 PyObject * obj7 = 0 ;
11741 PyObject * obj8 = 0 ;
11742 char * kwnames[] = {
11743 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11744 };
11745
11746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11748 if (!SWIG_IsOK(res1)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11750 }
11751 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11752 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11753 if (!SWIG_IsOK(res2)) {
11754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11755 }
11756 arg2 = reinterpret_cast< wxWindow * >(argp2);
11757 if (obj2) {
11758 ecode3 = SWIG_AsVal_int(obj2, &val3);
11759 if (!SWIG_IsOK(ecode3)) {
11760 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11761 }
11762 arg3 = static_cast< int >(val3);
11763 }
11764 if (obj3) {
d55e5bfc 11765 {
554f62e9
RD
11766 arg4 = wxString_in_helper(obj3);
11767 if (arg4 == NULL) SWIG_fail;
11768 temp4 = true;
d55e5bfc 11769 }
554f62e9
RD
11770 }
11771 if (obj4) {
d55e5bfc 11772 {
554f62e9
RD
11773 arg5 = &temp5;
11774 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11775 }
554f62e9
RD
11776 }
11777 if (obj5) {
d55e5bfc 11778 {
554f62e9
RD
11779 arg6 = &temp6;
11780 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11781 }
554f62e9
RD
11782 }
11783 if (obj6) {
11784 ecode7 = SWIG_AsVal_long(obj6, &val7);
11785 if (!SWIG_IsOK(ecode7)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11787 }
11788 arg7 = static_cast< long >(val7);
11789 }
11790 if (obj7) {
11791 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11792 if (!SWIG_IsOK(res8)) {
11793 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11794 }
554f62e9
RD
11795 if (!argp8) {
11796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11797 }
554f62e9
RD
11798 arg8 = reinterpret_cast< wxValidator * >(argp8);
11799 }
11800 if (obj8) {
d55e5bfc 11801 {
554f62e9
RD
11802 arg9 = wxString_in_helper(obj8);
11803 if (arg9 == NULL) SWIG_fail;
11804 temp9 = true;
d55e5bfc 11805 }
554f62e9
RD
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11815 }
11816 {
11817 if (temp4)
11818 delete arg4;
11819 }
11820 {
11821 if (temp9)
11822 delete arg9;
11823 }
11824 return resultobj;
11825fail:
11826 {
11827 if (temp4)
11828 delete arg4;
11829 }
11830 {
11831 if (temp9)
11832 delete arg9;
11833 }
11834 return NULL;
d55e5bfc
RD
11835}
11836
11837
554f62e9
RD
11838SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11839 PyObject *resultobj = 0;
11840 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11841 wxString result;
11842 void *argp1 = 0 ;
11843 int res1 = 0 ;
11844 PyObject *swig_obj[1] ;
11845
11846 if (!args) SWIG_fail;
11847 swig_obj[0] = args;
11848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11849 if (!SWIG_IsOK(res1)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11851 }
11852 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = ((wxTextCtrl const *)arg1)->GetValue();
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 {
11860#if wxUSE_UNICODE
11861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11862#else
11863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11864#endif
11865 }
11866 return resultobj;
11867fail:
11868 return NULL;
11869}
11870
11871
11872SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11873 PyObject *resultobj = 0;
11874 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11875 wxString *arg2 = 0 ;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 bool temp2 = false ;
11879 PyObject * obj0 = 0 ;
11880 PyObject * obj1 = 0 ;
11881 char * kwnames[] = {
11882 (char *) "self",(char *) "value", NULL
11883 };
11884
11885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11887 if (!SWIG_IsOK(res1)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11889 }
11890 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11891 {
11892 arg2 = wxString_in_helper(obj1);
11893 if (arg2 == NULL) SWIG_fail;
11894 temp2 = true;
11895 }
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 (arg1)->SetValue((wxString const &)*arg2);
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 resultobj = SWIG_Py_Void();
11903 {
11904 if (temp2)
11905 delete arg2;
11906 }
11907 return resultobj;
11908fail:
11909 {
11910 if (temp2)
11911 delete arg2;
11912 }
11913 return NULL;
11914}
11915
11916
11917SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj = 0;
11919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11920 long arg2 ;
11921 long arg3 ;
11922 wxString result;
11923 void *argp1 = 0 ;
11924 int res1 = 0 ;
11925 long val2 ;
11926 int ecode2 = 0 ;
11927 long val3 ;
11928 int ecode3 = 0 ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 PyObject * obj2 = 0 ;
11932 char * kwnames[] = {
f460c29d 11933 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11940 }
11941 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11942 ecode2 = SWIG_AsVal_long(obj1, &val2);
11943 if (!SWIG_IsOK(ecode2)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11945 }
11946 arg2 = static_cast< long >(val2);
11947 ecode3 = SWIG_AsVal_long(obj2, &val3);
11948 if (!SWIG_IsOK(ecode3)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11950 }
11951 arg3 = static_cast< long >(val3);
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 {
11959#if wxUSE_UNICODE
11960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11961#else
11962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11963#endif
11964 }
11965 return resultobj;
11966fail:
11967 return NULL;
11968}
11969
11970
11971SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj = 0;
11973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11974 long arg2 ;
11975 int result;
11976 void *argp1 = 0 ;
11977 int res1 = 0 ;
11978 long val2 ;
11979 int ecode2 = 0 ;
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 char * kwnames[] = {
11983 (char *) "self",(char *) "lineNo", NULL
11984 };
11985
11986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
11987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11988 if (!SWIG_IsOK(res1)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11990 }
11991 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11992 ecode2 = SWIG_AsVal_long(obj1, &val2);
11993 if (!SWIG_IsOK(ecode2)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11995 }
11996 arg2 = static_cast< long >(val2);
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 resultobj = SWIG_From_int(static_cast< int >(result));
12004 return resultobj;
12005fail:
12006 return NULL;
12007}
12008
12009
12010SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12011 PyObject *resultobj = 0;
12012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12013 long arg2 ;
12014 wxString result;
12015 void *argp1 = 0 ;
12016 int res1 = 0 ;
12017 long val2 ;
12018 int ecode2 = 0 ;
12019 PyObject * obj0 = 0 ;
12020 PyObject * obj1 = 0 ;
12021 char * kwnames[] = {
12022 (char *) "self",(char *) "lineNo", NULL
12023 };
12024
12025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12027 if (!SWIG_IsOK(res1)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12029 }
12030 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12031 ecode2 = SWIG_AsVal_long(obj1, &val2);
12032 if (!SWIG_IsOK(ecode2)) {
12033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12034 }
12035 arg2 = static_cast< long >(val2);
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 {
12043#if wxUSE_UNICODE
12044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12045#else
12046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12047#endif
12048 }
12049 return resultobj;
12050fail:
12051 return NULL;
d55e5bfc
RD
12052}
12053
12054
554f62e9
RD
12055SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12056 PyObject *resultobj = 0;
12057 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12058 int result;
12059 void *argp1 = 0 ;
12060 int res1 = 0 ;
12061 PyObject *swig_obj[1] ;
12062
12063 if (!args) SWIG_fail;
12064 swig_obj[0] = args;
12065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12066 if (!SWIG_IsOK(res1)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12068 }
12069 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 resultobj = SWIG_From_int(static_cast< int >(result));
12077 return resultobj;
12078fail:
12079 return NULL;
d55e5bfc
RD
12080}
12081
12082
554f62e9
RD
12083SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12084 PyObject *resultobj = 0;
12085 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12086 bool result;
12087 void *argp1 = 0 ;
12088 int res1 = 0 ;
12089 PyObject *swig_obj[1] ;
12090
12091 if (!args) SWIG_fail;
12092 swig_obj[0] = args;
12093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12094 if (!SWIG_IsOK(res1)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12096 }
12097 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 {
12105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12106 }
12107 return resultobj;
12108fail:
12109 return NULL;
d55e5bfc
RD
12110}
12111
12112
554f62e9
RD
12113SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12114 PyObject *resultobj = 0;
12115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12116 bool result;
12117 void *argp1 = 0 ;
12118 int res1 = 0 ;
12119 PyObject *swig_obj[1] ;
12120
12121 if (!args) SWIG_fail;
12122 swig_obj[0] = args;
12123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12124 if (!SWIG_IsOK(res1)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12126 }
12127 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138fail:
12139 return NULL;
d55e5bfc
RD
12140}
12141
12142
554f62e9
RD
12143SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12144 PyObject *resultobj = 0;
12145 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12146 bool result;
12147 void *argp1 = 0 ;
12148 int res1 = 0 ;
12149 PyObject *swig_obj[1] ;
12150
12151 if (!args) SWIG_fail;
12152 swig_obj[0] = args;
12153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12154 if (!SWIG_IsOK(res1)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12156 }
12157 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 {
12165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12166 }
12167 return resultobj;
12168fail:
12169 return NULL;
d55e5bfc
RD
12170}
12171
12172
554f62e9
RD
12173SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12174 PyObject *resultobj = 0;
12175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12176 bool result;
12177 void *argp1 = 0 ;
12178 int res1 = 0 ;
12179 PyObject *swig_obj[1] ;
12180
12181 if (!args) SWIG_fail;
12182 swig_obj[0] = args;
12183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12184 if (!SWIG_IsOK(res1)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12186 }
12187 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 {
12195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12196 }
12197 return resultobj;
12198fail:
12199 return NULL;
12200}
12201
12202
12203SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12204 PyObject *resultobj = 0;
12205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12206 long *arg2 = (long *) 0 ;
12207 long *arg3 = (long *) 0 ;
12208 void *argp1 = 0 ;
12209 int res1 = 0 ;
12210 long temp2 ;
12211 int res2 = SWIG_TMPOBJ ;
12212 long temp3 ;
12213 int res3 = SWIG_TMPOBJ ;
12214 PyObject *swig_obj[1] ;
12215
12216 arg2 = &temp2;
12217 arg3 = &temp3;
12218 if (!args) SWIG_fail;
12219 swig_obj[0] = args;
12220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 }
12224 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_Py_Void();
12232 if (SWIG_IsTmpObj(res2)) {
12233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12234 } else {
12235 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12237 }
12238 if (SWIG_IsTmpObj(res3)) {
12239 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12240 } else {
12241 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12242 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12243 }
12244 return resultobj;
12245fail:
12246 return NULL;
d55e5bfc
RD
12247}
12248
12249
554f62e9
RD
12250SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12251 PyObject *resultobj = 0;
12252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12253 wxString result;
12254 void *argp1 = 0 ;
12255 int res1 = 0 ;
12256 PyObject *swig_obj[1] ;
12257
12258 if (!args) SWIG_fail;
12259 swig_obj[0] = args;
12260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12261 if (!SWIG_IsOK(res1)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12263 }
12264 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 {
12272#if wxUSE_UNICODE
12273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12274#else
12275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12276#endif
12277 }
12278 return resultobj;
12279fail:
12280 return NULL;
d55e5bfc
RD
12281}
12282
12283
554f62e9
RD
12284SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12285 PyObject *resultobj = 0;
12286 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12287 void *argp1 = 0 ;
12288 int res1 = 0 ;
12289 PyObject *swig_obj[1] ;
12290
12291 if (!args) SWIG_fail;
12292 swig_obj[0] = args;
12293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12294 if (!SWIG_IsOK(res1)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12296 }
12297 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 (arg1)->Clear();
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_Py_Void();
12305 return resultobj;
12306fail:
12307 return NULL;
12308}
12309
12310
12311SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = 0;
12313 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12314 long arg2 ;
12315 long arg3 ;
12316 wxString *arg4 = 0 ;
12317 void *argp1 = 0 ;
12318 int res1 = 0 ;
12319 long val2 ;
12320 int ecode2 = 0 ;
12321 long val3 ;
12322 int ecode3 = 0 ;
12323 bool temp4 = false ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj2 = 0 ;
12327 PyObject * obj3 = 0 ;
12328 char * kwnames[] = {
f460c29d 12329 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
12330 };
12331
12332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12334 if (!SWIG_IsOK(res1)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12336 }
12337 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12338 ecode2 = SWIG_AsVal_long(obj1, &val2);
12339 if (!SWIG_IsOK(ecode2)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12341 }
12342 arg2 = static_cast< long >(val2);
12343 ecode3 = SWIG_AsVal_long(obj2, &val3);
12344 if (!SWIG_IsOK(ecode3)) {
12345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12346 }
12347 arg3 = static_cast< long >(val3);
12348 {
12349 arg4 = wxString_in_helper(obj3);
12350 if (arg4 == NULL) SWIG_fail;
12351 temp4 = true;
12352 }
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_Py_Void();
12360 {
12361 if (temp4)
12362 delete arg4;
12363 }
12364 return resultobj;
12365fail:
12366 {
12367 if (temp4)
12368 delete arg4;
12369 }
12370 return NULL;
12371}
12372
12373
12374SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj = 0;
12376 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12377 long arg2 ;
12378 long arg3 ;
12379 void *argp1 = 0 ;
12380 int res1 = 0 ;
12381 long val2 ;
12382 int ecode2 = 0 ;
12383 long val3 ;
12384 int ecode3 = 0 ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 PyObject * obj2 = 0 ;
12388 char * kwnames[] = {
f460c29d 12389 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12390 };
12391
12392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12394 if (!SWIG_IsOK(res1)) {
12395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12396 }
12397 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12398 ecode2 = SWIG_AsVal_long(obj1, &val2);
12399 if (!SWIG_IsOK(ecode2)) {
12400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12401 }
12402 arg2 = static_cast< long >(val2);
12403 ecode3 = SWIG_AsVal_long(obj2, &val3);
12404 if (!SWIG_IsOK(ecode3)) {
12405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12406 }
12407 arg3 = static_cast< long >(val3);
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 (arg1)->Remove(arg2,arg3);
12411 wxPyEndAllowThreads(__tstate);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 }
12414 resultobj = SWIG_Py_Void();
12415 return resultobj;
12416fail:
12417 return NULL;
12418}
12419
12420
12421SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj = 0;
12423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12424 wxString *arg2 = 0 ;
12425 bool result;
12426 void *argp1 = 0 ;
12427 int res1 = 0 ;
12428 bool temp2 = false ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char * kwnames[] = {
12432 (char *) "self",(char *) "file", NULL
12433 };
12434
12435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
12436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12437 if (!SWIG_IsOK(res1)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12439 }
12440 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12441 {
12442 arg2 = wxString_in_helper(obj1);
12443 if (arg2 == NULL) SWIG_fail;
12444 temp2 = true;
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 {
12453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12454 }
12455 {
12456 if (temp2)
12457 delete arg2;
12458 }
12459 return resultobj;
12460fail:
12461 {
12462 if (temp2)
12463 delete arg2;
12464 }
12465 return NULL;
12466}
12467
12468
12469SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12470 PyObject *resultobj = 0;
12471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12472 wxString const &arg2_defvalue = wxPyEmptyString ;
12473 wxString *arg2 = (wxString *) &arg2_defvalue ;
12474 bool result;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 bool temp2 = false ;
12478 PyObject * obj0 = 0 ;
12479 PyObject * obj1 = 0 ;
12480 char * kwnames[] = {
12481 (char *) "self",(char *) "file", NULL
12482 };
12483
12484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
12485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12486 if (!SWIG_IsOK(res1)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12488 }
12489 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12490 if (obj1) {
d55e5bfc 12491 {
554f62e9
RD
12492 arg2 = wxString_in_helper(obj1);
12493 if (arg2 == NULL) SWIG_fail;
12494 temp2 = true;
d55e5bfc 12495 }
554f62e9
RD
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 {
12504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12505 }
12506 {
12507 if (temp2)
12508 delete arg2;
12509 }
12510 return resultobj;
12511fail:
12512 {
12513 if (temp2)
12514 delete arg2;
12515 }
12516 return NULL;
d55e5bfc
RD
12517}
12518
12519
554f62e9
RD
12520SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12521 PyObject *resultobj = 0;
12522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12523 void *argp1 = 0 ;
12524 int res1 = 0 ;
12525 PyObject *swig_obj[1] ;
12526
12527 if (!args) SWIG_fail;
12528 swig_obj[0] = args;
12529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12530 if (!SWIG_IsOK(res1)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12532 }
12533 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 (arg1)->MarkDirty();
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 resultobj = SWIG_Py_Void();
12541 return resultobj;
12542fail:
12543 return NULL;
d55e5bfc
RD
12544}
12545
12546
554f62e9
RD
12547SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12548 PyObject *resultobj = 0;
12549 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12550 void *argp1 = 0 ;
12551 int res1 = 0 ;
12552 PyObject *swig_obj[1] ;
12553
12554 if (!args) SWIG_fail;
12555 swig_obj[0] = args;
12556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12557 if (!SWIG_IsOK(res1)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12559 }
12560 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 (arg1)->DiscardEdits();
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = SWIG_Py_Void();
12568 return resultobj;
12569fail:
12570 return NULL;
12571}
12572
12573
12574SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj = 0;
12576 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12577 unsigned long arg2 ;
12578 void *argp1 = 0 ;
12579 int res1 = 0 ;
12580 unsigned long val2 ;
12581 int ecode2 = 0 ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 char * kwnames[] = {
12585 (char *) "self",(char *) "len", NULL
12586 };
12587
12588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12590 if (!SWIG_IsOK(res1)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12592 }
12593 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12594 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12595 if (!SWIG_IsOK(ecode2)) {
12596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12597 }
12598 arg2 = static_cast< unsigned long >(val2);
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 (arg1)->SetMaxLength(arg2);
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = SWIG_Py_Void();
12606 return resultobj;
12607fail:
12608 return NULL;
12609}
12610
12611
12612SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj = 0;
12614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12615 wxString *arg2 = 0 ;
12616 void *argp1 = 0 ;
12617 int res1 = 0 ;
12618 bool temp2 = false ;
12619 PyObject * obj0 = 0 ;
12620 PyObject * obj1 = 0 ;
12621 char * kwnames[] = {
12622 (char *) "self",(char *) "text", NULL
12623 };
12624
12625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12627 if (!SWIG_IsOK(res1)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12629 }
12630 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12631 {
12632 arg2 = wxString_in_helper(obj1);
12633 if (arg2 == NULL) SWIG_fail;
12634 temp2 = true;
12635 }
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 (arg1)->WriteText((wxString const &)*arg2);
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 resultobj = SWIG_Py_Void();
12643 {
12644 if (temp2)
12645 delete arg2;
12646 }
12647 return resultobj;
12648fail:
12649 {
12650 if (temp2)
12651 delete arg2;
12652 }
12653 return NULL;
d55e5bfc
RD
12654}
12655
12656
554f62e9
RD
12657SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12658 PyObject *resultobj = 0;
12659 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12660 wxString *arg2 = 0 ;
12661 void *argp1 = 0 ;
12662 int res1 = 0 ;
12663 bool temp2 = false ;
12664 PyObject * obj0 = 0 ;
12665 PyObject * obj1 = 0 ;
12666 char * kwnames[] = {
12667 (char *) "self",(char *) "text", NULL
12668 };
12669
12670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12672 if (!SWIG_IsOK(res1)) {
12673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12674 }
12675 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12676 {
12677 arg2 = wxString_in_helper(obj1);
12678 if (arg2 == NULL) SWIG_fail;
12679 temp2 = true;
12680 }
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 (arg1)->AppendText((wxString const &)*arg2);
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 resultobj = SWIG_Py_Void();
12688 {
12689 if (temp2)
12690 delete arg2;
12691 }
12692 return resultobj;
12693fail:
12694 {
12695 if (temp2)
12696 delete arg2;
12697 }
12698 return NULL;
12699}
12700
12701
12702SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12703 PyObject *resultobj = 0;
12704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12705 wxKeyEvent *arg2 = 0 ;
12706 bool result;
12707 void *argp1 = 0 ;
12708 int res1 = 0 ;
12709 void *argp2 = 0 ;
12710 int res2 = 0 ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 char * kwnames[] = {
12714 (char *) "self",(char *) "event", NULL
12715 };
12716
12717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12719 if (!SWIG_IsOK(res1)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 }
12722 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12723 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12724 if (!SWIG_IsOK(res2)) {
12725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12726 }
12727 if (!argp2) {
12728 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12729 }
12730 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12734 wxPyEndAllowThreads(__tstate);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 }
12737 {
12738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12739 }
12740 return resultobj;
12741fail:
12742 return NULL;
12743}
12744
12745
12746SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj = 0;
12748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12749 long arg2 ;
12750 long arg3 ;
12751 wxTextAttr *arg4 = 0 ;
12752 bool result;
12753 void *argp1 = 0 ;
12754 int res1 = 0 ;
12755 long val2 ;
12756 int ecode2 = 0 ;
12757 long val3 ;
12758 int ecode3 = 0 ;
12759 void *argp4 = 0 ;
12760 int res4 = 0 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 PyObject * obj2 = 0 ;
12764 PyObject * obj3 = 0 ;
12765 char * kwnames[] = {
12766 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12767 };
12768
12769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12771 if (!SWIG_IsOK(res1)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12773 }
12774 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12775 ecode2 = SWIG_AsVal_long(obj1, &val2);
12776 if (!SWIG_IsOK(ecode2)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12778 }
12779 arg2 = static_cast< long >(val2);
12780 ecode3 = SWIG_AsVal_long(obj2, &val3);
12781 if (!SWIG_IsOK(ecode3)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12783 }
12784 arg3 = static_cast< long >(val3);
12785 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12786 if (!SWIG_IsOK(res4)) {
12787 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12788 }
12789 if (!argp4) {
12790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12791 }
12792 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 {
12800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12801 }
12802 return resultobj;
12803fail:
12804 return NULL;
12805}
12806
12807
12808SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj = 0;
12810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12811 long arg2 ;
12812 wxTextAttr *arg3 = 0 ;
12813 bool result;
12814 void *argp1 = 0 ;
12815 int res1 = 0 ;
12816 long val2 ;
12817 int ecode2 = 0 ;
12818 void *argp3 = 0 ;
12819 int res3 = 0 ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 PyObject * obj2 = 0 ;
12823 char * kwnames[] = {
12824 (char *) "self",(char *) "position",(char *) "style", NULL
12825 };
12826
12827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12829 if (!SWIG_IsOK(res1)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 }
12832 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12833 ecode2 = SWIG_AsVal_long(obj1, &val2);
12834 if (!SWIG_IsOK(ecode2)) {
12835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12836 }
12837 arg2 = static_cast< long >(val2);
12838 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12839 if (!SWIG_IsOK(res3)) {
12840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12841 }
12842 if (!argp3) {
12843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12844 }
12845 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 {
12853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12854 }
12855 return resultobj;
12856fail:
12857 return NULL;
12858}
12859
12860
12861SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj = 0;
12863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12864 wxTextAttr *arg2 = 0 ;
12865 bool result;
12866 void *argp1 = 0 ;
12867 int res1 = 0 ;
12868 void *argp2 = 0 ;
12869 int res2 = 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 char * kwnames[] = {
12873 (char *) "self",(char *) "style", NULL
12874 };
12875
12876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12878 if (!SWIG_IsOK(res1)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12880 }
12881 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12882 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12883 if (!SWIG_IsOK(res2)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12885 }
12886 if (!argp2) {
12887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12888 }
12889 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 {
12897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12898 }
12899 return resultobj;
12900fail:
12901 return NULL;
d55e5bfc
RD
12902}
12903
12904
554f62e9
RD
12905SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12906 PyObject *resultobj = 0;
12907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12908 wxTextAttr *result = 0 ;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 PyObject *swig_obj[1] ;
12912
12913 if (!args) SWIG_fail;
12914 swig_obj[0] = args;
12915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12916 if (!SWIG_IsOK(res1)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12918 }
12919 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12922 {
554f62e9
RD
12923 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
12924 result = (wxTextAttr *) &_result_ref;
093d3ff1 12925 }
554f62e9
RD
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
12930 return resultobj;
12931fail:
12932 return NULL;
12933}
12934
12935
12936SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12937 PyObject *resultobj = 0;
12938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12939 long arg2 ;
12940 long arg3 ;
12941 long result;
12942 void *argp1 = 0 ;
12943 int res1 = 0 ;
12944 long val2 ;
12945 int ecode2 = 0 ;
12946 long val3 ;
12947 int ecode3 = 0 ;
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12951 char * kwnames[] = {
12952 (char *) "self",(char *) "x",(char *) "y", NULL
12953 };
12954
12955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12957 if (!SWIG_IsOK(res1)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12959 }
12960 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12961 ecode2 = SWIG_AsVal_long(obj1, &val2);
12962 if (!SWIG_IsOK(ecode2)) {
12963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12964 }
12965 arg2 = static_cast< long >(val2);
12966 ecode3 = SWIG_AsVal_long(obj2, &val3);
12967 if (!SWIG_IsOK(ecode3)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12969 }
12970 arg3 = static_cast< long >(val3);
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = SWIG_From_long(static_cast< long >(result));
12978 return resultobj;
12979fail:
12980 return NULL;
12981}
12982
12983
12984SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj = 0;
12986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12987 long arg2 ;
12988 long *arg3 = (long *) 0 ;
12989 long *arg4 = (long *) 0 ;
12990 void *argp1 = 0 ;
12991 int res1 = 0 ;
12992 long val2 ;
12993 int ecode2 = 0 ;
12994 long temp3 ;
12995 int res3 = SWIG_TMPOBJ ;
12996 long temp4 ;
12997 int res4 = SWIG_TMPOBJ ;
12998 PyObject * obj0 = 0 ;
12999 PyObject * obj1 = 0 ;
13000 char * kwnames[] = {
13001 (char *) "self",(char *) "pos", NULL
13002 };
13003
13004 arg3 = &temp3;
13005 arg4 = &temp4;
13006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13008 if (!SWIG_IsOK(res1)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13010 }
13011 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13012 ecode2 = SWIG_AsVal_long(obj1, &val2);
13013 if (!SWIG_IsOK(ecode2)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13015 }
13016 arg2 = static_cast< long >(val2);
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_Py_Void();
13024 if (SWIG_IsTmpObj(res3)) {
13025 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13026 } else {
13027 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13029 }
13030 if (SWIG_IsTmpObj(res4)) {
13031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13032 } else {
13033 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13035 }
13036 return resultobj;
13037fail:
13038 return NULL;
13039}
13040
13041
13042SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj = 0;
13044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13045 long arg2 ;
13046 void *argp1 = 0 ;
13047 int res1 = 0 ;
13048 long val2 ;
13049 int ecode2 = 0 ;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 char * kwnames[] = {
13053 (char *) "self",(char *) "pos", NULL
13054 };
13055
13056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13058 if (!SWIG_IsOK(res1)) {
13059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13060 }
13061 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13062 ecode2 = SWIG_AsVal_long(obj1, &val2);
13063 if (!SWIG_IsOK(ecode2)) {
13064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13065 }
13066 arg2 = static_cast< long >(val2);
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->ShowPosition(arg2);
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 resultobj = SWIG_Py_Void();
13074 return resultobj;
13075fail:
13076 return NULL;
13077}
13078
13079
13080SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj = 0;
13082 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13083 wxPoint *arg2 = 0 ;
13084 long *arg3 = (long *) 0 ;
13085 long *arg4 = (long *) 0 ;
13086 wxTextCtrlHitTestResult result;
13087 void *argp1 = 0 ;
13088 int res1 = 0 ;
13089 wxPoint temp2 ;
13090 long temp3 ;
13091 int res3 = SWIG_TMPOBJ ;
13092 long temp4 ;
13093 int res4 = SWIG_TMPOBJ ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 char * kwnames[] = {
13097 (char *) "self",(char *) "pt", NULL
13098 };
13099
13100 arg3 = &temp3;
13101 arg4 = &temp4;
13102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13104 if (!SWIG_IsOK(res1)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13106 }
13107 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13108 {
13109 arg2 = &temp2;
13110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = SWIG_From_int(static_cast< int >(result));
13119 if (SWIG_IsTmpObj(res3)) {
13120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13121 } else {
13122 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13123 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13124 }
13125 if (SWIG_IsTmpObj(res4)) {
13126 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13127 } else {
13128 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13130 }
13131 return resultobj;
13132fail:
13133 return NULL;
13134}
13135
13136
13137SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj = 0;
13139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13140 wxPoint *arg2 = 0 ;
13141 long *arg3 = (long *) 0 ;
13142 wxTextCtrlHitTestResult result;
13143 void *argp1 = 0 ;
13144 int res1 = 0 ;
13145 wxPoint temp2 ;
13146 long temp3 ;
13147 int res3 = SWIG_TMPOBJ ;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 char * kwnames[] = {
13151 (char *) "self",(char *) "pt", NULL
13152 };
13153
13154 arg3 = &temp3;
13155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13157 if (!SWIG_IsOK(res1)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13159 }
13160 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13161 {
13162 arg2 = &temp2;
13163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 resultobj = SWIG_From_int(static_cast< int >(result));
13172 if (SWIG_IsTmpObj(res3)) {
13173 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13174 } else {
13175 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13177 }
13178 return resultobj;
13179fail:
13180 return NULL;
d55e5bfc
RD
13181}
13182
13183
554f62e9
RD
13184SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13185 PyObject *resultobj = 0;
13186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13187 void *argp1 = 0 ;
13188 int res1 = 0 ;
13189 PyObject *swig_obj[1] ;
13190
13191 if (!args) SWIG_fail;
13192 swig_obj[0] = args;
13193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13194 if (!SWIG_IsOK(res1)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13196 }
13197 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->Copy();
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 resultobj = SWIG_Py_Void();
13205 return resultobj;
13206fail:
13207 return NULL;
d55e5bfc 13208}
554f62e9
RD
13209
13210
13211SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13212 PyObject *resultobj = 0;
13213 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13214 void *argp1 = 0 ;
13215 int res1 = 0 ;
13216 PyObject *swig_obj[1] ;
13217
13218 if (!args) SWIG_fail;
13219 swig_obj[0] = args;
13220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13221 if (!SWIG_IsOK(res1)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13223 }
13224 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->Cut();
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 resultobj = SWIG_Py_Void();
13232 return resultobj;
13233fail:
13234 return NULL;
d55e5bfc
RD
13235}
13236
13237
554f62e9
RD
13238SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13239 PyObject *resultobj = 0;
13240 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13241 void *argp1 = 0 ;
13242 int res1 = 0 ;
13243 PyObject *swig_obj[1] ;
13244
13245 if (!args) SWIG_fail;
13246 swig_obj[0] = args;
13247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13248 if (!SWIG_IsOK(res1)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13250 }
13251 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 (arg1)->Paste();
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 resultobj = SWIG_Py_Void();
13259 return resultobj;
13260fail:
13261 return NULL;
d55e5bfc
RD
13262}
13263
13264
554f62e9
RD
13265SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13266 PyObject *resultobj = 0;
13267 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13268 bool result;
13269 void *argp1 = 0 ;
13270 int res1 = 0 ;
13271 PyObject *swig_obj[1] ;
13272
13273 if (!args) SWIG_fail;
13274 swig_obj[0] = args;
13275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13276 if (!SWIG_IsOK(res1)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13278 }
13279 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13288 }
13289 return resultobj;
13290fail:
13291 return NULL;
d55e5bfc
RD
13292}
13293
13294
554f62e9
RD
13295SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13296 PyObject *resultobj = 0;
13297 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13298 bool result;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 PyObject *swig_obj[1] ;
13302
13303 if (!args) SWIG_fail;
13304 swig_obj[0] = args;
13305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13306 if (!SWIG_IsOK(res1)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13308 }
13309 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 {
13317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13318 }
13319 return resultobj;
13320fail:
13321 return NULL;
d55e5bfc
RD
13322}
13323
13324
554f62e9
RD
13325SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13326 PyObject *resultobj = 0;
13327 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13328 bool result;
13329 void *argp1 = 0 ;
13330 int res1 = 0 ;
13331 PyObject *swig_obj[1] ;
13332
13333 if (!args) SWIG_fail;
13334 swig_obj[0] = args;
13335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13336 if (!SWIG_IsOK(res1)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13338 }
13339 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13348 }
13349 return resultobj;
13350fail:
13351 return NULL;
d55e5bfc
RD
13352}
13353
13354
554f62e9
RD
13355SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13356 PyObject *resultobj = 0;
13357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13358 void *argp1 = 0 ;
13359 int res1 = 0 ;
13360 PyObject *swig_obj[1] ;
13361
13362 if (!args) SWIG_fail;
13363 swig_obj[0] = args;
13364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13365 if (!SWIG_IsOK(res1)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13367 }
13368 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 (arg1)->Undo();
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = SWIG_Py_Void();
13376 return resultobj;
13377fail:
13378 return NULL;
d55e5bfc
RD
13379}
13380
13381
554f62e9
RD
13382SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13383 PyObject *resultobj = 0;
13384 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13385 void *argp1 = 0 ;
13386 int res1 = 0 ;
13387 PyObject *swig_obj[1] ;
13388
13389 if (!args) SWIG_fail;
13390 swig_obj[0] = args;
13391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13392 if (!SWIG_IsOK(res1)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13394 }
13395 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 (arg1)->Redo();
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = SWIG_Py_Void();
13403 return resultobj;
13404fail:
13405 return NULL;
d55e5bfc
RD
13406}
13407
13408
554f62e9
RD
13409SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13410 PyObject *resultobj = 0;
13411 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13412 bool result;
13413 void *argp1 = 0 ;
13414 int res1 = 0 ;
13415 PyObject *swig_obj[1] ;
13416
13417 if (!args) SWIG_fail;
13418 swig_obj[0] = args;
13419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13420 if (!SWIG_IsOK(res1)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13422 }
13423 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 {
13431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13432 }
13433 return resultobj;
13434fail:
13435 return NULL;
d55e5bfc
RD
13436}
13437
13438
554f62e9
RD
13439SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13440 PyObject *resultobj = 0;
13441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13442 bool result;
13443 void *argp1 = 0 ;
13444 int res1 = 0 ;
13445 PyObject *swig_obj[1] ;
13446
13447 if (!args) SWIG_fail;
13448 swig_obj[0] = args;
13449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13450 if (!SWIG_IsOK(res1)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13452 }
13453 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 {
13461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13462 }
13463 return resultobj;
13464fail:
13465 return NULL;
13466}
13467
13468
13469SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj = 0;
13471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13472 long arg2 ;
13473 void *argp1 = 0 ;
13474 int res1 = 0 ;
13475 long val2 ;
13476 int ecode2 = 0 ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 char * kwnames[] = {
13480 (char *) "self",(char *) "pos", NULL
13481 };
13482
13483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13485 if (!SWIG_IsOK(res1)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13487 }
13488 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13489 ecode2 = SWIG_AsVal_long(obj1, &val2);
13490 if (!SWIG_IsOK(ecode2)) {
13491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13492 }
13493 arg2 = static_cast< long >(val2);
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 (arg1)->SetInsertionPoint(arg2);
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = SWIG_Py_Void();
13501 return resultobj;
13502fail:
13503 return NULL;
d55e5bfc
RD
13504}
13505
13506
554f62e9
RD
13507SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13508 PyObject *resultobj = 0;
13509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13510 void *argp1 = 0 ;
13511 int res1 = 0 ;
13512 PyObject *swig_obj[1] ;
13513
13514 if (!args) SWIG_fail;
13515 swig_obj[0] = args;
13516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13517 if (!SWIG_IsOK(res1)) {
13518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13519 }
13520 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->SetInsertionPointEnd();
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 resultobj = SWIG_Py_Void();
13528 return resultobj;
13529fail:
13530 return NULL;
d55e5bfc
RD
13531}
13532
13533
554f62e9
RD
13534SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13535 PyObject *resultobj = 0;
13536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13537 long result;
13538 void *argp1 = 0 ;
13539 int res1 = 0 ;
13540 PyObject *swig_obj[1] ;
13541
13542 if (!args) SWIG_fail;
13543 swig_obj[0] = args;
13544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13545 if (!SWIG_IsOK(res1)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13547 }
13548 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 resultobj = SWIG_From_long(static_cast< long >(result));
13556 return resultobj;
13557fail:
13558 return NULL;
d55e5bfc
RD
13559}
13560
13561
554f62e9
RD
13562SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13563 PyObject *resultobj = 0;
13564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13565 long result;
13566 void *argp1 = 0 ;
13567 int res1 = 0 ;
13568 PyObject *swig_obj[1] ;
13569
13570 if (!args) SWIG_fail;
13571 swig_obj[0] = args;
13572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13573 if (!SWIG_IsOK(res1)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13575 }
13576 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 resultobj = SWIG_From_long(static_cast< long >(result));
13584 return resultobj;
13585fail:
13586 return NULL;
13587}
13588
13589
13590SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13591 PyObject *resultobj = 0;
13592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13593 long arg2 ;
13594 long arg3 ;
13595 void *argp1 = 0 ;
13596 int res1 = 0 ;
13597 long val2 ;
13598 int ecode2 = 0 ;
13599 long val3 ;
13600 int ecode3 = 0 ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 PyObject * obj2 = 0 ;
13604 char * kwnames[] = {
f460c29d 13605 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13606 };
13607
13608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13610 if (!SWIG_IsOK(res1)) {
13611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13612 }
13613 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13614 ecode2 = SWIG_AsVal_long(obj1, &val2);
13615 if (!SWIG_IsOK(ecode2)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13617 }
13618 arg2 = static_cast< long >(val2);
13619 ecode3 = SWIG_AsVal_long(obj2, &val3);
13620 if (!SWIG_IsOK(ecode3)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13622 }
13623 arg3 = static_cast< long >(val3);
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 (arg1)->SetSelection(arg2,arg3);
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 resultobj = SWIG_Py_Void();
13631 return resultobj;
13632fail:
13633 return NULL;
d55e5bfc
RD
13634}
13635
13636
554f62e9
RD
13637SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13638 PyObject *resultobj = 0;
13639 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13640 void *argp1 = 0 ;
13641 int res1 = 0 ;
13642 PyObject *swig_obj[1] ;
13643
13644 if (!args) SWIG_fail;
13645 swig_obj[0] = args;
13646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13647 if (!SWIG_IsOK(res1)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13649 }
13650 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 (arg1)->SelectAll();
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 resultobj = SWIG_Py_Void();
13658 return resultobj;
13659fail:
13660 return NULL;
13661}
13662
13663
13664SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj = 0;
13666 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13667 bool arg2 ;
13668 void *argp1 = 0 ;
13669 int res1 = 0 ;
13670 bool val2 ;
13671 int ecode2 = 0 ;
13672 PyObject * obj0 = 0 ;
13673 PyObject * obj1 = 0 ;
13674 char * kwnames[] = {
13675 (char *) "self",(char *) "editable", NULL
13676 };
13677
13678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13680 if (!SWIG_IsOK(res1)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13682 }
13683 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13684 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13685 if (!SWIG_IsOK(ecode2)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13687 }
13688 arg2 = static_cast< bool >(val2);
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 (arg1)->SetEditable(arg2);
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 resultobj = SWIG_Py_Void();
13696 return resultobj;
13697fail:
13698 return NULL;
13699}
13700
13701
13702SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj = 0;
13704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13705 bool arg2 = (bool) true ;
13706 bool result;
13707 void *argp1 = 0 ;
13708 int res1 = 0 ;
13709 bool val2 ;
13710 int ecode2 = 0 ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 char * kwnames[] = {
13714 (char *) "self",(char *) "show", NULL
13715 };
13716
13717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13719 if (!SWIG_IsOK(res1)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13721 }
13722 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13723 if (obj1) {
13724 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13725 if (!SWIG_IsOK(ecode2)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13727 }
13728 arg2 = static_cast< bool >(val2);
13729 }
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (bool)(arg1)->ShowNativeCaret(arg2);
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 {
13737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13738 }
13739 return resultobj;
13740fail:
13741 return NULL;
d55e5bfc
RD
13742}
13743
13744
554f62e9
RD
13745SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13746 PyObject *resultobj = 0;
13747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13748 bool result;
13749 void *argp1 = 0 ;
13750 int res1 = 0 ;
13751 PyObject *swig_obj[1] ;
13752
13753 if (!args) SWIG_fail;
13754 swig_obj[0] = args;
13755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13756 if (!SWIG_IsOK(res1)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13758 }
13759 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)(arg1)->HideNativeCaret();
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 {
13767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13768 }
13769 return resultobj;
13770fail:
13771 return NULL;
13772}
13773
13774
13775SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj = 0;
13777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13778 wxString *arg2 = 0 ;
13779 void *argp1 = 0 ;
13780 int res1 = 0 ;
13781 bool temp2 = false ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 char * kwnames[] = {
13785 (char *) "self",(char *) "text", NULL
13786 };
13787
13788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13792 }
13793 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13794 {
13795 arg2 = wxString_in_helper(obj1);
13796 if (arg2 == NULL) SWIG_fail;
13797 temp2 = true;
13798 }
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 {
13807 if (temp2)
13808 delete arg2;
13809 }
13810 return resultobj;
13811fail:
13812 {
13813 if (temp2)
13814 delete arg2;
13815 }
13816 return NULL;
13817}
13818
13819
13820SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13823 long arg2 ;
13824 long arg3 ;
13825 wxString result;
13826 void *argp1 = 0 ;
13827 int res1 = 0 ;
13828 long val2 ;
13829 int ecode2 = 0 ;
13830 long val3 ;
13831 int ecode3 = 0 ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 PyObject * obj2 = 0 ;
13835 char * kwnames[] = {
f460c29d 13836 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13837 };
13838
13839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13841 if (!SWIG_IsOK(res1)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13843 }
13844 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13845 ecode2 = SWIG_AsVal_long(obj1, &val2);
13846 if (!SWIG_IsOK(ecode2)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13848 }
13849 arg2 = static_cast< long >(val2);
13850 ecode3 = SWIG_AsVal_long(obj2, &val3);
13851 if (!SWIG_IsOK(ecode3)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13853 }
13854 arg3 = static_cast< long >(val3);
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 {
13862#if wxUSE_UNICODE
13863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13864#else
13865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13866#endif
13867 }
13868 return resultobj;
13869fail:
13870 return NULL;
d55e5bfc
RD
13871}
13872
13873
554f62e9
RD
13874SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj = 0;
13876 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13877 SwigValueWrapper<wxVisualAttributes > result;
13878 int val1 ;
13879 int ecode1 = 0 ;
13880 PyObject * obj0 = 0 ;
13881 char * kwnames[] = {
13882 (char *) "variant", NULL
13883 };
13884
13885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13886 if (obj0) {
13887 ecode1 = SWIG_AsVal_int(obj0, &val1);
13888 if (!SWIG_IsOK(ecode1)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13890 }
13891 arg1 = static_cast< wxWindowVariant >(val1);
13892 }
13893 {
13894 if (!wxPyCheckForApp()) SWIG_fail;
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
13901 return resultobj;
13902fail:
13903 return NULL;
13904}
13905
13906
13907SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13908 PyObject *obj;
13909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13910 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
13911 return SWIG_Py_Void();
13912}
13913
13914SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13915 return SWIG_Python_InitShadowInstance(args);
13916}
13917
13918SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj = 0;
13920 int arg1 ;
13921 wxMouseEvent *arg2 = 0 ;
13922 long arg3 ;
13923 long arg4 ;
13924 wxTextUrlEvent *result = 0 ;
13925 int val1 ;
13926 int ecode1 = 0 ;
13927 void *argp2 = 0 ;
13928 int res2 = 0 ;
13929 long val3 ;
13930 int ecode3 = 0 ;
13931 long val4 ;
13932 int ecode4 = 0 ;
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj1 = 0 ;
13935 PyObject * obj2 = 0 ;
13936 PyObject * obj3 = 0 ;
13937 char * kwnames[] = {
13938 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13939 };
13940
13941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13942 ecode1 = SWIG_AsVal_int(obj0, &val1);
13943 if (!SWIG_IsOK(ecode1)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13945 }
13946 arg1 = static_cast< int >(val1);
13947 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
13948 if (!SWIG_IsOK(res2)) {
13949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13950 }
13951 if (!argp2) {
13952 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13953 }
13954 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
13955 ecode3 = SWIG_AsVal_long(obj2, &val3);
13956 if (!SWIG_IsOK(ecode3)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13958 }
13959 arg3 = static_cast< long >(val3);
13960 ecode4 = SWIG_AsVal_long(obj3, &val4);
13961 if (!SWIG_IsOK(ecode4)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13963 }
13964 arg4 = static_cast< long >(val4);
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
13972 return resultobj;
13973fail:
13974 return NULL;
d55e5bfc
RD
13975}
13976
13977
554f62e9
RD
13978SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13979 PyObject *resultobj = 0;
13980 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13981 wxMouseEvent *result = 0 ;
13982 void *argp1 = 0 ;
13983 int res1 = 0 ;
13984 PyObject *swig_obj[1] ;
13985
13986 if (!args) SWIG_fail;
13987 swig_obj[0] = args;
13988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13989 if (!SWIG_IsOK(res1)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13991 }
13992 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 13995 {
554f62e9
RD
13996 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
13997 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 13998 }
554f62e9
RD
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14003 return resultobj;
14004fail:
14005 return NULL;
d55e5bfc
RD
14006}
14007
14008
554f62e9
RD
14009SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14010 PyObject *resultobj = 0;
14011 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14012 long result;
14013 void *argp1 = 0 ;
14014 int res1 = 0 ;
14015 PyObject *swig_obj[1] ;
14016
14017 if (!args) SWIG_fail;
14018 swig_obj[0] = args;
14019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14020 if (!SWIG_IsOK(res1)) {
14021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14022 }
14023 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 resultobj = SWIG_From_long(static_cast< long >(result));
14031 return resultobj;
14032fail:
14033 return NULL;
d55e5bfc
RD
14034}
14035
14036
554f62e9
RD
14037SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14038 PyObject *resultobj = 0;
14039 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14040 long result;
14041 void *argp1 = 0 ;
14042 int res1 = 0 ;
14043 PyObject *swig_obj[1] ;
14044
14045 if (!args) SWIG_fail;
14046 swig_obj[0] = args;
14047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14048 if (!SWIG_IsOK(res1)) {
14049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14050 }
14051 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14055 wxPyEndAllowThreads(__tstate);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 resultobj = SWIG_From_long(static_cast< long >(result));
14059 return resultobj;
14060fail:
14061 return NULL;
d55e5bfc
RD
14062}
14063
14064
554f62e9
RD
14065SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14066 PyObject *obj;
14067 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14068 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14069 return SWIG_Py_Void();
d55e5bfc
RD
14070}
14071
554f62e9
RD
14072SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14073 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14074}
14075
554f62e9
RD
14076SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14077 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14078 return 1;
d55e5bfc
RD
14079}
14080
14081
554f62e9
RD
14082SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14083 PyObject *pyobj = 0;
14084
14085 {
14086#if wxUSE_UNICODE
14087 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14088#else
14089 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14090#endif
14091 }
14092 return pyobj;
14093}
14094
14095
14096SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj = 0;
14098 wxWindow *arg1 = (wxWindow *) 0 ;
14099 int arg2 = (int) -1 ;
14100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14102 wxSize const &arg4_defvalue = wxDefaultSize ;
14103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14104 long arg5 = (long) wxSB_HORIZONTAL ;
14105 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14106 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14107 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14108 wxString *arg7 = (wxString *) &arg7_defvalue ;
14109 wxScrollBar *result = 0 ;
14110 void *argp1 = 0 ;
14111 int res1 = 0 ;
14112 int val2 ;
14113 int ecode2 = 0 ;
14114 wxPoint temp3 ;
14115 wxSize temp4 ;
14116 long val5 ;
14117 int ecode5 = 0 ;
14118 void *argp6 = 0 ;
14119 int res6 = 0 ;
14120 bool temp7 = false ;
14121 PyObject * obj0 = 0 ;
14122 PyObject * obj1 = 0 ;
14123 PyObject * obj2 = 0 ;
14124 PyObject * obj3 = 0 ;
14125 PyObject * obj4 = 0 ;
14126 PyObject * obj5 = 0 ;
14127 PyObject * obj6 = 0 ;
14128 char * kwnames[] = {
14129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14130 };
14131
14132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14134 if (!SWIG_IsOK(res1)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14136 }
14137 arg1 = reinterpret_cast< wxWindow * >(argp1);
14138 if (obj1) {
14139 ecode2 = SWIG_AsVal_int(obj1, &val2);
14140 if (!SWIG_IsOK(ecode2)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14142 }
14143 arg2 = static_cast< int >(val2);
14144 }
14145 if (obj2) {
d55e5bfc 14146 {
554f62e9
RD
14147 arg3 = &temp3;
14148 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14149 }
554f62e9
RD
14150 }
14151 if (obj3) {
d55e5bfc 14152 {
554f62e9
RD
14153 arg4 = &temp4;
14154 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14155 }
554f62e9
RD
14156 }
14157 if (obj4) {
14158 ecode5 = SWIG_AsVal_long(obj4, &val5);
14159 if (!SWIG_IsOK(ecode5)) {
14160 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14161 }
14162 arg5 = static_cast< long >(val5);
14163 }
14164 if (obj5) {
14165 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14166 if (!SWIG_IsOK(res6)) {
14167 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14168 }
14169 if (!argp6) {
14170 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14171 }
554f62e9
RD
14172 arg6 = reinterpret_cast< wxValidator * >(argp6);
14173 }
14174 if (obj6) {
d55e5bfc 14175 {
554f62e9
RD
14176 arg7 = wxString_in_helper(obj6);
14177 if (arg7 == NULL) SWIG_fail;
14178 temp7 = true;
d55e5bfc 14179 }
554f62e9
RD
14180 }
14181 {
14182 if (!wxPyCheckForApp()) SWIG_fail;
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14189 {
14190 if (temp7)
14191 delete arg7;
14192 }
14193 return resultobj;
14194fail:
14195 {
14196 if (temp7)
14197 delete arg7;
14198 }
14199 return NULL;
d55e5bfc
RD
14200}
14201
14202
554f62e9
RD
14203SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *resultobj = 0;
14205 wxScrollBar *result = 0 ;
14206
14207 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14208 {
14209 if (!wxPyCheckForApp()) SWIG_fail;
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 result = (wxScrollBar *)new wxScrollBar();
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14216 return resultobj;
14217fail:
14218 return NULL;
14219}
14220
14221
14222SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj = 0;
14224 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14225 wxWindow *arg2 = (wxWindow *) 0 ;
14226 int arg3 = (int) -1 ;
14227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14229 wxSize const &arg5_defvalue = wxDefaultSize ;
14230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14231 long arg6 = (long) wxSB_HORIZONTAL ;
14232 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14233 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14234 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14235 wxString *arg8 = (wxString *) &arg8_defvalue ;
14236 bool result;
14237 void *argp1 = 0 ;
14238 int res1 = 0 ;
14239 void *argp2 = 0 ;
14240 int res2 = 0 ;
14241 int val3 ;
14242 int ecode3 = 0 ;
14243 wxPoint temp4 ;
14244 wxSize temp5 ;
14245 long val6 ;
14246 int ecode6 = 0 ;
14247 void *argp7 = 0 ;
14248 int res7 = 0 ;
14249 bool temp8 = false ;
14250 PyObject * obj0 = 0 ;
14251 PyObject * obj1 = 0 ;
14252 PyObject * obj2 = 0 ;
14253 PyObject * obj3 = 0 ;
14254 PyObject * obj4 = 0 ;
14255 PyObject * obj5 = 0 ;
14256 PyObject * obj6 = 0 ;
14257 PyObject * obj7 = 0 ;
14258 char * kwnames[] = {
14259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14260 };
14261
14262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14264 if (!SWIG_IsOK(res1)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14266 }
14267 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14269 if (!SWIG_IsOK(res2)) {
14270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14271 }
14272 arg2 = reinterpret_cast< wxWindow * >(argp2);
14273 if (obj2) {
14274 ecode3 = SWIG_AsVal_int(obj2, &val3);
14275 if (!SWIG_IsOK(ecode3)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14277 }
14278 arg3 = static_cast< int >(val3);
14279 }
14280 if (obj3) {
d55e5bfc 14281 {
554f62e9
RD
14282 arg4 = &temp4;
14283 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14284 }
554f62e9
RD
14285 }
14286 if (obj4) {
093d3ff1 14287 {
554f62e9
RD
14288 arg5 = &temp5;
14289 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 14290 }
554f62e9
RD
14291 }
14292 if (obj5) {
14293 ecode6 = SWIG_AsVal_long(obj5, &val6);
14294 if (!SWIG_IsOK(ecode6)) {
14295 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14296 }
14297 arg6 = static_cast< long >(val6);
14298 }
14299 if (obj6) {
14300 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14301 if (!SWIG_IsOK(res7)) {
14302 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
a07a67e6 14303 }
554f62e9
RD
14304 if (!argp7) {
14305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14306 }
14307 arg7 = reinterpret_cast< wxValidator * >(argp7);
14308 }
14309 if (obj7) {
093d3ff1 14310 {
554f62e9
RD
14311 arg8 = wxString_in_helper(obj7);
14312 if (arg8 == NULL) SWIG_fail;
14313 temp8 = true;
093d3ff1 14314 }
554f62e9
RD
14315 }
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 {
14323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14324 }
14325 {
14326 if (temp8)
14327 delete arg8;
14328 }
14329 return resultobj;
14330fail:
14331 {
14332 if (temp8)
14333 delete arg8;
14334 }
14335 return NULL;
a07a67e6
RD
14336}
14337
14338
554f62e9
RD
14339SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14340 PyObject *resultobj = 0;
14341 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14342 int result;
14343 void *argp1 = 0 ;
14344 int res1 = 0 ;
14345 PyObject *swig_obj[1] ;
14346
14347 if (!args) SWIG_fail;
14348 swig_obj[0] = args;
14349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14350 if (!SWIG_IsOK(res1)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14352 }
14353 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = SWIG_From_int(static_cast< int >(result));
14361 return resultobj;
14362fail:
14363 return NULL;
d55e5bfc
RD
14364}
14365
14366
554f62e9
RD
14367SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14368 PyObject *resultobj = 0;
14369 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14370 int result;
14371 void *argp1 = 0 ;
14372 int res1 = 0 ;
14373 PyObject *swig_obj[1] ;
14374
14375 if (!args) SWIG_fail;
14376 swig_obj[0] = args;
14377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14378 if (!SWIG_IsOK(res1)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14380 }
14381 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 resultobj = SWIG_From_int(static_cast< int >(result));
14389 return resultobj;
14390fail:
14391 return NULL;
d55e5bfc
RD
14392}
14393
14394
554f62e9
RD
14395SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14396 PyObject *resultobj = 0;
14397 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14398 int result;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 PyObject *swig_obj[1] ;
14402
14403 if (!args) SWIG_fail;
14404 swig_obj[0] = args;
14405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14406 if (!SWIG_IsOK(res1)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14408 }
14409 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = SWIG_From_int(static_cast< int >(result));
14417 return resultobj;
14418fail:
14419 return NULL;
d55e5bfc
RD
14420}
14421
14422
554f62e9
RD
14423SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14424 PyObject *resultobj = 0;
14425 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14426 int result;
14427 void *argp1 = 0 ;
14428 int res1 = 0 ;
14429 PyObject *swig_obj[1] ;
14430
14431 if (!args) SWIG_fail;
14432 swig_obj[0] = args;
14433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14434 if (!SWIG_IsOK(res1)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14436 }
14437 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 result = (int)((wxScrollBar const *)arg1)->GetRange();
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 resultobj = SWIG_From_int(static_cast< int >(result));
14445 return resultobj;
14446fail:
14447 return NULL;
d55e5bfc
RD
14448}
14449
14450
554f62e9
RD
14451SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14452 PyObject *resultobj = 0;
14453 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14454 bool result;
14455 void *argp1 = 0 ;
14456 int res1 = 0 ;
14457 PyObject *swig_obj[1] ;
14458
14459 if (!args) SWIG_fail;
14460 swig_obj[0] = args;
14461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14462 if (!SWIG_IsOK(res1)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14464 }
14465 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14474 }
14475 return resultobj;
14476fail:
14477 return NULL;
14478}
14479
14480
14481SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj = 0;
14483 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14484 int arg2 ;
14485 void *argp1 = 0 ;
14486 int res1 = 0 ;
14487 int val2 ;
14488 int ecode2 = 0 ;
14489 PyObject * obj0 = 0 ;
14490 PyObject * obj1 = 0 ;
14491 char * kwnames[] = {
14492 (char *) "self",(char *) "viewStart", NULL
14493 };
14494
14495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14497 if (!SWIG_IsOK(res1)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14499 }
14500 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14501 ecode2 = SWIG_AsVal_int(obj1, &val2);
14502 if (!SWIG_IsOK(ecode2)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14504 }
14505 arg2 = static_cast< int >(val2);
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 (arg1)->SetThumbPosition(arg2);
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 resultobj = SWIG_Py_Void();
14513 return resultobj;
14514fail:
14515 return NULL;
14516}
14517
14518
14519SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj = 0;
14521 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14522 SwigValueWrapper<wxVisualAttributes > result;
14523 int val1 ;
14524 int ecode1 = 0 ;
14525 PyObject * obj0 = 0 ;
14526 char * kwnames[] = {
14527 (char *) "variant", NULL
14528 };
14529
14530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14531 if (obj0) {
14532 ecode1 = SWIG_AsVal_int(obj0, &val1);
14533 if (!SWIG_IsOK(ecode1)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14535 }
14536 arg1 = static_cast< wxWindowVariant >(val1);
14537 }
14538 {
14539 if (!wxPyCheckForApp()) SWIG_fail;
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14546 return resultobj;
14547fail:
14548 return NULL;
d55e5bfc
RD
14549}
14550
14551
554f62e9
RD
14552SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14553 PyObject *obj;
14554 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14555 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14556 return SWIG_Py_Void();
d55e5bfc
RD
14557}
14558
554f62e9
RD
14559SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14560 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14561}
14562
554f62e9
RD
14563SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14564 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14565 return 1;
d55e5bfc
RD
14566}
14567
14568
554f62e9
RD
14569SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14570 PyObject *pyobj = 0;
14571
14572 {
d55e5bfc 14573#if wxUSE_UNICODE
554f62e9 14574 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14575#else
554f62e9 14576 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14577#endif
554f62e9
RD
14578 }
14579 return pyobj;
d55e5bfc
RD
14580}
14581
14582
554f62e9
RD
14583SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14584 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14585 return 1;
d55e5bfc
RD
14586}
14587
14588
554f62e9
RD
14589SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14590 PyObject *pyobj = 0;
14591
14592 {
d55e5bfc 14593#if wxUSE_UNICODE
554f62e9 14594 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14595#else
554f62e9 14596 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14597#endif
554f62e9
RD
14598 }
14599 return pyobj;
14600}
14601
14602
14603SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj = 0;
14605 wxWindow *arg1 = (wxWindow *) 0 ;
14606 int arg2 = (int) -1 ;
14607 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14608 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14609 wxSize const &arg4_defvalue = wxDefaultSize ;
14610 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14611 long arg5 = (long) wxSP_HORIZONTAL ;
14612 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14613 wxString *arg6 = (wxString *) &arg6_defvalue ;
14614 wxSpinButton *result = 0 ;
14615 void *argp1 = 0 ;
14616 int res1 = 0 ;
14617 int val2 ;
14618 int ecode2 = 0 ;
14619 wxPoint temp3 ;
14620 wxSize temp4 ;
14621 long val5 ;
14622 int ecode5 = 0 ;
14623 bool temp6 = false ;
14624 PyObject * obj0 = 0 ;
14625 PyObject * obj1 = 0 ;
14626 PyObject * obj2 = 0 ;
14627 PyObject * obj3 = 0 ;
14628 PyObject * obj4 = 0 ;
14629 PyObject * obj5 = 0 ;
14630 char * kwnames[] = {
14631 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14632 };
14633
14634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14636 if (!SWIG_IsOK(res1)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14638 }
14639 arg1 = reinterpret_cast< wxWindow * >(argp1);
14640 if (obj1) {
14641 ecode2 = SWIG_AsVal_int(obj1, &val2);
14642 if (!SWIG_IsOK(ecode2)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14644 }
14645 arg2 = static_cast< int >(val2);
14646 }
14647 if (obj2) {
14648 {
14649 arg3 = &temp3;
14650 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14651 }
554f62e9
RD
14652 }
14653 if (obj3) {
d55e5bfc 14654 {
554f62e9
RD
14655 arg4 = &temp4;
14656 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14657 }
554f62e9
RD
14658 }
14659 if (obj4) {
14660 ecode5 = SWIG_AsVal_long(obj4, &val5);
14661 if (!SWIG_IsOK(ecode5)) {
14662 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14663 }
14664 arg5 = static_cast< long >(val5);
14665 }
14666 if (obj5) {
093d3ff1 14667 {
554f62e9
RD
14668 arg6 = wxString_in_helper(obj5);
14669 if (arg6 == NULL) SWIG_fail;
14670 temp6 = true;
093d3ff1 14671 }
554f62e9
RD
14672 }
14673 {
14674 if (!wxPyCheckForApp()) SWIG_fail;
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14681 {
14682 if (temp6)
14683 delete arg6;
14684 }
14685 return resultobj;
14686fail:
14687 {
14688 if (temp6)
14689 delete arg6;
14690 }
14691 return NULL;
d55e5bfc
RD
14692}
14693
14694
554f62e9
RD
14695SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14696 PyObject *resultobj = 0;
14697 wxSpinButton *result = 0 ;
14698
14699 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14700 {
14701 if (!wxPyCheckForApp()) SWIG_fail;
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (wxSpinButton *)new wxSpinButton();
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14708 return resultobj;
14709fail:
14710 return NULL;
14711}
14712
14713
14714SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj = 0;
14716 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14717 wxWindow *arg2 = (wxWindow *) 0 ;
14718 int arg3 = (int) -1 ;
14719 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14720 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14721 wxSize const &arg5_defvalue = wxDefaultSize ;
14722 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14723 long arg6 = (long) wxSP_HORIZONTAL ;
14724 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14725 wxString *arg7 = (wxString *) &arg7_defvalue ;
14726 bool result;
14727 void *argp1 = 0 ;
14728 int res1 = 0 ;
14729 void *argp2 = 0 ;
14730 int res2 = 0 ;
14731 int val3 ;
14732 int ecode3 = 0 ;
14733 wxPoint temp4 ;
14734 wxSize temp5 ;
14735 long val6 ;
14736 int ecode6 = 0 ;
14737 bool temp7 = false ;
14738 PyObject * obj0 = 0 ;
14739 PyObject * obj1 = 0 ;
14740 PyObject * obj2 = 0 ;
14741 PyObject * obj3 = 0 ;
14742 PyObject * obj4 = 0 ;
14743 PyObject * obj5 = 0 ;
14744 PyObject * obj6 = 0 ;
14745 char * kwnames[] = {
14746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14747 };
14748
14749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14751 if (!SWIG_IsOK(res1)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14753 }
14754 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14756 if (!SWIG_IsOK(res2)) {
14757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14758 }
14759 arg2 = reinterpret_cast< wxWindow * >(argp2);
14760 if (obj2) {
14761 ecode3 = SWIG_AsVal_int(obj2, &val3);
14762 if (!SWIG_IsOK(ecode3)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14764 }
14765 arg3 = static_cast< int >(val3);
14766 }
14767 if (obj3) {
d55e5bfc 14768 {
554f62e9
RD
14769 arg4 = &temp4;
14770 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14771 }
554f62e9
RD
14772 }
14773 if (obj4) {
d55e5bfc 14774 {
554f62e9
RD
14775 arg5 = &temp5;
14776 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14777 }
554f62e9
RD
14778 }
14779 if (obj5) {
14780 ecode6 = SWIG_AsVal_long(obj5, &val6);
14781 if (!SWIG_IsOK(ecode6)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14783 }
14784 arg6 = static_cast< long >(val6);
14785 }
14786 if (obj6) {
d55e5bfc 14787 {
554f62e9
RD
14788 arg7 = wxString_in_helper(obj6);
14789 if (arg7 == NULL) SWIG_fail;
14790 temp7 = true;
d55e5bfc 14791 }
554f62e9
RD
14792 }
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 {
14800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14801 }
14802 {
14803 if (temp7)
14804 delete arg7;
14805 }
14806 return resultobj;
14807fail:
14808 {
14809 if (temp7)
14810 delete arg7;
14811 }
14812 return NULL;
d55e5bfc
RD
14813}
14814
14815
554f62e9
RD
14816SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14817 PyObject *resultobj = 0;
14818 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14819 int result;
14820 void *argp1 = 0 ;
14821 int res1 = 0 ;
14822 PyObject *swig_obj[1] ;
14823
14824 if (!args) SWIG_fail;
14825 swig_obj[0] = args;
14826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14827 if (!SWIG_IsOK(res1)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14829 }
14830 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (int)((wxSpinButton const *)arg1)->GetValue();
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = SWIG_From_int(static_cast< int >(result));
14838 return resultobj;
14839fail:
14840 return NULL;
d55e5bfc
RD
14841}
14842
14843
554f62e9
RD
14844SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14845 PyObject *resultobj = 0;
14846 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14847 int result;
14848 void *argp1 = 0 ;
14849 int res1 = 0 ;
14850 PyObject *swig_obj[1] ;
14851
14852 if (!args) SWIG_fail;
14853 swig_obj[0] = args;
14854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14855 if (!SWIG_IsOK(res1)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14857 }
14858 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (int)((wxSpinButton const *)arg1)->GetMin();
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 resultobj = SWIG_From_int(static_cast< int >(result));
14866 return resultobj;
14867fail:
14868 return NULL;
d55e5bfc
RD
14869}
14870
14871
554f62e9
RD
14872SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14873 PyObject *resultobj = 0;
14874 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14875 int result;
14876 void *argp1 = 0 ;
14877 int res1 = 0 ;
14878 PyObject *swig_obj[1] ;
14879
14880 if (!args) SWIG_fail;
14881 swig_obj[0] = args;
14882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14883 if (!SWIG_IsOK(res1)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14885 }
14886 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = (int)((wxSpinButton const *)arg1)->GetMax();
14890 wxPyEndAllowThreads(__tstate);
14891 if (PyErr_Occurred()) SWIG_fail;
14892 }
14893 resultobj = SWIG_From_int(static_cast< int >(result));
14894 return resultobj;
14895fail:
14896 return NULL;
14897}
14898
14899
14900SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj = 0;
14902 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14903 int arg2 ;
14904 void *argp1 = 0 ;
14905 int res1 = 0 ;
14906 int val2 ;
14907 int ecode2 = 0 ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 char * kwnames[] = {
14911 (char *) "self",(char *) "val", NULL
14912 };
14913
14914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
14915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14916 if (!SWIG_IsOK(res1)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14918 }
14919 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14920 ecode2 = SWIG_AsVal_int(obj1, &val2);
14921 if (!SWIG_IsOK(ecode2)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14923 }
14924 arg2 = static_cast< int >(val2);
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 (arg1)->SetValue(arg2);
14928 wxPyEndAllowThreads(__tstate);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 }
14931 resultobj = SWIG_Py_Void();
14932 return resultobj;
14933fail:
14934 return NULL;
14935}
14936
14937
14938SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj = 0;
14940 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14941 int arg2 ;
14942 void *argp1 = 0 ;
14943 int res1 = 0 ;
14944 int val2 ;
14945 int ecode2 = 0 ;
14946 PyObject * obj0 = 0 ;
14947 PyObject * obj1 = 0 ;
14948 char * kwnames[] = {
14949 (char *) "self",(char *) "minVal", NULL
14950 };
14951
14952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
14953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14954 if (!SWIG_IsOK(res1)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14956 }
14957 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14958 ecode2 = SWIG_AsVal_int(obj1, &val2);
14959 if (!SWIG_IsOK(ecode2)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14961 }
14962 arg2 = static_cast< int >(val2);
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 (arg1)->SetMin(arg2);
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 resultobj = SWIG_Py_Void();
14970 return resultobj;
14971fail:
14972 return NULL;
14973}
14974
14975
14976SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj = 0;
14978 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14979 int arg2 ;
14980 void *argp1 = 0 ;
14981 int res1 = 0 ;
14982 int val2 ;
14983 int ecode2 = 0 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 char * kwnames[] = {
14987 (char *) "self",(char *) "maxVal", NULL
14988 };
14989
14990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
14991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14992 if (!SWIG_IsOK(res1)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14994 }
14995 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14996 ecode2 = SWIG_AsVal_int(obj1, &val2);
14997 if (!SWIG_IsOK(ecode2)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14999 }
15000 arg2 = static_cast< int >(val2);
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 (arg1)->SetMax(arg2);
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 resultobj = SWIG_Py_Void();
15008 return resultobj;
15009fail:
15010 return NULL;
15011}
15012
15013
15014SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj = 0;
15016 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15017 int arg2 ;
15018 int arg3 ;
15019 void *argp1 = 0 ;
15020 int res1 = 0 ;
15021 int val2 ;
15022 int ecode2 = 0 ;
15023 int val3 ;
15024 int ecode3 = 0 ;
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
15027 PyObject * obj2 = 0 ;
15028 char * kwnames[] = {
15029 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15030 };
15031
15032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15034 if (!SWIG_IsOK(res1)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15036 }
15037 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15038 ecode2 = SWIG_AsVal_int(obj1, &val2);
15039 if (!SWIG_IsOK(ecode2)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15041 }
15042 arg2 = static_cast< int >(val2);
15043 ecode3 = SWIG_AsVal_int(obj2, &val3);
15044 if (!SWIG_IsOK(ecode3)) {
15045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15046 }
15047 arg3 = static_cast< int >(val3);
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 (arg1)->SetRange(arg2,arg3);
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 resultobj = SWIG_Py_Void();
15055 return resultobj;
15056fail:
15057 return NULL;
d55e5bfc
RD
15058}
15059
15060
554f62e9
RD
15061SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15062 PyObject *resultobj = 0;
15063 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15064 bool result;
15065 void *argp1 = 0 ;
15066 int res1 = 0 ;
15067 PyObject *swig_obj[1] ;
15068
15069 if (!args) SWIG_fail;
15070 swig_obj[0] = args;
15071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15072 if (!SWIG_IsOK(res1)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15074 }
15075 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
15082 {
15083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15084 }
15085 return resultobj;
15086fail:
15087 return NULL;
d55e5bfc
RD
15088}
15089
15090
554f62e9
RD
15091SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj = 0;
15093 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15094 SwigValueWrapper<wxVisualAttributes > result;
15095 int val1 ;
15096 int ecode1 = 0 ;
15097 PyObject * obj0 = 0 ;
15098 char * kwnames[] = {
15099 (char *) "variant", NULL
15100 };
15101
15102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15103 if (obj0) {
15104 ecode1 = SWIG_AsVal_int(obj0, &val1);
15105 if (!SWIG_IsOK(ecode1)) {
15106 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15107 }
15108 arg1 = static_cast< wxWindowVariant >(val1);
15109 }
15110 {
15111 if (!wxPyCheckForApp()) SWIG_fail;
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15118 return resultobj;
15119fail:
15120 return NULL;
15121}
15122
15123
15124SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15125 PyObject *obj;
15126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15128 return SWIG_Py_Void();
15129}
15130
15131SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15132 return SWIG_Python_InitShadowInstance(args);
15133}
15134
15135SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj = 0;
15137 wxWindow *arg1 = (wxWindow *) 0 ;
15138 int arg2 = (int) -1 ;
15139 wxString const &arg3_defvalue = wxPyEmptyString ;
15140 wxString *arg3 = (wxString *) &arg3_defvalue ;
15141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15143 wxSize const &arg5_defvalue = wxDefaultSize ;
15144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15145 long arg6 = (long) wxSP_ARROW_KEYS ;
15146 int arg7 = (int) 0 ;
15147 int arg8 = (int) 100 ;
15148 int arg9 = (int) 0 ;
15149 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15150 wxString *arg10 = (wxString *) &arg10_defvalue ;
15151 wxSpinCtrl *result = 0 ;
15152 void *argp1 = 0 ;
15153 int res1 = 0 ;
15154 int val2 ;
15155 int ecode2 = 0 ;
15156 bool temp3 = false ;
15157 wxPoint temp4 ;
15158 wxSize temp5 ;
15159 long val6 ;
15160 int ecode6 = 0 ;
15161 int val7 ;
15162 int ecode7 = 0 ;
15163 int val8 ;
15164 int ecode8 = 0 ;
15165 int val9 ;
15166 int ecode9 = 0 ;
15167 bool temp10 = false ;
15168 PyObject * obj0 = 0 ;
15169 PyObject * obj1 = 0 ;
15170 PyObject * obj2 = 0 ;
15171 PyObject * obj3 = 0 ;
15172 PyObject * obj4 = 0 ;
15173 PyObject * obj5 = 0 ;
15174 PyObject * obj6 = 0 ;
15175 PyObject * obj7 = 0 ;
15176 PyObject * obj8 = 0 ;
15177 PyObject * obj9 = 0 ;
15178 char * kwnames[] = {
15179 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15180 };
15181
15182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15184 if (!SWIG_IsOK(res1)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15186 }
15187 arg1 = reinterpret_cast< wxWindow * >(argp1);
15188 if (obj1) {
15189 ecode2 = SWIG_AsVal_int(obj1, &val2);
15190 if (!SWIG_IsOK(ecode2)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15192 }
15193 arg2 = static_cast< int >(val2);
15194 }
15195 if (obj2) {
d55e5bfc 15196 {
554f62e9
RD
15197 arg3 = wxString_in_helper(obj2);
15198 if (arg3 == NULL) SWIG_fail;
15199 temp3 = true;
d55e5bfc 15200 }
554f62e9
RD
15201 }
15202 if (obj3) {
d55e5bfc 15203 {
554f62e9
RD
15204 arg4 = &temp4;
15205 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15206 }
554f62e9
RD
15207 }
15208 if (obj4) {
d55e5bfc 15209 {
554f62e9
RD
15210 arg5 = &temp5;
15211 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15212 }
554f62e9
RD
15213 }
15214 if (obj5) {
15215 ecode6 = SWIG_AsVal_long(obj5, &val6);
15216 if (!SWIG_IsOK(ecode6)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15218 }
15219 arg6 = static_cast< long >(val6);
15220 }
15221 if (obj6) {
15222 ecode7 = SWIG_AsVal_int(obj6, &val7);
15223 if (!SWIG_IsOK(ecode7)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15225 }
15226 arg7 = static_cast< int >(val7);
15227 }
15228 if (obj7) {
15229 ecode8 = SWIG_AsVal_int(obj7, &val8);
15230 if (!SWIG_IsOK(ecode8)) {
15231 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15232 }
15233 arg8 = static_cast< int >(val8);
15234 }
15235 if (obj8) {
15236 ecode9 = SWIG_AsVal_int(obj8, &val9);
15237 if (!SWIG_IsOK(ecode9)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15239 }
15240 arg9 = static_cast< int >(val9);
15241 }
15242 if (obj9) {
d55e5bfc 15243 {
554f62e9
RD
15244 arg10 = wxString_in_helper(obj9);
15245 if (arg10 == NULL) SWIG_fail;
15246 temp10 = true;
d55e5bfc 15247 }
554f62e9
RD
15248 }
15249 {
15250 if (!wxPyCheckForApp()) SWIG_fail;
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15257 {
15258 if (temp3)
15259 delete arg3;
15260 }
15261 {
15262 if (temp10)
15263 delete arg10;
15264 }
15265 return resultobj;
15266fail:
15267 {
15268 if (temp3)
15269 delete arg3;
15270 }
15271 {
15272 if (temp10)
15273 delete arg10;
15274 }
15275 return NULL;
d55e5bfc
RD
15276}
15277
15278
554f62e9
RD
15279SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15280 PyObject *resultobj = 0;
15281 wxSpinCtrl *result = 0 ;
15282
15283 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15284 {
15285 if (!wxPyCheckForApp()) SWIG_fail;
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 result = (wxSpinCtrl *)new wxSpinCtrl();
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15292 return resultobj;
15293fail:
15294 return NULL;
15295}
15296
15297
15298SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj = 0;
15300 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15301 wxWindow *arg2 = (wxWindow *) 0 ;
15302 int arg3 = (int) -1 ;
15303 wxString const &arg4_defvalue = wxPyEmptyString ;
15304 wxString *arg4 = (wxString *) &arg4_defvalue ;
15305 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15306 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15307 wxSize const &arg6_defvalue = wxDefaultSize ;
15308 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15309 long arg7 = (long) wxSP_ARROW_KEYS ;
15310 int arg8 = (int) 0 ;
15311 int arg9 = (int) 100 ;
15312 int arg10 = (int) 0 ;
15313 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15314 wxString *arg11 = (wxString *) &arg11_defvalue ;
15315 bool result;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 void *argp2 = 0 ;
15319 int res2 = 0 ;
15320 int val3 ;
15321 int ecode3 = 0 ;
15322 bool temp4 = false ;
15323 wxPoint temp5 ;
15324 wxSize temp6 ;
15325 long val7 ;
15326 int ecode7 = 0 ;
15327 int val8 ;
15328 int ecode8 = 0 ;
15329 int val9 ;
15330 int ecode9 = 0 ;
15331 int val10 ;
15332 int ecode10 = 0 ;
15333 bool temp11 = false ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 PyObject * obj2 = 0 ;
15337 PyObject * obj3 = 0 ;
15338 PyObject * obj4 = 0 ;
15339 PyObject * obj5 = 0 ;
15340 PyObject * obj6 = 0 ;
15341 PyObject * obj7 = 0 ;
15342 PyObject * obj8 = 0 ;
15343 PyObject * obj9 = 0 ;
15344 PyObject * obj10 = 0 ;
15345 char * kwnames[] = {
15346 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15347 };
15348
15349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15351 if (!SWIG_IsOK(res1)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15353 }
15354 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15356 if (!SWIG_IsOK(res2)) {
15357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15358 }
15359 arg2 = reinterpret_cast< wxWindow * >(argp2);
15360 if (obj2) {
15361 ecode3 = SWIG_AsVal_int(obj2, &val3);
15362 if (!SWIG_IsOK(ecode3)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15364 }
15365 arg3 = static_cast< int >(val3);
15366 }
15367 if (obj3) {
093d3ff1 15368 {
554f62e9
RD
15369 arg4 = wxString_in_helper(obj3);
15370 if (arg4 == NULL) SWIG_fail;
15371 temp4 = true;
093d3ff1 15372 }
554f62e9
RD
15373 }
15374 if (obj4) {
093d3ff1 15375 {
554f62e9
RD
15376 arg5 = &temp5;
15377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 15378 }
554f62e9
RD
15379 }
15380 if (obj5) {
d55e5bfc 15381 {
554f62e9
RD
15382 arg6 = &temp6;
15383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15384 }
554f62e9
RD
15385 }
15386 if (obj6) {
15387 ecode7 = SWIG_AsVal_long(obj6, &val7);
15388 if (!SWIG_IsOK(ecode7)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15390 }
15391 arg7 = static_cast< long >(val7);
15392 }
15393 if (obj7) {
15394 ecode8 = SWIG_AsVal_int(obj7, &val8);
15395 if (!SWIG_IsOK(ecode8)) {
15396 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15397 }
15398 arg8 = static_cast< int >(val8);
15399 }
15400 if (obj8) {
15401 ecode9 = SWIG_AsVal_int(obj8, &val9);
15402 if (!SWIG_IsOK(ecode9)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15404 }
15405 arg9 = static_cast< int >(val9);
15406 }
15407 if (obj9) {
15408 ecode10 = SWIG_AsVal_int(obj9, &val10);
15409 if (!SWIG_IsOK(ecode10)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15411 }
15412 arg10 = static_cast< int >(val10);
15413 }
15414 if (obj10) {
15415 {
15416 arg11 = wxString_in_helper(obj10);
15417 if (arg11 == NULL) SWIG_fail;
15418 temp11 = true;
15419 }
15420 }
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 {
15428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15429 }
15430 {
15431 if (temp4)
15432 delete arg4;
15433 }
15434 {
15435 if (temp11)
15436 delete arg11;
15437 }
15438 return resultobj;
15439fail:
15440 {
15441 if (temp4)
15442 delete arg4;
15443 }
15444 {
15445 if (temp11)
15446 delete arg11;
15447 }
15448 return NULL;
d55e5bfc
RD
15449}
15450
15451
554f62e9
RD
15452SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15453 PyObject *resultobj = 0;
15454 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15455 int result;
15456 void *argp1 = 0 ;
15457 int res1 = 0 ;
15458 PyObject *swig_obj[1] ;
15459
15460 if (!args) SWIG_fail;
15461 swig_obj[0] = args;
15462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15463 if (!SWIG_IsOK(res1)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15465 }
15466 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 resultobj = SWIG_From_int(static_cast< int >(result));
15474 return resultobj;
15475fail:
15476 return NULL;
15477}
15478
15479
15480SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj = 0;
15482 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15483 int arg2 ;
15484 void *argp1 = 0 ;
15485 int res1 = 0 ;
15486 int val2 ;
15487 int ecode2 = 0 ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 char * kwnames[] = {
15491 (char *) "self",(char *) "value", NULL
15492 };
15493
15494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15496 if (!SWIG_IsOK(res1)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15498 }
15499 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15500 ecode2 = SWIG_AsVal_int(obj1, &val2);
15501 if (!SWIG_IsOK(ecode2)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15503 }
15504 arg2 = static_cast< int >(val2);
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 (arg1)->SetValue(arg2);
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 resultobj = SWIG_Py_Void();
15512 return resultobj;
15513fail:
15514 return NULL;
15515}
15516
15517
15518SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj = 0;
15520 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15521 wxString *arg2 = 0 ;
15522 void *argp1 = 0 ;
15523 int res1 = 0 ;
15524 bool temp2 = false ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 char * kwnames[] = {
15528 (char *) "self",(char *) "text", NULL
15529 };
15530
15531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15533 if (!SWIG_IsOK(res1)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15535 }
15536 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15537 {
15538 arg2 = wxString_in_helper(obj1);
15539 if (arg2 == NULL) SWIG_fail;
15540 temp2 = true;
15541 }
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 (arg1)->SetValue((wxString const &)*arg2);
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 resultobj = SWIG_Py_Void();
15549 {
15550 if (temp2)
15551 delete arg2;
15552 }
15553 return resultobj;
15554fail:
15555 {
15556 if (temp2)
15557 delete arg2;
15558 }
15559 return NULL;
15560}
15561
15562
15563SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj = 0;
15565 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15566 int arg2 ;
15567 int arg3 ;
15568 void *argp1 = 0 ;
15569 int res1 = 0 ;
15570 int val2 ;
15571 int ecode2 = 0 ;
15572 int val3 ;
15573 int ecode3 = 0 ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15585 }
15586 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15587 ecode2 = SWIG_AsVal_int(obj1, &val2);
15588 if (!SWIG_IsOK(ecode2)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15590 }
15591 arg2 = static_cast< int >(val2);
15592 ecode3 = SWIG_AsVal_int(obj2, &val3);
15593 if (!SWIG_IsOK(ecode3)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15595 }
15596 arg3 = static_cast< int >(val3);
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 (arg1)->SetRange(arg2,arg3);
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 resultobj = SWIG_Py_Void();
15604 return resultobj;
15605fail:
15606 return NULL;
d55e5bfc
RD
15607}
15608
15609
554f62e9
RD
15610SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15611 PyObject *resultobj = 0;
15612 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15613 int result;
15614 void *argp1 = 0 ;
15615 int res1 = 0 ;
15616 PyObject *swig_obj[1] ;
15617
15618 if (!args) SWIG_fail;
15619 swig_obj[0] = args;
15620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15621 if (!SWIG_IsOK(res1)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15623 }
15624 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 resultobj = SWIG_From_int(static_cast< int >(result));
15632 return resultobj;
15633fail:
15634 return NULL;
d55e5bfc
RD
15635}
15636
15637
554f62e9
RD
15638SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15639 PyObject *resultobj = 0;
15640 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15641 int result;
15642 void *argp1 = 0 ;
15643 int res1 = 0 ;
15644 PyObject *swig_obj[1] ;
15645
15646 if (!args) SWIG_fail;
15647 swig_obj[0] = args;
15648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15649 if (!SWIG_IsOK(res1)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15651 }
15652 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 resultobj = SWIG_From_int(static_cast< int >(result));
15660 return resultobj;
15661fail:
15662 return NULL;
15663}
15664
15665
15666SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj = 0;
15668 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15669 long arg2 ;
15670 long arg3 ;
15671 void *argp1 = 0 ;
15672 int res1 = 0 ;
15673 long val2 ;
15674 int ecode2 = 0 ;
15675 long val3 ;
15676 int ecode3 = 0 ;
15677 PyObject * obj0 = 0 ;
15678 PyObject * obj1 = 0 ;
15679 PyObject * obj2 = 0 ;
15680 char * kwnames[] = {
f460c29d 15681 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15682 };
15683
15684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15686 if (!SWIG_IsOK(res1)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15688 }
15689 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15690 ecode2 = SWIG_AsVal_long(obj1, &val2);
15691 if (!SWIG_IsOK(ecode2)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15693 }
15694 arg2 = static_cast< long >(val2);
15695 ecode3 = SWIG_AsVal_long(obj2, &val3);
15696 if (!SWIG_IsOK(ecode3)) {
15697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15698 }
15699 arg3 = static_cast< long >(val3);
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 (arg1)->SetSelection(arg2,arg3);
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 resultobj = SWIG_Py_Void();
15707 return resultobj;
15708fail:
15709 return NULL;
15710}
15711
15712
15713SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj = 0;
15715 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15716 SwigValueWrapper<wxVisualAttributes > result;
15717 int val1 ;
15718 int ecode1 = 0 ;
15719 PyObject * obj0 = 0 ;
15720 char * kwnames[] = {
15721 (char *) "variant", NULL
15722 };
15723
15724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15725 if (obj0) {
15726 ecode1 = SWIG_AsVal_int(obj0, &val1);
15727 if (!SWIG_IsOK(ecode1)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15729 }
15730 arg1 = static_cast< wxWindowVariant >(val1);
15731 }
15732 {
15733 if (!wxPyCheckForApp()) SWIG_fail;
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15740 return resultobj;
15741fail:
15742 return NULL;
d55e5bfc
RD
15743}
15744
15745
554f62e9
RD
15746SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15747 PyObject *obj;
15748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15749 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15750 return SWIG_Py_Void();
d55e5bfc
RD
15751}
15752
554f62e9
RD
15753SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15754 return SWIG_Python_InitShadowInstance(args);
15755}
d55e5bfc 15756
554f62e9
RD
15757SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj = 0;
15759 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15760 int arg2 = (int) 0 ;
15761 wxSpinEvent *result = 0 ;
15762 int val1 ;
15763 int ecode1 = 0 ;
15764 int val2 ;
15765 int ecode2 = 0 ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 char * kwnames[] = {
15769 (char *) "commandType",(char *) "winid", NULL
15770 };
15771
15772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15773 if (obj0) {
15774 ecode1 = SWIG_AsVal_int(obj0, &val1);
15775 if (!SWIG_IsOK(ecode1)) {
15776 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15777 }
15778 arg1 = static_cast< wxEventType >(val1);
15779 }
15780 if (obj1) {
15781 ecode2 = SWIG_AsVal_int(obj1, &val2);
15782 if (!SWIG_IsOK(ecode2)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15784 }
15785 arg2 = static_cast< int >(val2);
15786 }
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15794 return resultobj;
15795fail:
15796 return NULL;
d55e5bfc
RD
15797}
15798
15799
554f62e9
RD
15800SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15801 PyObject *resultobj = 0;
15802 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15803 int result;
15804 void *argp1 = 0 ;
15805 int res1 = 0 ;
15806 PyObject *swig_obj[1] ;
15807
15808 if (!args) SWIG_fail;
15809 swig_obj[0] = args;
15810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15811 if (!SWIG_IsOK(res1)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15813 }
15814 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 resultobj = SWIG_From_int(static_cast< int >(result));
15822 return resultobj;
15823fail:
15824 return NULL;
15825}
15826
15827
15828SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj = 0;
15830 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15831 int arg2 ;
15832 void *argp1 = 0 ;
15833 int res1 = 0 ;
15834 int val2 ;
15835 int ecode2 = 0 ;
15836 PyObject * obj0 = 0 ;
15837 PyObject * obj1 = 0 ;
15838 char * kwnames[] = {
15839 (char *) "self",(char *) "pos", NULL
15840 };
15841
15842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15844 if (!SWIG_IsOK(res1)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15846 }
15847 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15848 ecode2 = SWIG_AsVal_int(obj1, &val2);
15849 if (!SWIG_IsOK(ecode2)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15851 }
15852 arg2 = static_cast< int >(val2);
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 (arg1)->SetPosition(arg2);
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 resultobj = SWIG_Py_Void();
15860 return resultobj;
15861fail:
15862 return NULL;
d55e5bfc
RD
15863}
15864
15865
554f62e9
RD
15866SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15867 PyObject *obj;
15868 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15869 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15870 return SWIG_Py_Void();
d55e5bfc
RD
15871}
15872
554f62e9
RD
15873SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15874 return SWIG_Python_InitShadowInstance(args);
15875}
d55e5bfc 15876
554f62e9
RD
15877SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15878 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15879 return 1;
d55e5bfc
RD
15880}
15881
15882
554f62e9
RD
15883SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15884 PyObject *pyobj = 0;
15885
15886 {
15887#if wxUSE_UNICODE
15888 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15889#else
15890 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15891#endif
15892 }
15893 return pyobj;
d55e5bfc
RD
15894}
15895
15896
554f62e9
RD
15897SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
15898 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
15899 return 1;
15900}
15901
15902
15903SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
15904 PyObject *pyobj = 0;
15905
15906 {
15907#if wxUSE_UNICODE
15908 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15909#else
15910 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15911#endif
15912 }
15913 return pyobj;
15914}
15915
15916
15917SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj = 0;
15919 wxWindow *arg1 = (wxWindow *) 0 ;
15920 int arg2 = (int) -1 ;
15921 wxString const &arg3_defvalue = wxPyEmptyString ;
15922 wxString *arg3 = (wxString *) &arg3_defvalue ;
15923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15925 wxSize const &arg5_defvalue = wxDefaultSize ;
15926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15927 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15928 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15929 int arg7 = (int) 0 ;
15930 long arg8 = (long) wxRA_HORIZONTAL ;
15931 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15932 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15933 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
15934 wxString *arg10 = (wxString *) &arg10_defvalue ;
15935 wxRadioBox *result = 0 ;
15936 void *argp1 = 0 ;
15937 int res1 = 0 ;
15938 int val2 ;
15939 int ecode2 = 0 ;
15940 bool temp3 = false ;
15941 wxPoint temp4 ;
15942 wxSize temp5 ;
15943 bool temp6 = false ;
15944 int val7 ;
15945 int ecode7 = 0 ;
15946 long val8 ;
15947 int ecode8 = 0 ;
15948 void *argp9 = 0 ;
15949 int res9 = 0 ;
15950 bool temp10 = false ;
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
15953 PyObject * obj2 = 0 ;
15954 PyObject * obj3 = 0 ;
15955 PyObject * obj4 = 0 ;
15956 PyObject * obj5 = 0 ;
15957 PyObject * obj6 = 0 ;
15958 PyObject * obj7 = 0 ;
15959 PyObject * obj8 = 0 ;
15960 PyObject * obj9 = 0 ;
15961 char * kwnames[] = {
15962 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15963 };
15964
15965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15967 if (!SWIG_IsOK(res1)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15969 }
15970 arg1 = reinterpret_cast< wxWindow * >(argp1);
15971 if (obj1) {
15972 ecode2 = SWIG_AsVal_int(obj1, &val2);
15973 if (!SWIG_IsOK(ecode2)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15975 }
15976 arg2 = static_cast< int >(val2);
15977 }
15978 if (obj2) {
093d3ff1 15979 {
554f62e9
RD
15980 arg3 = wxString_in_helper(obj2);
15981 if (arg3 == NULL) SWIG_fail;
15982 temp3 = true;
093d3ff1 15983 }
554f62e9
RD
15984 }
15985 if (obj3) {
093d3ff1 15986 {
554f62e9
RD
15987 arg4 = &temp4;
15988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15989 }
554f62e9
RD
15990 }
15991 if (obj4) {
d55e5bfc 15992 {
554f62e9
RD
15993 arg5 = &temp5;
15994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15995 }
554f62e9
RD
15996 }
15997 if (obj5) {
d55e5bfc 15998 {
554f62e9
RD
15999 if (! PySequence_Check(obj5)) {
16000 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16001 SWIG_fail;
16002 }
16003 arg6 = new wxArrayString;
16004 temp6 = true;
16005 int i, len=PySequence_Length(obj5);
16006 for (i=0; i<len; i++) {
16007 PyObject* item = PySequence_GetItem(obj5, i);
16008 wxString* s = wxString_in_helper(item);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 arg6->Add(*s);
16011 delete s;
16012 Py_DECREF(item);
16013 }
d55e5bfc 16014 }
554f62e9
RD
16015 }
16016 if (obj6) {
16017 ecode7 = SWIG_AsVal_int(obj6, &val7);
16018 if (!SWIG_IsOK(ecode7)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16020 }
16021 arg7 = static_cast< int >(val7);
16022 }
16023 if (obj7) {
16024 ecode8 = SWIG_AsVal_long(obj7, &val8);
16025 if (!SWIG_IsOK(ecode8)) {
16026 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16027 }
16028 arg8 = static_cast< long >(val8);
16029 }
16030 if (obj8) {
16031 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16032 if (!SWIG_IsOK(res9)) {
16033 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16034 }
554f62e9
RD
16035 if (!argp9) {
16036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16037 }
554f62e9
RD
16038 arg9 = reinterpret_cast< wxValidator * >(argp9);
16039 }
16040 if (obj9) {
d55e5bfc 16041 {
554f62e9
RD
16042 arg10 = wxString_in_helper(obj9);
16043 if (arg10 == NULL) SWIG_fail;
16044 temp10 = true;
d55e5bfc 16045 }
554f62e9
RD
16046 }
16047 {
16048 if (!wxPyCheckForApp()) SWIG_fail;
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 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);
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16055 {
16056 if (temp3)
16057 delete arg3;
16058 }
16059 {
16060 if (temp6) delete arg6;
16061 }
16062 {
16063 if (temp10)
16064 delete arg10;
16065 }
16066 return resultobj;
16067fail:
16068 {
16069 if (temp3)
16070 delete arg3;
16071 }
16072 {
16073 if (temp6) delete arg6;
16074 }
16075 {
16076 if (temp10)
16077 delete arg10;
16078 }
16079 return NULL;
d55e5bfc
RD
16080}
16081
16082
554f62e9
RD
16083SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *resultobj = 0;
16085 wxRadioBox *result = 0 ;
16086
16087 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16088 {
16089 if (!wxPyCheckForApp()) SWIG_fail;
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (wxRadioBox *)new wxRadioBox();
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16096 return resultobj;
16097fail:
16098 return NULL;
16099}
16100
16101
16102SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj = 0;
16104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16105 wxWindow *arg2 = (wxWindow *) 0 ;
16106 int arg3 = (int) -1 ;
16107 wxString const &arg4_defvalue = wxPyEmptyString ;
16108 wxString *arg4 = (wxString *) &arg4_defvalue ;
16109 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16110 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16111 wxSize const &arg6_defvalue = wxDefaultSize ;
16112 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16113 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16114 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16115 int arg8 = (int) 0 ;
16116 long arg9 = (long) wxRA_HORIZONTAL ;
16117 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16118 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16119 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16120 wxString *arg11 = (wxString *) &arg11_defvalue ;
16121 bool result;
16122 void *argp1 = 0 ;
16123 int res1 = 0 ;
16124 void *argp2 = 0 ;
16125 int res2 = 0 ;
16126 int val3 ;
16127 int ecode3 = 0 ;
16128 bool temp4 = false ;
16129 wxPoint temp5 ;
16130 wxSize temp6 ;
16131 bool temp7 = false ;
16132 int val8 ;
16133 int ecode8 = 0 ;
16134 long val9 ;
16135 int ecode9 = 0 ;
16136 void *argp10 = 0 ;
16137 int res10 = 0 ;
16138 bool temp11 = false ;
16139 PyObject * obj0 = 0 ;
16140 PyObject * obj1 = 0 ;
16141 PyObject * obj2 = 0 ;
16142 PyObject * obj3 = 0 ;
16143 PyObject * obj4 = 0 ;
16144 PyObject * obj5 = 0 ;
16145 PyObject * obj6 = 0 ;
16146 PyObject * obj7 = 0 ;
16147 PyObject * obj8 = 0 ;
16148 PyObject * obj9 = 0 ;
16149 PyObject * obj10 = 0 ;
16150 char * kwnames[] = {
16151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16152 };
16153
16154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16156 if (!SWIG_IsOK(res1)) {
16157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16158 }
16159 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16161 if (!SWIG_IsOK(res2)) {
16162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16163 }
16164 arg2 = reinterpret_cast< wxWindow * >(argp2);
16165 if (obj2) {
16166 ecode3 = SWIG_AsVal_int(obj2, &val3);
16167 if (!SWIG_IsOK(ecode3)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16169 }
16170 arg3 = static_cast< int >(val3);
16171 }
16172 if (obj3) {
093d3ff1 16173 {
554f62e9
RD
16174 arg4 = wxString_in_helper(obj3);
16175 if (arg4 == NULL) SWIG_fail;
16176 temp4 = true;
093d3ff1 16177 }
554f62e9
RD
16178 }
16179 if (obj4) {
d55e5bfc 16180 {
554f62e9
RD
16181 arg5 = &temp5;
16182 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16183 }
554f62e9
RD
16184 }
16185 if (obj5) {
093d3ff1 16186 {
554f62e9
RD
16187 arg6 = &temp6;
16188 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 16189 }
554f62e9
RD
16190 }
16191 if (obj6) {
093d3ff1 16192 {
554f62e9
RD
16193 if (! PySequence_Check(obj6)) {
16194 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16195 SWIG_fail;
16196 }
16197 arg7 = new wxArrayString;
16198 temp7 = true;
16199 int i, len=PySequence_Length(obj6);
16200 for (i=0; i<len; i++) {
16201 PyObject* item = PySequence_GetItem(obj6, i);
16202 wxString* s = wxString_in_helper(item);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 arg7->Add(*s);
16205 delete s;
16206 Py_DECREF(item);
16207 }
093d3ff1 16208 }
554f62e9
RD
16209 }
16210 if (obj7) {
16211 ecode8 = SWIG_AsVal_int(obj7, &val8);
16212 if (!SWIG_IsOK(ecode8)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16214 }
16215 arg8 = static_cast< int >(val8);
16216 }
16217 if (obj8) {
16218 ecode9 = SWIG_AsVal_long(obj8, &val9);
16219 if (!SWIG_IsOK(ecode9)) {
16220 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16221 }
16222 arg9 = static_cast< long >(val9);
16223 }
16224 if (obj9) {
16225 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16226 if (!SWIG_IsOK(res10)) {
16227 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 16228 }
554f62e9
RD
16229 if (!argp10) {
16230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 16231 }
554f62e9
RD
16232 arg10 = reinterpret_cast< wxValidator * >(argp10);
16233 }
16234 if (obj10) {
d55e5bfc 16235 {
554f62e9
RD
16236 arg11 = wxString_in_helper(obj10);
16237 if (arg11 == NULL) SWIG_fail;
16238 temp11 = true;
d55e5bfc 16239 }
554f62e9
RD
16240 }
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 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);
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 {
16248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16249 }
16250 {
16251 if (temp4)
16252 delete arg4;
16253 }
16254 {
16255 if (temp7) delete arg7;
16256 }
16257 {
16258 if (temp11)
16259 delete arg11;
16260 }
16261 return resultobj;
16262fail:
16263 {
16264 if (temp4)
16265 delete arg4;
16266 }
16267 {
16268 if (temp7) delete arg7;
16269 }
16270 {
16271 if (temp11)
16272 delete arg11;
16273 }
16274 return NULL;
16275}
16276
16277
16278SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj = 0;
16280 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16281 int arg2 ;
16282 void *argp1 = 0 ;
16283 int res1 = 0 ;
16284 int val2 ;
16285 int ecode2 = 0 ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char * kwnames[] = {
16289 (char *) "self",(char *) "n", NULL
16290 };
16291
16292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16294 if (!SWIG_IsOK(res1)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16296 }
16297 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16298 ecode2 = SWIG_AsVal_int(obj1, &val2);
16299 if (!SWIG_IsOK(ecode2)) {
16300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16301 }
16302 arg2 = static_cast< int >(val2);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 (arg1)->SetSelection(arg2);
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 resultobj = SWIG_Py_Void();
16310 return resultobj;
16311fail:
16312 return NULL;
d55e5bfc
RD
16313}
16314
16315
554f62e9
RD
16316SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16317 PyObject *resultobj = 0;
16318 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16319 int result;
16320 void *argp1 = 0 ;
16321 int res1 = 0 ;
16322 PyObject *swig_obj[1] ;
16323
16324 if (!args) SWIG_fail;
16325 swig_obj[0] = args;
16326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16327 if (!SWIG_IsOK(res1)) {
16328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16329 }
16330 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = SWIG_From_int(static_cast< int >(result));
16338 return resultobj;
16339fail:
16340 return NULL;
4896ac9e
RD
16341}
16342
16343
554f62e9
RD
16344SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16345 PyObject *resultobj = 0;
16346 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16347 wxString result;
16348 void *argp1 = 0 ;
16349 int res1 = 0 ;
16350 PyObject *swig_obj[1] ;
16351
16352 if (!args) SWIG_fail;
16353 swig_obj[0] = args;
16354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16355 if (!SWIG_IsOK(res1)) {
16356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16357 }
16358 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 {
16366#if wxUSE_UNICODE
16367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16368#else
16369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16370#endif
16371 }
16372 return resultobj;
16373fail:
16374 return NULL;
16375}
16376
16377
16378SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj = 0;
16380 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16381 wxString *arg2 = 0 ;
16382 bool result;
16383 void *argp1 = 0 ;
16384 int res1 = 0 ;
16385 bool temp2 = false ;
16386 PyObject * obj0 = 0 ;
16387 PyObject * obj1 = 0 ;
16388 char * kwnames[] = {
16389 (char *) "self",(char *) "s", NULL
16390 };
16391
16392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16394 if (!SWIG_IsOK(res1)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16396 }
16397 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16398 {
16399 arg2 = wxString_in_helper(obj1);
16400 if (arg2 == NULL) SWIG_fail;
16401 temp2 = true;
16402 }
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16406 wxPyEndAllowThreads(__tstate);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 }
16409 {
16410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16411 }
16412 {
16413 if (temp2)
16414 delete arg2;
16415 }
16416 return resultobj;
16417fail:
16418 {
16419 if (temp2)
16420 delete arg2;
16421 }
16422 return NULL;
d55e5bfc
RD
16423}
16424
16425
554f62e9
RD
16426SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16427 PyObject *resultobj = 0;
16428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16429 size_t result;
554f62e9
RD
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 PyObject *swig_obj[1] ;
16433
16434 if (!args) SWIG_fail;
16435 swig_obj[0] = args;
16436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16439 }
16440 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16443 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
554f62e9
RD
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
1c71765a 16447 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
554f62e9
RD
16448 return resultobj;
16449fail:
16450 return NULL;
16451}
16452
16453
16454SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj = 0;
16456 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16457 wxString *arg2 = 0 ;
16458 int result;
16459 void *argp1 = 0 ;
16460 int res1 = 0 ;
16461 bool temp2 = false ;
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 char * kwnames[] = {
16465 (char *) "self",(char *) "s", NULL
16466 };
16467
16468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16470 if (!SWIG_IsOK(res1)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16472 }
16473 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16474 {
16475 arg2 = wxString_in_helper(obj1);
16476 if (arg2 == NULL) SWIG_fail;
16477 temp2 = true;
16478 }
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 resultobj = SWIG_From_int(static_cast< int >(result));
16486 {
16487 if (temp2)
16488 delete arg2;
16489 }
16490 return resultobj;
16491fail:
16492 {
16493 if (temp2)
16494 delete arg2;
16495 }
16496 return NULL;
16497}
16498
16499
16500SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj = 0;
16502 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16503 int arg2 ;
16504 wxString result;
16505 void *argp1 = 0 ;
16506 int res1 = 0 ;
16507 int val2 ;
16508 int ecode2 = 0 ;
16509 PyObject * obj0 = 0 ;
16510 PyObject * obj1 = 0 ;
16511 char * kwnames[] = {
16512 (char *) "self",(char *) "n", NULL
16513 };
16514
16515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16517 if (!SWIG_IsOK(res1)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16519 }
16520 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16521 ecode2 = SWIG_AsVal_int(obj1, &val2);
16522 if (!SWIG_IsOK(ecode2)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16524 }
16525 arg2 = static_cast< int >(val2);
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533#if wxUSE_UNICODE
16534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16535#else
16536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16537#endif
16538 }
16539 return resultobj;
16540fail:
16541 return NULL;
16542}
16543
16544
16545SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj = 0;
16547 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16548 int arg2 ;
16549 wxString *arg3 = 0 ;
16550 void *argp1 = 0 ;
16551 int res1 = 0 ;
16552 int val2 ;
16553 int ecode2 = 0 ;
16554 bool temp3 = false ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 PyObject * obj2 = 0 ;
16558 char * kwnames[] = {
16559 (char *) "self",(char *) "n",(char *) "label", NULL
16560 };
16561
16562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16564 if (!SWIG_IsOK(res1)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16566 }
16567 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16568 ecode2 = SWIG_AsVal_int(obj1, &val2);
16569 if (!SWIG_IsOK(ecode2)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16571 }
16572 arg2 = static_cast< int >(val2);
16573 {
16574 arg3 = wxString_in_helper(obj2);
16575 if (arg3 == NULL) SWIG_fail;
16576 temp3 = true;
16577 }
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 (arg1)->SetString(arg2,(wxString const &)*arg3);
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_Py_Void();
16585 {
16586 if (temp3)
16587 delete arg3;
16588 }
16589 return resultobj;
16590fail:
16591 {
16592 if (temp3)
16593 delete arg3;
16594 }
16595 return NULL;
16596}
16597
16598
16599SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj = 0;
16601 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16602 unsigned int arg2 ;
554f62e9
RD
16603 bool arg3 = (bool) true ;
16604 void *argp1 = 0 ;
16605 int res1 = 0 ;
50f151d7 16606 unsigned int val2 ;
554f62e9
RD
16607 int ecode2 = 0 ;
16608 bool val3 ;
16609 int ecode3 = 0 ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 char * kwnames[] = {
16614 (char *) "self",(char *) "n",(char *) "enable", NULL
16615 };
16616
16617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16619 if (!SWIG_IsOK(res1)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16621 }
16622 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16623 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16624 if (!SWIG_IsOK(ecode2)) {
50f151d7 16625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16626 }
50f151d7 16627 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16628 if (obj2) {
16629 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16630 if (!SWIG_IsOK(ecode3)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16632 }
16633 arg3 = static_cast< bool >(val3);
16634 }
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->Enable(arg2,arg3);
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 resultobj = SWIG_Py_Void();
16642 return resultobj;
16643fail:
16644 return NULL;
16645}
16646
16647
16648SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj = 0;
16650 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16651 unsigned int arg2 ;
554f62e9
RD
16652 bool arg3 = (bool) true ;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
50f151d7 16655 unsigned int val2 ;
554f62e9
RD
16656 int ecode2 = 0 ;
16657 bool val3 ;
16658 int ecode3 = 0 ;
16659 PyObject * obj0 = 0 ;
16660 PyObject * obj1 = 0 ;
16661 PyObject * obj2 = 0 ;
16662 char * kwnames[] = {
16663 (char *) "self",(char *) "n",(char *) "show", NULL
16664 };
16665
16666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16668 if (!SWIG_IsOK(res1)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16670 }
16671 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16672 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16673 if (!SWIG_IsOK(ecode2)) {
50f151d7 16674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16675 }
50f151d7 16676 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16677 if (obj2) {
16678 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16679 if (!SWIG_IsOK(ecode3)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16681 }
16682 arg3 = static_cast< bool >(val3);
16683 }
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 (arg1)->Show(arg2,arg3);
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 resultobj = SWIG_Py_Void();
16691 return resultobj;
16692fail:
16693 return NULL;
d55e5bfc
RD
16694}
16695
16696
50f151d7
RD
16697SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj = 0;
16699 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16700 unsigned int arg2 ;
16701 bool result;
16702 void *argp1 = 0 ;
16703 int res1 = 0 ;
16704 unsigned int val2 ;
16705 int ecode2 = 0 ;
16706 PyObject * obj0 = 0 ;
16707 PyObject * obj1 = 0 ;
16708 char * kwnames[] = {
16709 (char *) "self",(char *) "n", NULL
16710 };
16711
16712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16714 if (!SWIG_IsOK(res1)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16716 }
16717 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16718 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16719 if (!SWIG_IsOK(ecode2)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16721 }
16722 arg2 = static_cast< unsigned int >(val2);
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 {
16730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16731 }
16732 return resultobj;
16733fail:
16734 return NULL;
16735}
16736
16737
16738SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj = 0;
16740 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16741 unsigned int arg2 ;
16742 bool result;
16743 void *argp1 = 0 ;
16744 int res1 = 0 ;
16745 unsigned int val2 ;
16746 int ecode2 = 0 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 char * kwnames[] = {
16750 (char *) "self",(char *) "n", NULL
16751 };
16752
16753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16755 if (!SWIG_IsOK(res1)) {
16756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16757 }
16758 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16759 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16760 if (!SWIG_IsOK(ecode2)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16762 }
16763 arg2 = static_cast< unsigned int >(val2);
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 {
16771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16772 }
16773 return resultobj;
16774fail:
16775 return NULL;
16776}
16777
16778
554f62e9
RD
16779SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16780 PyObject *resultobj = 0;
16781 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16782 unsigned int result;
554f62e9
RD
16783 void *argp1 = 0 ;
16784 int res1 = 0 ;
16785 PyObject *swig_obj[1] ;
16786
16787 if (!args) SWIG_fail;
16788 swig_obj[0] = args;
16789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16790 if (!SWIG_IsOK(res1)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16792 }
16793 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16796 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
554f62e9
RD
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
50f151d7 16800 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
16801 return resultobj;
16802fail:
16803 return NULL;
d55e5bfc
RD
16804}
16805
16806
554f62e9
RD
16807SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16808 PyObject *resultobj = 0;
16809 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16810 unsigned int result;
554f62e9
RD
16811 void *argp1 = 0 ;
16812 int res1 = 0 ;
16813 PyObject *swig_obj[1] ;
16814
16815 if (!args) SWIG_fail;
16816 swig_obj[0] = args;
16817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16818 if (!SWIG_IsOK(res1)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16820 }
16821 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16824 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
554f62e9
RD
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
50f151d7 16828 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
16829 return resultobj;
16830fail:
16831 return NULL;
16832}
16833
16834
16835SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj = 0;
16837 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16838 int arg2 ;
16839 wxDirection arg3 ;
16840 long arg4 ;
16841 int result;
16842 void *argp1 = 0 ;
16843 int res1 = 0 ;
16844 int val2 ;
16845 int ecode2 = 0 ;
16846 int val3 ;
16847 int ecode3 = 0 ;
16848 long val4 ;
16849 int ecode4 = 0 ;
16850 PyObject * obj0 = 0 ;
16851 PyObject * obj1 = 0 ;
16852 PyObject * obj2 = 0 ;
16853 PyObject * obj3 = 0 ;
16854 char * kwnames[] = {
16855 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16856 };
16857
16858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16860 if (!SWIG_IsOK(res1)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16862 }
16863 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16864 ecode2 = SWIG_AsVal_int(obj1, &val2);
16865 if (!SWIG_IsOK(ecode2)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16867 }
16868 arg2 = static_cast< int >(val2);
16869 ecode3 = SWIG_AsVal_int(obj2, &val3);
16870 if (!SWIG_IsOK(ecode3)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16872 }
16873 arg3 = static_cast< wxDirection >(val3);
16874 ecode4 = SWIG_AsVal_long(obj3, &val4);
16875 if (!SWIG_IsOK(ecode4)) {
16876 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16877 }
16878 arg4 = static_cast< long >(val4);
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 resultobj = SWIG_From_int(static_cast< int >(result));
16886 return resultobj;
16887fail:
16888 return NULL;
16889}
16890
16891
f460c29d
RD
16892SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj = 0;
16894 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16895 unsigned int arg2 ;
16896 wxString *arg3 = 0 ;
16897 void *argp1 = 0 ;
16898 int res1 = 0 ;
16899 unsigned int val2 ;
16900 int ecode2 = 0 ;
16901 bool temp3 = false ;
16902 PyObject * obj0 = 0 ;
16903 PyObject * obj1 = 0 ;
16904 PyObject * obj2 = 0 ;
16905 char * kwnames[] = {
16906 (char *) "self",(char *) "item",(char *) "text", NULL
16907 };
16908
16909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16911 if (!SWIG_IsOK(res1)) {
16912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16913 }
16914 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16915 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16916 if (!SWIG_IsOK(ecode2)) {
16917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16918 }
16919 arg2 = static_cast< unsigned int >(val2);
16920 {
16921 arg3 = wxString_in_helper(obj2);
16922 if (arg3 == NULL) SWIG_fail;
16923 temp3 = true;
16924 }
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 resultobj = SWIG_Py_Void();
16932 {
16933 if (temp3)
16934 delete arg3;
16935 }
16936 return resultobj;
16937fail:
16938 {
16939 if (temp3)
16940 delete arg3;
16941 }
16942 return NULL;
16943}
16944
16945
16946SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj = 0;
16948 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16949 unsigned int arg2 ;
16950 wxToolTip *result = 0 ;
16951 void *argp1 = 0 ;
16952 int res1 = 0 ;
16953 unsigned int val2 ;
16954 int ecode2 = 0 ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 char * kwnames[] = {
16958 (char *) "self",(char *) "item", NULL
16959 };
16960
16961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
16962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16963 if (!SWIG_IsOK(res1)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16965 }
16966 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16967 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16968 if (!SWIG_IsOK(ecode2)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16970 }
16971 arg2 = static_cast< unsigned int >(val2);
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 {
16979 resultobj = wxPyMake_wxObject(result, (bool)0);
16980 }
16981 return resultobj;
16982fail:
16983 return NULL;
16984}
16985
16986
554f62e9
RD
16987SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj = 0;
16989 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16990 SwigValueWrapper<wxVisualAttributes > result;
16991 int val1 ;
16992 int ecode1 = 0 ;
16993 PyObject * obj0 = 0 ;
16994 char * kwnames[] = {
16995 (char *) "variant", NULL
16996 };
16997
16998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
16999 if (obj0) {
17000 ecode1 = SWIG_AsVal_int(obj0, &val1);
17001 if (!SWIG_IsOK(ecode1)) {
17002 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17003 }
17004 arg1 = static_cast< wxWindowVariant >(val1);
17005 }
17006 {
17007 if (!wxPyCheckForApp()) SWIG_fail;
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17014 return resultobj;
17015fail:
17016 return NULL;
17017}
17018
17019
17020SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17021 PyObject *obj;
17022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17023 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17024 return SWIG_Py_Void();
17025}
17026
17027SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17028 return SWIG_Python_InitShadowInstance(args);
17029}
17030
17031SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj = 0;
17033 wxWindow *arg1 = (wxWindow *) 0 ;
17034 int arg2 = (int) -1 ;
17035 wxString const &arg3_defvalue = wxPyEmptyString ;
17036 wxString *arg3 = (wxString *) &arg3_defvalue ;
17037 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17038 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17039 wxSize const &arg5_defvalue = wxDefaultSize ;
17040 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17041 long arg6 = (long) 0 ;
17042 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17043 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17044 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17045 wxString *arg8 = (wxString *) &arg8_defvalue ;
17046 wxRadioButton *result = 0 ;
17047 void *argp1 = 0 ;
17048 int res1 = 0 ;
17049 int val2 ;
17050 int ecode2 = 0 ;
17051 bool temp3 = false ;
17052 wxPoint temp4 ;
17053 wxSize temp5 ;
17054 long val6 ;
17055 int ecode6 = 0 ;
17056 void *argp7 = 0 ;
17057 int res7 = 0 ;
17058 bool temp8 = false ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 PyObject * obj2 = 0 ;
17062 PyObject * obj3 = 0 ;
17063 PyObject * obj4 = 0 ;
17064 PyObject * obj5 = 0 ;
17065 PyObject * obj6 = 0 ;
17066 PyObject * obj7 = 0 ;
17067 char * kwnames[] = {
17068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17069 };
17070
17071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17073 if (!SWIG_IsOK(res1)) {
17074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17075 }
17076 arg1 = reinterpret_cast< wxWindow * >(argp1);
17077 if (obj1) {
17078 ecode2 = SWIG_AsVal_int(obj1, &val2);
17079 if (!SWIG_IsOK(ecode2)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17081 }
17082 arg2 = static_cast< int >(val2);
17083 }
17084 if (obj2) {
d55e5bfc 17085 {
554f62e9
RD
17086 arg3 = wxString_in_helper(obj2);
17087 if (arg3 == NULL) SWIG_fail;
17088 temp3 = true;
d55e5bfc 17089 }
554f62e9
RD
17090 }
17091 if (obj3) {
d55e5bfc 17092 {
554f62e9
RD
17093 arg4 = &temp4;
17094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17095 }
554f62e9
RD
17096 }
17097 if (obj4) {
d55e5bfc 17098 {
554f62e9
RD
17099 arg5 = &temp5;
17100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17101 }
554f62e9
RD
17102 }
17103 if (obj5) {
17104 ecode6 = SWIG_AsVal_long(obj5, &val6);
17105 if (!SWIG_IsOK(ecode6)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17107 }
17108 arg6 = static_cast< long >(val6);
17109 }
17110 if (obj6) {
17111 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17112 if (!SWIG_IsOK(res7)) {
17113 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17114 }
554f62e9
RD
17115 if (!argp7) {
17116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17117 }
554f62e9
RD
17118 arg7 = reinterpret_cast< wxValidator * >(argp7);
17119 }
17120 if (obj7) {
d55e5bfc 17121 {
554f62e9
RD
17122 arg8 = wxString_in_helper(obj7);
17123 if (arg8 == NULL) SWIG_fail;
17124 temp8 = true;
d55e5bfc 17125 }
554f62e9
RD
17126 }
17127 {
17128 if (!wxPyCheckForApp()) SWIG_fail;
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17135 {
17136 if (temp3)
17137 delete arg3;
17138 }
17139 {
17140 if (temp8)
17141 delete arg8;
17142 }
17143 return resultobj;
17144fail:
17145 {
17146 if (temp3)
17147 delete arg3;
17148 }
17149 {
17150 if (temp8)
17151 delete arg8;
17152 }
17153 return NULL;
d55e5bfc
RD
17154}
17155
17156
554f62e9
RD
17157SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17158 PyObject *resultobj = 0;
17159 wxRadioButton *result = 0 ;
17160
17161 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17162 {
17163 if (!wxPyCheckForApp()) SWIG_fail;
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 result = (wxRadioButton *)new wxRadioButton();
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17170 return resultobj;
17171fail:
17172 return NULL;
17173}
17174
17175
17176SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17177 PyObject *resultobj = 0;
17178 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17179 wxWindow *arg2 = (wxWindow *) 0 ;
17180 int arg3 = (int) -1 ;
17181 wxString const &arg4_defvalue = wxPyEmptyString ;
17182 wxString *arg4 = (wxString *) &arg4_defvalue ;
17183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17185 wxSize const &arg6_defvalue = wxDefaultSize ;
17186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17187 long arg7 = (long) 0 ;
17188 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17189 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17190 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17191 wxString *arg9 = (wxString *) &arg9_defvalue ;
17192 bool result;
17193 void *argp1 = 0 ;
17194 int res1 = 0 ;
17195 void *argp2 = 0 ;
17196 int res2 = 0 ;
17197 int val3 ;
17198 int ecode3 = 0 ;
17199 bool temp4 = false ;
17200 wxPoint temp5 ;
17201 wxSize temp6 ;
17202 long val7 ;
17203 int ecode7 = 0 ;
17204 void *argp8 = 0 ;
17205 int res8 = 0 ;
17206 bool temp9 = false ;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 PyObject * obj2 = 0 ;
17210 PyObject * obj3 = 0 ;
17211 PyObject * obj4 = 0 ;
17212 PyObject * obj5 = 0 ;
17213 PyObject * obj6 = 0 ;
17214 PyObject * obj7 = 0 ;
17215 PyObject * obj8 = 0 ;
17216 char * kwnames[] = {
17217 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17218 };
17219
17220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17222 if (!SWIG_IsOK(res1)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17224 }
17225 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17227 if (!SWIG_IsOK(res2)) {
17228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17229 }
17230 arg2 = reinterpret_cast< wxWindow * >(argp2);
17231 if (obj2) {
17232 ecode3 = SWIG_AsVal_int(obj2, &val3);
17233 if (!SWIG_IsOK(ecode3)) {
17234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17235 }
17236 arg3 = static_cast< int >(val3);
17237 }
17238 if (obj3) {
d55e5bfc 17239 {
554f62e9
RD
17240 arg4 = wxString_in_helper(obj3);
17241 if (arg4 == NULL) SWIG_fail;
17242 temp4 = true;
d55e5bfc 17243 }
554f62e9
RD
17244 }
17245 if (obj4) {
d55e5bfc 17246 {
554f62e9
RD
17247 arg5 = &temp5;
17248 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17249 }
554f62e9
RD
17250 }
17251 if (obj5) {
d55e5bfc 17252 {
554f62e9
RD
17253 arg6 = &temp6;
17254 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17255 }
554f62e9
RD
17256 }
17257 if (obj6) {
17258 ecode7 = SWIG_AsVal_long(obj6, &val7);
17259 if (!SWIG_IsOK(ecode7)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17261 }
17262 arg7 = static_cast< long >(val7);
17263 }
17264 if (obj7) {
17265 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17266 if (!SWIG_IsOK(res8)) {
17267 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17268 }
17269 if (!argp8) {
17270 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17271 }
554f62e9
RD
17272 arg8 = reinterpret_cast< wxValidator * >(argp8);
17273 }
17274 if (obj8) {
d55e5bfc 17275 {
554f62e9
RD
17276 arg9 = wxString_in_helper(obj8);
17277 if (arg9 == NULL) SWIG_fail;
17278 temp9 = true;
d55e5bfc 17279 }
554f62e9
RD
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 {
17288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17289 }
17290 {
17291 if (temp4)
17292 delete arg4;
17293 }
17294 {
17295 if (temp9)
17296 delete arg9;
17297 }
17298 return resultobj;
17299fail:
17300 {
17301 if (temp4)
17302 delete arg4;
17303 }
17304 {
17305 if (temp9)
17306 delete arg9;
17307 }
17308 return NULL;
d55e5bfc
RD
17309}
17310
17311
554f62e9
RD
17312SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17313 PyObject *resultobj = 0;
17314 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17315 bool result;
17316 void *argp1 = 0 ;
17317 int res1 = 0 ;
17318 PyObject *swig_obj[1] ;
17319
17320 if (!args) SWIG_fail;
17321 swig_obj[0] = args;
17322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17323 if (!SWIG_IsOK(res1)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17325 }
17326 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (bool)(arg1)->GetValue();
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 {
17334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17335 }
17336 return resultobj;
17337fail:
17338 return NULL;
17339}
17340
17341
17342SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj = 0;
17344 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17345 bool arg2 ;
17346 void *argp1 = 0 ;
17347 int res1 = 0 ;
17348 bool val2 ;
17349 int ecode2 = 0 ;
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
17352 char * kwnames[] = {
17353 (char *) "self",(char *) "value", NULL
17354 };
17355
17356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17358 if (!SWIG_IsOK(res1)) {
17359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17360 }
17361 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17362 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17363 if (!SWIG_IsOK(ecode2)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17365 }
17366 arg2 = static_cast< bool >(val2);
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->SetValue(arg2);
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = SWIG_Py_Void();
17374 return resultobj;
17375fail:
17376 return NULL;
17377}
17378
17379
17380SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj = 0;
17382 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17383 SwigValueWrapper<wxVisualAttributes > result;
17384 int val1 ;
17385 int ecode1 = 0 ;
17386 PyObject * obj0 = 0 ;
17387 char * kwnames[] = {
17388 (char *) "variant", NULL
17389 };
17390
17391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17392 if (obj0) {
17393 ecode1 = SWIG_AsVal_int(obj0, &val1);
17394 if (!SWIG_IsOK(ecode1)) {
17395 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17396 }
17397 arg1 = static_cast< wxWindowVariant >(val1);
17398 }
17399 {
17400 if (!wxPyCheckForApp()) SWIG_fail;
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17407 return resultobj;
17408fail:
17409 return NULL;
d55e5bfc
RD
17410}
17411
17412
554f62e9
RD
17413SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17414 PyObject *obj;
17415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17416 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17417 return SWIG_Py_Void();
d55e5bfc
RD
17418}
17419
554f62e9
RD
17420SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17421 return SWIG_Python_InitShadowInstance(args);
17422}
d55e5bfc 17423
554f62e9
RD
17424SWIGINTERN int SliderNameStr_set(PyObject *) {
17425 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17426 return 1;
d55e5bfc
RD
17427}
17428
17429
554f62e9
RD
17430SWIGINTERN PyObject *SliderNameStr_get(void) {
17431 PyObject *pyobj = 0;
17432
17433 {
17434#if wxUSE_UNICODE
17435 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17436#else
17437 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17438#endif
17439 }
17440 return pyobj;
17441}
17442
17443
17444SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17445 PyObject *resultobj = 0;
17446 wxWindow *arg1 = (wxWindow *) 0 ;
17447 int arg2 = (int) -1 ;
17448 int arg3 = (int) 0 ;
17449 int arg4 = (int) 0 ;
17450 int arg5 = (int) 100 ;
17451 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17452 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17453 wxSize const &arg7_defvalue = wxDefaultSize ;
17454 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17455 long arg8 = (long) wxSL_HORIZONTAL ;
17456 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17457 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17458 wxString const &arg10_defvalue = wxPySliderNameStr ;
17459 wxString *arg10 = (wxString *) &arg10_defvalue ;
17460 wxSlider *result = 0 ;
17461 void *argp1 = 0 ;
17462 int res1 = 0 ;
17463 int val2 ;
17464 int ecode2 = 0 ;
17465 int val3 ;
17466 int ecode3 = 0 ;
17467 int val4 ;
17468 int ecode4 = 0 ;
17469 int val5 ;
17470 int ecode5 = 0 ;
17471 wxPoint temp6 ;
17472 wxSize temp7 ;
17473 long val8 ;
17474 int ecode8 = 0 ;
17475 void *argp9 = 0 ;
17476 int res9 = 0 ;
17477 bool temp10 = false ;
17478 PyObject * obj0 = 0 ;
17479 PyObject * obj1 = 0 ;
17480 PyObject * obj2 = 0 ;
17481 PyObject * obj3 = 0 ;
17482 PyObject * obj4 = 0 ;
17483 PyObject * obj5 = 0 ;
17484 PyObject * obj6 = 0 ;
17485 PyObject * obj7 = 0 ;
17486 PyObject * obj8 = 0 ;
17487 PyObject * obj9 = 0 ;
17488 char * kwnames[] = {
17489 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17490 };
17491
17492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17494 if (!SWIG_IsOK(res1)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17496 }
17497 arg1 = reinterpret_cast< wxWindow * >(argp1);
17498 if (obj1) {
17499 ecode2 = SWIG_AsVal_int(obj1, &val2);
17500 if (!SWIG_IsOK(ecode2)) {
17501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17502 }
17503 arg2 = static_cast< int >(val2);
17504 }
17505 if (obj2) {
17506 ecode3 = SWIG_AsVal_int(obj2, &val3);
17507 if (!SWIG_IsOK(ecode3)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17509 }
17510 arg3 = static_cast< int >(val3);
17511 }
17512 if (obj3) {
17513 ecode4 = SWIG_AsVal_int(obj3, &val4);
17514 if (!SWIG_IsOK(ecode4)) {
17515 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17516 }
17517 arg4 = static_cast< int >(val4);
17518 }
17519 if (obj4) {
17520 ecode5 = SWIG_AsVal_int(obj4, &val5);
17521 if (!SWIG_IsOK(ecode5)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17523 }
17524 arg5 = static_cast< int >(val5);
17525 }
17526 if (obj5) {
d55e5bfc 17527 {
554f62e9
RD
17528 arg6 = &temp6;
17529 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17530 }
554f62e9
RD
17531 }
17532 if (obj6) {
093d3ff1 17533 {
554f62e9
RD
17534 arg7 = &temp7;
17535 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17536 }
554f62e9
RD
17537 }
17538 if (obj7) {
17539 ecode8 = SWIG_AsVal_long(obj7, &val8);
17540 if (!SWIG_IsOK(ecode8)) {
17541 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17542 }
17543 arg8 = static_cast< long >(val8);
17544 }
17545 if (obj8) {
17546 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17547 if (!SWIG_IsOK(res9)) {
17548 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17549 }
554f62e9
RD
17550 if (!argp9) {
17551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17552 }
554f62e9
RD
17553 arg9 = reinterpret_cast< wxValidator * >(argp9);
17554 }
17555 if (obj9) {
d55e5bfc 17556 {
554f62e9
RD
17557 arg10 = wxString_in_helper(obj9);
17558 if (arg10 == NULL) SWIG_fail;
17559 temp10 = true;
d55e5bfc 17560 }
554f62e9
RD
17561 }
17562 {
17563 if (!wxPyCheckForApp()) SWIG_fail;
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17570 {
17571 if (temp10)
17572 delete arg10;
17573 }
17574 return resultobj;
17575fail:
17576 {
17577 if (temp10)
17578 delete arg10;
17579 }
17580 return NULL;
d55e5bfc
RD
17581}
17582
17583
554f62e9
RD
17584SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17585 PyObject *resultobj = 0;
17586 wxSlider *result = 0 ;
17587
17588 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17589 {
17590 if (!wxPyCheckForApp()) SWIG_fail;
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (wxSlider *)new wxSlider();
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17597 return resultobj;
17598fail:
17599 return NULL;
17600}
17601
17602
17603SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj = 0;
17605 wxSlider *arg1 = (wxSlider *) 0 ;
17606 wxWindow *arg2 = (wxWindow *) 0 ;
17607 int arg3 = (int) -1 ;
17608 int arg4 = (int) 0 ;
17609 int arg5 = (int) 0 ;
17610 int arg6 = (int) 100 ;
17611 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17612 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17613 wxSize const &arg8_defvalue = wxDefaultSize ;
17614 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17615 long arg9 = (long) wxSL_HORIZONTAL ;
17616 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17617 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17618 wxString const &arg11_defvalue = wxPySliderNameStr ;
17619 wxString *arg11 = (wxString *) &arg11_defvalue ;
17620 bool result;
17621 void *argp1 = 0 ;
17622 int res1 = 0 ;
17623 void *argp2 = 0 ;
17624 int res2 = 0 ;
17625 int val3 ;
17626 int ecode3 = 0 ;
17627 int val4 ;
17628 int ecode4 = 0 ;
17629 int val5 ;
17630 int ecode5 = 0 ;
17631 int val6 ;
17632 int ecode6 = 0 ;
17633 wxPoint temp7 ;
17634 wxSize temp8 ;
17635 long val9 ;
17636 int ecode9 = 0 ;
17637 void *argp10 = 0 ;
17638 int res10 = 0 ;
17639 bool temp11 = false ;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 PyObject * obj2 = 0 ;
17643 PyObject * obj3 = 0 ;
17644 PyObject * obj4 = 0 ;
17645 PyObject * obj5 = 0 ;
17646 PyObject * obj6 = 0 ;
17647 PyObject * obj7 = 0 ;
17648 PyObject * obj8 = 0 ;
17649 PyObject * obj9 = 0 ;
17650 PyObject * obj10 = 0 ;
17651 char * kwnames[] = {
17652 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17653 };
17654
17655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17657 if (!SWIG_IsOK(res1)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17659 }
17660 arg1 = reinterpret_cast< wxSlider * >(argp1);
17661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17662 if (!SWIG_IsOK(res2)) {
17663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17664 }
17665 arg2 = reinterpret_cast< wxWindow * >(argp2);
17666 if (obj2) {
17667 ecode3 = SWIG_AsVal_int(obj2, &val3);
17668 if (!SWIG_IsOK(ecode3)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17670 }
17671 arg3 = static_cast< int >(val3);
17672 }
17673 if (obj3) {
17674 ecode4 = SWIG_AsVal_int(obj3, &val4);
17675 if (!SWIG_IsOK(ecode4)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17677 }
17678 arg4 = static_cast< int >(val4);
17679 }
17680 if (obj4) {
17681 ecode5 = SWIG_AsVal_int(obj4, &val5);
17682 if (!SWIG_IsOK(ecode5)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17684 }
17685 arg5 = static_cast< int >(val5);
17686 }
17687 if (obj5) {
17688 ecode6 = SWIG_AsVal_int(obj5, &val6);
17689 if (!SWIG_IsOK(ecode6)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17691 }
17692 arg6 = static_cast< int >(val6);
17693 }
17694 if (obj6) {
d55e5bfc 17695 {
554f62e9
RD
17696 arg7 = &temp7;
17697 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17698 }
554f62e9
RD
17699 }
17700 if (obj7) {
093d3ff1 17701 {
554f62e9
RD
17702 arg8 = &temp8;
17703 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
17704 }
17705 }
17706 if (obj8) {
17707 ecode9 = SWIG_AsVal_long(obj8, &val9);
17708 if (!SWIG_IsOK(ecode9)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17710 }
17711 arg9 = static_cast< long >(val9);
17712 }
17713 if (obj9) {
17714 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17715 if (!SWIG_IsOK(res10)) {
17716 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 17717 }
554f62e9
RD
17718 if (!argp10) {
17719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17720 }
17721 arg10 = reinterpret_cast< wxValidator * >(argp10);
17722 }
17723 if (obj10) {
d55e5bfc 17724 {
554f62e9
RD
17725 arg11 = wxString_in_helper(obj10);
17726 if (arg11 == NULL) SWIG_fail;
17727 temp11 = true;
d55e5bfc 17728 }
554f62e9
RD
17729 }
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17738 }
17739 {
17740 if (temp11)
17741 delete arg11;
17742 }
17743 return resultobj;
17744fail:
17745 {
17746 if (temp11)
17747 delete arg11;
17748 }
17749 return NULL;
d55e5bfc
RD
17750}
17751
17752
554f62e9
RD
17753SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17754 PyObject *resultobj = 0;
17755 wxSlider *arg1 = (wxSlider *) 0 ;
17756 int result;
17757 void *argp1 = 0 ;
17758 int res1 = 0 ;
17759 PyObject *swig_obj[1] ;
17760
17761 if (!args) SWIG_fail;
17762 swig_obj[0] = args;
17763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17764 if (!SWIG_IsOK(res1)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17766 }
17767 arg1 = reinterpret_cast< wxSlider * >(argp1);
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (int)((wxSlider const *)arg1)->GetValue();
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_From_int(static_cast< int >(result));
17775 return resultobj;
17776fail:
17777 return NULL;
17778}
17779
17780
17781SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj = 0;
17783 wxSlider *arg1 = (wxSlider *) 0 ;
17784 int arg2 ;
17785 void *argp1 = 0 ;
17786 int res1 = 0 ;
17787 int val2 ;
17788 int ecode2 = 0 ;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj1 = 0 ;
17791 char * kwnames[] = {
17792 (char *) "self",(char *) "value", NULL
17793 };
17794
17795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17797 if (!SWIG_IsOK(res1)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17799 }
17800 arg1 = reinterpret_cast< wxSlider * >(argp1);
17801 ecode2 = SWIG_AsVal_int(obj1, &val2);
17802 if (!SWIG_IsOK(ecode2)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17804 }
17805 arg2 = static_cast< int >(val2);
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->SetValue(arg2);
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 resultobj = SWIG_Py_Void();
17813 return resultobj;
17814fail:
17815 return NULL;
17816}
17817
17818
17819SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj = 0;
17821 wxSlider *arg1 = (wxSlider *) 0 ;
17822 int arg2 ;
17823 int arg3 ;
17824 void *argp1 = 0 ;
17825 int res1 = 0 ;
17826 int val2 ;
17827 int ecode2 = 0 ;
17828 int val3 ;
17829 int ecode3 = 0 ;
17830 PyObject * obj0 = 0 ;
17831 PyObject * obj1 = 0 ;
17832 PyObject * obj2 = 0 ;
17833 char * kwnames[] = {
17834 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17835 };
17836
17837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17839 if (!SWIG_IsOK(res1)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17841 }
17842 arg1 = reinterpret_cast< wxSlider * >(argp1);
17843 ecode2 = SWIG_AsVal_int(obj1, &val2);
17844 if (!SWIG_IsOK(ecode2)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17846 }
17847 arg2 = static_cast< int >(val2);
17848 ecode3 = SWIG_AsVal_int(obj2, &val3);
17849 if (!SWIG_IsOK(ecode3)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17851 }
17852 arg3 = static_cast< int >(val3);
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetRange(arg2,arg3);
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_Py_Void();
17860 return resultobj;
17861fail:
17862 return NULL;
d55e5bfc
RD
17863}
17864
17865
554f62e9
RD
17866SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17867 PyObject *resultobj = 0;
17868 wxSlider *arg1 = (wxSlider *) 0 ;
17869 int result;
17870 void *argp1 = 0 ;
17871 int res1 = 0 ;
17872 PyObject *swig_obj[1] ;
17873
17874 if (!args) SWIG_fail;
17875 swig_obj[0] = args;
17876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17877 if (!SWIG_IsOK(res1)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17879 }
17880 arg1 = reinterpret_cast< wxSlider * >(argp1);
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 result = (int)((wxSlider const *)arg1)->GetMin();
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 resultobj = SWIG_From_int(static_cast< int >(result));
17888 return resultobj;
17889fail:
17890 return NULL;
d55e5bfc
RD
17891}
17892
17893
554f62e9
RD
17894SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17895 PyObject *resultobj = 0;
17896 wxSlider *arg1 = (wxSlider *) 0 ;
17897 int result;
17898 void *argp1 = 0 ;
17899 int res1 = 0 ;
17900 PyObject *swig_obj[1] ;
17901
17902 if (!args) SWIG_fail;
17903 swig_obj[0] = args;
17904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17905 if (!SWIG_IsOK(res1)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17907 }
17908 arg1 = reinterpret_cast< wxSlider * >(argp1);
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 result = (int)((wxSlider const *)arg1)->GetMax();
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 resultobj = SWIG_From_int(static_cast< int >(result));
17916 return resultobj;
17917fail:
17918 return NULL;
17919}
17920
17921
17922SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj = 0;
17924 wxSlider *arg1 = (wxSlider *) 0 ;
17925 int arg2 ;
17926 void *argp1 = 0 ;
17927 int res1 = 0 ;
17928 int val2 ;
17929 int ecode2 = 0 ;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 char * kwnames[] = {
17933 (char *) "self",(char *) "minValue", NULL
17934 };
17935
17936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
17937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17938 if (!SWIG_IsOK(res1)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17940 }
17941 arg1 = reinterpret_cast< wxSlider * >(argp1);
17942 ecode2 = SWIG_AsVal_int(obj1, &val2);
17943 if (!SWIG_IsOK(ecode2)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17945 }
17946 arg2 = static_cast< int >(val2);
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 (arg1)->SetMin(arg2);
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = SWIG_Py_Void();
17954 return resultobj;
17955fail:
17956 return NULL;
17957}
17958
17959
17960SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj = 0;
17962 wxSlider *arg1 = (wxSlider *) 0 ;
17963 int arg2 ;
17964 void *argp1 = 0 ;
17965 int res1 = 0 ;
17966 int val2 ;
17967 int ecode2 = 0 ;
17968 PyObject * obj0 = 0 ;
17969 PyObject * obj1 = 0 ;
17970 char * kwnames[] = {
17971 (char *) "self",(char *) "maxValue", NULL
17972 };
17973
17974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
17975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17976 if (!SWIG_IsOK(res1)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17978 }
17979 arg1 = reinterpret_cast< wxSlider * >(argp1);
17980 ecode2 = SWIG_AsVal_int(obj1, &val2);
17981 if (!SWIG_IsOK(ecode2)) {
17982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17983 }
17984 arg2 = static_cast< int >(val2);
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetMax(arg2);
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = SWIG_Py_Void();
17992 return resultobj;
17993fail:
17994 return NULL;
17995}
17996
17997
17998SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj = 0;
18000 wxSlider *arg1 = (wxSlider *) 0 ;
18001 int arg2 ;
18002 void *argp1 = 0 ;
18003 int res1 = 0 ;
18004 int val2 ;
18005 int ecode2 = 0 ;
18006 PyObject * obj0 = 0 ;
18007 PyObject * obj1 = 0 ;
18008 char * kwnames[] = {
18009 (char *) "self",(char *) "lineSize", NULL
18010 };
18011
18012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18014 if (!SWIG_IsOK(res1)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18016 }
18017 arg1 = reinterpret_cast< wxSlider * >(argp1);
18018 ecode2 = SWIG_AsVal_int(obj1, &val2);
18019 if (!SWIG_IsOK(ecode2)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18021 }
18022 arg2 = static_cast< int >(val2);
18023 {
18024 PyThreadState* __tstate = wxPyBeginAllowThreads();
18025 (arg1)->SetLineSize(arg2);
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 resultobj = SWIG_Py_Void();
18030 return resultobj;
18031fail:
18032 return NULL;
18033}
18034
18035
18036SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj = 0;
18038 wxSlider *arg1 = (wxSlider *) 0 ;
18039 int arg2 ;
18040 void *argp1 = 0 ;
18041 int res1 = 0 ;
18042 int val2 ;
18043 int ecode2 = 0 ;
18044 PyObject * obj0 = 0 ;
18045 PyObject * obj1 = 0 ;
18046 char * kwnames[] = {
18047 (char *) "self",(char *) "pageSize", NULL
18048 };
18049
18050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18052 if (!SWIG_IsOK(res1)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18054 }
18055 arg1 = reinterpret_cast< wxSlider * >(argp1);
18056 ecode2 = SWIG_AsVal_int(obj1, &val2);
18057 if (!SWIG_IsOK(ecode2)) {
18058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18059 }
18060 arg2 = static_cast< int >(val2);
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 (arg1)->SetPageSize(arg2);
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 resultobj = SWIG_Py_Void();
18068 return resultobj;
18069fail:
18070 return NULL;
d55e5bfc
RD
18071}
18072
18073
554f62e9
RD
18074SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18075 PyObject *resultobj = 0;
18076 wxSlider *arg1 = (wxSlider *) 0 ;
18077 int result;
18078 void *argp1 = 0 ;
18079 int res1 = 0 ;
18080 PyObject *swig_obj[1] ;
18081
18082 if (!args) SWIG_fail;
18083 swig_obj[0] = args;
18084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18085 if (!SWIG_IsOK(res1)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18087 }
18088 arg1 = reinterpret_cast< wxSlider * >(argp1);
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = (int)((wxSlider const *)arg1)->GetLineSize();
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = SWIG_From_int(static_cast< int >(result));
18096 return resultobj;
18097fail:
18098 return NULL;
d55e5bfc
RD
18099}
18100
18101
554f62e9
RD
18102SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18103 PyObject *resultobj = 0;
18104 wxSlider *arg1 = (wxSlider *) 0 ;
18105 int result;
18106 void *argp1 = 0 ;
18107 int res1 = 0 ;
18108 PyObject *swig_obj[1] ;
18109
18110 if (!args) SWIG_fail;
18111 swig_obj[0] = args;
18112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18113 if (!SWIG_IsOK(res1)) {
18114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18115 }
18116 arg1 = reinterpret_cast< wxSlider * >(argp1);
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 result = (int)((wxSlider const *)arg1)->GetPageSize();
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 resultobj = SWIG_From_int(static_cast< int >(result));
18124 return resultobj;
18125fail:
18126 return NULL;
18127}
18128
18129
18130SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj = 0;
18132 wxSlider *arg1 = (wxSlider *) 0 ;
18133 int arg2 ;
18134 void *argp1 = 0 ;
18135 int res1 = 0 ;
18136 int val2 ;
18137 int ecode2 = 0 ;
18138 PyObject * obj0 = 0 ;
18139 PyObject * obj1 = 0 ;
18140 char * kwnames[] = {
18141 (char *) "self",(char *) "lenPixels", NULL
18142 };
18143
18144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18146 if (!SWIG_IsOK(res1)) {
18147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18148 }
18149 arg1 = reinterpret_cast< wxSlider * >(argp1);
18150 ecode2 = SWIG_AsVal_int(obj1, &val2);
18151 if (!SWIG_IsOK(ecode2)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18153 }
18154 arg2 = static_cast< int >(val2);
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 (arg1)->SetThumbLength(arg2);
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = SWIG_Py_Void();
18162 return resultobj;
18163fail:
18164 return NULL;
f20a2e1f
RD
18165}
18166
18167
554f62e9
RD
18168SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18169 PyObject *resultobj = 0;
18170 wxSlider *arg1 = (wxSlider *) 0 ;
18171 int result;
18172 void *argp1 = 0 ;
18173 int res1 = 0 ;
18174 PyObject *swig_obj[1] ;
18175
18176 if (!args) SWIG_fail;
18177 swig_obj[0] = args;
18178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18179 if (!SWIG_IsOK(res1)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18181 }
18182 arg1 = reinterpret_cast< wxSlider * >(argp1);
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 resultobj = SWIG_From_int(static_cast< int >(result));
18190 return resultobj;
18191fail:
18192 return NULL;
18193}
18194
18195
18196SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj = 0;
18198 wxSlider *arg1 = (wxSlider *) 0 ;
18199 int arg2 ;
18200 int arg3 = (int) 1 ;
18201 void *argp1 = 0 ;
18202 int res1 = 0 ;
18203 int val2 ;
18204 int ecode2 = 0 ;
18205 int val3 ;
18206 int ecode3 = 0 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 char * kwnames[] = {
18211 (char *) "self",(char *) "n",(char *) "pos", NULL
18212 };
18213
18214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18216 if (!SWIG_IsOK(res1)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18218 }
18219 arg1 = reinterpret_cast< wxSlider * >(argp1);
18220 ecode2 = SWIG_AsVal_int(obj1, &val2);
18221 if (!SWIG_IsOK(ecode2)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18223 }
18224 arg2 = static_cast< int >(val2);
18225 if (obj2) {
18226 ecode3 = SWIG_AsVal_int(obj2, &val3);
18227 if (!SWIG_IsOK(ecode3)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18229 }
18230 arg3 = static_cast< int >(val3);
18231 }
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 (arg1)->SetTickFreq(arg2,arg3);
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_Py_Void();
18239 return resultobj;
18240fail:
18241 return NULL;
d55e5bfc
RD
18242}
18243
18244
554f62e9
RD
18245SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18246 PyObject *resultobj = 0;
18247 wxSlider *arg1 = (wxSlider *) 0 ;
18248 int result;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 PyObject *swig_obj[1] ;
18252
18253 if (!args) SWIG_fail;
18254 swig_obj[0] = args;
18255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18256 if (!SWIG_IsOK(res1)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18258 }
18259 arg1 = reinterpret_cast< wxSlider * >(argp1);
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_From_int(static_cast< int >(result));
18267 return resultobj;
18268fail:
18269 return NULL;
d55e5bfc
RD
18270}
18271
18272
554f62e9
RD
18273SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18274 PyObject *resultobj = 0;
18275 wxSlider *arg1 = (wxSlider *) 0 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 PyObject *swig_obj[1] ;
18279
18280 if (!args) SWIG_fail;
18281 swig_obj[0] = args;
18282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18285 }
18286 arg1 = reinterpret_cast< wxSlider * >(argp1);
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->ClearTicks();
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = SWIG_Py_Void();
18294 return resultobj;
18295fail:
18296 return NULL;
18297}
18298
18299
18300SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj = 0;
18302 wxSlider *arg1 = (wxSlider *) 0 ;
18303 int arg2 ;
18304 void *argp1 = 0 ;
18305 int res1 = 0 ;
18306 int val2 ;
18307 int ecode2 = 0 ;
18308 PyObject * obj0 = 0 ;
18309 PyObject * obj1 = 0 ;
18310 char * kwnames[] = {
18311 (char *) "self",(char *) "tickPos", NULL
18312 };
18313
18314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18316 if (!SWIG_IsOK(res1)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18318 }
18319 arg1 = reinterpret_cast< wxSlider * >(argp1);
18320 ecode2 = SWIG_AsVal_int(obj1, &val2);
18321 if (!SWIG_IsOK(ecode2)) {
18322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18323 }
18324 arg2 = static_cast< int >(val2);
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 (arg1)->SetTick(arg2);
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_Py_Void();
18332 return resultobj;
18333fail:
18334 return NULL;
d55e5bfc
RD
18335}
18336
18337
554f62e9
RD
18338SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18339 PyObject *resultobj = 0;
18340 wxSlider *arg1 = (wxSlider *) 0 ;
18341 void *argp1 = 0 ;
18342 int res1 = 0 ;
18343 PyObject *swig_obj[1] ;
18344
18345 if (!args) SWIG_fail;
18346 swig_obj[0] = args;
18347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18348 if (!SWIG_IsOK(res1)) {
18349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18350 }
18351 arg1 = reinterpret_cast< wxSlider * >(argp1);
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 (arg1)->ClearSel();
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 resultobj = SWIG_Py_Void();
18359 return resultobj;
18360fail:
18361 return NULL;
d55e5bfc
RD
18362}
18363
18364
554f62e9
RD
18365SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18366 PyObject *resultobj = 0;
18367 wxSlider *arg1 = (wxSlider *) 0 ;
18368 int result;
18369 void *argp1 = 0 ;
18370 int res1 = 0 ;
18371 PyObject *swig_obj[1] ;
18372
18373 if (!args) SWIG_fail;
18374 swig_obj[0] = args;
18375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18376 if (!SWIG_IsOK(res1)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18378 }
18379 arg1 = reinterpret_cast< wxSlider * >(argp1);
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 resultobj = SWIG_From_int(static_cast< int >(result));
18387 return resultobj;
18388fail:
18389 return NULL;
d55e5bfc 18390}
554f62e9
RD
18391
18392
18393SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18394 PyObject *resultobj = 0;
18395 wxSlider *arg1 = (wxSlider *) 0 ;
18396 int result;
18397 void *argp1 = 0 ;
18398 int res1 = 0 ;
18399 PyObject *swig_obj[1] ;
18400
18401 if (!args) SWIG_fail;
18402 swig_obj[0] = args;
18403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18404 if (!SWIG_IsOK(res1)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18406 }
18407 arg1 = reinterpret_cast< wxSlider * >(argp1);
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 result = (int)((wxSlider const *)arg1)->GetSelStart();
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = SWIG_From_int(static_cast< int >(result));
18415 return resultobj;
18416fail:
18417 return NULL;
18418}
18419
18420
18421SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj = 0;
18423 wxSlider *arg1 = (wxSlider *) 0 ;
18424 int arg2 ;
18425 int arg3 ;
18426 void *argp1 = 0 ;
18427 int res1 = 0 ;
18428 int val2 ;
18429 int ecode2 = 0 ;
18430 int val3 ;
18431 int ecode3 = 0 ;
18432 PyObject * obj0 = 0 ;
18433 PyObject * obj1 = 0 ;
18434 PyObject * obj2 = 0 ;
18435 char * kwnames[] = {
18436 (char *) "self",(char *) "min",(char *) "max", NULL
18437 };
18438
18439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18441 if (!SWIG_IsOK(res1)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18443 }
18444 arg1 = reinterpret_cast< wxSlider * >(argp1);
18445 ecode2 = SWIG_AsVal_int(obj1, &val2);
18446 if (!SWIG_IsOK(ecode2)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18448 }
18449 arg2 = static_cast< int >(val2);
18450 ecode3 = SWIG_AsVal_int(obj2, &val3);
18451 if (!SWIG_IsOK(ecode3)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18453 }
18454 arg3 = static_cast< int >(val3);
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 (arg1)->SetSelection(arg2,arg3);
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_Py_Void();
18462 return resultobj;
18463fail:
18464 return NULL;
18465}
18466
18467
18468SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj = 0;
18470 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18471 SwigValueWrapper<wxVisualAttributes > result;
18472 int val1 ;
18473 int ecode1 = 0 ;
18474 PyObject * obj0 = 0 ;
18475 char * kwnames[] = {
18476 (char *) "variant", NULL
18477 };
18478
18479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18480 if (obj0) {
18481 ecode1 = SWIG_AsVal_int(obj0, &val1);
18482 if (!SWIG_IsOK(ecode1)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18484 }
18485 arg1 = static_cast< wxWindowVariant >(val1);
18486 }
18487 {
18488 if (!wxPyCheckForApp()) SWIG_fail;
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 result = wxSlider::GetClassDefaultAttributes(arg1);
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18495 return resultobj;
18496fail:
18497 return NULL;
d55e5bfc
RD
18498}
18499
18500
554f62e9
RD
18501SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18502 PyObject *obj;
18503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18505 return SWIG_Py_Void();
d55e5bfc
RD
18506}
18507
554f62e9
RD
18508SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18509 return SWIG_Python_InitShadowInstance(args);
18510}
d55e5bfc 18511
554f62e9
RD
18512SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18513 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18514 return 1;
d55e5bfc
RD
18515}
18516
18517
554f62e9
RD
18518SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18519 PyObject *pyobj = 0;
18520
18521 {
18522#if wxUSE_UNICODE
18523 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18524#else
18525 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18526#endif
18527 }
18528 return pyobj;
18529}
18530
18531
18532SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18533 PyObject *resultobj = 0;
18534 wxWindow *arg1 = (wxWindow *) 0 ;
18535 int arg2 = (int) -1 ;
18536 wxString const &arg3_defvalue = wxPyEmptyString ;
18537 wxString *arg3 = (wxString *) &arg3_defvalue ;
18538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18540 wxSize const &arg5_defvalue = wxDefaultSize ;
18541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18542 long arg6 = (long) 0 ;
18543 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18544 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18545 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18546 wxString *arg8 = (wxString *) &arg8_defvalue ;
18547 wxToggleButton *result = 0 ;
18548 void *argp1 = 0 ;
18549 int res1 = 0 ;
18550 int val2 ;
18551 int ecode2 = 0 ;
18552 bool temp3 = false ;
18553 wxPoint temp4 ;
18554 wxSize temp5 ;
18555 long val6 ;
18556 int ecode6 = 0 ;
18557 void *argp7 = 0 ;
18558 int res7 = 0 ;
18559 bool temp8 = false ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 PyObject * obj2 = 0 ;
18563 PyObject * obj3 = 0 ;
18564 PyObject * obj4 = 0 ;
18565 PyObject * obj5 = 0 ;
18566 PyObject * obj6 = 0 ;
18567 PyObject * obj7 = 0 ;
18568 char * kwnames[] = {
18569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18570 };
18571
18572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18574 if (!SWIG_IsOK(res1)) {
18575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18576 }
18577 arg1 = reinterpret_cast< wxWindow * >(argp1);
18578 if (obj1) {
18579 ecode2 = SWIG_AsVal_int(obj1, &val2);
18580 if (!SWIG_IsOK(ecode2)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18582 }
18583 arg2 = static_cast< int >(val2);
18584 }
18585 if (obj2) {
d55e5bfc 18586 {
554f62e9
RD
18587 arg3 = wxString_in_helper(obj2);
18588 if (arg3 == NULL) SWIG_fail;
18589 temp3 = true;
d55e5bfc 18590 }
554f62e9
RD
18591 }
18592 if (obj3) {
d55e5bfc 18593 {
554f62e9
RD
18594 arg4 = &temp4;
18595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 18596 }
554f62e9
RD
18597 }
18598 if (obj4) {
d55e5bfc 18599 {
554f62e9
RD
18600 arg5 = &temp5;
18601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18602 }
554f62e9
RD
18603 }
18604 if (obj5) {
18605 ecode6 = SWIG_AsVal_long(obj5, &val6);
18606 if (!SWIG_IsOK(ecode6)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18608 }
18609 arg6 = static_cast< long >(val6);
18610 }
18611 if (obj6) {
18612 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18613 if (!SWIG_IsOK(res7)) {
18614 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18615 }
554f62e9
RD
18616 if (!argp7) {
18617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18618 }
554f62e9
RD
18619 arg7 = reinterpret_cast< wxValidator * >(argp7);
18620 }
18621 if (obj7) {
093d3ff1 18622 {
554f62e9
RD
18623 arg8 = wxString_in_helper(obj7);
18624 if (arg8 == NULL) SWIG_fail;
18625 temp8 = true;
093d3ff1 18626 }
554f62e9
RD
18627 }
18628 {
18629 if (!wxPyCheckForApp()) SWIG_fail;
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18636 {
18637 if (temp3)
18638 delete arg3;
18639 }
18640 {
18641 if (temp8)
18642 delete arg8;
18643 }
18644 return resultobj;
18645fail:
18646 {
18647 if (temp3)
18648 delete arg3;
18649 }
18650 {
18651 if (temp8)
18652 delete arg8;
18653 }
18654 return NULL;
d55e5bfc
RD
18655}
18656
18657
554f62e9
RD
18658SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *resultobj = 0;
18660 wxToggleButton *result = 0 ;
18661
18662 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18663 {
18664 if (!wxPyCheckForApp()) SWIG_fail;
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 result = (wxToggleButton *)new wxToggleButton();
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18671 return resultobj;
18672fail:
18673 return NULL;
18674}
18675
18676
18677SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj = 0;
18679 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18680 wxWindow *arg2 = (wxWindow *) 0 ;
18681 int arg3 = (int) -1 ;
18682 wxString const &arg4_defvalue = wxPyEmptyString ;
18683 wxString *arg4 = (wxString *) &arg4_defvalue ;
18684 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18685 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18686 wxSize const &arg6_defvalue = wxDefaultSize ;
18687 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18688 long arg7 = (long) 0 ;
18689 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18690 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18691 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18692 wxString *arg9 = (wxString *) &arg9_defvalue ;
18693 bool result;
18694 void *argp1 = 0 ;
18695 int res1 = 0 ;
18696 void *argp2 = 0 ;
18697 int res2 = 0 ;
18698 int val3 ;
18699 int ecode3 = 0 ;
18700 bool temp4 = false ;
18701 wxPoint temp5 ;
18702 wxSize temp6 ;
18703 long val7 ;
18704 int ecode7 = 0 ;
18705 void *argp8 = 0 ;
18706 int res8 = 0 ;
18707 bool temp9 = false ;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710 PyObject * obj2 = 0 ;
18711 PyObject * obj3 = 0 ;
18712 PyObject * obj4 = 0 ;
18713 PyObject * obj5 = 0 ;
18714 PyObject * obj6 = 0 ;
18715 PyObject * obj7 = 0 ;
18716 PyObject * obj8 = 0 ;
18717 char * kwnames[] = {
18718 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18719 };
18720
18721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18723 if (!SWIG_IsOK(res1)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18725 }
18726 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18728 if (!SWIG_IsOK(res2)) {
18729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18730 }
18731 arg2 = reinterpret_cast< wxWindow * >(argp2);
18732 if (obj2) {
18733 ecode3 = SWIG_AsVal_int(obj2, &val3);
18734 if (!SWIG_IsOK(ecode3)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18736 }
18737 arg3 = static_cast< int >(val3);
18738 }
18739 if (obj3) {
d55e5bfc 18740 {
554f62e9
RD
18741 arg4 = wxString_in_helper(obj3);
18742 if (arg4 == NULL) SWIG_fail;
18743 temp4 = true;
d55e5bfc 18744 }
554f62e9
RD
18745 }
18746 if (obj4) {
093d3ff1 18747 {
554f62e9
RD
18748 arg5 = &temp5;
18749 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 18750 }
554f62e9
RD
18751 }
18752 if (obj5) {
d55e5bfc 18753 {
554f62e9
RD
18754 arg6 = &temp6;
18755 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18756 }
554f62e9
RD
18757 }
18758 if (obj6) {
18759 ecode7 = SWIG_AsVal_long(obj6, &val7);
18760 if (!SWIG_IsOK(ecode7)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18762 }
18763 arg7 = static_cast< long >(val7);
18764 }
18765 if (obj7) {
18766 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18767 if (!SWIG_IsOK(res8)) {
18768 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 18769 }
554f62e9
RD
18770 if (!argp8) {
18771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 18772 }
554f62e9
RD
18773 arg8 = reinterpret_cast< wxValidator * >(argp8);
18774 }
18775 if (obj8) {
093d3ff1 18776 {
554f62e9
RD
18777 arg9 = wxString_in_helper(obj8);
18778 if (arg9 == NULL) SWIG_fail;
18779 temp9 = true;
093d3ff1 18780 }
554f62e9
RD
18781 }
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 {
18789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18790 }
18791 {
18792 if (temp4)
18793 delete arg4;
18794 }
18795 {
18796 if (temp9)
18797 delete arg9;
18798 }
18799 return resultobj;
18800fail:
18801 {
18802 if (temp4)
18803 delete arg4;
18804 }
18805 {
18806 if (temp9)
18807 delete arg9;
18808 }
18809 return NULL;
18810}
18811
18812
18813SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj = 0;
18815 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18816 bool arg2 ;
18817 void *argp1 = 0 ;
18818 int res1 = 0 ;
18819 bool val2 ;
18820 int ecode2 = 0 ;
18821 PyObject * obj0 = 0 ;
18822 PyObject * obj1 = 0 ;
18823 char * kwnames[] = {
18824 (char *) "self",(char *) "value", NULL
18825 };
18826
18827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18829 if (!SWIG_IsOK(res1)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18831 }
18832 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18833 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18834 if (!SWIG_IsOK(ecode2)) {
18835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18836 }
18837 arg2 = static_cast< bool >(val2);
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 (arg1)->SetValue(arg2);
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 resultobj = SWIG_Py_Void();
18845 return resultobj;
18846fail:
18847 return NULL;
d55e5bfc
RD
18848}
18849
18850
554f62e9
RD
18851SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18852 PyObject *resultobj = 0;
18853 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18854 bool result;
18855 void *argp1 = 0 ;
18856 int res1 = 0 ;
18857 PyObject *swig_obj[1] ;
18858
18859 if (!args) SWIG_fail;
18860 swig_obj[0] = args;
18861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18862 if (!SWIG_IsOK(res1)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18864 }
18865 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (bool)((wxToggleButton const *)arg1)->GetValue();
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 {
18873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18874 }
18875 return resultobj;
18876fail:
18877 return NULL;
d55e5bfc
RD
18878}
18879
18880
554f62e9
RD
18881SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18882 PyObject *resultobj = 0;
18883 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18884 SwigValueWrapper<wxVisualAttributes > result;
18885 int val1 ;
18886 int ecode1 = 0 ;
18887 PyObject * obj0 = 0 ;
18888 char * kwnames[] = {
18889 (char *) "variant", NULL
18890 };
18891
18892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18893 if (obj0) {
18894 ecode1 = SWIG_AsVal_int(obj0, &val1);
18895 if (!SWIG_IsOK(ecode1)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18897 }
18898 arg1 = static_cast< wxWindowVariant >(val1);
18899 }
18900 {
18901 if (!wxPyCheckForApp()) SWIG_fail;
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = wxToggleButton::GetClassDefaultAttributes(arg1);
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18908 return resultobj;
18909fail:
18910 return NULL;
d55e5bfc
RD
18911}
18912
18913
554f62e9
RD
18914SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18915 PyObject *obj;
18916 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18917 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
18918 return SWIG_Py_Void();
d55e5bfc
RD
18919}
18920
554f62e9
RD
18921SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18922 return SWIG_Python_InitShadowInstance(args);
f20a2e1f
RD
18923}
18924
554f62e9
RD
18925SWIGINTERN int NotebookNameStr_set(PyObject *) {
18926 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
18927 return 1;
d55e5bfc
RD
18928}
18929
18930
554f62e9
RD
18931SWIGINTERN PyObject *NotebookNameStr_get(void) {
18932 PyObject *pyobj = 0;
18933
18934 {
d55e5bfc 18935#if wxUSE_UNICODE
554f62e9 18936 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 18937#else
554f62e9 18938 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 18939#endif
554f62e9
RD
18940 }
18941 return pyobj;
d55e5bfc
RD
18942}
18943
18944
554f62e9
RD
18945SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18946 PyObject *resultobj = 0;
18947 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18948 size_t result;
18949 void *argp1 = 0 ;
18950 int res1 = 0 ;
18951 PyObject *swig_obj[1] ;
18952
18953 if (!args) SWIG_fail;
18954 swig_obj[0] = args;
18955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18958 }
18959 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
18967 return resultobj;
18968fail:
18969 return NULL;
18970}
18971
18972
18973SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj = 0;
18975 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18976 size_t arg2 ;
18977 wxWindow *result = 0 ;
18978 void *argp1 = 0 ;
18979 int res1 = 0 ;
18980 size_t val2 ;
18981 int ecode2 = 0 ;
18982 PyObject * obj0 = 0 ;
18983 PyObject * obj1 = 0 ;
18984 char * kwnames[] = {
18985 (char *) "self",(char *) "n", NULL
18986 };
18987
18988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
18989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
18990 if (!SWIG_IsOK(res1)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18992 }
18993 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
18994 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18995 if (!SWIG_IsOK(ecode2)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18997 }
18998 arg2 = static_cast< size_t >(val2);
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (wxWindow *)(arg1)->GetPage(arg2);
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 {
19006 resultobj = wxPyMake_wxObject(result, 0);
19007 }
19008 return resultobj;
19009fail:
19010 return NULL;
d55e5bfc
RD
19011}
19012
19013
554f62e9
RD
19014SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19015 PyObject *resultobj = 0;
19016 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19017 wxWindow *result = 0 ;
19018 void *argp1 = 0 ;
19019 int res1 = 0 ;
19020 PyObject *swig_obj[1] ;
19021
19022 if (!args) SWIG_fail;
19023 swig_obj[0] = args;
19024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19025 if (!SWIG_IsOK(res1)) {
19026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19027 }
19028 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 {
19036 resultobj = wxPyMake_wxObject(result, 0);
19037 }
19038 return resultobj;
19039fail:
19040 return NULL;
d55e5bfc
RD
19041}
19042
19043
554f62e9
RD
19044SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19045 PyObject *resultobj = 0;
19046 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19047 int result;
19048 void *argp1 = 0 ;
19049 int res1 = 0 ;
19050 PyObject *swig_obj[1] ;
19051
19052 if (!args) SWIG_fail;
19053 swig_obj[0] = args;
19054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19055 if (!SWIG_IsOK(res1)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19057 }
19058 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 resultobj = SWIG_From_int(static_cast< int >(result));
19066 return resultobj;
19067fail:
19068 return NULL;
19069}
19070
19071
19072SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj = 0;
19074 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19075 size_t arg2 ;
19076 wxString *arg3 = 0 ;
19077 bool result;
19078 void *argp1 = 0 ;
19079 int res1 = 0 ;
19080 size_t val2 ;
19081 int ecode2 = 0 ;
19082 bool temp3 = false ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 PyObject * obj2 = 0 ;
19086 char * kwnames[] = {
19087 (char *) "self",(char *) "n",(char *) "strText", NULL
19088 };
19089
19090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19092 if (!SWIG_IsOK(res1)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19094 }
19095 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19096 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19097 if (!SWIG_IsOK(ecode2)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19099 }
19100 arg2 = static_cast< size_t >(val2);
19101 {
19102 arg3 = wxString_in_helper(obj2);
19103 if (arg3 == NULL) SWIG_fail;
19104 temp3 = true;
19105 }
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 {
19113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19114 }
19115 {
19116 if (temp3)
19117 delete arg3;
19118 }
19119 return resultobj;
19120fail:
19121 {
19122 if (temp3)
19123 delete arg3;
19124 }
19125 return NULL;
19126}
19127
19128
19129SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj = 0;
19131 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19132 size_t arg2 ;
19133 wxString result;
19134 void *argp1 = 0 ;
19135 int res1 = 0 ;
19136 size_t val2 ;
19137 int ecode2 = 0 ;
19138 PyObject * obj0 = 0 ;
19139 PyObject * obj1 = 0 ;
19140 char * kwnames[] = {
19141 (char *) "self",(char *) "n", NULL
19142 };
19143
19144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19146 if (!SWIG_IsOK(res1)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19148 }
19149 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19150 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19151 if (!SWIG_IsOK(ecode2)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19153 }
19154 arg2 = static_cast< size_t >(val2);
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 {
19162#if wxUSE_UNICODE
19163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19164#else
19165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19166#endif
19167 }
19168 return resultobj;
19169fail:
19170 return NULL;
19171}
19172
19173
19174SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj = 0;
19176 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19177 wxImageList *arg2 = (wxImageList *) 0 ;
19178 void *argp1 = 0 ;
19179 int res1 = 0 ;
19180 void *argp2 = 0 ;
19181 int res2 = 0 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj1 = 0 ;
19184 char * kwnames[] = {
19185 (char *) "self",(char *) "imageList", NULL
19186 };
19187
19188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19190 if (!SWIG_IsOK(res1)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19192 }
19193 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19195 if (!SWIG_IsOK(res2)) {
19196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19197 }
19198 arg2 = reinterpret_cast< wxImageList * >(argp2);
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 (arg1)->SetImageList(arg2);
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 resultobj = SWIG_Py_Void();
19206 return resultobj;
19207fail:
19208 return NULL;
19209}
19210
19211
19212SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj = 0;
19214 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19215 wxImageList *arg2 = (wxImageList *) 0 ;
19216 void *argp1 = 0 ;
19217 int res1 = 0 ;
19218 int res2 = 0 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char * kwnames[] = {
19222 (char *) "self",(char *) "imageList", NULL
19223 };
19224
19225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19227 if (!SWIG_IsOK(res1)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19229 }
19230 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19231 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19232 if (!SWIG_IsOK(res2)) {
19233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19234 }
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->AssignImageList(arg2);
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 resultobj = SWIG_Py_Void();
19242 return resultobj;
19243fail:
19244 return NULL;
d55e5bfc
RD
19245}
19246
19247
554f62e9
RD
19248SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19249 PyObject *resultobj = 0;
19250 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19251 wxImageList *result = 0 ;
19252 void *argp1 = 0 ;
19253 int res1 = 0 ;
19254 PyObject *swig_obj[1] ;
19255
19256 if (!args) SWIG_fail;
19257 swig_obj[0] = args;
19258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19259 if (!SWIG_IsOK(res1)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19261 }
19262 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 {
19270 resultobj = wxPyMake_wxObject(result, (bool)0);
19271 }
19272 return resultobj;
19273fail:
19274 return NULL;
19275}
19276
19277
19278SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj = 0;
19280 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19281 size_t arg2 ;
19282 int result;
19283 void *argp1 = 0 ;
19284 int res1 = 0 ;
19285 size_t val2 ;
19286 int ecode2 = 0 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char * kwnames[] = {
19290 (char *) "self",(char *) "n", NULL
19291 };
19292
19293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19297 }
19298 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19299 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19300 if (!SWIG_IsOK(ecode2)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19302 }
19303 arg2 = static_cast< size_t >(val2);
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 resultobj = SWIG_From_int(static_cast< int >(result));
19311 return resultobj;
19312fail:
19313 return NULL;
19314}
19315
19316
19317SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj = 0;
19319 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19320 size_t arg2 ;
19321 int arg3 ;
19322 bool result;
19323 void *argp1 = 0 ;
19324 int res1 = 0 ;
19325 size_t val2 ;
19326 int ecode2 = 0 ;
19327 int val3 ;
19328 int ecode3 = 0 ;
19329 PyObject * obj0 = 0 ;
19330 PyObject * obj1 = 0 ;
19331 PyObject * obj2 = 0 ;
19332 char * kwnames[] = {
19333 (char *) "self",(char *) "n",(char *) "imageId", NULL
19334 };
19335
19336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19338 if (!SWIG_IsOK(res1)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19340 }
19341 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19342 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19343 if (!SWIG_IsOK(ecode2)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19345 }
19346 arg2 = static_cast< size_t >(val2);
19347 ecode3 = SWIG_AsVal_int(obj2, &val3);
19348 if (!SWIG_IsOK(ecode3)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19350 }
19351 arg3 = static_cast< int >(val3);
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 {
19359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19360 }
19361 return resultobj;
19362fail:
19363 return NULL;
19364}
19365
19366
19367SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj = 0;
19369 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19370 wxSize *arg2 = 0 ;
19371 void *argp1 = 0 ;
19372 int res1 = 0 ;
19373 wxSize temp2 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char * kwnames[] = {
19377 (char *) "self",(char *) "size", NULL
19378 };
19379
19380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19382 if (!SWIG_IsOK(res1)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19384 }
19385 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19386 {
19387 arg2 = &temp2;
19388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19389 }
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->SetPageSize((wxSize const &)*arg2);
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = SWIG_Py_Void();
19397 return resultobj;
19398fail:
19399 return NULL;
19400}
19401
19402
19403SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj = 0;
19405 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19406 wxSize *arg2 = 0 ;
19407 wxSize result;
19408 void *argp1 = 0 ;
19409 int res1 = 0 ;
19410 wxSize temp2 ;
19411 PyObject * obj0 = 0 ;
19412 PyObject * obj1 = 0 ;
19413 char * kwnames[] = {
19414 (char *) "self",(char *) "sizePage", NULL
19415 };
19416
19417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19419 if (!SWIG_IsOK(res1)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19421 }
19422 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19423 {
19424 arg2 = &temp2;
19425 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19426 }
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19434 return resultobj;
19435fail:
19436 return NULL;
d55e5bfc
RD
19437}
19438
19439
554f62e9
RD
19440SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19441 PyObject *resultobj = 0;
19442 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19443 unsigned int result;
554f62e9
RD
19444 void *argp1 = 0 ;
19445 int res1 = 0 ;
19446 PyObject *swig_obj[1] ;
19447
19448 if (!args) SWIG_fail;
19449 swig_obj[0] = args;
19450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19451 if (!SWIG_IsOK(res1)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19453 }
19454 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19457 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
554f62e9
RD
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
e9d6f3a4 19461 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
19462 return resultobj;
19463fail:
19464 return NULL;
19465}
19466
19467
19468SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj = 0;
19470 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19471 unsigned int arg2 ;
554f62e9
RD
19472 void *argp1 = 0 ;
19473 int res1 = 0 ;
e9d6f3a4 19474 unsigned int val2 ;
554f62e9
RD
19475 int ecode2 = 0 ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 char * kwnames[] = {
19479 (char *) "self",(char *) "internalBorder", NULL
19480 };
19481
19482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19484 if (!SWIG_IsOK(res1)) {
19485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19486 }
19487 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19488 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 19489 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 19491 }
e9d6f3a4 19492 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 (arg1)->SetInternalBorder(arg2);
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 resultobj = SWIG_Py_Void();
19500 return resultobj;
19501fail:
19502 return NULL;
d55e5bfc
RD
19503}
19504
19505
554f62e9
RD
19506SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19507 PyObject *resultobj = 0;
19508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19509 bool result;
19510 void *argp1 = 0 ;
19511 int res1 = 0 ;
19512 PyObject *swig_obj[1] ;
19513
19514 if (!args) SWIG_fail;
19515 swig_obj[0] = args;
19516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19517 if (!SWIG_IsOK(res1)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19519 }
19520 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 {
19528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19529 }
19530 return resultobj;
19531fail:
19532 return NULL;
19533}
19534
19535
e9d6f3a4
RD
19536SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj = 0;
19538 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19539 int arg2 ;
19540 void *argp1 = 0 ;
19541 int res1 = 0 ;
19542 int val2 ;
19543 int ecode2 = 0 ;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 char * kwnames[] = {
19547 (char *) "self",(char *) "margin", NULL
19548 };
19549
19550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19552 if (!SWIG_IsOK(res1)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19554 }
19555 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19556 ecode2 = SWIG_AsVal_int(obj1, &val2);
19557 if (!SWIG_IsOK(ecode2)) {
19558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19559 }
19560 arg2 = static_cast< int >(val2);
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->SetControlMargin(arg2);
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_Py_Void();
19568 return resultobj;
19569fail:
19570 return NULL;
19571}
19572
19573
19574SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19575 PyObject *resultobj = 0;
19576 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19577 int result;
19578 void *argp1 = 0 ;
19579 int res1 = 0 ;
19580 PyObject *swig_obj[1] ;
19581
19582 if (!args) SWIG_fail;
19583 swig_obj[0] = args;
19584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19585 if (!SWIG_IsOK(res1)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19587 }
19588 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_From_int(static_cast< int >(result));
19596 return resultobj;
19597fail:
19598 return NULL;
19599}
19600
19601
554f62e9
RD
19602SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj = 0;
19604 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19605 bool arg2 ;
19606 void *argp1 = 0 ;
19607 int res1 = 0 ;
19608 bool val2 ;
19609 int ecode2 = 0 ;
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "self",(char *) "fit", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19620 }
19621 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19622 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19623 if (!SWIG_IsOK(ecode2)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19625 }
19626 arg2 = static_cast< bool >(val2);
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->SetFitToCurrentPage(arg2);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_Py_Void();
19634 return resultobj;
19635fail:
19636 return NULL;
d55e5bfc
RD
19637}
19638
19639
554f62e9
RD
19640SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19641 PyObject *resultobj = 0;
19642 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19643 bool result;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 PyObject *swig_obj[1] ;
19647
19648 if (!args) SWIG_fail;
19649 swig_obj[0] = args;
19650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19651 if (!SWIG_IsOK(res1)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19653 }
19654 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19663 }
19664 return resultobj;
19665fail:
19666 return NULL;
19667}
19668
19669
e9d6f3a4
RD
19670SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19671 PyObject *resultobj = 0;
19672 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19673 wxSizer *result = 0 ;
19674 void *argp1 = 0 ;
19675 int res1 = 0 ;
19676 PyObject *swig_obj[1] ;
19677
19678 if (!args) SWIG_fail;
19679 swig_obj[0] = args;
19680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19681 if (!SWIG_IsOK(res1)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19683 }
19684 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19685 {
19686 PyThreadState* __tstate = wxPyBeginAllowThreads();
19687 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
19692 resultobj = wxPyMake_wxObject(result, (bool)0);
19693 }
19694 return resultobj;
19695fail:
19696 return NULL;
19697}
19698
19699
554f62e9
RD
19700SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj = 0;
19702 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19703 size_t arg2 ;
19704 bool result;
19705 void *argp1 = 0 ;
19706 int res1 = 0 ;
19707 size_t val2 ;
19708 int ecode2 = 0 ;
19709 PyObject * obj0 = 0 ;
19710 PyObject * obj1 = 0 ;
19711 char * kwnames[] = {
19712 (char *) "self",(char *) "n", NULL
19713 };
19714
19715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19717 if (!SWIG_IsOK(res1)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19719 }
19720 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19721 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19722 if (!SWIG_IsOK(ecode2)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19724 }
19725 arg2 = static_cast< size_t >(val2);
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (bool)(arg1)->DeletePage(arg2);
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
19733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19734 }
19735 return resultobj;
19736fail:
19737 return NULL;
19738}
19739
19740
19741SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj = 0;
19743 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19744 size_t arg2 ;
19745 bool result;
19746 void *argp1 = 0 ;
19747 int res1 = 0 ;
19748 size_t val2 ;
19749 int ecode2 = 0 ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj1 = 0 ;
19752 char * kwnames[] = {
19753 (char *) "self",(char *) "n", NULL
19754 };
19755
19756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19758 if (!SWIG_IsOK(res1)) {
19759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19760 }
19761 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19762 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19763 if (!SWIG_IsOK(ecode2)) {
19764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19765 }
19766 arg2 = static_cast< size_t >(val2);
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 result = (bool)(arg1)->RemovePage(arg2);
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
19774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19775 }
19776 return resultobj;
19777fail:
19778 return NULL;
d55e5bfc
RD
19779}
19780
19781
554f62e9
RD
19782SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19783 PyObject *resultobj = 0;
19784 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19785 bool result;
19786 void *argp1 = 0 ;
19787 int res1 = 0 ;
19788 PyObject *swig_obj[1] ;
19789
19790 if (!args) SWIG_fail;
19791 swig_obj[0] = args;
19792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19793 if (!SWIG_IsOK(res1)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19795 }
19796 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (bool)(arg1)->DeleteAllPages();
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 {
19804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19805 }
19806 return resultobj;
19807fail:
19808 return NULL;
19809}
19810
19811
19812SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj = 0;
19814 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19815 wxWindow *arg2 = (wxWindow *) 0 ;
19816 wxString *arg3 = 0 ;
19817 bool arg4 = (bool) false ;
19818 int arg5 = (int) -1 ;
19819 bool result;
19820 void *argp1 = 0 ;
19821 int res1 = 0 ;
19822 void *argp2 = 0 ;
19823 int res2 = 0 ;
19824 bool temp3 = false ;
19825 bool val4 ;
19826 int ecode4 = 0 ;
19827 int val5 ;
19828 int ecode5 = 0 ;
19829 PyObject * obj0 = 0 ;
19830 PyObject * obj1 = 0 ;
19831 PyObject * obj2 = 0 ;
19832 PyObject * obj3 = 0 ;
19833 PyObject * obj4 = 0 ;
19834 char * kwnames[] = {
19835 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19836 };
19837
19838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19840 if (!SWIG_IsOK(res1)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19842 }
19843 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19845 if (!SWIG_IsOK(res2)) {
19846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19847 }
19848 arg2 = reinterpret_cast< wxWindow * >(argp2);
19849 {
19850 arg3 = wxString_in_helper(obj2);
19851 if (arg3 == NULL) SWIG_fail;
19852 temp3 = true;
19853 }
19854 if (obj3) {
19855 ecode4 = SWIG_AsVal_bool(obj3, &val4);
19856 if (!SWIG_IsOK(ecode4)) {
19857 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19858 }
19859 arg4 = static_cast< bool >(val4);
19860 }
19861 if (obj4) {
19862 ecode5 = SWIG_AsVal_int(obj4, &val5);
19863 if (!SWIG_IsOK(ecode5)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19865 }
19866 arg5 = static_cast< int >(val5);
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 }
19877 {
19878 if (temp3)
19879 delete arg3;
19880 }
19881 return resultobj;
19882fail:
19883 {
19884 if (temp3)
19885 delete arg3;
19886 }
19887 return NULL;
19888}
19889
19890
19891SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj = 0;
19893 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19894 size_t arg2 ;
19895 wxWindow *arg3 = (wxWindow *) 0 ;
19896 wxString *arg4 = 0 ;
19897 bool arg5 = (bool) false ;
19898 int arg6 = (int) -1 ;
19899 bool result;
19900 void *argp1 = 0 ;
19901 int res1 = 0 ;
19902 size_t val2 ;
19903 int ecode2 = 0 ;
19904 void *argp3 = 0 ;
19905 int res3 = 0 ;
19906 bool temp4 = false ;
19907 bool val5 ;
19908 int ecode5 = 0 ;
19909 int val6 ;
19910 int ecode6 = 0 ;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 PyObject * obj2 = 0 ;
19914 PyObject * obj3 = 0 ;
19915 PyObject * obj4 = 0 ;
19916 PyObject * obj5 = 0 ;
19917 char * kwnames[] = {
19918 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19919 };
19920
19921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
19922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19923 if (!SWIG_IsOK(res1)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19925 }
19926 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19927 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19928 if (!SWIG_IsOK(ecode2)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19930 }
19931 arg2 = static_cast< size_t >(val2);
19932 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
19933 if (!SWIG_IsOK(res3)) {
19934 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19935 }
19936 arg3 = reinterpret_cast< wxWindow * >(argp3);
19937 {
19938 arg4 = wxString_in_helper(obj3);
19939 if (arg4 == NULL) SWIG_fail;
19940 temp4 = true;
19941 }
19942 if (obj4) {
19943 ecode5 = SWIG_AsVal_bool(obj4, &val5);
19944 if (!SWIG_IsOK(ecode5)) {
19945 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19946 }
19947 arg5 = static_cast< bool >(val5);
19948 }
19949 if (obj5) {
19950 ecode6 = SWIG_AsVal_int(obj5, &val6);
19951 if (!SWIG_IsOK(ecode6)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19953 }
19954 arg6 = static_cast< int >(val6);
19955 }
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 {
19963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19964 }
19965 {
19966 if (temp4)
19967 delete arg4;
19968 }
19969 return resultobj;
19970fail:
19971 {
19972 if (temp4)
19973 delete arg4;
19974 }
19975 return NULL;
19976}
19977
19978
19979SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19980 PyObject *resultobj = 0;
19981 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19982 size_t arg2 ;
19983 int result;
19984 void *argp1 = 0 ;
19985 int res1 = 0 ;
19986 size_t val2 ;
19987 int ecode2 = 0 ;
19988 PyObject * obj0 = 0 ;
19989 PyObject * obj1 = 0 ;
19990 char * kwnames[] = {
19991 (char *) "self",(char *) "n", NULL
19992 };
19993
19994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
19995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19996 if (!SWIG_IsOK(res1)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19998 }
19999 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20000 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20001 if (!SWIG_IsOK(ecode2)) {
20002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20003 }
20004 arg2 = static_cast< size_t >(val2);
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (int)(arg1)->SetSelection(arg2);
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_From_int(static_cast< int >(result));
20012 return resultobj;
20013fail:
20014 return NULL;
20015}
20016
20017
20018SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj = 0;
20020 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20021 bool arg2 = (bool) true ;
20022 void *argp1 = 0 ;
20023 int res1 = 0 ;
20024 bool val2 ;
20025 int ecode2 = 0 ;
20026 PyObject * obj0 = 0 ;
20027 PyObject * obj1 = 0 ;
20028 char * kwnames[] = {
20029 (char *) "self",(char *) "forward", NULL
20030 };
20031
20032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20034 if (!SWIG_IsOK(res1)) {
20035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20036 }
20037 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20038 if (obj1) {
20039 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20040 if (!SWIG_IsOK(ecode2)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20042 }
20043 arg2 = static_cast< bool >(val2);
20044 }
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 (arg1)->AdvanceSelection(arg2);
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 resultobj = SWIG_Py_Void();
20052 return resultobj;
20053fail:
20054 return NULL;
20055}
20056
20057
704eda0c
RD
20058SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj = 0;
20060 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20061 wxPoint *arg2 = 0 ;
20062 long *arg3 = (long *) 0 ;
20063 int result;
20064 void *argp1 = 0 ;
20065 int res1 = 0 ;
20066 wxPoint temp2 ;
20067 long temp3 ;
20068 int res3 = SWIG_TMPOBJ ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char * kwnames[] = {
20072 (char *) "self",(char *) "pt", NULL
20073 };
20074
20075 arg3 = &temp3;
20076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",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_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20080 }
20081 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20082 {
20083 arg2 = &temp2;
20084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20085 }
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = SWIG_From_int(static_cast< int >(result));
20093 if (SWIG_IsTmpObj(res3)) {
20094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20095 } else {
20096 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20098 }
20099 return resultobj;
20100fail:
20101 return NULL;
20102}
20103
20104
554f62e9
RD
20105SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj = 0;
20107 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20108 SwigValueWrapper<wxVisualAttributes > result;
20109 int val1 ;
20110 int ecode1 = 0 ;
20111 PyObject * obj0 = 0 ;
20112 char * kwnames[] = {
20113 (char *) "variant", NULL
20114 };
20115
20116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20117 if (obj0) {
20118 ecode1 = SWIG_AsVal_int(obj0, &val1);
20119 if (!SWIG_IsOK(ecode1)) {
20120 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20121 }
20122 arg1 = static_cast< wxWindowVariant >(val1);
20123 }
20124 {
20125 if (!wxPyCheckForApp()) SWIG_fail;
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20132 return resultobj;
20133fail:
20134 return NULL;
20135}
20136
20137
20138SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20139 PyObject *obj;
20140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20141 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20142 return SWIG_Py_Void();
20143}
20144
20145SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj = 0;
20147 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20148 int arg2 = (int) 0 ;
20149 int arg3 = (int) -1 ;
20150 int arg4 = (int) -1 ;
20151 wxBookCtrlBaseEvent *result = 0 ;
20152 int val1 ;
20153 int ecode1 = 0 ;
20154 int val2 ;
20155 int ecode2 = 0 ;
20156 int val3 ;
20157 int ecode3 = 0 ;
20158 int val4 ;
20159 int ecode4 = 0 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 PyObject * obj3 = 0 ;
20164 char * kwnames[] = {
20165 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20166 };
20167
20168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20169 if (obj0) {
20170 ecode1 = SWIG_AsVal_int(obj0, &val1);
20171 if (!SWIG_IsOK(ecode1)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20173 }
20174 arg1 = static_cast< wxEventType >(val1);
20175 }
20176 if (obj1) {
20177 ecode2 = SWIG_AsVal_int(obj1, &val2);
20178 if (!SWIG_IsOK(ecode2)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20180 }
20181 arg2 = static_cast< int >(val2);
20182 }
20183 if (obj2) {
20184 ecode3 = SWIG_AsVal_int(obj2, &val3);
20185 if (!SWIG_IsOK(ecode3)) {
20186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20187 }
20188 arg3 = static_cast< int >(val3);
20189 }
20190 if (obj3) {
20191 ecode4 = SWIG_AsVal_int(obj3, &val4);
20192 if (!SWIG_IsOK(ecode4)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20194 }
20195 arg4 = static_cast< int >(val4);
20196 }
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20204 return resultobj;
20205fail:
20206 return NULL;
d55e5bfc
RD
20207}
20208
20209
554f62e9
RD
20210SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20211 PyObject *resultobj = 0;
20212 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20213 int result;
20214 void *argp1 = 0 ;
20215 int res1 = 0 ;
20216 PyObject *swig_obj[1] ;
20217
20218 if (!args) SWIG_fail;
20219 swig_obj[0] = args;
20220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20221 if (!SWIG_IsOK(res1)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20223 }
20224 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 resultobj = SWIG_From_int(static_cast< int >(result));
20232 return resultobj;
20233fail:
20234 return NULL;
20235}
20236
20237
20238SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj = 0;
20240 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20241 int arg2 ;
20242 void *argp1 = 0 ;
20243 int res1 = 0 ;
20244 int val2 ;
20245 int ecode2 = 0 ;
20246 PyObject * obj0 = 0 ;
20247 PyObject * obj1 = 0 ;
20248 char * kwnames[] = {
20249 (char *) "self",(char *) "nSel", NULL
20250 };
20251
20252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20254 if (!SWIG_IsOK(res1)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20256 }
20257 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20258 ecode2 = SWIG_AsVal_int(obj1, &val2);
20259 if (!SWIG_IsOK(ecode2)) {
20260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20261 }
20262 arg2 = static_cast< int >(val2);
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 (arg1)->SetSelection(arg2);
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 resultobj = SWIG_Py_Void();
20270 return resultobj;
20271fail:
20272 return NULL;
d55e5bfc
RD
20273}
20274
20275
554f62e9
RD
20276SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20277 PyObject *resultobj = 0;
20278 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20279 int result;
20280 void *argp1 = 0 ;
20281 int res1 = 0 ;
20282 PyObject *swig_obj[1] ;
20283
20284 if (!args) SWIG_fail;
20285 swig_obj[0] = args;
20286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20287 if (!SWIG_IsOK(res1)) {
20288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20289 }
20290 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = SWIG_From_int(static_cast< int >(result));
20298 return resultobj;
20299fail:
20300 return NULL;
20301}
20302
20303
20304SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj = 0;
20306 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20307 int arg2 ;
20308 void *argp1 = 0 ;
20309 int res1 = 0 ;
20310 int val2 ;
20311 int ecode2 = 0 ;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314 char * kwnames[] = {
20315 (char *) "self",(char *) "nOldSel", NULL
20316 };
20317
20318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20320 if (!SWIG_IsOK(res1)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20322 }
20323 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20324 ecode2 = SWIG_AsVal_int(obj1, &val2);
20325 if (!SWIG_IsOK(ecode2)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20327 }
20328 arg2 = static_cast< int >(val2);
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->SetOldSelection(arg2);
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 resultobj = SWIG_Py_Void();
20336 return resultobj;
20337fail:
20338 return NULL;
20339}
20340
20341
20342SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20343 PyObject *obj;
20344 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20345 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20346 return SWIG_Py_Void();
20347}
20348
20349SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20350 return SWIG_Python_InitShadowInstance(args);
20351}
20352
20353SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj = 0;
20355 wxWindow *arg1 = (wxWindow *) 0 ;
20356 int arg2 = (int) -1 ;
20357 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20358 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20359 wxSize const &arg4_defvalue = wxDefaultSize ;
20360 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20361 long arg5 = (long) 0 ;
20362 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20363 wxString *arg6 = (wxString *) &arg6_defvalue ;
20364 wxNotebook *result = 0 ;
20365 void *argp1 = 0 ;
20366 int res1 = 0 ;
20367 int val2 ;
20368 int ecode2 = 0 ;
20369 wxPoint temp3 ;
20370 wxSize temp4 ;
20371 long val5 ;
20372 int ecode5 = 0 ;
20373 bool temp6 = false ;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 PyObject * obj2 = 0 ;
20377 PyObject * obj3 = 0 ;
20378 PyObject * obj4 = 0 ;
20379 PyObject * obj5 = 0 ;
20380 char * kwnames[] = {
20381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20382 };
20383
20384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20386 if (!SWIG_IsOK(res1)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20388 }
20389 arg1 = reinterpret_cast< wxWindow * >(argp1);
20390 if (obj1) {
20391 ecode2 = SWIG_AsVal_int(obj1, &val2);
20392 if (!SWIG_IsOK(ecode2)) {
20393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20394 }
20395 arg2 = static_cast< int >(val2);
20396 }
20397 if (obj2) {
093d3ff1 20398 {
554f62e9
RD
20399 arg3 = &temp3;
20400 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20401 }
554f62e9
RD
20402 }
20403 if (obj3) {
d55e5bfc 20404 {
554f62e9
RD
20405 arg4 = &temp4;
20406 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20407 }
554f62e9
RD
20408 }
20409 if (obj4) {
20410 ecode5 = SWIG_AsVal_long(obj4, &val5);
20411 if (!SWIG_IsOK(ecode5)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20413 }
20414 arg5 = static_cast< long >(val5);
20415 }
20416 if (obj5) {
20417 {
20418 arg6 = wxString_in_helper(obj5);
20419 if (arg6 == NULL) SWIG_fail;
20420 temp6 = true;
20421 }
20422 }
20423 {
20424 if (!wxPyCheckForApp()) SWIG_fail;
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20431 {
20432 if (temp6)
20433 delete arg6;
20434 }
20435 return resultobj;
20436fail:
20437 {
20438 if (temp6)
20439 delete arg6;
20440 }
20441 return NULL;
d55e5bfc
RD
20442}
20443
20444
554f62e9
RD
20445SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20446 PyObject *resultobj = 0;
20447 wxNotebook *result = 0 ;
20448
20449 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20450 {
20451 if (!wxPyCheckForApp()) SWIG_fail;
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (wxNotebook *)new wxNotebook();
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20458 return resultobj;
20459fail:
20460 return NULL;
20461}
20462
20463
20464SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj = 0;
20466 wxNotebook *arg1 = (wxNotebook *) 0 ;
20467 wxWindow *arg2 = (wxWindow *) 0 ;
20468 int arg3 = (int) -1 ;
20469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20471 wxSize const &arg5_defvalue = wxDefaultSize ;
20472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20473 long arg6 = (long) 0 ;
20474 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20475 wxString *arg7 = (wxString *) &arg7_defvalue ;
20476 bool result;
20477 void *argp1 = 0 ;
20478 int res1 = 0 ;
20479 void *argp2 = 0 ;
20480 int res2 = 0 ;
20481 int val3 ;
20482 int ecode3 = 0 ;
20483 wxPoint temp4 ;
20484 wxSize temp5 ;
20485 long val6 ;
20486 int ecode6 = 0 ;
20487 bool temp7 = false ;
20488 PyObject * obj0 = 0 ;
20489 PyObject * obj1 = 0 ;
20490 PyObject * obj2 = 0 ;
20491 PyObject * obj3 = 0 ;
20492 PyObject * obj4 = 0 ;
20493 PyObject * obj5 = 0 ;
20494 PyObject * obj6 = 0 ;
20495 char * kwnames[] = {
20496 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20497 };
20498
20499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20501 if (!SWIG_IsOK(res1)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20503 }
20504 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20506 if (!SWIG_IsOK(res2)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20508 }
20509 arg2 = reinterpret_cast< wxWindow * >(argp2);
20510 if (obj2) {
20511 ecode3 = SWIG_AsVal_int(obj2, &val3);
20512 if (!SWIG_IsOK(ecode3)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20514 }
20515 arg3 = static_cast< int >(val3);
20516 }
20517 if (obj3) {
093d3ff1 20518 {
554f62e9
RD
20519 arg4 = &temp4;
20520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20521 }
554f62e9
RD
20522 }
20523 if (obj4) {
093d3ff1 20524 {
554f62e9
RD
20525 arg5 = &temp5;
20526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 20527 }
554f62e9
RD
20528 }
20529 if (obj5) {
20530 ecode6 = SWIG_AsVal_long(obj5, &val6);
20531 if (!SWIG_IsOK(ecode6)) {
20532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20533 }
20534 arg6 = static_cast< long >(val6);
20535 }
20536 if (obj6) {
d55e5bfc 20537 {
554f62e9
RD
20538 arg7 = wxString_in_helper(obj6);
20539 if (arg7 == NULL) SWIG_fail;
20540 temp7 = true;
d55e5bfc 20541 }
554f62e9
RD
20542 }
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 {
20550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20551 }
20552 {
20553 if (temp7)
20554 delete arg7;
20555 }
20556 return resultobj;
20557fail:
20558 {
20559 if (temp7)
20560 delete arg7;
20561 }
20562 return NULL;
f20a2e1f
RD
20563}
20564
20565
554f62e9
RD
20566SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20567 PyObject *resultobj = 0;
20568 wxNotebook *arg1 = (wxNotebook *) 0 ;
20569 int result;
20570 void *argp1 = 0 ;
20571 int res1 = 0 ;
20572 PyObject *swig_obj[1] ;
20573
20574 if (!args) SWIG_fail;
20575 swig_obj[0] = args;
20576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20577 if (!SWIG_IsOK(res1)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20579 }
20580 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 resultobj = SWIG_From_int(static_cast< int >(result));
20588 return resultobj;
20589fail:
20590 return NULL;
20591}
20592
20593
20594SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj = 0;
20596 wxNotebook *arg1 = (wxNotebook *) 0 ;
20597 wxSize *arg2 = 0 ;
20598 void *argp1 = 0 ;
20599 int res1 = 0 ;
20600 wxSize temp2 ;
20601 PyObject * obj0 = 0 ;
20602 PyObject * obj1 = 0 ;
20603 char * kwnames[] = {
20604 (char *) "self",(char *) "padding", NULL
20605 };
20606
20607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20609 if (!SWIG_IsOK(res1)) {
20610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20611 }
20612 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20613 {
20614 arg2 = &temp2;
20615 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20616 }
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->SetPadding((wxSize const &)*arg2);
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = SWIG_Py_Void();
20624 return resultobj;
20625fail:
20626 return NULL;
20627}
20628
20629
20630SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj = 0;
20632 wxNotebook *arg1 = (wxNotebook *) 0 ;
20633 wxSize *arg2 = 0 ;
20634 void *argp1 = 0 ;
20635 int res1 = 0 ;
20636 wxSize temp2 ;
20637 PyObject * obj0 = 0 ;
20638 PyObject * obj1 = 0 ;
20639 char * kwnames[] = {
20640 (char *) "self",(char *) "sz", NULL
20641 };
20642
20643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20647 }
20648 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20649 {
20650 arg2 = &temp2;
20651 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20652 }
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 (arg1)->SetTabSize((wxSize const &)*arg2);
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 resultobj = SWIG_Py_Void();
20660 return resultobj;
20661fail:
20662 return NULL;
20663}
20664
20665
554f62e9
RD
20666SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20667 PyObject *resultobj = 0;
20668 wxNotebook *arg1 = (wxNotebook *) 0 ;
20669 wxColour result;
20670 void *argp1 = 0 ;
20671 int res1 = 0 ;
20672 PyObject *swig_obj[1] ;
20673
20674 if (!args) SWIG_fail;
20675 swig_obj[0] = args;
20676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20677 if (!SWIG_IsOK(res1)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20679 }
20680 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20688 return resultobj;
20689fail:
20690 return NULL;
20691}
20692
20693
20694SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj = 0;
20696 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20697 SwigValueWrapper<wxVisualAttributes > result;
20698 int val1 ;
20699 int ecode1 = 0 ;
20700 PyObject * obj0 = 0 ;
20701 char * kwnames[] = {
20702 (char *) "variant", NULL
20703 };
20704
20705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20706 if (obj0) {
20707 ecode1 = SWIG_AsVal_int(obj0, &val1);
20708 if (!SWIG_IsOK(ecode1)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20710 }
20711 arg1 = static_cast< wxWindowVariant >(val1);
20712 }
20713 {
20714 if (!wxPyCheckForApp()) SWIG_fail;
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = wxNotebook::GetClassDefaultAttributes(arg1);
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20721 return resultobj;
20722fail:
20723 return NULL;
20724}
20725
20726
20727SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20728 PyObject *obj;
20729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
20731 return SWIG_Py_Void();
20732}
20733
20734SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20735 return SWIG_Python_InitShadowInstance(args);
20736}
20737
20738SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj = 0;
20740 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20741 int arg2 = (int) 0 ;
20742 int arg3 = (int) -1 ;
20743 int arg4 = (int) -1 ;
20744 wxNotebookEvent *result = 0 ;
20745 int val1 ;
20746 int ecode1 = 0 ;
20747 int val2 ;
20748 int ecode2 = 0 ;
20749 int val3 ;
20750 int ecode3 = 0 ;
20751 int val4 ;
20752 int ecode4 = 0 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 PyObject * obj2 = 0 ;
20756 PyObject * obj3 = 0 ;
20757 char * kwnames[] = {
20758 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20759 };
20760
20761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20762 if (obj0) {
20763 ecode1 = SWIG_AsVal_int(obj0, &val1);
20764 if (!SWIG_IsOK(ecode1)) {
20765 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20766 }
20767 arg1 = static_cast< wxEventType >(val1);
20768 }
20769 if (obj1) {
20770 ecode2 = SWIG_AsVal_int(obj1, &val2);
20771 if (!SWIG_IsOK(ecode2)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20773 }
20774 arg2 = static_cast< int >(val2);
20775 }
20776 if (obj2) {
20777 ecode3 = SWIG_AsVal_int(obj2, &val3);
20778 if (!SWIG_IsOK(ecode3)) {
20779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20780 }
20781 arg3 = static_cast< int >(val3);
20782 }
20783 if (obj3) {
20784 ecode4 = SWIG_AsVal_int(obj3, &val4);
20785 if (!SWIG_IsOK(ecode4)) {
20786 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20787 }
20788 arg4 = static_cast< int >(val4);
20789 }
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
20797 return resultobj;
20798fail:
20799 return NULL;
20800}
20801
20802
20803SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20804 PyObject *obj;
20805 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20806 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
20807 return SWIG_Py_Void();
20808}
20809
20810SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20811 return SWIG_Python_InitShadowInstance(args);
20812}
20813
20814SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj = 0;
20816 wxWindow *arg1 = (wxWindow *) 0 ;
20817 int arg2 = (int) -1 ;
20818 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20819 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20820 wxSize const &arg4_defvalue = wxDefaultSize ;
20821 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20822 long arg5 = (long) 0 ;
20823 wxString const &arg6_defvalue = wxPyEmptyString ;
20824 wxString *arg6 = (wxString *) &arg6_defvalue ;
20825 wxListbook *result = 0 ;
20826 void *argp1 = 0 ;
20827 int res1 = 0 ;
20828 int val2 ;
20829 int ecode2 = 0 ;
20830 wxPoint temp3 ;
20831 wxSize temp4 ;
20832 long val5 ;
20833 int ecode5 = 0 ;
20834 bool temp6 = false ;
20835 PyObject * obj0 = 0 ;
20836 PyObject * obj1 = 0 ;
20837 PyObject * obj2 = 0 ;
20838 PyObject * obj3 = 0 ;
20839 PyObject * obj4 = 0 ;
20840 PyObject * obj5 = 0 ;
20841 char * kwnames[] = {
20842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20843 };
20844
20845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20847 if (!SWIG_IsOK(res1)) {
20848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20849 }
20850 arg1 = reinterpret_cast< wxWindow * >(argp1);
20851 if (obj1) {
20852 ecode2 = SWIG_AsVal_int(obj1, &val2);
20853 if (!SWIG_IsOK(ecode2)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20855 }
20856 arg2 = static_cast< int >(val2);
20857 }
20858 if (obj2) {
20859 {
20860 arg3 = &temp3;
20861 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 20862 }
554f62e9
RD
20863 }
20864 if (obj3) {
d55e5bfc 20865 {
554f62e9
RD
20866 arg4 = &temp4;
20867 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20868 }
554f62e9
RD
20869 }
20870 if (obj4) {
20871 ecode5 = SWIG_AsVal_long(obj4, &val5);
20872 if (!SWIG_IsOK(ecode5)) {
20873 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20874 }
20875 arg5 = static_cast< long >(val5);
20876 }
20877 if (obj5) {
d55e5bfc 20878 {
554f62e9
RD
20879 arg6 = wxString_in_helper(obj5);
20880 if (arg6 == NULL) SWIG_fail;
20881 temp6 = true;
d55e5bfc 20882 }
554f62e9
RD
20883 }
20884 {
20885 if (!wxPyCheckForApp()) SWIG_fail;
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
20892 {
20893 if (temp6)
20894 delete arg6;
20895 }
20896 return resultobj;
20897fail:
20898 {
20899 if (temp6)
20900 delete arg6;
20901 }
20902 return NULL;
d55e5bfc
RD
20903}
20904
20905
554f62e9
RD
20906SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20907 PyObject *resultobj = 0;
20908 wxListbook *result = 0 ;
20909
20910 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
20911 {
20912 if (!wxPyCheckForApp()) SWIG_fail;
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (wxListbook *)new wxListbook();
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
20919 return resultobj;
20920fail:
20921 return NULL;
20922}
20923
20924
20925SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj = 0;
20927 wxListbook *arg1 = (wxListbook *) 0 ;
20928 wxWindow *arg2 = (wxWindow *) 0 ;
20929 int arg3 = (int) -1 ;
20930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20932 wxSize const &arg5_defvalue = wxDefaultSize ;
20933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20934 long arg6 = (long) 0 ;
20935 wxString const &arg7_defvalue = wxPyEmptyString ;
20936 wxString *arg7 = (wxString *) &arg7_defvalue ;
20937 bool result;
20938 void *argp1 = 0 ;
20939 int res1 = 0 ;
20940 void *argp2 = 0 ;
20941 int res2 = 0 ;
20942 int val3 ;
20943 int ecode3 = 0 ;
20944 wxPoint temp4 ;
20945 wxSize temp5 ;
20946 long val6 ;
20947 int ecode6 = 0 ;
20948 bool temp7 = false ;
20949 PyObject * obj0 = 0 ;
20950 PyObject * obj1 = 0 ;
20951 PyObject * obj2 = 0 ;
20952 PyObject * obj3 = 0 ;
20953 PyObject * obj4 = 0 ;
20954 PyObject * obj5 = 0 ;
20955 PyObject * obj6 = 0 ;
20956 char * kwnames[] = {
20957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20958 };
20959
20960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
20962 if (!SWIG_IsOK(res1)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20964 }
20965 arg1 = reinterpret_cast< wxListbook * >(argp1);
20966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20967 if (!SWIG_IsOK(res2)) {
20968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20969 }
20970 arg2 = reinterpret_cast< wxWindow * >(argp2);
20971 if (obj2) {
20972 ecode3 = SWIG_AsVal_int(obj2, &val3);
20973 if (!SWIG_IsOK(ecode3)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20975 }
20976 arg3 = static_cast< int >(val3);
20977 }
20978 if (obj3) {
d55e5bfc 20979 {
554f62e9
RD
20980 arg4 = &temp4;
20981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20982 }
554f62e9
RD
20983 }
20984 if (obj4) {
d55e5bfc 20985 {
554f62e9
RD
20986 arg5 = &temp5;
20987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20988 }
554f62e9
RD
20989 }
20990 if (obj5) {
20991 ecode6 = SWIG_AsVal_long(obj5, &val6);
20992 if (!SWIG_IsOK(ecode6)) {
20993 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20994 }
20995 arg6 = static_cast< long >(val6);
20996 }
20997 if (obj6) {
d55e5bfc 20998 {
554f62e9
RD
20999 arg7 = wxString_in_helper(obj6);
21000 if (arg7 == NULL) SWIG_fail;
21001 temp7 = true;
d55e5bfc 21002 }
554f62e9
RD
21003 }
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 {
21011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21012 }
21013 {
21014 if (temp7)
21015 delete arg7;
21016 }
21017 return resultobj;
21018fail:
21019 {
21020 if (temp7)
21021 delete arg7;
21022 }
21023 return NULL;
d55e5bfc
RD
21024}
21025
21026
554f62e9
RD
21027SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxListbook *arg1 = (wxListbook *) 0 ;
21030 wxListView *result = 0 ;
21031 void *argp1 = 0 ;
21032 int res1 = 0 ;
21033 PyObject *swig_obj[1] ;
21034
21035 if (!args) SWIG_fail;
21036 swig_obj[0] = args;
21037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21038 if (!SWIG_IsOK(res1)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21040 }
21041 arg1 = reinterpret_cast< wxListbook * >(argp1);
21042 {
21043 PyThreadState* __tstate = wxPyBeginAllowThreads();
21044 result = (wxListView *)(arg1)->GetListView();
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21049 return resultobj;
21050fail:
21051 return NULL;
21052}
21053
21054
21055SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21056 PyObject *obj;
21057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21058 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21059 return SWIG_Py_Void();
21060}
21061
21062SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21063 return SWIG_Python_InitShadowInstance(args);
21064}
21065
21066SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj = 0;
21068 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21069 int arg2 = (int) 0 ;
21070 int arg3 = (int) -1 ;
21071 int arg4 = (int) -1 ;
21072 wxListbookEvent *result = 0 ;
21073 int val1 ;
21074 int ecode1 = 0 ;
21075 int val2 ;
21076 int ecode2 = 0 ;
21077 int val3 ;
21078 int ecode3 = 0 ;
21079 int val4 ;
21080 int ecode4 = 0 ;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 PyObject * obj2 = 0 ;
21084 PyObject * obj3 = 0 ;
21085 char * kwnames[] = {
21086 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21087 };
21088
21089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21090 if (obj0) {
21091 ecode1 = SWIG_AsVal_int(obj0, &val1);
21092 if (!SWIG_IsOK(ecode1)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21094 }
21095 arg1 = static_cast< wxEventType >(val1);
21096 }
21097 if (obj1) {
21098 ecode2 = SWIG_AsVal_int(obj1, &val2);
21099 if (!SWIG_IsOK(ecode2)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21101 }
21102 arg2 = static_cast< int >(val2);
21103 }
21104 if (obj2) {
21105 ecode3 = SWIG_AsVal_int(obj2, &val3);
21106 if (!SWIG_IsOK(ecode3)) {
21107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21108 }
21109 arg3 = static_cast< int >(val3);
21110 }
21111 if (obj3) {
21112 ecode4 = SWIG_AsVal_int(obj3, &val4);
21113 if (!SWIG_IsOK(ecode4)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21115 }
21116 arg4 = static_cast< int >(val4);
21117 }
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21125 return resultobj;
21126fail:
21127 return NULL;
21128}
21129
21130
21131SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21132 PyObject *obj;
21133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21134 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21135 return SWIG_Py_Void();
21136}
21137
21138SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21139 return SWIG_Python_InitShadowInstance(args);
21140}
21141
21142SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj = 0;
21144 wxWindow *arg1 = (wxWindow *) 0 ;
21145 int arg2 ;
21146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21148 wxSize const &arg4_defvalue = wxDefaultSize ;
21149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21150 long arg5 = (long) 0 ;
21151 wxString const &arg6_defvalue = wxPyEmptyString ;
21152 wxString *arg6 = (wxString *) &arg6_defvalue ;
21153 wxChoicebook *result = 0 ;
21154 void *argp1 = 0 ;
21155 int res1 = 0 ;
21156 int val2 ;
21157 int ecode2 = 0 ;
21158 wxPoint temp3 ;
21159 wxSize temp4 ;
21160 long val5 ;
21161 int ecode5 = 0 ;
21162 bool temp6 = false ;
21163 PyObject * obj0 = 0 ;
21164 PyObject * obj1 = 0 ;
21165 PyObject * obj2 = 0 ;
21166 PyObject * obj3 = 0 ;
21167 PyObject * obj4 = 0 ;
21168 PyObject * obj5 = 0 ;
21169 char * kwnames[] = {
21170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21171 };
21172
21173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21175 if (!SWIG_IsOK(res1)) {
21176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21177 }
21178 arg1 = reinterpret_cast< wxWindow * >(argp1);
21179 ecode2 = SWIG_AsVal_int(obj1, &val2);
21180 if (!SWIG_IsOK(ecode2)) {
21181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21182 }
21183 arg2 = static_cast< int >(val2);
21184 if (obj2) {
d55e5bfc 21185 {
554f62e9
RD
21186 arg3 = &temp3;
21187 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21188 }
554f62e9
RD
21189 }
21190 if (obj3) {
d55e5bfc 21191 {
554f62e9
RD
21192 arg4 = &temp4;
21193 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21194 }
554f62e9
RD
21195 }
21196 if (obj4) {
21197 ecode5 = SWIG_AsVal_long(obj4, &val5);
21198 if (!SWIG_IsOK(ecode5)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21200 }
21201 arg5 = static_cast< long >(val5);
21202 }
21203 if (obj5) {
d55e5bfc 21204 {
554f62e9
RD
21205 arg6 = wxString_in_helper(obj5);
21206 if (arg6 == NULL) SWIG_fail;
21207 temp6 = true;
d55e5bfc 21208 }
554f62e9
RD
21209 }
21210 {
21211 if (!wxPyCheckForApp()) SWIG_fail;
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21218 {
21219 if (temp6)
21220 delete arg6;
21221 }
21222 return resultobj;
21223fail:
21224 {
21225 if (temp6)
21226 delete arg6;
21227 }
21228 return NULL;
d55e5bfc
RD
21229}
21230
21231
554f62e9
RD
21232SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21233 PyObject *resultobj = 0;
21234 wxChoicebook *result = 0 ;
21235
21236 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21237 {
21238 if (!wxPyCheckForApp()) SWIG_fail;
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (wxChoicebook *)new wxChoicebook();
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21245 return resultobj;
21246fail:
21247 return NULL;
21248}
21249
21250
21251SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj = 0;
21253 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21254 wxWindow *arg2 = (wxWindow *) 0 ;
21255 int arg3 ;
21256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21258 wxSize const &arg5_defvalue = wxDefaultSize ;
21259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21260 long arg6 = (long) 0 ;
21261 wxString const &arg7_defvalue = wxPyEmptyString ;
21262 wxString *arg7 = (wxString *) &arg7_defvalue ;
21263 bool result;
21264 void *argp1 = 0 ;
21265 int res1 = 0 ;
21266 void *argp2 = 0 ;
21267 int res2 = 0 ;
21268 int val3 ;
21269 int ecode3 = 0 ;
21270 wxPoint temp4 ;
21271 wxSize temp5 ;
21272 long val6 ;
21273 int ecode6 = 0 ;
21274 bool temp7 = false ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 PyObject * obj2 = 0 ;
21278 PyObject * obj3 = 0 ;
21279 PyObject * obj4 = 0 ;
21280 PyObject * obj5 = 0 ;
21281 PyObject * obj6 = 0 ;
21282 char * kwnames[] = {
21283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21284 };
21285
21286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21288 if (!SWIG_IsOK(res1)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21290 }
21291 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21292 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21293 if (!SWIG_IsOK(res2)) {
21294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21295 }
21296 arg2 = reinterpret_cast< wxWindow * >(argp2);
21297 ecode3 = SWIG_AsVal_int(obj2, &val3);
21298 if (!SWIG_IsOK(ecode3)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21300 }
21301 arg3 = static_cast< int >(val3);
21302 if (obj3) {
093d3ff1 21303 {
554f62e9
RD
21304 arg4 = &temp4;
21305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21306 }
554f62e9
RD
21307 }
21308 if (obj4) {
093d3ff1 21309 {
554f62e9
RD
21310 arg5 = &temp5;
21311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21312 }
554f62e9
RD
21313 }
21314 if (obj5) {
21315 ecode6 = SWIG_AsVal_long(obj5, &val6);
21316 if (!SWIG_IsOK(ecode6)) {
21317 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21318 }
21319 arg6 = static_cast< long >(val6);
21320 }
21321 if (obj6) {
d55e5bfc 21322 {
554f62e9
RD
21323 arg7 = wxString_in_helper(obj6);
21324 if (arg7 == NULL) SWIG_fail;
21325 temp7 = true;
d55e5bfc 21326 }
554f62e9
RD
21327 }
21328 {
21329 PyThreadState* __tstate = wxPyBeginAllowThreads();
21330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21336 }
21337 {
21338 if (temp7)
21339 delete arg7;
21340 }
21341 return resultobj;
21342fail:
21343 {
21344 if (temp7)
21345 delete arg7;
21346 }
21347 return NULL;
d55e5bfc
RD
21348}
21349
21350
554f62e9
RD
21351SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21352 PyObject *resultobj = 0;
21353 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21354 wxChoice *result = 0 ;
21355 void *argp1 = 0 ;
21356 int res1 = 0 ;
21357 PyObject *swig_obj[1] ;
21358
21359 if (!args) SWIG_fail;
21360 swig_obj[0] = args;
21361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21362 if (!SWIG_IsOK(res1)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21364 }
21365 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21373 return resultobj;
21374fail:
21375 return NULL;
21376}
21377
21378
21379SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21380 PyObject *obj;
21381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21382 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21383 return SWIG_Py_Void();
21384}
21385
21386SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21387 return SWIG_Python_InitShadowInstance(args);
21388}
21389
21390SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj = 0;
21392 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21393 int arg2 = (int) 0 ;
21394 int arg3 = (int) -1 ;
21395 int arg4 = (int) -1 ;
21396 wxChoicebookEvent *result = 0 ;
21397 int val1 ;
21398 int ecode1 = 0 ;
21399 int val2 ;
21400 int ecode2 = 0 ;
21401 int val3 ;
21402 int ecode3 = 0 ;
21403 int val4 ;
21404 int ecode4 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 PyObject * obj2 = 0 ;
21408 PyObject * obj3 = 0 ;
21409 char * kwnames[] = {
21410 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21411 };
21412
21413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21414 if (obj0) {
21415 ecode1 = SWIG_AsVal_int(obj0, &val1);
21416 if (!SWIG_IsOK(ecode1)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21418 }
21419 arg1 = static_cast< wxEventType >(val1);
21420 }
21421 if (obj1) {
21422 ecode2 = SWIG_AsVal_int(obj1, &val2);
21423 if (!SWIG_IsOK(ecode2)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21425 }
21426 arg2 = static_cast< int >(val2);
21427 }
21428 if (obj2) {
21429 ecode3 = SWIG_AsVal_int(obj2, &val3);
21430 if (!SWIG_IsOK(ecode3)) {
21431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21432 }
21433 arg3 = static_cast< int >(val3);
21434 }
21435 if (obj3) {
21436 ecode4 = SWIG_AsVal_int(obj3, &val4);
21437 if (!SWIG_IsOK(ecode4)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21439 }
21440 arg4 = static_cast< int >(val4);
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21449 return resultobj;
21450fail:
21451 return NULL;
21452}
21453
21454
21455SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21456 PyObject *obj;
21457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21458 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21459 return SWIG_Py_Void();
21460}
21461
21462SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21463 return SWIG_Python_InitShadowInstance(args);
21464}
21465
21466SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj = 0;
21468 wxWindow *arg1 = (wxWindow *) 0 ;
21469 int arg2 ;
21470 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21471 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21472 wxSize const &arg4_defvalue = wxDefaultSize ;
21473 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21474 long arg5 = (long) wxBK_DEFAULT ;
21475 wxString const &arg6_defvalue = wxPyEmptyString ;
21476 wxString *arg6 = (wxString *) &arg6_defvalue ;
21477 wxTreebook *result = 0 ;
21478 void *argp1 = 0 ;
21479 int res1 = 0 ;
21480 int val2 ;
21481 int ecode2 = 0 ;
21482 wxPoint temp3 ;
21483 wxSize temp4 ;
21484 long val5 ;
21485 int ecode5 = 0 ;
21486 bool temp6 = false ;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 PyObject * obj2 = 0 ;
21490 PyObject * obj3 = 0 ;
21491 PyObject * obj4 = 0 ;
21492 PyObject * obj5 = 0 ;
21493 char * kwnames[] = {
21494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21495 };
21496
21497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21499 if (!SWIG_IsOK(res1)) {
21500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21501 }
21502 arg1 = reinterpret_cast< wxWindow * >(argp1);
21503 ecode2 = SWIG_AsVal_int(obj1, &val2);
21504 if (!SWIG_IsOK(ecode2)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21506 }
21507 arg2 = static_cast< int >(val2);
21508 if (obj2) {
d55e5bfc 21509 {
554f62e9
RD
21510 arg3 = &temp3;
21511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21512 }
554f62e9
RD
21513 }
21514 if (obj3) {
d55e5bfc 21515 {
554f62e9
RD
21516 arg4 = &temp4;
21517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21518 }
554f62e9
RD
21519 }
21520 if (obj4) {
21521 ecode5 = SWIG_AsVal_long(obj4, &val5);
21522 if (!SWIG_IsOK(ecode5)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21524 }
21525 arg5 = static_cast< long >(val5);
21526 }
21527 if (obj5) {
d55e5bfc 21528 {
554f62e9
RD
21529 arg6 = wxString_in_helper(obj5);
21530 if (arg6 == NULL) SWIG_fail;
21531 temp6 = true;
d55e5bfc 21532 }
554f62e9
RD
21533 }
21534 {
21535 if (!wxPyCheckForApp()) SWIG_fail;
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21542 {
21543 if (temp6)
21544 delete arg6;
21545 }
21546 return resultobj;
21547fail:
21548 {
21549 if (temp6)
21550 delete arg6;
21551 }
21552 return NULL;
d55e5bfc
RD
21553}
21554
21555
554f62e9
RD
21556SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21557 PyObject *resultobj = 0;
21558 wxTreebook *result = 0 ;
21559
21560 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21561 {
21562 if (!wxPyCheckForApp()) SWIG_fail;
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxTreebook *)new wxTreebook();
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21569 return resultobj;
21570fail:
21571 return NULL;
21572}
21573
21574
21575SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj = 0;
21577 wxTreebook *arg1 = (wxTreebook *) 0 ;
21578 wxWindow *arg2 = (wxWindow *) 0 ;
21579 int arg3 ;
21580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21582 wxSize const &arg5_defvalue = wxDefaultSize ;
21583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21584 long arg6 = (long) wxBK_DEFAULT ;
21585 wxString const &arg7_defvalue = wxPyEmptyString ;
21586 wxString *arg7 = (wxString *) &arg7_defvalue ;
21587 bool result;
21588 void *argp1 = 0 ;
21589 int res1 = 0 ;
21590 void *argp2 = 0 ;
21591 int res2 = 0 ;
21592 int val3 ;
21593 int ecode3 = 0 ;
21594 wxPoint temp4 ;
21595 wxSize temp5 ;
21596 long val6 ;
21597 int ecode6 = 0 ;
21598 bool temp7 = false ;
21599 PyObject * obj0 = 0 ;
21600 PyObject * obj1 = 0 ;
21601 PyObject * obj2 = 0 ;
21602 PyObject * obj3 = 0 ;
21603 PyObject * obj4 = 0 ;
21604 PyObject * obj5 = 0 ;
21605 PyObject * obj6 = 0 ;
21606 char * kwnames[] = {
21607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21608 };
21609
21610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21612 if (!SWIG_IsOK(res1)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21614 }
21615 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21617 if (!SWIG_IsOK(res2)) {
21618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21619 }
21620 arg2 = reinterpret_cast< wxWindow * >(argp2);
21621 ecode3 = SWIG_AsVal_int(obj2, &val3);
21622 if (!SWIG_IsOK(ecode3)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21624 }
21625 arg3 = static_cast< int >(val3);
21626 if (obj3) {
093d3ff1 21627 {
554f62e9
RD
21628 arg4 = &temp4;
21629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21630 }
554f62e9
RD
21631 }
21632 if (obj4) {
093d3ff1 21633 {
554f62e9
RD
21634 arg5 = &temp5;
21635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21636 }
554f62e9
RD
21637 }
21638 if (obj5) {
21639 ecode6 = SWIG_AsVal_long(obj5, &val6);
21640 if (!SWIG_IsOK(ecode6)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21642 }
21643 arg6 = static_cast< long >(val6);
21644 }
21645 if (obj6) {
d55e5bfc 21646 {
554f62e9
RD
21647 arg7 = wxString_in_helper(obj6);
21648 if (arg7 == NULL) SWIG_fail;
21649 temp7 = true;
d55e5bfc 21650 }
554f62e9
RD
21651 }
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21655 wxPyEndAllowThreads(__tstate);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 {
21659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21660 }
21661 {
21662 if (temp7)
21663 delete arg7;
21664 }
21665 return resultobj;
21666fail:
21667 {
21668 if (temp7)
21669 delete arg7;
21670 }
21671 return NULL;
21672}
21673
21674
21675SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj = 0;
21677 wxTreebook *arg1 = (wxTreebook *) 0 ;
21678 size_t arg2 ;
21679 wxWindow *arg3 = (wxWindow *) 0 ;
21680 wxString *arg4 = 0 ;
21681 bool arg5 = (bool) false ;
21682 int arg6 = (int) wxNOT_FOUND ;
21683 bool result;
21684 void *argp1 = 0 ;
21685 int res1 = 0 ;
21686 size_t val2 ;
21687 int ecode2 = 0 ;
21688 void *argp3 = 0 ;
21689 int res3 = 0 ;
21690 bool temp4 = false ;
21691 bool val5 ;
21692 int ecode5 = 0 ;
21693 int val6 ;
21694 int ecode6 = 0 ;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 PyObject * obj2 = 0 ;
21698 PyObject * obj3 = 0 ;
21699 PyObject * obj4 = 0 ;
21700 PyObject * obj5 = 0 ;
21701 char * kwnames[] = {
21702 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21703 };
21704
21705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21707 if (!SWIG_IsOK(res1)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21709 }
21710 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21711 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21712 if (!SWIG_IsOK(ecode2)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21714 }
21715 arg2 = static_cast< size_t >(val2);
21716 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
21717 if (!SWIG_IsOK(res3)) {
21718 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21719 }
21720 arg3 = reinterpret_cast< wxWindow * >(argp3);
21721 {
21722 arg4 = wxString_in_helper(obj3);
21723 if (arg4 == NULL) SWIG_fail;
21724 temp4 = true;
21725 }
21726 if (obj4) {
21727 ecode5 = SWIG_AsVal_bool(obj4, &val5);
21728 if (!SWIG_IsOK(ecode5)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21730 }
21731 arg5 = static_cast< bool >(val5);
21732 }
21733 if (obj5) {
21734 ecode6 = SWIG_AsVal_int(obj5, &val6);
21735 if (!SWIG_IsOK(ecode6)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21737 }
21738 arg6 = static_cast< int >(val6);
21739 }
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 {
21747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21748 }
21749 {
21750 if (temp4)
21751 delete arg4;
21752 }
21753 return resultobj;
21754fail:
21755 {
21756 if (temp4)
21757 delete arg4;
21758 }
21759 return NULL;
21760}
21761
21762
21763SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj = 0;
21765 wxTreebook *arg1 = (wxTreebook *) 0 ;
21766 wxWindow *arg2 = (wxWindow *) 0 ;
21767 wxString *arg3 = 0 ;
21768 bool arg4 = (bool) false ;
21769 int arg5 = (int) wxNOT_FOUND ;
21770 bool result;
21771 void *argp1 = 0 ;
21772 int res1 = 0 ;
21773 void *argp2 = 0 ;
21774 int res2 = 0 ;
21775 bool temp3 = false ;
21776 bool val4 ;
21777 int ecode4 = 0 ;
21778 int val5 ;
21779 int ecode5 = 0 ;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 PyObject * obj2 = 0 ;
21783 PyObject * obj3 = 0 ;
21784 PyObject * obj4 = 0 ;
21785 char * kwnames[] = {
21786 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21787 };
21788
21789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21791 if (!SWIG_IsOK(res1)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21793 }
21794 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21795 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21796 if (!SWIG_IsOK(res2)) {
21797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21798 }
21799 arg2 = reinterpret_cast< wxWindow * >(argp2);
21800 {
21801 arg3 = wxString_in_helper(obj2);
21802 if (arg3 == NULL) SWIG_fail;
21803 temp3 = true;
21804 }
21805 if (obj3) {
21806 ecode4 = SWIG_AsVal_bool(obj3, &val4);
21807 if (!SWIG_IsOK(ecode4)) {
21808 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21809 }
21810 arg4 = static_cast< bool >(val4);
21811 }
21812 if (obj4) {
21813 ecode5 = SWIG_AsVal_int(obj4, &val5);
21814 if (!SWIG_IsOK(ecode5)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21816 }
21817 arg5 = static_cast< int >(val5);
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 {
21826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21827 }
21828 {
21829 if (temp3)
21830 delete arg3;
21831 }
21832 return resultobj;
21833fail:
21834 {
21835 if (temp3)
21836 delete arg3;
21837 }
21838 return NULL;
21839}
21840
21841
21842SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj = 0;
21844 wxTreebook *arg1 = (wxTreebook *) 0 ;
21845 size_t arg2 ;
21846 bool result;
21847 void *argp1 = 0 ;
21848 int res1 = 0 ;
21849 size_t val2 ;
21850 int ecode2 = 0 ;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 char * kwnames[] = {
21854 (char *) "self",(char *) "pos", NULL
21855 };
21856
21857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
21858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21861 }
21862 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21863 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21864 if (!SWIG_IsOK(ecode2)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21866 }
21867 arg2 = static_cast< size_t >(val2);
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 {
21875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21876 }
21877 return resultobj;
21878fail:
21879 return NULL;
21880}
21881
21882
21883SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj = 0;
21885 wxTreebook *arg1 = (wxTreebook *) 0 ;
21886 size_t arg2 ;
21887 bool arg3 = (bool) true ;
21888 bool result;
21889 void *argp1 = 0 ;
21890 int res1 = 0 ;
21891 size_t val2 ;
21892 int ecode2 = 0 ;
21893 bool val3 ;
21894 int ecode3 = 0 ;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 PyObject * obj2 = 0 ;
21898 char * kwnames[] = {
21899 (char *) "self",(char *) "pos",(char *) "expand", NULL
21900 };
21901
21902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21904 if (!SWIG_IsOK(res1)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21906 }
21907 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21908 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21909 if (!SWIG_IsOK(ecode2)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21911 }
21912 arg2 = static_cast< size_t >(val2);
21913 if (obj2) {
21914 ecode3 = SWIG_AsVal_bool(obj2, &val3);
21915 if (!SWIG_IsOK(ecode3)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21917 }
21918 arg3 = static_cast< bool >(val3);
21919 }
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 result = (bool)(arg1)->ExpandNode(arg2,arg3);
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 {
21927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21928 }
21929 return resultobj;
21930fail:
21931 return NULL;
21932}
21933
21934
21935SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21936 PyObject *resultobj = 0;
21937 wxTreebook *arg1 = (wxTreebook *) 0 ;
21938 size_t arg2 ;
21939 bool result;
21940 void *argp1 = 0 ;
21941 int res1 = 0 ;
21942 size_t val2 ;
21943 int ecode2 = 0 ;
21944 PyObject * obj0 = 0 ;
21945 PyObject * obj1 = 0 ;
21946 char * kwnames[] = {
21947 (char *) "self",(char *) "pos", NULL
21948 };
21949
21950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
21951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21952 if (!SWIG_IsOK(res1)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21954 }
21955 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21956 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21957 if (!SWIG_IsOK(ecode2)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21959 }
21960 arg2 = static_cast< size_t >(val2);
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 result = (bool)(arg1)->CollapseNode(arg2);
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21969 }
21970 return resultobj;
21971fail:
21972 return NULL;
21973}
21974
21975
21976SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj = 0;
21978 wxTreebook *arg1 = (wxTreebook *) 0 ;
21979 size_t arg2 ;
21980 int result;
21981 void *argp1 = 0 ;
21982 int res1 = 0 ;
21983 size_t val2 ;
21984 int ecode2 = 0 ;
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 char * kwnames[] = {
21988 (char *) "self",(char *) "pos", NULL
21989 };
21990
21991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
21992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21993 if (!SWIG_IsOK(res1)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21995 }
21996 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21997 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21998 if (!SWIG_IsOK(ecode2)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22000 }
22001 arg2 = static_cast< size_t >(val2);
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_From_int(static_cast< int >(result));
22009 return resultobj;
22010fail:
22011 return NULL;
d55e5bfc
RD
22012}
22013
22014
554f62e9
RD
22015SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22016 PyObject *resultobj = 0;
22017 wxTreebook *arg1 = (wxTreebook *) 0 ;
22018 wxTreeCtrl *result = 0 ;
22019 void *argp1 = 0 ;
22020 int res1 = 0 ;
22021 PyObject *swig_obj[1] ;
22022
22023 if (!args) SWIG_fail;
22024 swig_obj[0] = args;
22025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22026 if (!SWIG_IsOK(res1)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22028 }
22029 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
22037 return resultobj;
22038fail:
22039 return NULL;
22040}
22041
22042
22043SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22044 PyObject *obj;
22045 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22046 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22047 return SWIG_Py_Void();
22048}
22049
22050SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22051 return SWIG_Python_InitShadowInstance(args);
22052}
22053
22054SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj = 0;
22056 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22057 int arg2 = (int) 0 ;
22058 int arg3 = (int) wxNOT_FOUND ;
22059 int arg4 = (int) wxNOT_FOUND ;
22060 wxTreebookEvent *result = 0 ;
22061 int val1 ;
22062 int ecode1 = 0 ;
22063 int val2 ;
22064 int ecode2 = 0 ;
22065 int val3 ;
22066 int ecode3 = 0 ;
22067 int val4 ;
22068 int ecode4 = 0 ;
22069 PyObject * obj0 = 0 ;
22070 PyObject * obj1 = 0 ;
22071 PyObject * obj2 = 0 ;
22072 PyObject * obj3 = 0 ;
22073 char * kwnames[] = {
22074 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22075 };
22076
22077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22078 if (obj0) {
22079 ecode1 = SWIG_AsVal_int(obj0, &val1);
22080 if (!SWIG_IsOK(ecode1)) {
22081 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22082 }
22083 arg1 = static_cast< wxEventType >(val1);
22084 }
22085 if (obj1) {
22086 ecode2 = SWIG_AsVal_int(obj1, &val2);
22087 if (!SWIG_IsOK(ecode2)) {
22088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22089 }
22090 arg2 = static_cast< int >(val2);
22091 }
22092 if (obj2) {
22093 ecode3 = SWIG_AsVal_int(obj2, &val3);
22094 if (!SWIG_IsOK(ecode3)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22096 }
22097 arg3 = static_cast< int >(val3);
22098 }
22099 if (obj3) {
22100 ecode4 = SWIG_AsVal_int(obj3, &val4);
22101 if (!SWIG_IsOK(ecode4)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22103 }
22104 arg4 = static_cast< int >(val4);
22105 }
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22113 return resultobj;
22114fail:
22115 return NULL;
22116}
22117
22118
22119SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22120 PyObject *obj;
22121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22122 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22123 return SWIG_Py_Void();
22124}
22125
22126SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22127 return SWIG_Python_InitShadowInstance(args);
22128}
22129
22130SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22131 PyObject *resultobj = 0;
22132 wxWindow *arg1 = (wxWindow *) 0 ;
22133 int arg2 ;
22134 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22135 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22136 wxSize const &arg4_defvalue = wxDefaultSize ;
22137 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22138 long arg5 = (long) wxBK_DEFAULT ;
22139 wxString const &arg6_defvalue = wxPyEmptyString ;
22140 wxString *arg6 = (wxString *) &arg6_defvalue ;
22141 wxToolbook *result = 0 ;
22142 void *argp1 = 0 ;
22143 int res1 = 0 ;
22144 int val2 ;
22145 int ecode2 = 0 ;
22146 wxPoint temp3 ;
22147 wxSize temp4 ;
22148 long val5 ;
22149 int ecode5 = 0 ;
22150 bool temp6 = false ;
22151 PyObject * obj0 = 0 ;
22152 PyObject * obj1 = 0 ;
22153 PyObject * obj2 = 0 ;
22154 PyObject * obj3 = 0 ;
22155 PyObject * obj4 = 0 ;
22156 PyObject * obj5 = 0 ;
22157 char * kwnames[] = {
22158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22159 };
22160
22161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22163 if (!SWIG_IsOK(res1)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22165 }
22166 arg1 = reinterpret_cast< wxWindow * >(argp1);
22167 ecode2 = SWIG_AsVal_int(obj1, &val2);
22168 if (!SWIG_IsOK(ecode2)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22170 }
22171 arg2 = static_cast< int >(val2);
22172 if (obj2) {
093d3ff1 22173 {
554f62e9
RD
22174 arg3 = &temp3;
22175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22176 }
554f62e9
RD
22177 }
22178 if (obj3) {
d55e5bfc 22179 {
554f62e9
RD
22180 arg4 = &temp4;
22181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22182 }
554f62e9
RD
22183 }
22184 if (obj4) {
22185 ecode5 = SWIG_AsVal_long(obj4, &val5);
22186 if (!SWIG_IsOK(ecode5)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22188 }
22189 arg5 = static_cast< long >(val5);
22190 }
22191 if (obj5) {
093d3ff1 22192 {
554f62e9
RD
22193 arg6 = wxString_in_helper(obj5);
22194 if (arg6 == NULL) SWIG_fail;
22195 temp6 = true;
093d3ff1 22196 }
554f62e9
RD
22197 }
22198 {
22199 PyThreadState* __tstate = wxPyBeginAllowThreads();
22200 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22205 {
22206 if (temp6)
22207 delete arg6;
22208 }
22209 return resultobj;
22210fail:
22211 {
22212 if (temp6)
22213 delete arg6;
22214 }
22215 return NULL;
d55e5bfc
RD
22216}
22217
22218
554f62e9
RD
22219SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22220 PyObject *resultobj = 0;
22221 wxToolbook *result = 0 ;
22222
22223 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 result = (wxToolbook *)new wxToolbook();
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22231 return resultobj;
22232fail:
22233 return NULL;
22234}
22235
22236
22237SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22238 PyObject *resultobj = 0;
22239 wxToolbook *arg1 = (wxToolbook *) 0 ;
22240 wxWindow *arg2 = (wxWindow *) 0 ;
22241 int arg3 ;
22242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22244 wxSize const &arg5_defvalue = wxDefaultSize ;
22245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22246 long arg6 = (long) 0 ;
22247 wxString const &arg7_defvalue = wxEmptyString ;
22248 wxString *arg7 = (wxString *) &arg7_defvalue ;
22249 bool result;
22250 void *argp1 = 0 ;
22251 int res1 = 0 ;
22252 void *argp2 = 0 ;
22253 int res2 = 0 ;
22254 int val3 ;
22255 int ecode3 = 0 ;
22256 wxPoint temp4 ;
22257 wxSize temp5 ;
22258 long val6 ;
22259 int ecode6 = 0 ;
22260 bool temp7 = false ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 PyObject * obj2 = 0 ;
22264 PyObject * obj3 = 0 ;
22265 PyObject * obj4 = 0 ;
22266 PyObject * obj5 = 0 ;
22267 PyObject * obj6 = 0 ;
22268 char * kwnames[] = {
22269 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22270 };
22271
22272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22274 if (!SWIG_IsOK(res1)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22276 }
22277 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22278 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22279 if (!SWIG_IsOK(res2)) {
22280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22281 }
22282 arg2 = reinterpret_cast< wxWindow * >(argp2);
22283 ecode3 = SWIG_AsVal_int(obj2, &val3);
22284 if (!SWIG_IsOK(ecode3)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22286 }
22287 arg3 = static_cast< int >(val3);
22288 if (obj3) {
093d3ff1 22289 {
554f62e9
RD
22290 arg4 = &temp4;
22291 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22292 }
554f62e9
RD
22293 }
22294 if (obj4) {
093d3ff1 22295 {
554f62e9
RD
22296 arg5 = &temp5;
22297 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22298 }
554f62e9
RD
22299 }
22300 if (obj5) {
22301 ecode6 = SWIG_AsVal_long(obj5, &val6);
22302 if (!SWIG_IsOK(ecode6)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22304 }
22305 arg6 = static_cast< long >(val6);
22306 }
22307 if (obj6) {
d55e5bfc 22308 {
554f62e9
RD
22309 arg7 = wxString_in_helper(obj6);
22310 if (arg7 == NULL) SWIG_fail;
22311 temp7 = true;
d55e5bfc 22312 }
554f62e9
RD
22313 }
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 {
22321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22322 }
22323 {
22324 if (temp7)
22325 delete arg7;
22326 }
22327 return resultobj;
22328fail:
22329 {
22330 if (temp7)
22331 delete arg7;
22332 }
22333 return NULL;
d55e5bfc
RD
22334}
22335
22336
554f62e9
RD
22337SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22338 PyObject *resultobj = 0;
22339 wxToolbook *arg1 = (wxToolbook *) 0 ;
22340 wxToolBarBase *result = 0 ;
22341 void *argp1 = 0 ;
22342 int res1 = 0 ;
22343 PyObject *swig_obj[1] ;
22344
22345 if (!args) SWIG_fail;
22346 swig_obj[0] = args;
22347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22348 if (!SWIG_IsOK(res1)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22350 }
22351 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 {
22359 resultobj = wxPyMake_wxObject(result, (bool)0);
22360 }
22361 return resultobj;
22362fail:
22363 return NULL;
f20a2e1f
RD
22364}
22365
22366
554f62e9
RD
22367SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22368 PyObject *resultobj = 0;
22369 wxToolbook *arg1 = (wxToolbook *) 0 ;
22370 void *argp1 = 0 ;
22371 int res1 = 0 ;
22372 PyObject *swig_obj[1] ;
22373
22374 if (!args) SWIG_fail;
22375 swig_obj[0] = args;
22376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22377 if (!SWIG_IsOK(res1)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22379 }
22380 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 (arg1)->Realize();
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 resultobj = SWIG_Py_Void();
22388 return resultobj;
22389fail:
22390 return NULL;
22391}
22392
22393
22394SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22395 PyObject *obj;
22396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22397 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22398 return SWIG_Py_Void();
22399}
22400
22401SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22402 return SWIG_Python_InitShadowInstance(args);
22403}
22404
22405SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj = 0;
22407 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22408 int arg2 = (int) 0 ;
22409 int arg3 = (int) wxNOT_FOUND ;
22410 int arg4 = (int) wxNOT_FOUND ;
22411 wxToolbookEvent *result = 0 ;
22412 int val1 ;
22413 int ecode1 = 0 ;
22414 int val2 ;
22415 int ecode2 = 0 ;
22416 int val3 ;
22417 int ecode3 = 0 ;
22418 int val4 ;
22419 int ecode4 = 0 ;
22420 PyObject * obj0 = 0 ;
22421 PyObject * obj1 = 0 ;
22422 PyObject * obj2 = 0 ;
22423 PyObject * obj3 = 0 ;
22424 char * kwnames[] = {
22425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22426 };
22427
22428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22429 if (obj0) {
22430 ecode1 = SWIG_AsVal_int(obj0, &val1);
22431 if (!SWIG_IsOK(ecode1)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22433 }
22434 arg1 = static_cast< wxEventType >(val1);
22435 }
22436 if (obj1) {
22437 ecode2 = SWIG_AsVal_int(obj1, &val2);
22438 if (!SWIG_IsOK(ecode2)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22440 }
22441 arg2 = static_cast< int >(val2);
22442 }
22443 if (obj2) {
22444 ecode3 = SWIG_AsVal_int(obj2, &val3);
22445 if (!SWIG_IsOK(ecode3)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22447 }
22448 arg3 = static_cast< int >(val3);
22449 }
22450 if (obj3) {
22451 ecode4 = SWIG_AsVal_int(obj3, &val4);
22452 if (!SWIG_IsOK(ecode4)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22454 }
22455 arg4 = static_cast< int >(val4);
22456 }
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22464 return resultobj;
22465fail:
22466 return NULL;
d55e5bfc
RD
22467}
22468
22469
554f62e9
RD
22470SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22471 PyObject *obj;
22472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22473 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22474 return SWIG_Py_Void();
d55e5bfc
RD
22475}
22476
554f62e9
RD
22477SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22478 return SWIG_Python_InitShadowInstance(args);
22479}
d55e5bfc 22480
554f62e9
RD
22481SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22482 PyObject *resultobj = 0;
22483 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22484 int result;
22485 void *argp1 = 0 ;
22486 int res1 = 0 ;
22487 PyObject *swig_obj[1] ;
22488
22489 if (!args) SWIG_fail;
22490 swig_obj[0] = args;
22491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22492 if (!SWIG_IsOK(res1)) {
22493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22494 }
22495 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (int)(arg1)->GetId();
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 resultobj = SWIG_From_int(static_cast< int >(result));
22503 return resultobj;
22504fail:
22505 return NULL;
d55e5bfc
RD
22506}
22507
22508
554f62e9
RD
22509SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22510 PyObject *resultobj = 0;
22511 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22512 wxControl *result = 0 ;
22513 void *argp1 = 0 ;
22514 int res1 = 0 ;
22515 PyObject *swig_obj[1] ;
22516
22517 if (!args) SWIG_fail;
22518 swig_obj[0] = args;
22519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22520 if (!SWIG_IsOK(res1)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22522 }
22523 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (wxControl *)(arg1)->GetControl();
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 {
22531 resultobj = wxPyMake_wxObject(result, 0);
22532 }
22533 return resultobj;
22534fail:
22535 return NULL;
d55e5bfc
RD
22536}
22537
22538
554f62e9
RD
22539SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22540 PyObject *resultobj = 0;
22541 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22542 wxToolBarBase *result = 0 ;
22543 void *argp1 = 0 ;
22544 int res1 = 0 ;
22545 PyObject *swig_obj[1] ;
22546
22547 if (!args) SWIG_fail;
22548 swig_obj[0] = args;
22549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22550 if (!SWIG_IsOK(res1)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22552 }
22553 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 result = (wxToolBarBase *)(arg1)->GetToolBar();
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 {
22561 resultobj = wxPyMake_wxObject(result, (bool)0);
22562 }
22563 return resultobj;
22564fail:
22565 return NULL;
d55e5bfc
RD
22566}
22567
22568
554f62e9
RD
22569SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22570 PyObject *resultobj = 0;
22571 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22572 int result;
22573 void *argp1 = 0 ;
22574 int res1 = 0 ;
22575 PyObject *swig_obj[1] ;
22576
22577 if (!args) SWIG_fail;
22578 swig_obj[0] = args;
22579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22580 if (!SWIG_IsOK(res1)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22582 }
22583 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 result = (int)(arg1)->IsButton();
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_From_int(static_cast< int >(result));
22591 return resultobj;
22592fail:
22593 return NULL;
d55e5bfc
RD
22594}
22595
22596
554f62e9
RD
22597SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 PyObject *resultobj = 0;
22599 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22600 int result;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 PyObject *swig_obj[1] ;
22604
22605 if (!args) SWIG_fail;
22606 swig_obj[0] = args;
22607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22610 }
22611 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 result = (int)(arg1)->IsControl();
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 resultobj = SWIG_From_int(static_cast< int >(result));
22619 return resultobj;
22620fail:
22621 return NULL;
d55e5bfc
RD
22622}
22623
22624
554f62e9
RD
22625SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22626 PyObject *resultobj = 0;
22627 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22628 int result;
22629 void *argp1 = 0 ;
22630 int res1 = 0 ;
22631 PyObject *swig_obj[1] ;
22632
22633 if (!args) SWIG_fail;
22634 swig_obj[0] = args;
22635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22636 if (!SWIG_IsOK(res1)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22638 }
22639 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 result = (int)(arg1)->IsSeparator();
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 resultobj = SWIG_From_int(static_cast< int >(result));
22647 return resultobj;
22648fail:
22649 return NULL;
d55e5bfc
RD
22650}
22651
22652
554f62e9
RD
22653SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22654 PyObject *resultobj = 0;
22655 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22656 int result;
22657 void *argp1 = 0 ;
22658 int res1 = 0 ;
22659 PyObject *swig_obj[1] ;
22660
22661 if (!args) SWIG_fail;
22662 swig_obj[0] = args;
22663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22664 if (!SWIG_IsOK(res1)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22666 }
22667 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = (int)(arg1)->GetStyle();
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_From_int(static_cast< int >(result));
22675 return resultobj;
22676fail:
22677 return NULL;
d55e5bfc
RD
22678}
22679
22680
554f62e9
RD
22681SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22682 PyObject *resultobj = 0;
22683 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22684 wxItemKind result;
22685 void *argp1 = 0 ;
22686 int res1 = 0 ;
22687 PyObject *swig_obj[1] ;
22688
22689 if (!args) SWIG_fail;
22690 swig_obj[0] = args;
22691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22692 if (!SWIG_IsOK(res1)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22694 }
22695 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (wxItemKind)(arg1)->GetKind();
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 resultobj = SWIG_From_int(static_cast< int >(result));
22703 return resultobj;
22704fail:
22705 return NULL;
d55e5bfc
RD
22706}
22707
22708
554f62e9
RD
22709SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22710 PyObject *resultobj = 0;
22711 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22712 bool result;
22713 void *argp1 = 0 ;
22714 int res1 = 0 ;
22715 PyObject *swig_obj[1] ;
22716
22717 if (!args) SWIG_fail;
22718 swig_obj[0] = args;
22719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22720 if (!SWIG_IsOK(res1)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22722 }
22723 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)(arg1)->IsEnabled();
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 {
22731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22732 }
22733 return resultobj;
22734fail:
22735 return NULL;
d55e5bfc
RD
22736}
22737
22738
554f62e9
RD
22739SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22740 PyObject *resultobj = 0;
22741 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22742 bool result;
22743 void *argp1 = 0 ;
22744 int res1 = 0 ;
22745 PyObject *swig_obj[1] ;
22746
22747 if (!args) SWIG_fail;
22748 swig_obj[0] = args;
22749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22750 if (!SWIG_IsOK(res1)) {
22751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22752 }
22753 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 result = (bool)(arg1)->IsToggled();
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 {
22761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22762 }
22763 return resultobj;
22764fail:
22765 return NULL;
d55e5bfc
RD
22766}
22767
22768
554f62e9
RD
22769SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22770 PyObject *resultobj = 0;
22771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22772 bool result;
22773 void *argp1 = 0 ;
22774 int res1 = 0 ;
22775 PyObject *swig_obj[1] ;
22776
22777 if (!args) SWIG_fail;
22778 swig_obj[0] = args;
22779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22780 if (!SWIG_IsOK(res1)) {
22781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22782 }
22783 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22784 {
22785 PyThreadState* __tstate = wxPyBeginAllowThreads();
22786 result = (bool)(arg1)->CanBeToggled();
22787 wxPyEndAllowThreads(__tstate);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 }
22790 {
22791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22792 }
22793 return resultobj;
22794fail:
22795 return NULL;
d55e5bfc
RD
22796}
22797
22798
554f62e9
RD
22799SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22800 PyObject *resultobj = 0;
22801 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22802 wxBitmap *result = 0 ;
22803 void *argp1 = 0 ;
22804 int res1 = 0 ;
22805 PyObject *swig_obj[1] ;
22806
22807 if (!args) SWIG_fail;
22808 swig_obj[0] = args;
22809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22810 if (!SWIG_IsOK(res1)) {
22811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22812 }
22813 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22814 {
22815 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22816 {
554f62e9
RD
22817 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
22818 result = (wxBitmap *) &_result_ref;
093d3ff1 22819 }
554f62e9
RD
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 {
22824 wxBitmap* resultptr = new wxBitmap(*result);
22825 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22826 }
22827 return resultobj;
22828fail:
22829 return NULL;
d55e5bfc
RD
22830}
22831
22832
554f62e9
RD
22833SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22834 PyObject *resultobj = 0;
22835 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22836 wxBitmap *result = 0 ;
22837 void *argp1 = 0 ;
22838 int res1 = 0 ;
22839 PyObject *swig_obj[1] ;
22840
22841 if (!args) SWIG_fail;
22842 swig_obj[0] = args;
22843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22844 if (!SWIG_IsOK(res1)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22846 }
22847 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 22850 {
554f62e9
RD
22851 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
22852 result = (wxBitmap *) &_result_ref;
d55e5bfc 22853 }
554f62e9
RD
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 {
22858 wxBitmap* resultptr = new wxBitmap(*result);
22859 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22860 }
22861 return resultobj;
22862fail:
22863 return NULL;
d55e5bfc
RD
22864}
22865
22866
554f62e9
RD
22867SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22868 PyObject *resultobj = 0;
22869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22870 wxBitmap result;
22871 void *argp1 = 0 ;
22872 int res1 = 0 ;
22873 PyObject *swig_obj[1] ;
22874
22875 if (!args) SWIG_fail;
22876 swig_obj[0] = args;
22877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22878 if (!SWIG_IsOK(res1)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22880 }
22881 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (arg1)->GetBitmap();
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
22889 return resultobj;
22890fail:
22891 return NULL;
22892}
22893
22894
22895SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22896 PyObject *resultobj = 0;
22897 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22898 wxString result;
22899 void *argp1 = 0 ;
22900 int res1 = 0 ;
22901 PyObject *swig_obj[1] ;
22902
22903 if (!args) SWIG_fail;
22904 swig_obj[0] = args;
22905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22906 if (!SWIG_IsOK(res1)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22908 }
22909 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 result = (arg1)->GetLabel();
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 {
d55e5bfc 22917#if wxUSE_UNICODE
554f62e9 22918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 22919#else
554f62e9 22920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 22921#endif
554f62e9
RD
22922 }
22923 return resultobj;
22924fail:
22925 return NULL;
d55e5bfc
RD
22926}
22927
22928
554f62e9
RD
22929SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22930 PyObject *resultobj = 0;
22931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22932 wxString result;
22933 void *argp1 = 0 ;
22934 int res1 = 0 ;
22935 PyObject *swig_obj[1] ;
22936
22937 if (!args) SWIG_fail;
22938 swig_obj[0] = args;
22939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22940 if (!SWIG_IsOK(res1)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22942 }
22943 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 result = (arg1)->GetShortHelp();
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 {
22951#if wxUSE_UNICODE
22952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22953#else
22954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22955#endif
22956 }
22957 return resultobj;
22958fail:
22959 return NULL;
d55e5bfc
RD
22960}
22961
22962
554f62e9
RD
22963SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22966 wxString result;
22967 void *argp1 = 0 ;
22968 int res1 = 0 ;
22969 PyObject *swig_obj[1] ;
22970
22971 if (!args) SWIG_fail;
22972 swig_obj[0] = args;
22973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22974 if (!SWIG_IsOK(res1)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22976 }
22977 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (arg1)->GetLongHelp();
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985#if wxUSE_UNICODE
22986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22987#else
22988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22989#endif
22990 }
22991 return resultobj;
22992fail:
22993 return NULL;
22994}
22995
22996
22997SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj = 0;
22999 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23000 bool arg2 ;
23001 bool result;
23002 void *argp1 = 0 ;
23003 int res1 = 0 ;
23004 bool val2 ;
23005 int ecode2 = 0 ;
23006 PyObject * obj0 = 0 ;
23007 PyObject * obj1 = 0 ;
23008 char * kwnames[] = {
23009 (char *) "self",(char *) "enable", NULL
23010 };
23011
23012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23014 if (!SWIG_IsOK(res1)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23016 }
23017 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23018 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23019 if (!SWIG_IsOK(ecode2)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23021 }
23022 arg2 = static_cast< bool >(val2);
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 result = (bool)(arg1)->Enable(arg2);
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 {
23030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23031 }
23032 return resultobj;
23033fail:
23034 return NULL;
d55e5bfc
RD
23035}
23036
23037
554f62e9
RD
23038SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23039 PyObject *resultobj = 0;
23040 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23041 void *argp1 = 0 ;
23042 int res1 = 0 ;
23043 PyObject *swig_obj[1] ;
23044
23045 if (!args) SWIG_fail;
23046 swig_obj[0] = args;
23047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23048 if (!SWIG_IsOK(res1)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 }
23051 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 (arg1)->Toggle();
23055 wxPyEndAllowThreads(__tstate);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 }
23058 resultobj = SWIG_Py_Void();
23059 return resultobj;
23060fail:
23061 return NULL;
23062}
23063
23064
23065SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj = 0;
23067 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23068 bool arg2 ;
23069 bool result;
23070 void *argp1 = 0 ;
23071 int res1 = 0 ;
23072 bool val2 ;
23073 int ecode2 = 0 ;
23074 PyObject * obj0 = 0 ;
23075 PyObject * obj1 = 0 ;
23076 char * kwnames[] = {
23077 (char *) "self",(char *) "toggle", NULL
23078 };
23079
23080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23082 if (!SWIG_IsOK(res1)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23084 }
23085 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23087 if (!SWIG_IsOK(ecode2)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23089 }
23090 arg2 = static_cast< bool >(val2);
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (bool)(arg1)->SetToggle(arg2);
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 {
23098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23099 }
23100 return resultobj;
23101fail:
23102 return NULL;
23103}
23104
23105
23106SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj = 0;
23108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23109 wxString *arg2 = 0 ;
23110 bool result;
23111 void *argp1 = 0 ;
23112 int res1 = 0 ;
23113 bool temp2 = false ;
23114 PyObject * obj0 = 0 ;
23115 PyObject * obj1 = 0 ;
23116 char * kwnames[] = {
23117 (char *) "self",(char *) "help", NULL
23118 };
23119
23120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23122 if (!SWIG_IsOK(res1)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23124 }
23125 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23126 {
23127 arg2 = wxString_in_helper(obj1);
23128 if (arg2 == NULL) SWIG_fail;
23129 temp2 = true;
23130 }
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 {
23138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23139 }
23140 {
23141 if (temp2)
23142 delete arg2;
23143 }
23144 return resultobj;
23145fail:
23146 {
23147 if (temp2)
23148 delete arg2;
23149 }
23150 return NULL;
23151}
23152
23153
23154SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj = 0;
23156 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23157 wxString *arg2 = 0 ;
23158 bool result;
23159 void *argp1 = 0 ;
23160 int res1 = 0 ;
23161 bool temp2 = false ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 char * kwnames[] = {
23165 (char *) "self",(char *) "help", NULL
23166 };
23167
23168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23170 if (!SWIG_IsOK(res1)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23172 }
23173 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23174 {
23175 arg2 = wxString_in_helper(obj1);
23176 if (arg2 == NULL) SWIG_fail;
23177 temp2 = true;
23178 }
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 {
23186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23187 }
23188 {
23189 if (temp2)
23190 delete arg2;
23191 }
23192 return resultobj;
23193fail:
23194 {
23195 if (temp2)
23196 delete arg2;
23197 }
23198 return NULL;
23199}
23200
23201
23202SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj = 0;
23204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23205 wxBitmap *arg2 = 0 ;
23206 void *argp1 = 0 ;
23207 int res1 = 0 ;
23208 void *argp2 = 0 ;
23209 int res2 = 0 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char * kwnames[] = {
23213 (char *) "self",(char *) "bmp", NULL
23214 };
23215
23216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23218 if (!SWIG_IsOK(res1)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23220 }
23221 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23222 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23223 if (!SWIG_IsOK(res2)) {
23224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23225 }
23226 if (!argp2) {
23227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23228 }
23229 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 resultobj = SWIG_Py_Void();
23237 return resultobj;
23238fail:
23239 return NULL;
23240}
23241
23242
23243SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj = 0;
23245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23246 wxBitmap *arg2 = 0 ;
23247 void *argp1 = 0 ;
23248 int res1 = 0 ;
23249 void *argp2 = 0 ;
23250 int res2 = 0 ;
23251 PyObject * obj0 = 0 ;
23252 PyObject * obj1 = 0 ;
23253 char * kwnames[] = {
23254 (char *) "self",(char *) "bmp", NULL
23255 };
23256
23257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23259 if (!SWIG_IsOK(res1)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23261 }
23262 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23263 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23264 if (!SWIG_IsOK(res2)) {
23265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23266 }
23267 if (!argp2) {
23268 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23269 }
23270 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 resultobj = SWIG_Py_Void();
23278 return resultobj;
23279fail:
23280 return NULL;
23281}
23282
23283
23284SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23285 PyObject *resultobj = 0;
23286 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23287 wxString *arg2 = 0 ;
23288 void *argp1 = 0 ;
23289 int res1 = 0 ;
23290 bool temp2 = false ;
23291 PyObject * obj0 = 0 ;
23292 PyObject * obj1 = 0 ;
23293 char * kwnames[] = {
23294 (char *) "self",(char *) "label", NULL
23295 };
23296
23297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23299 if (!SWIG_IsOK(res1)) {
23300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23301 }
23302 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23303 {
23304 arg2 = wxString_in_helper(obj1);
23305 if (arg2 == NULL) SWIG_fail;
23306 temp2 = true;
23307 }
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 (arg1)->SetLabel((wxString const &)*arg2);
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 resultobj = SWIG_Py_Void();
23315 {
23316 if (temp2)
23317 delete arg2;
23318 }
23319 return resultobj;
23320fail:
23321 {
23322 if (temp2)
23323 delete arg2;
23324 }
23325 return NULL;
d55e5bfc
RD
23326}
23327
23328
554f62e9
RD
23329SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23330 PyObject *resultobj = 0;
23331 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23332 void *argp1 = 0 ;
23333 int res1 = 0 ;
23334 PyObject *swig_obj[1] ;
23335
23336 if (!args) SWIG_fail;
23337 swig_obj[0] = args;
23338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23339 if (!SWIG_IsOK(res1)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23341 }
23342 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->Detach();
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 resultobj = SWIG_Py_Void();
23350 return resultobj;
23351fail:
23352 return NULL;
23353}
23354
23355
23356SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj = 0;
23358 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23359 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23360 void *argp1 = 0 ;
23361 int res1 = 0 ;
23362 void *argp2 = 0 ;
23363 int res2 = 0 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char * kwnames[] = {
23367 (char *) "self",(char *) "tbar", NULL
23368 };
23369
23370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23372 if (!SWIG_IsOK(res1)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23374 }
23375 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23377 if (!SWIG_IsOK(res2)) {
23378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23379 }
23380 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 (arg1)->Attach(arg2);
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_Py_Void();
23388 return resultobj;
23389fail:
23390 return NULL;
d55e5bfc
RD
23391}
23392
23393
554f62e9
RD
23394SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23395 PyObject *resultobj = 0;
23396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23397 PyObject *result = 0 ;
23398 void *argp1 = 0 ;
23399 int res1 = 0 ;
23400 PyObject *swig_obj[1] ;
23401
23402 if (!args) SWIG_fail;
23403 swig_obj[0] = args;
23404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23405 if (!SWIG_IsOK(res1)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23407 }
23408 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 resultobj = result;
23416 return resultobj;
23417fail:
23418 return NULL;
23419}
23420
23421
23422SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23423 PyObject *resultobj = 0;
23424 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23425 PyObject *arg2 = (PyObject *) 0 ;
23426 void *argp1 = 0 ;
23427 int res1 = 0 ;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char * kwnames[] = {
23431 (char *) "self",(char *) "clientData", NULL
23432 };
23433
23434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23436 if (!SWIG_IsOK(res1)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23438 }
23439 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23440 arg2 = obj1;
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 wxToolBarToolBase_SetClientData(arg1,arg2);
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_Py_Void();
23448 return resultobj;
23449fail:
23450 return NULL;
23451}
23452
23453
23454SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23455 PyObject *obj;
23456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23457 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23458 return SWIG_Py_Void();
23459}
23460
23461SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj = 0;
23463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23464 int arg2 ;
23465 wxString *arg3 = 0 ;
23466 wxBitmap *arg4 = 0 ;
23467 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23468 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23469 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23470 wxString const &arg7_defvalue = wxPyEmptyString ;
23471 wxString *arg7 = (wxString *) &arg7_defvalue ;
23472 wxString const &arg8_defvalue = wxPyEmptyString ;
23473 wxString *arg8 = (wxString *) &arg8_defvalue ;
23474 PyObject *arg9 = (PyObject *) NULL ;
23475 wxToolBarToolBase *result = 0 ;
23476 void *argp1 = 0 ;
23477 int res1 = 0 ;
23478 int val2 ;
23479 int ecode2 = 0 ;
23480 bool temp3 = false ;
23481 void *argp4 = 0 ;
23482 int res4 = 0 ;
23483 void *argp5 = 0 ;
23484 int res5 = 0 ;
23485 int val6 ;
23486 int ecode6 = 0 ;
23487 bool temp7 = false ;
23488 bool temp8 = false ;
23489 PyObject * obj0 = 0 ;
23490 PyObject * obj1 = 0 ;
23491 PyObject * obj2 = 0 ;
23492 PyObject * obj3 = 0 ;
23493 PyObject * obj4 = 0 ;
23494 PyObject * obj5 = 0 ;
23495 PyObject * obj6 = 0 ;
23496 PyObject * obj7 = 0 ;
23497 PyObject * obj8 = 0 ;
23498 char * kwnames[] = {
23499 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23500 };
23501
23502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23504 if (!SWIG_IsOK(res1)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23506 }
23507 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23508 ecode2 = SWIG_AsVal_int(obj1, &val2);
23509 if (!SWIG_IsOK(ecode2)) {
23510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23511 }
23512 arg2 = static_cast< int >(val2);
23513 {
23514 arg3 = wxString_in_helper(obj2);
23515 if (arg3 == NULL) SWIG_fail;
23516 temp3 = true;
23517 }
23518 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23519 if (!SWIG_IsOK(res4)) {
23520 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23521 }
23522 if (!argp4) {
23523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23524 }
23525 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23526 if (obj4) {
23527 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23528 if (!SWIG_IsOK(res5)) {
23529 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23530 }
23531 if (!argp5) {
23532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23533 }
23534 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23535 }
23536 if (obj5) {
23537 ecode6 = SWIG_AsVal_int(obj5, &val6);
23538 if (!SWIG_IsOK(ecode6)) {
23539 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23540 }
23541 arg6 = static_cast< wxItemKind >(val6);
23542 }
23543 if (obj6) {
d55e5bfc 23544 {
554f62e9
RD
23545 arg7 = wxString_in_helper(obj6);
23546 if (arg7 == NULL) SWIG_fail;
23547 temp7 = true;
d55e5bfc 23548 }
554f62e9
RD
23549 }
23550 if (obj7) {
093d3ff1 23551 {
554f62e9
RD
23552 arg8 = wxString_in_helper(obj7);
23553 if (arg8 == NULL) SWIG_fail;
23554 temp8 = true;
093d3ff1 23555 }
554f62e9
RD
23556 }
23557 if (obj8) {
23558 arg9 = obj8;
23559 }
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 {
23567 resultobj = wxPyMake_wxObject(result, (bool)0);
23568 }
23569 {
23570 if (temp3)
23571 delete arg3;
23572 }
23573 {
23574 if (temp7)
23575 delete arg7;
23576 }
23577 {
23578 if (temp8)
23579 delete arg8;
23580 }
23581 return resultobj;
23582fail:
23583 {
23584 if (temp3)
23585 delete arg3;
23586 }
23587 {
23588 if (temp7)
23589 delete arg7;
23590 }
23591 {
23592 if (temp8)
23593 delete arg8;
23594 }
23595 return NULL;
23596}
23597
23598
23599SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj = 0;
23601 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23602 size_t arg2 ;
23603 int arg3 ;
23604 wxString *arg4 = 0 ;
23605 wxBitmap *arg5 = 0 ;
23606 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23607 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23608 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23609 wxString const &arg8_defvalue = wxPyEmptyString ;
23610 wxString *arg8 = (wxString *) &arg8_defvalue ;
23611 wxString const &arg9_defvalue = wxPyEmptyString ;
23612 wxString *arg9 = (wxString *) &arg9_defvalue ;
23613 PyObject *arg10 = (PyObject *) NULL ;
23614 wxToolBarToolBase *result = 0 ;
23615 void *argp1 = 0 ;
23616 int res1 = 0 ;
23617 size_t val2 ;
23618 int ecode2 = 0 ;
23619 int val3 ;
23620 int ecode3 = 0 ;
23621 bool temp4 = false ;
23622 void *argp5 = 0 ;
23623 int res5 = 0 ;
23624 void *argp6 = 0 ;
23625 int res6 = 0 ;
23626 int val7 ;
23627 int ecode7 = 0 ;
23628 bool temp8 = false ;
23629 bool temp9 = false ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 PyObject * obj2 = 0 ;
23633 PyObject * obj3 = 0 ;
23634 PyObject * obj4 = 0 ;
23635 PyObject * obj5 = 0 ;
23636 PyObject * obj6 = 0 ;
23637 PyObject * obj7 = 0 ;
23638 PyObject * obj8 = 0 ;
23639 PyObject * obj9 = 0 ;
23640 char * kwnames[] = {
23641 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23642 };
23643
23644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23646 if (!SWIG_IsOK(res1)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23648 }
23649 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23650 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23651 if (!SWIG_IsOK(ecode2)) {
23652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23653 }
23654 arg2 = static_cast< size_t >(val2);
23655 ecode3 = SWIG_AsVal_int(obj2, &val3);
23656 if (!SWIG_IsOK(ecode3)) {
23657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23658 }
23659 arg3 = static_cast< int >(val3);
23660 {
23661 arg4 = wxString_in_helper(obj3);
23662 if (arg4 == NULL) SWIG_fail;
23663 temp4 = true;
23664 }
23665 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23666 if (!SWIG_IsOK(res5)) {
23667 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23668 }
23669 if (!argp5) {
23670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23671 }
23672 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23673 if (obj5) {
23674 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23675 if (!SWIG_IsOK(res6)) {
23676 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23677 }
554f62e9
RD
23678 if (!argp6) {
23679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 23680 }
554f62e9
RD
23681 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23682 }
23683 if (obj6) {
23684 ecode7 = SWIG_AsVal_int(obj6, &val7);
23685 if (!SWIG_IsOK(ecode7)) {
23686 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23687 }
23688 arg7 = static_cast< wxItemKind >(val7);
23689 }
23690 if (obj7) {
d55e5bfc 23691 {
554f62e9
RD
23692 arg8 = wxString_in_helper(obj7);
23693 if (arg8 == NULL) SWIG_fail;
23694 temp8 = true;
d55e5bfc 23695 }
554f62e9
RD
23696 }
23697 if (obj8) {
d55e5bfc 23698 {
554f62e9
RD
23699 arg9 = wxString_in_helper(obj8);
23700 if (arg9 == NULL) SWIG_fail;
23701 temp9 = true;
d55e5bfc 23702 }
554f62e9
RD
23703 }
23704 if (obj9) {
23705 arg10 = obj9;
23706 }
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 resultobj = wxPyMake_wxObject(result, (bool)0);
23715 }
23716 {
23717 if (temp4)
23718 delete arg4;
23719 }
23720 {
23721 if (temp8)
23722 delete arg8;
23723 }
23724 {
23725 if (temp9)
23726 delete arg9;
23727 }
23728 return resultobj;
23729fail:
23730 {
23731 if (temp4)
23732 delete arg4;
23733 }
23734 {
23735 if (temp8)
23736 delete arg8;
23737 }
23738 {
23739 if (temp9)
23740 delete arg9;
23741 }
23742 return NULL;
23743}
23744
23745
23746SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23747 PyObject *resultobj = 0;
23748 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23749 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
23750 wxToolBarToolBase *result = 0 ;
23751 void *argp1 = 0 ;
23752 int res1 = 0 ;
23753 void *argp2 = 0 ;
23754 int res2 = 0 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char * kwnames[] = {
23758 (char *) "self",(char *) "tool", NULL
23759 };
23760
23761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
23762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23763 if (!SWIG_IsOK(res1)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23765 }
23766 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23768 if (!SWIG_IsOK(res2)) {
23769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23770 }
23771 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 {
23779 resultobj = wxPyMake_wxObject(result, (bool)0);
23780 }
23781 return resultobj;
23782fail:
23783 return NULL;
23784}
23785
23786
23787SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj = 0;
23789 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23790 size_t arg2 ;
23791 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
23792 wxToolBarToolBase *result = 0 ;
23793 void *argp1 = 0 ;
23794 int res1 = 0 ;
23795 size_t val2 ;
23796 int ecode2 = 0 ;
23797 void *argp3 = 0 ;
23798 int res3 = 0 ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 PyObject * obj2 = 0 ;
23802 char * kwnames[] = {
23803 (char *) "self",(char *) "pos",(char *) "tool", NULL
23804 };
23805
23806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23808 if (!SWIG_IsOK(res1)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23810 }
23811 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23812 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23813 if (!SWIG_IsOK(ecode2)) {
23814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23815 }
23816 arg2 = static_cast< size_t >(val2);
23817 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23818 if (!SWIG_IsOK(res3)) {
23819 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23820 }
23821 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 {
23829 resultobj = wxPyMake_wxObject(result, (bool)0);
23830 }
23831 return resultobj;
23832fail:
23833 return NULL;
23834}
23835
23836
23837SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj = 0;
23839 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23840 wxControl *arg2 = (wxControl *) 0 ;
23841 wxToolBarToolBase *result = 0 ;
23842 void *argp1 = 0 ;
23843 int res1 = 0 ;
23844 void *argp2 = 0 ;
23845 int res2 = 0 ;
23846 PyObject * obj0 = 0 ;
23847 PyObject * obj1 = 0 ;
23848 char * kwnames[] = {
23849 (char *) "self",(char *) "control", NULL
23850 };
23851
23852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
23853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23854 if (!SWIG_IsOK(res1)) {
23855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23856 }
23857 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
23859 if (!SWIG_IsOK(res2)) {
23860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23861 }
23862 arg2 = reinterpret_cast< wxControl * >(argp2);
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 resultobj = wxPyMake_wxObject(result, (bool)0);
23871 }
23872 return resultobj;
23873fail:
23874 return NULL;
23875}
23876
23877
23878SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj = 0;
23880 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23881 size_t arg2 ;
23882 wxControl *arg3 = (wxControl *) 0 ;
23883 wxToolBarToolBase *result = 0 ;
23884 void *argp1 = 0 ;
23885 int res1 = 0 ;
23886 size_t val2 ;
23887 int ecode2 = 0 ;
23888 void *argp3 = 0 ;
23889 int res3 = 0 ;
23890 PyObject * obj0 = 0 ;
23891 PyObject * obj1 = 0 ;
23892 PyObject * obj2 = 0 ;
23893 char * kwnames[] = {
23894 (char *) "self",(char *) "pos",(char *) "control", NULL
23895 };
23896
23897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23899 if (!SWIG_IsOK(res1)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23901 }
23902 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23903 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23904 if (!SWIG_IsOK(ecode2)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23906 }
23907 arg2 = static_cast< size_t >(val2);
23908 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
23909 if (!SWIG_IsOK(res3)) {
23910 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23911 }
23912 arg3 = reinterpret_cast< wxControl * >(argp3);
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 {
23920 resultobj = wxPyMake_wxObject(result, (bool)0);
23921 }
23922 return resultobj;
23923fail:
23924 return NULL;
23925}
23926
23927
23928SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj = 0;
23930 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23931 int arg2 ;
23932 wxControl *result = 0 ;
23933 void *argp1 = 0 ;
23934 int res1 = 0 ;
23935 int val2 ;
23936 int ecode2 = 0 ;
23937 PyObject * obj0 = 0 ;
23938 PyObject * obj1 = 0 ;
23939 char * kwnames[] = {
23940 (char *) "self",(char *) "id", NULL
23941 };
23942
23943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
23944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23945 if (!SWIG_IsOK(res1)) {
23946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23947 }
23948 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23949 ecode2 = SWIG_AsVal_int(obj1, &val2);
23950 if (!SWIG_IsOK(ecode2)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23952 }
23953 arg2 = static_cast< int >(val2);
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = (wxControl *)(arg1)->FindControl(arg2);
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 resultobj = wxPyMake_wxObject(result, 0);
23962 }
23963 return resultobj;
23964fail:
23965 return NULL;
d55e5bfc
RD
23966}
23967
23968
554f62e9
RD
23969SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23970 PyObject *resultobj = 0;
23971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23972 wxToolBarToolBase *result = 0 ;
23973 void *argp1 = 0 ;
23974 int res1 = 0 ;
23975 PyObject *swig_obj[1] ;
23976
23977 if (!args) SWIG_fail;
23978 swig_obj[0] = args;
23979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23980 if (!SWIG_IsOK(res1)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23982 }
23983 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 {
23991 resultobj = wxPyMake_wxObject(result, (bool)0);
23992 }
23993 return resultobj;
23994fail:
23995 return NULL;
23996}
23997
23998
23999SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj = 0;
24001 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24002 size_t arg2 ;
24003 wxToolBarToolBase *result = 0 ;
24004 void *argp1 = 0 ;
24005 int res1 = 0 ;
24006 size_t val2 ;
24007 int ecode2 = 0 ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 char * kwnames[] = {
24011 (char *) "self",(char *) "pos", NULL
24012 };
24013
24014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24016 if (!SWIG_IsOK(res1)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24018 }
24019 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24021 if (!SWIG_IsOK(ecode2)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24023 }
24024 arg2 = static_cast< size_t >(val2);
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 {
24032 resultobj = wxPyMake_wxObject(result, (bool)0);
24033 }
24034 return resultobj;
24035fail:
24036 return NULL;
24037}
24038
24039
24040SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj = 0;
24042 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24043 int arg2 ;
24044 wxToolBarToolBase *result = 0 ;
24045 void *argp1 = 0 ;
24046 int res1 = 0 ;
24047 int val2 ;
24048 int ecode2 = 0 ;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char * kwnames[] = {
24052 (char *) "self",(char *) "id", NULL
24053 };
24054
24055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24057 if (!SWIG_IsOK(res1)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24059 }
24060 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24061 ecode2 = SWIG_AsVal_int(obj1, &val2);
24062 if (!SWIG_IsOK(ecode2)) {
24063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24064 }
24065 arg2 = static_cast< int >(val2);
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 {
24073 resultobj = wxPyMake_wxObject(result, (bool)0);
24074 }
24075 return resultobj;
24076fail:
24077 return NULL;
24078}
24079
24080
24081SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj = 0;
24083 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24084 size_t arg2 ;
24085 bool result;
24086 void *argp1 = 0 ;
24087 int res1 = 0 ;
24088 size_t val2 ;
24089 int ecode2 = 0 ;
24090 PyObject * obj0 = 0 ;
24091 PyObject * obj1 = 0 ;
24092 char * kwnames[] = {
24093 (char *) "self",(char *) "pos", NULL
24094 };
24095
24096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24098 if (!SWIG_IsOK(res1)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24100 }
24101 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24102 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24103 if (!SWIG_IsOK(ecode2)) {
24104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24105 }
24106 arg2 = static_cast< size_t >(val2);
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 result = (bool)(arg1)->DeleteToolByPos(arg2);
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
24113 {
24114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24115 }
24116 return resultobj;
24117fail:
24118 return NULL;
24119}
24120
24121
24122SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24123 PyObject *resultobj = 0;
24124 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24125 int arg2 ;
24126 bool result;
24127 void *argp1 = 0 ;
24128 int res1 = 0 ;
24129 int val2 ;
24130 int ecode2 = 0 ;
24131 PyObject * obj0 = 0 ;
24132 PyObject * obj1 = 0 ;
24133 char * kwnames[] = {
24134 (char *) "self",(char *) "id", NULL
24135 };
24136
24137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24139 if (!SWIG_IsOK(res1)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24141 }
24142 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24143 ecode2 = SWIG_AsVal_int(obj1, &val2);
24144 if (!SWIG_IsOK(ecode2)) {
24145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24146 }
24147 arg2 = static_cast< int >(val2);
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 result = (bool)(arg1)->DeleteTool(arg2);
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 {
24155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24156 }
24157 return resultobj;
24158fail:
24159 return NULL;
d55e5bfc
RD
24160}
24161
24162
554f62e9
RD
24163SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24164 PyObject *resultobj = 0;
24165 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24166 void *argp1 = 0 ;
24167 int res1 = 0 ;
24168 PyObject *swig_obj[1] ;
24169
24170 if (!args) SWIG_fail;
24171 swig_obj[0] = args;
24172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24173 if (!SWIG_IsOK(res1)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24175 }
24176 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 (arg1)->ClearTools();
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 resultobj = SWIG_Py_Void();
24184 return resultobj;
24185fail:
24186 return NULL;
f20a2e1f
RD
24187}
24188
24189
554f62e9
RD
24190SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24191 PyObject *resultobj = 0;
24192 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24193 bool result;
24194 void *argp1 = 0 ;
24195 int res1 = 0 ;
24196 PyObject *swig_obj[1] ;
24197
24198 if (!args) SWIG_fail;
24199 swig_obj[0] = args;
24200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24201 if (!SWIG_IsOK(res1)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24203 }
24204 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (bool)(arg1)->Realize();
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 {
24212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24213 }
24214 return resultobj;
24215fail:
24216 return NULL;
24217}
24218
24219
24220SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj = 0;
24222 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24223 int arg2 ;
24224 bool arg3 ;
24225 void *argp1 = 0 ;
24226 int res1 = 0 ;
24227 int val2 ;
24228 int ecode2 = 0 ;
24229 bool val3 ;
24230 int ecode3 = 0 ;
24231 PyObject * obj0 = 0 ;
24232 PyObject * obj1 = 0 ;
24233 PyObject * obj2 = 0 ;
24234 char * kwnames[] = {
24235 (char *) "self",(char *) "id",(char *) "enable", NULL
24236 };
24237
24238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24240 if (!SWIG_IsOK(res1)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24242 }
24243 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24244 ecode2 = SWIG_AsVal_int(obj1, &val2);
24245 if (!SWIG_IsOK(ecode2)) {
24246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24247 }
24248 arg2 = static_cast< int >(val2);
24249 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24250 if (!SWIG_IsOK(ecode3)) {
24251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24252 }
24253 arg3 = static_cast< bool >(val3);
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 (arg1)->EnableTool(arg2,arg3);
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 resultobj = SWIG_Py_Void();
24261 return resultobj;
24262fail:
24263 return NULL;
24264}
24265
24266
24267SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj = 0;
24269 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24270 int arg2 ;
24271 bool arg3 ;
24272 void *argp1 = 0 ;
24273 int res1 = 0 ;
24274 int val2 ;
24275 int ecode2 = 0 ;
24276 bool val3 ;
24277 int ecode3 = 0 ;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 PyObject * obj2 = 0 ;
24281 char * kwnames[] = {
24282 (char *) "self",(char *) "id",(char *) "toggle", NULL
24283 };
24284
24285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24287 if (!SWIG_IsOK(res1)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24289 }
24290 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24291 ecode2 = SWIG_AsVal_int(obj1, &val2);
24292 if (!SWIG_IsOK(ecode2)) {
24293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24294 }
24295 arg2 = static_cast< int >(val2);
24296 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24297 if (!SWIG_IsOK(ecode3)) {
24298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24299 }
24300 arg3 = static_cast< bool >(val3);
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->ToggleTool(arg2,arg3);
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 resultobj = SWIG_Py_Void();
24308 return resultobj;
24309fail:
24310 return NULL;
24311}
24312
24313
24314SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj = 0;
24316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24317 int arg2 ;
24318 bool arg3 ;
24319 void *argp1 = 0 ;
24320 int res1 = 0 ;
24321 int val2 ;
24322 int ecode2 = 0 ;
24323 bool val3 ;
24324 int ecode3 = 0 ;
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
24327 PyObject * obj2 = 0 ;
24328 char * kwnames[] = {
24329 (char *) "self",(char *) "id",(char *) "toggle", NULL
24330 };
24331
24332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24334 if (!SWIG_IsOK(res1)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24336 }
24337 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24338 ecode2 = SWIG_AsVal_int(obj1, &val2);
24339 if (!SWIG_IsOK(ecode2)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24341 }
24342 arg2 = static_cast< int >(val2);
24343 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24344 if (!SWIG_IsOK(ecode3)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24346 }
24347 arg3 = static_cast< bool >(val3);
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetToggle(arg2,arg3);
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_Py_Void();
24355 return resultobj;
24356fail:
24357 return NULL;
24358}
24359
24360
24361SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj = 0;
24363 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24364 int arg2 ;
24365 PyObject *result = 0 ;
24366 void *argp1 = 0 ;
24367 int res1 = 0 ;
24368 int val2 ;
24369 int ecode2 = 0 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char * kwnames[] = {
24373 (char *) "self",(char *) "id", NULL
24374 };
24375
24376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24378 if (!SWIG_IsOK(res1)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24380 }
24381 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24382 ecode2 = SWIG_AsVal_int(obj1, &val2);
24383 if (!SWIG_IsOK(ecode2)) {
24384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24385 }
24386 arg2 = static_cast< int >(val2);
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = result;
24394 return resultobj;
24395fail:
24396 return NULL;
24397}
24398
24399
24400SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24401 PyObject *resultobj = 0;
24402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24403 int arg2 ;
24404 PyObject *arg3 = (PyObject *) 0 ;
24405 void *argp1 = 0 ;
24406 int res1 = 0 ;
24407 int val2 ;
24408 int ecode2 = 0 ;
24409 PyObject * obj0 = 0 ;
24410 PyObject * obj1 = 0 ;
24411 PyObject * obj2 = 0 ;
24412 char * kwnames[] = {
24413 (char *) "self",(char *) "id",(char *) "clientData", NULL
24414 };
24415
24416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24418 if (!SWIG_IsOK(res1)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24420 }
24421 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24422 ecode2 = SWIG_AsVal_int(obj1, &val2);
24423 if (!SWIG_IsOK(ecode2)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24425 }
24426 arg2 = static_cast< int >(val2);
24427 arg3 = obj2;
24428 {
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 resultobj = SWIG_Py_Void();
24435 return resultobj;
24436fail:
24437 return NULL;
24438}
24439
24440
24441SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj = 0;
24443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24444 int arg2 ;
24445 int result;
24446 void *argp1 = 0 ;
24447 int res1 = 0 ;
24448 int val2 ;
24449 int ecode2 = 0 ;
24450 PyObject * obj0 = 0 ;
24451 PyObject * obj1 = 0 ;
24452 char * kwnames[] = {
24453 (char *) "self",(char *) "id", NULL
24454 };
24455
24456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24458 if (!SWIG_IsOK(res1)) {
24459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24460 }
24461 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24462 ecode2 = SWIG_AsVal_int(obj1, &val2);
24463 if (!SWIG_IsOK(ecode2)) {
24464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24465 }
24466 arg2 = static_cast< int >(val2);
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 resultobj = SWIG_From_int(static_cast< int >(result));
24474 return resultobj;
24475fail:
24476 return NULL;
24477}
24478
24479
24480SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj = 0;
24482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24483 int arg2 ;
24484 bool result;
24485 void *argp1 = 0 ;
24486 int res1 = 0 ;
24487 int val2 ;
24488 int ecode2 = 0 ;
24489 PyObject * obj0 = 0 ;
24490 PyObject * obj1 = 0 ;
24491 char * kwnames[] = {
24492 (char *) "self",(char *) "id", NULL
24493 };
24494
24495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24497 if (!SWIG_IsOK(res1)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24499 }
24500 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24501 ecode2 = SWIG_AsVal_int(obj1, &val2);
24502 if (!SWIG_IsOK(ecode2)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24504 }
24505 arg2 = static_cast< int >(val2);
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 result = (bool)(arg1)->GetToolState(arg2);
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 {
24513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24514 }
24515 return resultobj;
24516fail:
24517 return NULL;
24518}
24519
24520
24521SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj = 0;
24523 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24524 int arg2 ;
24525 bool result;
24526 void *argp1 = 0 ;
24527 int res1 = 0 ;
24528 int val2 ;
24529 int ecode2 = 0 ;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char * kwnames[] = {
24533 (char *) "self",(char *) "id", NULL
24534 };
24535
24536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24538 if (!SWIG_IsOK(res1)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24540 }
24541 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24542 ecode2 = SWIG_AsVal_int(obj1, &val2);
24543 if (!SWIG_IsOK(ecode2)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24545 }
24546 arg2 = static_cast< int >(val2);
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (bool)(arg1)->GetToolEnabled(arg2);
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 {
24554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24555 }
24556 return resultobj;
24557fail:
24558 return NULL;
24559}
24560
24561
24562SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj = 0;
24564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24565 int arg2 ;
24566 wxString *arg3 = 0 ;
24567 void *argp1 = 0 ;
24568 int res1 = 0 ;
24569 int val2 ;
24570 int ecode2 = 0 ;
24571 bool temp3 = false ;
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
24574 PyObject * obj2 = 0 ;
24575 char * kwnames[] = {
24576 (char *) "self",(char *) "id",(char *) "helpString", NULL
24577 };
24578
24579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24581 if (!SWIG_IsOK(res1)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24583 }
24584 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24585 ecode2 = SWIG_AsVal_int(obj1, &val2);
24586 if (!SWIG_IsOK(ecode2)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24588 }
24589 arg2 = static_cast< int >(val2);
24590 {
24591 arg3 = wxString_in_helper(obj2);
24592 if (arg3 == NULL) SWIG_fail;
24593 temp3 = true;
24594 }
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 resultobj = SWIG_Py_Void();
24602 {
24603 if (temp3)
24604 delete arg3;
24605 }
24606 return resultobj;
24607fail:
24608 {
24609 if (temp3)
24610 delete arg3;
24611 }
24612 return NULL;
24613}
24614
24615
24616SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj = 0;
24618 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24619 int arg2 ;
24620 wxString result;
24621 void *argp1 = 0 ;
24622 int res1 = 0 ;
24623 int val2 ;
24624 int ecode2 = 0 ;
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 char * kwnames[] = {
24628 (char *) "self",(char *) "id", NULL
24629 };
24630
24631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24633 if (!SWIG_IsOK(res1)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24635 }
24636 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24637 ecode2 = SWIG_AsVal_int(obj1, &val2);
24638 if (!SWIG_IsOK(ecode2)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24640 }
24641 arg2 = static_cast< int >(val2);
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 result = (arg1)->GetToolShortHelp(arg2);
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 {
d55e5bfc 24649#if wxUSE_UNICODE
554f62e9 24650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24651#else
554f62e9 24652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24653#endif
554f62e9
RD
24654 }
24655 return resultobj;
24656fail:
24657 return NULL;
24658}
24659
24660
24661SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj = 0;
24663 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24664 int arg2 ;
24665 wxString *arg3 = 0 ;
24666 void *argp1 = 0 ;
24667 int res1 = 0 ;
24668 int val2 ;
24669 int ecode2 = 0 ;
24670 bool temp3 = false ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 PyObject * obj2 = 0 ;
24674 char * kwnames[] = {
24675 (char *) "self",(char *) "id",(char *) "helpString", NULL
24676 };
24677
24678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24682 }
24683 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24684 ecode2 = SWIG_AsVal_int(obj1, &val2);
24685 if (!SWIG_IsOK(ecode2)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24687 }
24688 arg2 = static_cast< int >(val2);
24689 {
24690 arg3 = wxString_in_helper(obj2);
24691 if (arg3 == NULL) SWIG_fail;
24692 temp3 = true;
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 resultobj = SWIG_Py_Void();
24701 {
24702 if (temp3)
24703 delete arg3;
24704 }
24705 return resultobj;
24706fail:
24707 {
24708 if (temp3)
24709 delete arg3;
24710 }
24711 return NULL;
24712}
24713
24714
24715SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj = 0;
24717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24718 int arg2 ;
24719 wxString result;
24720 void *argp1 = 0 ;
24721 int res1 = 0 ;
24722 int val2 ;
24723 int ecode2 = 0 ;
24724 PyObject * obj0 = 0 ;
24725 PyObject * obj1 = 0 ;
24726 char * kwnames[] = {
24727 (char *) "self",(char *) "id", NULL
24728 };
24729
24730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24732 if (!SWIG_IsOK(res1)) {
24733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24734 }
24735 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24736 ecode2 = SWIG_AsVal_int(obj1, &val2);
24737 if (!SWIG_IsOK(ecode2)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24739 }
24740 arg2 = static_cast< int >(val2);
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 result = (arg1)->GetToolLongHelp(arg2);
24744 wxPyEndAllowThreads(__tstate);
24745 if (PyErr_Occurred()) SWIG_fail;
24746 }
24747 {
24748#if wxUSE_UNICODE
24749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24750#else
24751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24752#endif
24753 }
24754 return resultobj;
24755fail:
24756 return NULL;
24757}
24758
24759
24760SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj = 0;
24762 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24763 int arg2 ;
24764 int arg3 ;
24765 void *argp1 = 0 ;
24766 int res1 = 0 ;
24767 int val2 ;
24768 int ecode2 = 0 ;
24769 int val3 ;
24770 int ecode3 = 0 ;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 PyObject * obj2 = 0 ;
24774 char * kwnames[] = {
24775 (char *) "self",(char *) "x",(char *) "y", NULL
24776 };
24777
24778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24780 if (!SWIG_IsOK(res1)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24782 }
24783 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24784 ecode2 = SWIG_AsVal_int(obj1, &val2);
24785 if (!SWIG_IsOK(ecode2)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24787 }
24788 arg2 = static_cast< int >(val2);
24789 ecode3 = SWIG_AsVal_int(obj2, &val3);
24790 if (!SWIG_IsOK(ecode3)) {
24791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24792 }
24793 arg3 = static_cast< int >(val3);
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 (arg1)->SetMargins(arg2,arg3);
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 resultobj = SWIG_Py_Void();
24801 return resultobj;
24802fail:
24803 return NULL;
24804}
24805
24806
24807SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj = 0;
24809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24810 wxSize *arg2 = 0 ;
24811 void *argp1 = 0 ;
24812 int res1 = 0 ;
24813 wxSize temp2 ;
24814 PyObject * obj0 = 0 ;
24815 PyObject * obj1 = 0 ;
24816 char * kwnames[] = {
24817 (char *) "self",(char *) "size", NULL
24818 };
24819
24820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24822 if (!SWIG_IsOK(res1)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24824 }
24825 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24826 {
24827 arg2 = &temp2;
24828 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24829 }
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 (arg1)->SetMargins((wxSize const &)*arg2);
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 resultobj = SWIG_Py_Void();
24837 return resultobj;
24838fail:
24839 return NULL;
24840}
24841
24842
24843SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj = 0;
24845 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24846 int arg2 ;
24847 void *argp1 = 0 ;
24848 int res1 = 0 ;
24849 int val2 ;
24850 int ecode2 = 0 ;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 char * kwnames[] = {
24854 (char *) "self",(char *) "packing", NULL
24855 };
24856
24857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
24858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24859 if (!SWIG_IsOK(res1)) {
24860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24861 }
24862 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24863 ecode2 = SWIG_AsVal_int(obj1, &val2);
24864 if (!SWIG_IsOK(ecode2)) {
24865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24866 }
24867 arg2 = static_cast< int >(val2);
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 (arg1)->SetToolPacking(arg2);
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 resultobj = SWIG_Py_Void();
24875 return resultobj;
24876fail:
24877 return NULL;
24878}
24879
24880
24881SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj = 0;
24883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24884 int arg2 ;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 int val2 ;
24888 int ecode2 = 0 ;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 char * kwnames[] = {
24892 (char *) "self",(char *) "separation", NULL
24893 };
24894
24895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
24896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24897 if (!SWIG_IsOK(res1)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24899 }
24900 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24901 ecode2 = SWIG_AsVal_int(obj1, &val2);
24902 if (!SWIG_IsOK(ecode2)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24904 }
24905 arg2 = static_cast< int >(val2);
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 (arg1)->SetToolSeparation(arg2);
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 resultobj = SWIG_Py_Void();
24913 return resultobj;
24914fail:
24915 return NULL;
d55e5bfc
RD
24916}
24917
24918
554f62e9
RD
24919SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24920 PyObject *resultobj = 0;
24921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24922 wxSize result;
24923 void *argp1 = 0 ;
24924 int res1 = 0 ;
24925 PyObject *swig_obj[1] ;
24926
24927 if (!args) SWIG_fail;
24928 swig_obj[0] = args;
24929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24930 if (!SWIG_IsOK(res1)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24932 }
24933 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 result = (arg1)->GetToolMargins();
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24941 return resultobj;
24942fail:
24943 return NULL;
d55e5bfc
RD
24944}
24945
24946
554f62e9
RD
24947SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24948 PyObject *resultobj = 0;
24949 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24950 wxSize result;
24951 void *argp1 = 0 ;
24952 int res1 = 0 ;
24953 PyObject *swig_obj[1] ;
24954
24955 if (!args) SWIG_fail;
24956 swig_obj[0] = args;
24957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24958 if (!SWIG_IsOK(res1)) {
24959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24960 }
24961 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (arg1)->GetMargins();
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24969 return resultobj;
24970fail:
24971 return NULL;
d55e5bfc
RD
24972}
24973
24974
554f62e9
RD
24975SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24976 PyObject *resultobj = 0;
24977 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24978 int result;
24979 void *argp1 = 0 ;
24980 int res1 = 0 ;
24981 PyObject *swig_obj[1] ;
24982
24983 if (!args) SWIG_fail;
24984 swig_obj[0] = args;
24985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24986 if (!SWIG_IsOK(res1)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24988 }
24989 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 result = (int)(arg1)->GetToolPacking();
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = SWIG_From_int(static_cast< int >(result));
24997 return resultobj;
24998fail:
24999 return NULL;
d55e5bfc
RD
25000}
25001
25002
554f62e9
RD
25003SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25004 PyObject *resultobj = 0;
25005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25006 int result;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 PyObject *swig_obj[1] ;
25010
25011 if (!args) SWIG_fail;
25012 swig_obj[0] = args;
25013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25016 }
25017 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = (int)(arg1)->GetToolSeparation();
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 resultobj = SWIG_From_int(static_cast< int >(result));
25025 return resultobj;
25026fail:
25027 return NULL;
25028}
25029
25030
25031SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25032 PyObject *resultobj = 0;
25033 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25034 int arg2 ;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 int val2 ;
25038 int ecode2 = 0 ;
25039 PyObject * obj0 = 0 ;
25040 PyObject * obj1 = 0 ;
25041 char * kwnames[] = {
25042 (char *) "self",(char *) "nRows", NULL
25043 };
25044
25045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25047 if (!SWIG_IsOK(res1)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25049 }
25050 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25051 ecode2 = SWIG_AsVal_int(obj1, &val2);
25052 if (!SWIG_IsOK(ecode2)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25054 }
25055 arg2 = static_cast< int >(val2);
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 (arg1)->SetRows(arg2);
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 resultobj = SWIG_Py_Void();
25063 return resultobj;
25064fail:
25065 return NULL;
25066}
25067
25068
25069SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25070 PyObject *resultobj = 0;
25071 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25072 int arg2 ;
25073 int arg3 ;
25074 void *argp1 = 0 ;
25075 int res1 = 0 ;
25076 int val2 ;
25077 int ecode2 = 0 ;
25078 int val3 ;
25079 int ecode3 = 0 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj2 = 0 ;
25083 char * kwnames[] = {
25084 (char *) "self",(char *) "rows",(char *) "cols", NULL
25085 };
25086
25087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25089 if (!SWIG_IsOK(res1)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25091 }
25092 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25093 ecode2 = SWIG_AsVal_int(obj1, &val2);
25094 if (!SWIG_IsOK(ecode2)) {
25095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25096 }
25097 arg2 = static_cast< int >(val2);
25098 ecode3 = SWIG_AsVal_int(obj2, &val3);
25099 if (!SWIG_IsOK(ecode3)) {
25100 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25101 }
25102 arg3 = static_cast< int >(val3);
25103 {
25104 PyThreadState* __tstate = wxPyBeginAllowThreads();
25105 (arg1)->SetMaxRowsCols(arg2,arg3);
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 resultobj = SWIG_Py_Void();
25110 return resultobj;
25111fail:
25112 return NULL;
d55e5bfc
RD
25113}
25114
25115
554f62e9
RD
25116SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25117 PyObject *resultobj = 0;
25118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25119 int result;
25120 void *argp1 = 0 ;
25121 int res1 = 0 ;
25122 PyObject *swig_obj[1] ;
25123
25124 if (!args) SWIG_fail;
25125 swig_obj[0] = args;
25126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25127 if (!SWIG_IsOK(res1)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25129 }
25130 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 result = (int)(arg1)->GetMaxRows();
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 resultobj = SWIG_From_int(static_cast< int >(result));
25138 return resultobj;
25139fail:
25140 return NULL;
d55e5bfc
RD
25141}
25142
25143
554f62e9
RD
25144SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25145 PyObject *resultobj = 0;
25146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25147 int result;
25148 void *argp1 = 0 ;
25149 int res1 = 0 ;
25150 PyObject *swig_obj[1] ;
25151
25152 if (!args) SWIG_fail;
25153 swig_obj[0] = args;
25154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25155 if (!SWIG_IsOK(res1)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25157 }
25158 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (int)(arg1)->GetMaxCols();
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = SWIG_From_int(static_cast< int >(result));
25166 return resultobj;
25167fail:
25168 return NULL;
25169}
25170
25171
25172SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj = 0;
25174 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25175 wxSize *arg2 = 0 ;
25176 void *argp1 = 0 ;
25177 int res1 = 0 ;
25178 wxSize temp2 ;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 char * kwnames[] = {
25182 (char *) "self",(char *) "size", NULL
25183 };
25184
25185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25187 if (!SWIG_IsOK(res1)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25189 }
25190 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25191 {
25192 arg2 = &temp2;
25193 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25194 }
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 resultobj = SWIG_Py_Void();
25202 return resultobj;
25203fail:
25204 return NULL;
d55e5bfc
RD
25205}
25206
25207
554f62e9
RD
25208SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25209 PyObject *resultobj = 0;
25210 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25211 wxSize result;
25212 void *argp1 = 0 ;
25213 int res1 = 0 ;
25214 PyObject *swig_obj[1] ;
25215
25216 if (!args) SWIG_fail;
25217 swig_obj[0] = args;
25218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25219 if (!SWIG_IsOK(res1)) {
25220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25221 }
25222 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 result = (arg1)->GetToolBitmapSize();
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25230 return resultobj;
25231fail:
25232 return NULL;
d55e5bfc
RD
25233}
25234
25235
554f62e9
RD
25236SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25237 PyObject *resultobj = 0;
25238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25239 wxSize result;
25240 void *argp1 = 0 ;
25241 int res1 = 0 ;
25242 PyObject *swig_obj[1] ;
25243
25244 if (!args) SWIG_fail;
25245 swig_obj[0] = args;
25246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25247 if (!SWIG_IsOK(res1)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25249 }
25250 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25251 {
25252 PyThreadState* __tstate = wxPyBeginAllowThreads();
25253 result = (arg1)->GetToolSize();
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
25257 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25258 return resultobj;
25259fail:
25260 return NULL;
25261}
25262
25263
25264SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj = 0;
25266 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25267 int arg2 ;
25268 int arg3 ;
25269 wxToolBarToolBase *result = 0 ;
25270 void *argp1 = 0 ;
25271 int res1 = 0 ;
25272 int val2 ;
25273 int ecode2 = 0 ;
25274 int val3 ;
25275 int ecode3 = 0 ;
25276 PyObject * obj0 = 0 ;
25277 PyObject * obj1 = 0 ;
25278 PyObject * obj2 = 0 ;
25279 char * kwnames[] = {
25280 (char *) "self",(char *) "x",(char *) "y", NULL
25281 };
25282
25283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25285 if (!SWIG_IsOK(res1)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25287 }
25288 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25289 ecode2 = SWIG_AsVal_int(obj1, &val2);
25290 if (!SWIG_IsOK(ecode2)) {
25291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25292 }
25293 arg2 = static_cast< int >(val2);
25294 ecode3 = SWIG_AsVal_int(obj2, &val3);
25295 if (!SWIG_IsOK(ecode3)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25297 }
25298 arg3 = static_cast< int >(val3);
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 {
25306 resultobj = wxPyMake_wxObject(result, (bool)0);
25307 }
25308 return resultobj;
25309fail:
25310 return NULL;
25311}
25312
25313
25314SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25315 PyObject *resultobj = 0;
25316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25317 int arg2 ;
25318 wxToolBarToolBase *result = 0 ;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 int val2 ;
25322 int ecode2 = 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char * kwnames[] = {
25326 (char *) "self",(char *) "toolid", NULL
25327 };
25328
25329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25333 }
25334 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25335 ecode2 = SWIG_AsVal_int(obj1, &val2);
25336 if (!SWIG_IsOK(ecode2)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25338 }
25339 arg2 = static_cast< int >(val2);
25340 {
25341 PyThreadState* __tstate = wxPyBeginAllowThreads();
25342 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 {
25347 resultobj = wxPyMake_wxObject(result, (bool)0);
25348 }
25349 return resultobj;
25350fail:
25351 return NULL;
d55e5bfc
RD
25352}
25353
25354
554f62e9
RD
25355SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25356 PyObject *resultobj = 0;
25357 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25358 bool result;
25359 void *argp1 = 0 ;
25360 int res1 = 0 ;
25361 PyObject *swig_obj[1] ;
25362
25363 if (!args) SWIG_fail;
25364 swig_obj[0] = args;
25365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25368 }
25369 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (bool)(arg1)->IsVertical();
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 {
25377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25378 }
25379 return resultobj;
25380fail:
25381 return NULL;
d55e5bfc
RD
25382}
25383
25384
554f62e9
RD
25385SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25386 PyObject *resultobj = 0;
25387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25388 size_t result;
25389 void *argp1 = 0 ;
25390 int res1 = 0 ;
25391 PyObject *swig_obj[1] ;
25392
25393 if (!args) SWIG_fail;
25394 swig_obj[0] = args;
25395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25396 if (!SWIG_IsOK(res1)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25398 }
25399 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25400 {
25401 PyThreadState* __tstate = wxPyBeginAllowThreads();
25402 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25407 return resultobj;
25408fail:
25409 return NULL;
25410}
25411
25412
25413SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25414 PyObject *obj;
25415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25416 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25417 return SWIG_Py_Void();
25418}
25419
25420SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj = 0;
25422 wxWindow *arg1 = (wxWindow *) 0 ;
25423 int arg2 = (int) -1 ;
25424 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25425 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25426 wxSize const &arg4_defvalue = wxDefaultSize ;
25427 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25428 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25429 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25430 wxString *arg6 = (wxString *) &arg6_defvalue ;
25431 wxToolBar *result = 0 ;
25432 void *argp1 = 0 ;
25433 int res1 = 0 ;
25434 int val2 ;
25435 int ecode2 = 0 ;
25436 wxPoint temp3 ;
25437 wxSize temp4 ;
25438 long val5 ;
25439 int ecode5 = 0 ;
25440 bool temp6 = false ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 PyObject * obj2 = 0 ;
25444 PyObject * obj3 = 0 ;
25445 PyObject * obj4 = 0 ;
25446 PyObject * obj5 = 0 ;
25447 char * kwnames[] = {
25448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25449 };
25450
25451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25453 if (!SWIG_IsOK(res1)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25455 }
25456 arg1 = reinterpret_cast< wxWindow * >(argp1);
25457 if (obj1) {
25458 ecode2 = SWIG_AsVal_int(obj1, &val2);
25459 if (!SWIG_IsOK(ecode2)) {
25460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25461 }
25462 arg2 = static_cast< int >(val2);
25463 }
25464 if (obj2) {
d55e5bfc 25465 {
554f62e9
RD
25466 arg3 = &temp3;
25467 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25468 }
554f62e9
RD
25469 }
25470 if (obj3) {
093d3ff1 25471 {
554f62e9
RD
25472 arg4 = &temp4;
25473 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25474 }
554f62e9
RD
25475 }
25476 if (obj4) {
25477 ecode5 = SWIG_AsVal_long(obj4, &val5);
25478 if (!SWIG_IsOK(ecode5)) {
25479 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25480 }
25481 arg5 = static_cast< long >(val5);
25482 }
25483 if (obj5) {
d55e5bfc 25484 {
554f62e9
RD
25485 arg6 = wxString_in_helper(obj5);
25486 if (arg6 == NULL) SWIG_fail;
25487 temp6 = true;
d55e5bfc 25488 }
554f62e9
RD
25489 }
25490 {
25491 if (!wxPyCheckForApp()) SWIG_fail;
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25498 {
25499 if (temp6)
25500 delete arg6;
25501 }
25502 return resultobj;
25503fail:
25504 {
25505 if (temp6)
25506 delete arg6;
25507 }
25508 return NULL;
d55e5bfc
RD
25509}
25510
25511
554f62e9
RD
25512SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25513 PyObject *resultobj = 0;
25514 wxToolBar *result = 0 ;
25515
25516 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25517 {
25518 if (!wxPyCheckForApp()) SWIG_fail;
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (wxToolBar *)new wxToolBar();
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25525 return resultobj;
25526fail:
25527 return NULL;
25528}
25529
25530
25531SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25532 PyObject *resultobj = 0;
25533 wxToolBar *arg1 = (wxToolBar *) 0 ;
25534 wxWindow *arg2 = (wxWindow *) 0 ;
25535 int arg3 = (int) -1 ;
25536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25538 wxSize const &arg5_defvalue = wxDefaultSize ;
25539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25540 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25541 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25542 wxString *arg7 = (wxString *) &arg7_defvalue ;
25543 bool result;
25544 void *argp1 = 0 ;
25545 int res1 = 0 ;
25546 void *argp2 = 0 ;
25547 int res2 = 0 ;
25548 int val3 ;
25549 int ecode3 = 0 ;
25550 wxPoint temp4 ;
25551 wxSize temp5 ;
25552 long val6 ;
25553 int ecode6 = 0 ;
25554 bool temp7 = false ;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 PyObject * obj2 = 0 ;
25558 PyObject * obj3 = 0 ;
25559 PyObject * obj4 = 0 ;
25560 PyObject * obj5 = 0 ;
25561 PyObject * obj6 = 0 ;
25562 char * kwnames[] = {
25563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25564 };
25565
25566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25568 if (!SWIG_IsOK(res1)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25570 }
25571 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25572 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25573 if (!SWIG_IsOK(res2)) {
25574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25575 }
25576 arg2 = reinterpret_cast< wxWindow * >(argp2);
25577 if (obj2) {
25578 ecode3 = SWIG_AsVal_int(obj2, &val3);
25579 if (!SWIG_IsOK(ecode3)) {
25580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25581 }
25582 arg3 = static_cast< int >(val3);
25583 }
25584 if (obj3) {
d55e5bfc 25585 {
554f62e9
RD
25586 arg4 = &temp4;
25587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25588 }
554f62e9
RD
25589 }
25590 if (obj4) {
093d3ff1 25591 {
554f62e9
RD
25592 arg5 = &temp5;
25593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 25594 }
554f62e9
RD
25595 }
25596 if (obj5) {
25597 ecode6 = SWIG_AsVal_long(obj5, &val6);
25598 if (!SWIG_IsOK(ecode6)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25600 }
25601 arg6 = static_cast< long >(val6);
25602 }
25603 if (obj6) {
25604 {
25605 arg7 = wxString_in_helper(obj6);
25606 if (arg7 == NULL) SWIG_fail;
25607 temp7 = true;
25608 }
25609 }
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 {
25617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25618 }
25619 {
25620 if (temp7)
25621 delete arg7;
25622 }
25623 return resultobj;
25624fail:
25625 {
25626 if (temp7)
25627 delete arg7;
25628 }
25629 return NULL;
25630}
25631
25632
554f62e9
RD
25633SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25634 PyObject *resultobj = 0;
25635 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25636 SwigValueWrapper<wxVisualAttributes > result;
25637 int val1 ;
25638 int ecode1 = 0 ;
25639 PyObject * obj0 = 0 ;
25640 char * kwnames[] = {
25641 (char *) "variant", NULL
25642 };
25643
25644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25645 if (obj0) {
25646 ecode1 = SWIG_AsVal_int(obj0, &val1);
25647 if (!SWIG_IsOK(ecode1)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25649 }
25650 arg1 = static_cast< wxWindowVariant >(val1);
25651 }
25652 {
25653 if (!wxPyCheckForApp()) SWIG_fail;
25654 PyThreadState* __tstate = wxPyBeginAllowThreads();
25655 result = wxToolBar::GetClassDefaultAttributes(arg1);
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25660 return resultobj;
25661fail:
25662 return NULL;
d55e5bfc
RD
25663}
25664
25665
554f62e9
RD
25666SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25667 PyObject *obj;
25668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25669 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25670 return SWIG_Py_Void();
d55e5bfc
RD
25671}
25672
554f62e9
RD
25673SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25674 return SWIG_Python_InitShadowInstance(args);
25675}
d55e5bfc 25676
554f62e9
RD
25677SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25678 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25679 return 1;
d55e5bfc
RD
25680}
25681
25682
554f62e9
RD
25683SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25684 PyObject *pyobj = 0;
25685
25686 {
25687#if wxUSE_UNICODE
25688 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25689#else
25690 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25691#endif
25692 }
25693 return pyobj;
25694}
25695
25696
25697SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25698 PyObject *resultobj = 0;
25699 wxColour const &arg1_defvalue = wxNullColour ;
25700 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25701 wxColour const &arg2_defvalue = wxNullColour ;
25702 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
25703 wxFont const &arg3_defvalue = wxNullFont ;
25704 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
25705 wxListItemAttr *result = 0 ;
25706 wxColour temp1 ;
25707 wxColour temp2 ;
25708 void *argp3 = 0 ;
25709 int res3 = 0 ;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 PyObject * obj2 = 0 ;
25713 char * kwnames[] = {
25714 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25715 };
25716
25717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25718 if (obj0) {
093d3ff1 25719 {
554f62e9
RD
25720 arg1 = &temp1;
25721 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 25722 }
554f62e9
RD
25723 }
25724 if (obj1) {
d55e5bfc 25725 {
554f62e9
RD
25726 arg2 = &temp2;
25727 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 25728 }
554f62e9
RD
25729 }
25730 if (obj2) {
25731 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
25732 if (!SWIG_IsOK(res3)) {
25733 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25734 }
25735 if (!argp3) {
25736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25737 }
25738 arg3 = reinterpret_cast< wxFont * >(argp3);
25739 }
25740 {
25741 PyThreadState* __tstate = wxPyBeginAllowThreads();
25742 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
25747 return resultobj;
25748fail:
25749 return NULL;
d55e5bfc
RD
25750}
25751
25752
554f62e9
RD
25753SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25754 PyObject *resultobj = 0;
25755 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25756 void *argp1 = 0 ;
25757 int res1 = 0 ;
25758 PyObject *swig_obj[1] ;
25759
25760 if (!args) SWIG_fail;
25761 swig_obj[0] = args;
25762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
25763 if (!SWIG_IsOK(res1)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25765 }
25766 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 delete arg1;
d55e5bfc 25770
554f62e9
RD
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 resultobj = SWIG_Py_Void();
25775 return resultobj;
25776fail:
25777 return NULL;
25778}
25779
25780
25781SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj = 0;
25783 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25784 wxColour *arg2 = 0 ;
25785 void *argp1 = 0 ;
25786 int res1 = 0 ;
25787 wxColour temp2 ;
25788 PyObject * obj0 = 0 ;
25789 PyObject * obj1 = 0 ;
25790 char * kwnames[] = {
25791 (char *) "self",(char *) "colText", NULL
25792 };
25793
25794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
25795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25796 if (!SWIG_IsOK(res1)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25798 }
25799 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25800 {
25801 arg2 = &temp2;
25802 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25803 }
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 (arg1)->SetTextColour((wxColour const &)*arg2);
25807 wxPyEndAllowThreads(__tstate);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 resultobj = SWIG_Py_Void();
25811 return resultobj;
25812fail:
25813 return NULL;
25814}
25815
25816
25817SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25818 PyObject *resultobj = 0;
25819 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25820 wxColour *arg2 = 0 ;
25821 void *argp1 = 0 ;
25822 int res1 = 0 ;
25823 wxColour temp2 ;
25824 PyObject * obj0 = 0 ;
25825 PyObject * obj1 = 0 ;
25826 char * kwnames[] = {
25827 (char *) "self",(char *) "colBack", NULL
25828 };
25829
25830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
25831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25832 if (!SWIG_IsOK(res1)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25834 }
25835 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25836 {
25837 arg2 = &temp2;
25838 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25839 }
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
25846 resultobj = SWIG_Py_Void();
25847 return resultobj;
25848fail:
25849 return NULL;
25850}
25851
25852
25853SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25854 PyObject *resultobj = 0;
25855 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25856 wxFont *arg2 = 0 ;
25857 void *argp1 = 0 ;
25858 int res1 = 0 ;
25859 void *argp2 = 0 ;
25860 int res2 = 0 ;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char * kwnames[] = {
25864 (char *) "self",(char *) "font", NULL
25865 };
25866
25867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
25868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25869 if (!SWIG_IsOK(res1)) {
25870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25871 }
25872 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
25874 if (!SWIG_IsOK(res2)) {
25875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25876 }
25877 if (!argp2) {
25878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25879 }
25880 arg2 = reinterpret_cast< wxFont * >(argp2);
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 (arg1)->SetFont((wxFont const &)*arg2);
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 resultobj = SWIG_Py_Void();
25888 return resultobj;
25889fail:
25890 return NULL;
d55e5bfc
RD
25891}
25892
25893
554f62e9
RD
25894SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25895 PyObject *resultobj = 0;
25896 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25897 bool result;
25898 void *argp1 = 0 ;
25899 int res1 = 0 ;
25900 PyObject *swig_obj[1] ;
25901
25902 if (!args) SWIG_fail;
25903 swig_obj[0] = args;
25904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25905 if (!SWIG_IsOK(res1)) {
25906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25907 }
25908 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 result = (bool)(arg1)->HasTextColour();
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 {
25916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25917 }
25918 return resultobj;
25919fail:
25920 return NULL;
d55e5bfc
RD
25921}
25922
25923
554f62e9
RD
25924SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25925 PyObject *resultobj = 0;
25926 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25927 bool result;
25928 void *argp1 = 0 ;
25929 int res1 = 0 ;
25930 PyObject *swig_obj[1] ;
25931
25932 if (!args) SWIG_fail;
25933 swig_obj[0] = args;
25934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25935 if (!SWIG_IsOK(res1)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25937 }
25938 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 result = (bool)(arg1)->HasBackgroundColour();
25942 wxPyEndAllowThreads(__tstate);
25943 if (PyErr_Occurred()) SWIG_fail;
25944 }
25945 {
25946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25947 }
25948 return resultobj;
25949fail:
25950 return NULL;
d55e5bfc
RD
25951}
25952
25953
554f62e9
RD
25954SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25955 PyObject *resultobj = 0;
25956 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25957 bool result;
25958 void *argp1 = 0 ;
25959 int res1 = 0 ;
25960 PyObject *swig_obj[1] ;
25961
25962 if (!args) SWIG_fail;
25963 swig_obj[0] = args;
25964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25965 if (!SWIG_IsOK(res1)) {
25966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25967 }
25968 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (bool)(arg1)->HasFont();
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 {
25976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25977 }
25978 return resultobj;
25979fail:
25980 return NULL;
d55e5bfc
RD
25981}
25982
25983
554f62e9
RD
25984SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25985 PyObject *resultobj = 0;
25986 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25987 wxColour result;
25988 void *argp1 = 0 ;
25989 int res1 = 0 ;
25990 PyObject *swig_obj[1] ;
25991
25992 if (!args) SWIG_fail;
25993 swig_obj[0] = args;
25994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25995 if (!SWIG_IsOK(res1)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25997 }
25998 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 result = (arg1)->GetTextColour();
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26006 return resultobj;
26007fail:
26008 return NULL;
d55e5bfc
RD
26009}
26010
26011
554f62e9
RD
26012SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26013 PyObject *resultobj = 0;
26014 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26015 wxColour result;
26016 void *argp1 = 0 ;
26017 int res1 = 0 ;
26018 PyObject *swig_obj[1] ;
26019
26020 if (!args) SWIG_fail;
26021 swig_obj[0] = args;
26022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26023 if (!SWIG_IsOK(res1)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26025 }
26026 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26027 {
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 result = (arg1)->GetBackgroundColour();
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26034 return resultobj;
26035fail:
26036 return NULL;
d55e5bfc
RD
26037}
26038
26039
554f62e9
RD
26040SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26041 PyObject *resultobj = 0;
26042 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26043 wxFont result;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046 PyObject *swig_obj[1] ;
26047
26048 if (!args) SWIG_fail;
26049 swig_obj[0] = args;
26050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26051 if (!SWIG_IsOK(res1)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26053 }
26054 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (arg1)->GetFont();
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26062 return resultobj;
26063fail:
26064 return NULL;
26065}
26066
26067
26068SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj = 0;
26070 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26071 wxListItemAttr *arg2 = 0 ;
26072 void *argp1 = 0 ;
26073 int res1 = 0 ;
26074 void *argp2 = 0 ;
26075 int res2 = 0 ;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 char * kwnames[] = {
26079 (char *) "self",(char *) "source", NULL
26080 };
26081
26082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26084 if (!SWIG_IsOK(res1)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26086 }
26087 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26088 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26089 if (!SWIG_IsOK(res2)) {
26090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26091 }
26092 if (!argp2) {
26093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26094 }
26095 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 resultobj = SWIG_Py_Void();
26103 return resultobj;
26104fail:
26105 return NULL;
d55e5bfc
RD
26106}
26107
26108
554f62e9
RD
26109SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26110 PyObject *resultobj = 0;
26111 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26112 void *argp1 = 0 ;
26113 int res1 = 0 ;
26114 PyObject *swig_obj[1] ;
26115
26116 if (!args) SWIG_fail;
26117 swig_obj[0] = args;
26118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26119 if (!SWIG_IsOK(res1)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26121 }
26122 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 wxListItemAttr_Destroy(arg1);
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 resultobj = SWIG_Py_Void();
26130 return resultobj;
26131fail:
26132 return NULL;
f20a2e1f
RD
26133}
26134
26135
554f62e9
RD
26136SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26137 PyObject *obj;
26138 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26139 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26140 return SWIG_Py_Void();
d55e5bfc 26141}
554f62e9
RD
26142
26143SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26144 return SWIG_Python_InitShadowInstance(args);
26145}
26146
26147SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26148 PyObject *resultobj = 0;
26149 wxListItem *result = 0 ;
26150
26151 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (wxListItem *)new wxListItem();
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26160 }
26161 return resultobj;
26162fail:
26163 return NULL;
d55e5bfc
RD
26164}
26165
26166
554f62e9
RD
26167SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26168 PyObject *resultobj = 0;
26169 wxListItem *arg1 = (wxListItem *) 0 ;
26170 void *argp1 = 0 ;
26171 int res1 = 0 ;
26172 PyObject *swig_obj[1] ;
26173
26174 if (!args) SWIG_fail;
26175 swig_obj[0] = args;
26176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26177 if (!SWIG_IsOK(res1)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26179 }
26180 arg1 = reinterpret_cast< wxListItem * >(argp1);
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 delete arg1;
d55e5bfc 26184
554f62e9
RD
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 resultobj = SWIG_Py_Void();
26189 return resultobj;
26190fail:
26191 return NULL;
d55e5bfc
RD
26192}
26193
26194
554f62e9
RD
26195SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxListItem *arg1 = (wxListItem *) 0 ;
26198 void *argp1 = 0 ;
26199 int res1 = 0 ;
26200 PyObject *swig_obj[1] ;
26201
26202 if (!args) SWIG_fail;
26203 swig_obj[0] = args;
26204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26207 }
26208 arg1 = reinterpret_cast< wxListItem * >(argp1);
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 (arg1)->Clear();
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = SWIG_Py_Void();
26216 return resultobj;
26217fail:
26218 return NULL;
d55e5bfc
RD
26219}
26220
26221
554f62e9
RD
26222SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26223 PyObject *resultobj = 0;
26224 wxListItem *arg1 = (wxListItem *) 0 ;
26225 void *argp1 = 0 ;
26226 int res1 = 0 ;
26227 PyObject *swig_obj[1] ;
26228
26229 if (!args) SWIG_fail;
26230 swig_obj[0] = args;
26231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26232 if (!SWIG_IsOK(res1)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26234 }
26235 arg1 = reinterpret_cast< wxListItem * >(argp1);
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 (arg1)->ClearAttributes();
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 resultobj = SWIG_Py_Void();
26243 return resultobj;
26244fail:
26245 return NULL;
26246}
26247
26248
26249SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26250 PyObject *resultobj = 0;
26251 wxListItem *arg1 = (wxListItem *) 0 ;
26252 long arg2 ;
26253 void *argp1 = 0 ;
26254 int res1 = 0 ;
26255 long val2 ;
26256 int ecode2 = 0 ;
26257 PyObject * obj0 = 0 ;
26258 PyObject * obj1 = 0 ;
26259 char * kwnames[] = {
26260 (char *) "self",(char *) "mask", NULL
26261 };
26262
26263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26265 if (!SWIG_IsOK(res1)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26267 }
26268 arg1 = reinterpret_cast< wxListItem * >(argp1);
26269 ecode2 = SWIG_AsVal_long(obj1, &val2);
26270 if (!SWIG_IsOK(ecode2)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26272 }
26273 arg2 = static_cast< long >(val2);
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 (arg1)->SetMask(arg2);
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 resultobj = SWIG_Py_Void();
26281 return resultobj;
26282fail:
26283 return NULL;
26284}
26285
26286
26287SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26288 PyObject *resultobj = 0;
26289 wxListItem *arg1 = (wxListItem *) 0 ;
26290 long arg2 ;
26291 void *argp1 = 0 ;
26292 int res1 = 0 ;
26293 long val2 ;
26294 int ecode2 = 0 ;
26295 PyObject * obj0 = 0 ;
26296 PyObject * obj1 = 0 ;
26297 char * kwnames[] = {
26298 (char *) "self",(char *) "id", NULL
26299 };
26300
26301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26303 if (!SWIG_IsOK(res1)) {
26304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26305 }
26306 arg1 = reinterpret_cast< wxListItem * >(argp1);
26307 ecode2 = SWIG_AsVal_long(obj1, &val2);
26308 if (!SWIG_IsOK(ecode2)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26310 }
26311 arg2 = static_cast< long >(val2);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 (arg1)->SetId(arg2);
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 resultobj = SWIG_Py_Void();
26319 return resultobj;
26320fail:
26321 return NULL;
26322}
26323
26324
26325SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26326 PyObject *resultobj = 0;
26327 wxListItem *arg1 = (wxListItem *) 0 ;
26328 int arg2 ;
26329 void *argp1 = 0 ;
26330 int res1 = 0 ;
26331 int val2 ;
26332 int ecode2 = 0 ;
26333 PyObject * obj0 = 0 ;
26334 PyObject * obj1 = 0 ;
26335 char * kwnames[] = {
26336 (char *) "self",(char *) "col", NULL
26337 };
26338
26339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26341 if (!SWIG_IsOK(res1)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26343 }
26344 arg1 = reinterpret_cast< wxListItem * >(argp1);
26345 ecode2 = SWIG_AsVal_int(obj1, &val2);
26346 if (!SWIG_IsOK(ecode2)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26348 }
26349 arg2 = static_cast< int >(val2);
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 (arg1)->SetColumn(arg2);
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 resultobj = SWIG_Py_Void();
26357 return resultobj;
26358fail:
26359 return NULL;
26360}
26361
26362
26363SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26364 PyObject *resultobj = 0;
26365 wxListItem *arg1 = (wxListItem *) 0 ;
26366 long arg2 ;
26367 void *argp1 = 0 ;
26368 int res1 = 0 ;
26369 long val2 ;
26370 int ecode2 = 0 ;
26371 PyObject * obj0 = 0 ;
26372 PyObject * obj1 = 0 ;
26373 char * kwnames[] = {
26374 (char *) "self",(char *) "state", NULL
26375 };
26376
26377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26379 if (!SWIG_IsOK(res1)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26381 }
26382 arg1 = reinterpret_cast< wxListItem * >(argp1);
26383 ecode2 = SWIG_AsVal_long(obj1, &val2);
26384 if (!SWIG_IsOK(ecode2)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26386 }
26387 arg2 = static_cast< long >(val2);
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 (arg1)->SetState(arg2);
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 resultobj = SWIG_Py_Void();
26395 return resultobj;
26396fail:
26397 return NULL;
26398}
26399
26400
26401SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26402 PyObject *resultobj = 0;
26403 wxListItem *arg1 = (wxListItem *) 0 ;
26404 long arg2 ;
26405 void *argp1 = 0 ;
26406 int res1 = 0 ;
26407 long val2 ;
26408 int ecode2 = 0 ;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char * kwnames[] = {
26412 (char *) "self",(char *) "stateMask", NULL
26413 };
26414
26415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26417 if (!SWIG_IsOK(res1)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26419 }
26420 arg1 = reinterpret_cast< wxListItem * >(argp1);
26421 ecode2 = SWIG_AsVal_long(obj1, &val2);
26422 if (!SWIG_IsOK(ecode2)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26424 }
26425 arg2 = static_cast< long >(val2);
26426 {
26427 PyThreadState* __tstate = wxPyBeginAllowThreads();
26428 (arg1)->SetStateMask(arg2);
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
26432 resultobj = SWIG_Py_Void();
26433 return resultobj;
26434fail:
26435 return NULL;
26436}
26437
26438
26439SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj = 0;
26441 wxListItem *arg1 = (wxListItem *) 0 ;
26442 wxString *arg2 = 0 ;
26443 void *argp1 = 0 ;
26444 int res1 = 0 ;
26445 bool temp2 = false ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char * kwnames[] = {
26449 (char *) "self",(char *) "text", NULL
26450 };
26451
26452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26454 if (!SWIG_IsOK(res1)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26456 }
26457 arg1 = reinterpret_cast< wxListItem * >(argp1);
26458 {
26459 arg2 = wxString_in_helper(obj1);
26460 if (arg2 == NULL) SWIG_fail;
26461 temp2 = true;
26462 }
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->SetText((wxString const &)*arg2);
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_Py_Void();
26470 {
26471 if (temp2)
26472 delete arg2;
26473 }
26474 return resultobj;
26475fail:
26476 {
26477 if (temp2)
26478 delete arg2;
26479 }
26480 return NULL;
26481}
26482
26483
26484SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj = 0;
26486 wxListItem *arg1 = (wxListItem *) 0 ;
26487 int arg2 ;
26488 void *argp1 = 0 ;
26489 int res1 = 0 ;
26490 int val2 ;
26491 int ecode2 = 0 ;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char * kwnames[] = {
26495 (char *) "self",(char *) "image", NULL
26496 };
26497
26498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26500 if (!SWIG_IsOK(res1)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26502 }
26503 arg1 = reinterpret_cast< wxListItem * >(argp1);
26504 ecode2 = SWIG_AsVal_int(obj1, &val2);
26505 if (!SWIG_IsOK(ecode2)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26507 }
26508 arg2 = static_cast< int >(val2);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 (arg1)->SetImage(arg2);
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_Py_Void();
26516 return resultobj;
26517fail:
26518 return NULL;
26519}
26520
26521
26522SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxListItem *arg1 = (wxListItem *) 0 ;
26525 long arg2 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 long val2 ;
26529 int ecode2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "data", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 }
26541 arg1 = reinterpret_cast< wxListItem * >(argp1);
26542 ecode2 = SWIG_AsVal_long(obj1, &val2);
26543 if (!SWIG_IsOK(ecode2)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26545 }
26546 arg2 = static_cast< long >(val2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->SetData(arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555fail:
26556 return NULL;
26557}
26558
26559
26560SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj = 0;
26562 wxListItem *arg1 = (wxListItem *) 0 ;
26563 int arg2 ;
26564 void *argp1 = 0 ;
26565 int res1 = 0 ;
26566 int val2 ;
26567 int ecode2 = 0 ;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char * kwnames[] = {
26571 (char *) "self",(char *) "width", NULL
26572 };
26573
26574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26578 }
26579 arg1 = reinterpret_cast< wxListItem * >(argp1);
26580 ecode2 = SWIG_AsVal_int(obj1, &val2);
26581 if (!SWIG_IsOK(ecode2)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26583 }
26584 arg2 = static_cast< int >(val2);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->SetWidth(arg2);
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593fail:
26594 return NULL;
26595}
26596
26597
26598SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxListItem *arg1 = (wxListItem *) 0 ;
26601 wxListColumnFormat arg2 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 int val2 ;
26605 int ecode2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "align", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26616 }
26617 arg1 = reinterpret_cast< wxListItem * >(argp1);
26618 ecode2 = SWIG_AsVal_int(obj1, &val2);
26619 if (!SWIG_IsOK(ecode2)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26621 }
26622 arg2 = static_cast< wxListColumnFormat >(val2);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 (arg1)->SetAlign(arg2);
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_Py_Void();
26630 return resultobj;
26631fail:
26632 return NULL;
26633}
26634
26635
26636SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj = 0;
26638 wxListItem *arg1 = (wxListItem *) 0 ;
26639 wxColour *arg2 = 0 ;
26640 void *argp1 = 0 ;
26641 int res1 = 0 ;
26642 wxColour temp2 ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 char * kwnames[] = {
26646 (char *) "self",(char *) "colText", NULL
26647 };
26648
26649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26651 if (!SWIG_IsOK(res1)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26653 }
26654 arg1 = reinterpret_cast< wxListItem * >(argp1);
26655 {
26656 arg2 = &temp2;
26657 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26658 }
26659 {
26660 PyThreadState* __tstate = wxPyBeginAllowThreads();
26661 (arg1)->SetTextColour((wxColour const &)*arg2);
26662 wxPyEndAllowThreads(__tstate);
26663 if (PyErr_Occurred()) SWIG_fail;
26664 }
26665 resultobj = SWIG_Py_Void();
26666 return resultobj;
26667fail:
26668 return NULL;
26669}
26670
26671
26672SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26673 PyObject *resultobj = 0;
26674 wxListItem *arg1 = (wxListItem *) 0 ;
26675 wxColour *arg2 = 0 ;
26676 void *argp1 = 0 ;
26677 int res1 = 0 ;
26678 wxColour temp2 ;
26679 PyObject * obj0 = 0 ;
26680 PyObject * obj1 = 0 ;
26681 char * kwnames[] = {
26682 (char *) "self",(char *) "colBack", NULL
26683 };
26684
26685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26687 if (!SWIG_IsOK(res1)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26689 }
26690 arg1 = reinterpret_cast< wxListItem * >(argp1);
26691 {
26692 arg2 = &temp2;
26693 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26694 }
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26698 wxPyEndAllowThreads(__tstate);
26699 if (PyErr_Occurred()) SWIG_fail;
26700 }
26701 resultobj = SWIG_Py_Void();
26702 return resultobj;
26703fail:
26704 return NULL;
26705}
26706
26707
26708SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26709 PyObject *resultobj = 0;
26710 wxListItem *arg1 = (wxListItem *) 0 ;
26711 wxFont *arg2 = 0 ;
26712 void *argp1 = 0 ;
26713 int res1 = 0 ;
26714 void *argp2 = 0 ;
26715 int res2 = 0 ;
26716 PyObject * obj0 = 0 ;
26717 PyObject * obj1 = 0 ;
26718 char * kwnames[] = {
26719 (char *) "self",(char *) "font", NULL
26720 };
26721
26722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26724 if (!SWIG_IsOK(res1)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26726 }
26727 arg1 = reinterpret_cast< wxListItem * >(argp1);
26728 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26729 if (!SWIG_IsOK(res2)) {
26730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26731 }
26732 if (!argp2) {
26733 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26734 }
26735 arg2 = reinterpret_cast< wxFont * >(argp2);
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 (arg1)->SetFont((wxFont const &)*arg2);
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
26742 resultobj = SWIG_Py_Void();
26743 return resultobj;
26744fail:
26745 return NULL;
d55e5bfc
RD
26746}
26747
26748
554f62e9
RD
26749SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26750 PyObject *resultobj = 0;
26751 wxListItem *arg1 = (wxListItem *) 0 ;
26752 long result;
26753 void *argp1 = 0 ;
26754 int res1 = 0 ;
26755 PyObject *swig_obj[1] ;
26756
26757 if (!args) SWIG_fail;
26758 swig_obj[0] = args;
26759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26760 if (!SWIG_IsOK(res1)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26762 }
26763 arg1 = reinterpret_cast< wxListItem * >(argp1);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 result = (long)(arg1)->GetMask();
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = SWIG_From_long(static_cast< long >(result));
26771 return resultobj;
26772fail:
26773 return NULL;
d55e5bfc
RD
26774}
26775
26776
554f62e9
RD
26777SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26778 PyObject *resultobj = 0;
26779 wxListItem *arg1 = (wxListItem *) 0 ;
26780 long result;
26781 void *argp1 = 0 ;
26782 int res1 = 0 ;
26783 PyObject *swig_obj[1] ;
26784
26785 if (!args) SWIG_fail;
26786 swig_obj[0] = args;
26787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26788 if (!SWIG_IsOK(res1)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26790 }
26791 arg1 = reinterpret_cast< wxListItem * >(argp1);
26792 {
26793 PyThreadState* __tstate = wxPyBeginAllowThreads();
26794 result = (long)(arg1)->GetId();
26795 wxPyEndAllowThreads(__tstate);
26796 if (PyErr_Occurred()) SWIG_fail;
26797 }
26798 resultobj = SWIG_From_long(static_cast< long >(result));
26799 return resultobj;
26800fail:
26801 return NULL;
d55e5bfc
RD
26802}
26803
26804
554f62e9
RD
26805SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26806 PyObject *resultobj = 0;
26807 wxListItem *arg1 = (wxListItem *) 0 ;
26808 int result;
26809 void *argp1 = 0 ;
26810 int res1 = 0 ;
26811 PyObject *swig_obj[1] ;
26812
26813 if (!args) SWIG_fail;
26814 swig_obj[0] = args;
26815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26816 if (!SWIG_IsOK(res1)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26818 }
26819 arg1 = reinterpret_cast< wxListItem * >(argp1);
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (int)(arg1)->GetColumn();
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 resultobj = SWIG_From_int(static_cast< int >(result));
26827 return resultobj;
26828fail:
26829 return NULL;
d55e5bfc
RD
26830}
26831
26832
554f62e9
RD
26833SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26834 PyObject *resultobj = 0;
26835 wxListItem *arg1 = (wxListItem *) 0 ;
26836 long result;
26837 void *argp1 = 0 ;
26838 int res1 = 0 ;
26839 PyObject *swig_obj[1] ;
26840
26841 if (!args) SWIG_fail;
26842 swig_obj[0] = args;
26843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26844 if (!SWIG_IsOK(res1)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26846 }
26847 arg1 = reinterpret_cast< wxListItem * >(argp1);
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (long)(arg1)->GetState();
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 resultobj = SWIG_From_long(static_cast< long >(result));
26855 return resultobj;
26856fail:
26857 return NULL;
d55e5bfc
RD
26858}
26859
26860
554f62e9
RD
26861SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26862 PyObject *resultobj = 0;
26863 wxListItem *arg1 = (wxListItem *) 0 ;
26864 wxString *result = 0 ;
26865 void *argp1 = 0 ;
26866 int res1 = 0 ;
26867 PyObject *swig_obj[1] ;
26868
26869 if (!args) SWIG_fail;
26870 swig_obj[0] = args;
26871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26872 if (!SWIG_IsOK(res1)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 }
26875 arg1 = reinterpret_cast< wxListItem * >(argp1);
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26878 {
554f62e9
RD
26879 wxString const &_result_ref = (arg1)->GetText();
26880 result = (wxString *) &_result_ref;
26881 }
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
d55e5bfc 26886#if wxUSE_UNICODE
554f62e9 26887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 26888#else
554f62e9 26889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 26890#endif
554f62e9
RD
26891 }
26892 return resultobj;
26893fail:
26894 return NULL;
d55e5bfc
RD
26895}
26896
26897
554f62e9
RD
26898SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26899 PyObject *resultobj = 0;
26900 wxListItem *arg1 = (wxListItem *) 0 ;
26901 int result;
26902 void *argp1 = 0 ;
26903 int res1 = 0 ;
26904 PyObject *swig_obj[1] ;
26905
26906 if (!args) SWIG_fail;
26907 swig_obj[0] = args;
26908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26909 if (!SWIG_IsOK(res1)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26911 }
26912 arg1 = reinterpret_cast< wxListItem * >(argp1);
26913 {
26914 PyThreadState* __tstate = wxPyBeginAllowThreads();
26915 result = (int)(arg1)->GetImage();
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 resultobj = SWIG_From_int(static_cast< int >(result));
26920 return resultobj;
26921fail:
26922 return NULL;
d55e5bfc
RD
26923}
26924
26925
554f62e9
RD
26926SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26927 PyObject *resultobj = 0;
26928 wxListItem *arg1 = (wxListItem *) 0 ;
26929 long result;
26930 void *argp1 = 0 ;
26931 int res1 = 0 ;
26932 PyObject *swig_obj[1] ;
26933
26934 if (!args) SWIG_fail;
26935 swig_obj[0] = args;
26936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26937 if (!SWIG_IsOK(res1)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26939 }
26940 arg1 = reinterpret_cast< wxListItem * >(argp1);
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 result = (long)(arg1)->GetData();
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 resultobj = SWIG_From_long(static_cast< long >(result));
26948 return resultobj;
26949fail:
26950 return NULL;
8fb0e70a
RD
26951}
26952
26953
554f62e9
RD
26954SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26955 PyObject *resultobj = 0;
26956 wxListItem *arg1 = (wxListItem *) 0 ;
26957 int result;
26958 void *argp1 = 0 ;
26959 int res1 = 0 ;
26960 PyObject *swig_obj[1] ;
26961
26962 if (!args) SWIG_fail;
26963 swig_obj[0] = args;
26964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26965 if (!SWIG_IsOK(res1)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26967 }
26968 arg1 = reinterpret_cast< wxListItem * >(argp1);
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (int)(arg1)->GetWidth();
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 resultobj = SWIG_From_int(static_cast< int >(result));
26976 return resultobj;
26977fail:
26978 return NULL;
d55e5bfc
RD
26979}
26980
26981
554f62e9
RD
26982SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26983 PyObject *resultobj = 0;
26984 wxListItem *arg1 = (wxListItem *) 0 ;
26985 wxListColumnFormat result;
26986 void *argp1 = 0 ;
26987 int res1 = 0 ;
26988 PyObject *swig_obj[1] ;
26989
26990 if (!args) SWIG_fail;
26991 swig_obj[0] = args;
26992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26993 if (!SWIG_IsOK(res1)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26995 }
26996 arg1 = reinterpret_cast< wxListItem * >(argp1);
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 result = (wxListColumnFormat)(arg1)->GetAlign();
27000 wxPyEndAllowThreads(__tstate);
27001 if (PyErr_Occurred()) SWIG_fail;
27002 }
27003 resultobj = SWIG_From_int(static_cast< int >(result));
27004 return resultobj;
27005fail:
27006 return NULL;
d55e5bfc
RD
27007}
27008
27009
554f62e9
RD
27010SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27011 PyObject *resultobj = 0;
27012 wxListItem *arg1 = (wxListItem *) 0 ;
27013 wxListItemAttr *result = 0 ;
27014 void *argp1 = 0 ;
27015 int res1 = 0 ;
27016 PyObject *swig_obj[1] ;
27017
27018 if (!args) SWIG_fail;
27019 swig_obj[0] = args;
27020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27021 if (!SWIG_IsOK(res1)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27023 }
27024 arg1 = reinterpret_cast< wxListItem * >(argp1);
27025 {
27026 PyThreadState* __tstate = wxPyBeginAllowThreads();
27027 result = (wxListItemAttr *)(arg1)->GetAttributes();
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27032 return resultobj;
27033fail:
27034 return NULL;
d55e5bfc
RD
27035}
27036
27037
554f62e9
RD
27038SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27039 PyObject *resultobj = 0;
27040 wxListItem *arg1 = (wxListItem *) 0 ;
27041 bool result;
27042 void *argp1 = 0 ;
27043 int res1 = 0 ;
27044 PyObject *swig_obj[1] ;
27045
27046 if (!args) SWIG_fail;
27047 swig_obj[0] = args;
27048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27049 if (!SWIG_IsOK(res1)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27051 }
27052 arg1 = reinterpret_cast< wxListItem * >(argp1);
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 result = (bool)(arg1)->HasAttributes();
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27061 }
27062 return resultobj;
27063fail:
27064 return NULL;
d55e5bfc
RD
27065}
27066
27067
554f62e9
RD
27068SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27069 PyObject *resultobj = 0;
27070 wxListItem *arg1 = (wxListItem *) 0 ;
27071 wxColour result;
27072 void *argp1 = 0 ;
27073 int res1 = 0 ;
27074 PyObject *swig_obj[1] ;
27075
27076 if (!args) SWIG_fail;
27077 swig_obj[0] = args;
27078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27079 if (!SWIG_IsOK(res1)) {
27080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27081 }
27082 arg1 = reinterpret_cast< wxListItem * >(argp1);
27083 {
27084 PyThreadState* __tstate = wxPyBeginAllowThreads();
27085 result = ((wxListItem const *)arg1)->GetTextColour();
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27090 return resultobj;
27091fail:
27092 return NULL;
d55e5bfc
RD
27093}
27094
27095
554f62e9
RD
27096SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27097 PyObject *resultobj = 0;
27098 wxListItem *arg1 = (wxListItem *) 0 ;
27099 wxColour result;
27100 void *argp1 = 0 ;
27101 int res1 = 0 ;
27102 PyObject *swig_obj[1] ;
27103
27104 if (!args) SWIG_fail;
27105 swig_obj[0] = args;
27106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27107 if (!SWIG_IsOK(res1)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27109 }
27110 arg1 = reinterpret_cast< wxListItem * >(argp1);
27111 {
27112 PyThreadState* __tstate = wxPyBeginAllowThreads();
27113 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27118 return resultobj;
27119fail:
27120 return NULL;
d55e5bfc
RD
27121}
27122
27123
554f62e9
RD
27124SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27125 PyObject *resultobj = 0;
27126 wxListItem *arg1 = (wxListItem *) 0 ;
27127 wxFont result;
27128 void *argp1 = 0 ;
27129 int res1 = 0 ;
27130 PyObject *swig_obj[1] ;
27131
27132 if (!args) SWIG_fail;
27133 swig_obj[0] = args;
27134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27135 if (!SWIG_IsOK(res1)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27137 }
27138 arg1 = reinterpret_cast< wxListItem * >(argp1);
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 result = ((wxListItem const *)arg1)->GetFont();
27142 wxPyEndAllowThreads(__tstate);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27146 return resultobj;
27147fail:
27148 return NULL;
27149}
27150
27151
27152SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27153 PyObject *resultobj = 0;
27154 wxListItem *arg1 = (wxListItem *) 0 ;
27155 long arg2 ;
27156 void *argp1 = 0 ;
27157 int res1 = 0 ;
27158 long val2 ;
27159 int ecode2 = 0 ;
27160 PyObject *swig_obj[2] ;
27161
27162 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27164 if (!SWIG_IsOK(res1)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27166 }
27167 arg1 = reinterpret_cast< wxListItem * >(argp1);
27168 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27169 if (!SWIG_IsOK(ecode2)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27171 }
27172 arg2 = static_cast< long >(val2);
27173 if (arg1) (arg1)->m_mask = arg2;
27174
27175 resultobj = SWIG_Py_Void();
27176 return resultobj;
27177fail:
27178 return NULL;
d55e5bfc
RD
27179}
27180
27181
554f62e9
RD
27182SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27183 PyObject *resultobj = 0;
27184 wxListItem *arg1 = (wxListItem *) 0 ;
27185 long result;
27186 void *argp1 = 0 ;
27187 int res1 = 0 ;
27188 PyObject *swig_obj[1] ;
27189
27190 if (!args) SWIG_fail;
27191 swig_obj[0] = args;
27192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27193 if (!SWIG_IsOK(res1)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27195 }
27196 arg1 = reinterpret_cast< wxListItem * >(argp1);
27197 result = (long) ((arg1)->m_mask);
27198 resultobj = SWIG_From_long(static_cast< long >(result));
27199 return resultobj;
27200fail:
27201 return NULL;
27202}
27203
27204
27205SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27206 PyObject *resultobj = 0;
27207 wxListItem *arg1 = (wxListItem *) 0 ;
27208 long arg2 ;
27209 void *argp1 = 0 ;
27210 int res1 = 0 ;
27211 long val2 ;
27212 int ecode2 = 0 ;
27213 PyObject *swig_obj[2] ;
27214
27215 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27217 if (!SWIG_IsOK(res1)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27219 }
27220 arg1 = reinterpret_cast< wxListItem * >(argp1);
27221 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27222 if (!SWIG_IsOK(ecode2)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27224 }
27225 arg2 = static_cast< long >(val2);
27226 if (arg1) (arg1)->m_itemId = arg2;
27227
27228 resultobj = SWIG_Py_Void();
27229 return resultobj;
27230fail:
27231 return NULL;
d55e5bfc
RD
27232}
27233
27234
554f62e9
RD
27235SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27236 PyObject *resultobj = 0;
27237 wxListItem *arg1 = (wxListItem *) 0 ;
27238 long result;
27239 void *argp1 = 0 ;
27240 int res1 = 0 ;
27241 PyObject *swig_obj[1] ;
27242
27243 if (!args) SWIG_fail;
27244 swig_obj[0] = args;
27245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27246 if (!SWIG_IsOK(res1)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27248 }
27249 arg1 = reinterpret_cast< wxListItem * >(argp1);
27250 result = (long) ((arg1)->m_itemId);
27251 resultobj = SWIG_From_long(static_cast< long >(result));
27252 return resultobj;
27253fail:
27254 return NULL;
27255}
27256
27257
27258SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27259 PyObject *resultobj = 0;
27260 wxListItem *arg1 = (wxListItem *) 0 ;
27261 int arg2 ;
27262 void *argp1 = 0 ;
27263 int res1 = 0 ;
27264 int val2 ;
27265 int ecode2 = 0 ;
27266 PyObject *swig_obj[2] ;
27267
27268 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27270 if (!SWIG_IsOK(res1)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27272 }
27273 arg1 = reinterpret_cast< wxListItem * >(argp1);
27274 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27275 if (!SWIG_IsOK(ecode2)) {
27276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27277 }
27278 arg2 = static_cast< int >(val2);
27279 if (arg1) (arg1)->m_col = arg2;
27280
27281 resultobj = SWIG_Py_Void();
27282 return resultobj;
27283fail:
27284 return NULL;
d55e5bfc
RD
27285}
27286
27287
554f62e9
RD
27288SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27289 PyObject *resultobj = 0;
27290 wxListItem *arg1 = (wxListItem *) 0 ;
27291 int result;
27292 void *argp1 = 0 ;
27293 int res1 = 0 ;
27294 PyObject *swig_obj[1] ;
27295
27296 if (!args) SWIG_fail;
27297 swig_obj[0] = args;
27298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27299 if (!SWIG_IsOK(res1)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27301 }
27302 arg1 = reinterpret_cast< wxListItem * >(argp1);
27303 result = (int) ((arg1)->m_col);
27304 resultobj = SWIG_From_int(static_cast< int >(result));
27305 return resultobj;
27306fail:
27307 return NULL;
27308}
27309
27310
27311SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27312 PyObject *resultobj = 0;
27313 wxListItem *arg1 = (wxListItem *) 0 ;
27314 long arg2 ;
27315 void *argp1 = 0 ;
27316 int res1 = 0 ;
27317 long val2 ;
27318 int ecode2 = 0 ;
27319 PyObject *swig_obj[2] ;
27320
27321 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27323 if (!SWIG_IsOK(res1)) {
27324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27325 }
27326 arg1 = reinterpret_cast< wxListItem * >(argp1);
27327 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27328 if (!SWIG_IsOK(ecode2)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27330 }
27331 arg2 = static_cast< long >(val2);
27332 if (arg1) (arg1)->m_state = arg2;
27333
27334 resultobj = SWIG_Py_Void();
27335 return resultobj;
27336fail:
27337 return NULL;
d55e5bfc
RD
27338}
27339
27340
554f62e9
RD
27341SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27342 PyObject *resultobj = 0;
27343 wxListItem *arg1 = (wxListItem *) 0 ;
27344 long result;
27345 void *argp1 = 0 ;
27346 int res1 = 0 ;
27347 PyObject *swig_obj[1] ;
27348
27349 if (!args) SWIG_fail;
27350 swig_obj[0] = args;
27351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27352 if (!SWIG_IsOK(res1)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27354 }
27355 arg1 = reinterpret_cast< wxListItem * >(argp1);
27356 result = (long) ((arg1)->m_state);
27357 resultobj = SWIG_From_long(static_cast< long >(result));
27358 return resultobj;
27359fail:
27360 return NULL;
27361}
27362
27363
27364SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27365 PyObject *resultobj = 0;
27366 wxListItem *arg1 = (wxListItem *) 0 ;
27367 long arg2 ;
27368 void *argp1 = 0 ;
27369 int res1 = 0 ;
27370 long val2 ;
27371 int ecode2 = 0 ;
27372 PyObject *swig_obj[2] ;
27373
27374 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27376 if (!SWIG_IsOK(res1)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27378 }
27379 arg1 = reinterpret_cast< wxListItem * >(argp1);
27380 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27381 if (!SWIG_IsOK(ecode2)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27383 }
27384 arg2 = static_cast< long >(val2);
27385 if (arg1) (arg1)->m_stateMask = arg2;
27386
27387 resultobj = SWIG_Py_Void();
27388 return resultobj;
27389fail:
27390 return NULL;
7e08d4ef
RD
27391}
27392
27393
554f62e9
RD
27394SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27395 PyObject *resultobj = 0;
27396 wxListItem *arg1 = (wxListItem *) 0 ;
27397 long result;
27398 void *argp1 = 0 ;
27399 int res1 = 0 ;
27400 PyObject *swig_obj[1] ;
27401
27402 if (!args) SWIG_fail;
27403 swig_obj[0] = args;
27404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27405 if (!SWIG_IsOK(res1)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27407 }
27408 arg1 = reinterpret_cast< wxListItem * >(argp1);
27409 result = (long) ((arg1)->m_stateMask);
27410 resultobj = SWIG_From_long(static_cast< long >(result));
27411 return resultobj;
27412fail:
27413 return NULL;
27414}
27415
27416
27417SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27418 PyObject *resultobj = 0;
27419 wxListItem *arg1 = (wxListItem *) 0 ;
27420 wxString *arg2 = (wxString *) 0 ;
27421 void *argp1 = 0 ;
27422 int res1 = 0 ;
27423 bool temp2 = false ;
27424 PyObject *swig_obj[2] ;
27425
27426 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27428 if (!SWIG_IsOK(res1)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27430 }
27431 arg1 = reinterpret_cast< wxListItem * >(argp1);
27432 {
27433 arg2 = wxString_in_helper(swig_obj[1]);
27434 if (arg2 == NULL) SWIG_fail;
27435 temp2 = true;
27436 }
27437 if (arg1) (arg1)->m_text = *arg2;
27438
27439 resultobj = SWIG_Py_Void();
27440 {
27441 if (temp2)
27442 delete arg2;
27443 }
27444 return resultobj;
27445fail:
27446 {
27447 if (temp2)
27448 delete arg2;
27449 }
27450 return NULL;
7e08d4ef
RD
27451}
27452
27453
554f62e9
RD
27454SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27455 PyObject *resultobj = 0;
27456 wxListItem *arg1 = (wxListItem *) 0 ;
27457 wxString *result = 0 ;
27458 void *argp1 = 0 ;
27459 int res1 = 0 ;
27460 PyObject *swig_obj[1] ;
27461
27462 if (!args) SWIG_fail;
27463 swig_obj[0] = args;
27464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27465 if (!SWIG_IsOK(res1)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27467 }
27468 arg1 = reinterpret_cast< wxListItem * >(argp1);
27469 result = (wxString *)& ((arg1)->m_text);
27470 {
27471#if wxUSE_UNICODE
27472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27473#else
27474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27475#endif
27476 }
27477 return resultobj;
27478fail:
27479 return NULL;
7e08d4ef
RD
27480}
27481
27482
554f62e9
RD
27483SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27484 PyObject *resultobj = 0;
27485 wxListItem *arg1 = (wxListItem *) 0 ;
27486 int arg2 ;
27487 void *argp1 = 0 ;
27488 int res1 = 0 ;
27489 int val2 ;
27490 int ecode2 = 0 ;
27491 PyObject *swig_obj[2] ;
27492
27493 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27495 if (!SWIG_IsOK(res1)) {
27496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27497 }
27498 arg1 = reinterpret_cast< wxListItem * >(argp1);
27499 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27500 if (!SWIG_IsOK(ecode2)) {
27501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27502 }
27503 arg2 = static_cast< int >(val2);
27504 if (arg1) (arg1)->m_image = arg2;
27505
27506 resultobj = SWIG_Py_Void();
27507 return resultobj;
27508fail:
27509 return NULL;
7e08d4ef
RD
27510}
27511
27512
554f62e9
RD
27513SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27514 PyObject *resultobj = 0;
27515 wxListItem *arg1 = (wxListItem *) 0 ;
27516 int result;
27517 void *argp1 = 0 ;
27518 int res1 = 0 ;
27519 PyObject *swig_obj[1] ;
27520
27521 if (!args) SWIG_fail;
27522 swig_obj[0] = args;
27523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27524 if (!SWIG_IsOK(res1)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27526 }
27527 arg1 = reinterpret_cast< wxListItem * >(argp1);
27528 result = (int) ((arg1)->m_image);
27529 resultobj = SWIG_From_int(static_cast< int >(result));
27530 return resultobj;
27531fail:
27532 return NULL;
27533}
27534
27535
27536SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27537 PyObject *resultobj = 0;
27538 wxListItem *arg1 = (wxListItem *) 0 ;
27539 long arg2 ;
27540 void *argp1 = 0 ;
27541 int res1 = 0 ;
27542 long val2 ;
27543 int ecode2 = 0 ;
27544 PyObject *swig_obj[2] ;
27545
27546 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27548 if (!SWIG_IsOK(res1)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27550 }
27551 arg1 = reinterpret_cast< wxListItem * >(argp1);
27552 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27553 if (!SWIG_IsOK(ecode2)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27555 }
27556 arg2 = static_cast< long >(val2);
27557 if (arg1) (arg1)->m_data = arg2;
27558
27559 resultobj = SWIG_Py_Void();
27560 return resultobj;
27561fail:
27562 return NULL;
7e08d4ef
RD
27563}
27564
27565
554f62e9
RD
27566SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27567 PyObject *resultobj = 0;
27568 wxListItem *arg1 = (wxListItem *) 0 ;
27569 long result;
27570 void *argp1 = 0 ;
27571 int res1 = 0 ;
27572 PyObject *swig_obj[1] ;
27573
27574 if (!args) SWIG_fail;
27575 swig_obj[0] = args;
27576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27577 if (!SWIG_IsOK(res1)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27579 }
27580 arg1 = reinterpret_cast< wxListItem * >(argp1);
27581 result = (long) ((arg1)->m_data);
27582 resultobj = SWIG_From_long(static_cast< long >(result));
27583 return resultobj;
27584fail:
27585 return NULL;
27586}
27587
27588
27589SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27590 PyObject *resultobj = 0;
27591 wxListItem *arg1 = (wxListItem *) 0 ;
27592 int arg2 ;
27593 void *argp1 = 0 ;
27594 int res1 = 0 ;
27595 int val2 ;
27596 int ecode2 = 0 ;
27597 PyObject *swig_obj[2] ;
27598
27599 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27601 if (!SWIG_IsOK(res1)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27603 }
27604 arg1 = reinterpret_cast< wxListItem * >(argp1);
27605 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27606 if (!SWIG_IsOK(ecode2)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27608 }
27609 arg2 = static_cast< int >(val2);
27610 if (arg1) (arg1)->m_format = arg2;
27611
27612 resultobj = SWIG_Py_Void();
27613 return resultobj;
27614fail:
27615 return NULL;
d55e5bfc
RD
27616}
27617
27618
554f62e9
RD
27619SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27620 PyObject *resultobj = 0;
27621 wxListItem *arg1 = (wxListItem *) 0 ;
27622 int result;
27623 void *argp1 = 0 ;
27624 int res1 = 0 ;
27625 PyObject *swig_obj[1] ;
27626
27627 if (!args) SWIG_fail;
27628 swig_obj[0] = args;
27629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27630 if (!SWIG_IsOK(res1)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27632 }
27633 arg1 = reinterpret_cast< wxListItem * >(argp1);
27634 result = (int) ((arg1)->m_format);
27635 resultobj = SWIG_From_int(static_cast< int >(result));
27636 return resultobj;
27637fail:
27638 return NULL;
27639}
27640
27641
27642SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27643 PyObject *resultobj = 0;
27644 wxListItem *arg1 = (wxListItem *) 0 ;
27645 int arg2 ;
27646 void *argp1 = 0 ;
27647 int res1 = 0 ;
27648 int val2 ;
27649 int ecode2 = 0 ;
27650 PyObject *swig_obj[2] ;
27651
27652 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27654 if (!SWIG_IsOK(res1)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27656 }
27657 arg1 = reinterpret_cast< wxListItem * >(argp1);
27658 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27659 if (!SWIG_IsOK(ecode2)) {
27660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27661 }
27662 arg2 = static_cast< int >(val2);
27663 if (arg1) (arg1)->m_width = arg2;
27664
27665 resultobj = SWIG_Py_Void();
27666 return resultobj;
27667fail:
27668 return NULL;
d55e5bfc
RD
27669}
27670
27671
554f62e9
RD
27672SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27673 PyObject *resultobj = 0;
27674 wxListItem *arg1 = (wxListItem *) 0 ;
27675 int result;
27676 void *argp1 = 0 ;
27677 int res1 = 0 ;
27678 PyObject *swig_obj[1] ;
27679
27680 if (!args) SWIG_fail;
27681 swig_obj[0] = args;
27682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27683 if (!SWIG_IsOK(res1)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27685 }
27686 arg1 = reinterpret_cast< wxListItem * >(argp1);
27687 result = (int) ((arg1)->m_width);
27688 resultobj = SWIG_From_int(static_cast< int >(result));
27689 return resultobj;
27690fail:
27691 return NULL;
27692}
27693
27694
27695SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27696 PyObject *obj;
27697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27698 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27699 return SWIG_Py_Void();
27700}
27701
27702SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27703 return SWIG_Python_InitShadowInstance(args);
27704}
27705
27706SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj = 0;
27708 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27709 int arg2 = (int) 0 ;
27710 wxListEvent *result = 0 ;
27711 int val1 ;
27712 int ecode1 = 0 ;
27713 int val2 ;
27714 int ecode2 = 0 ;
27715 PyObject * obj0 = 0 ;
27716 PyObject * obj1 = 0 ;
27717 char * kwnames[] = {
27718 (char *) "commandType",(char *) "id", NULL
27719 };
27720
27721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
27722 if (obj0) {
27723 ecode1 = SWIG_AsVal_int(obj0, &val1);
27724 if (!SWIG_IsOK(ecode1)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27726 }
27727 arg1 = static_cast< wxEventType >(val1);
27728 }
27729 if (obj1) {
27730 ecode2 = SWIG_AsVal_int(obj1, &val2);
27731 if (!SWIG_IsOK(ecode2)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27733 }
27734 arg2 = static_cast< int >(val2);
27735 }
27736 {
27737 PyThreadState* __tstate = wxPyBeginAllowThreads();
27738 result = (wxListEvent *)new wxListEvent(arg1,arg2);
27739 wxPyEndAllowThreads(__tstate);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 }
27742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
27743 return resultobj;
27744fail:
27745 return NULL;
27746}
27747
27748
27749SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27750 PyObject *resultobj = 0;
27751 wxListEvent *arg1 = (wxListEvent *) 0 ;
27752 int arg2 ;
27753 void *argp1 = 0 ;
27754 int res1 = 0 ;
27755 int val2 ;
27756 int ecode2 = 0 ;
27757 PyObject *swig_obj[2] ;
27758
27759 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
27760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27761 if (!SWIG_IsOK(res1)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27763 }
27764 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27765 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27766 if (!SWIG_IsOK(ecode2)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27768 }
27769 arg2 = static_cast< int >(val2);
27770 if (arg1) (arg1)->m_code = arg2;
27771
27772 resultobj = SWIG_Py_Void();
27773 return resultobj;
27774fail:
27775 return NULL;
d55e5bfc
RD
27776}
27777
27778
554f62e9
RD
27779SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27780 PyObject *resultobj = 0;
27781 wxListEvent *arg1 = (wxListEvent *) 0 ;
27782 int result;
27783 void *argp1 = 0 ;
27784 int res1 = 0 ;
27785 PyObject *swig_obj[1] ;
27786
27787 if (!args) SWIG_fail;
27788 swig_obj[0] = args;
27789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27790 if (!SWIG_IsOK(res1)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27792 }
27793 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27794 result = (int) ((arg1)->m_code);
27795 resultobj = SWIG_From_int(static_cast< int >(result));
27796 return resultobj;
27797fail:
27798 return NULL;
27799}
27800
27801
27802SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27803 PyObject *resultobj = 0;
27804 wxListEvent *arg1 = (wxListEvent *) 0 ;
27805 long arg2 ;
27806 void *argp1 = 0 ;
27807 int res1 = 0 ;
27808 long val2 ;
27809 int ecode2 = 0 ;
27810 PyObject *swig_obj[2] ;
27811
27812 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
27813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27814 if (!SWIG_IsOK(res1)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27816 }
27817 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27818 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27819 if (!SWIG_IsOK(ecode2)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27821 }
27822 arg2 = static_cast< long >(val2);
27823 if (arg1) (arg1)->m_oldItemIndex = arg2;
27824
27825 resultobj = SWIG_Py_Void();
27826 return resultobj;
27827fail:
27828 return NULL;
d55e5bfc
RD
27829}
27830
27831
554f62e9
RD
27832SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27833 PyObject *resultobj = 0;
27834 wxListEvent *arg1 = (wxListEvent *) 0 ;
27835 long result;
27836 void *argp1 = 0 ;
27837 int res1 = 0 ;
27838 PyObject *swig_obj[1] ;
27839
27840 if (!args) SWIG_fail;
27841 swig_obj[0] = args;
27842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27843 if (!SWIG_IsOK(res1)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27845 }
27846 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27847 result = (long) ((arg1)->m_oldItemIndex);
27848 resultobj = SWIG_From_long(static_cast< long >(result));
27849 return resultobj;
27850fail:
27851 return NULL;
27852}
27853
27854
27855SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27856 PyObject *resultobj = 0;
27857 wxListEvent *arg1 = (wxListEvent *) 0 ;
27858 long arg2 ;
27859 void *argp1 = 0 ;
27860 int res1 = 0 ;
27861 long val2 ;
27862 int ecode2 = 0 ;
27863 PyObject *swig_obj[2] ;
27864
27865 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
27866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27867 if (!SWIG_IsOK(res1)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27869 }
27870 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27871 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27872 if (!SWIG_IsOK(ecode2)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27874 }
27875 arg2 = static_cast< long >(val2);
27876 if (arg1) (arg1)->m_itemIndex = arg2;
27877
27878 resultobj = SWIG_Py_Void();
27879 return resultobj;
27880fail:
27881 return NULL;
d55e5bfc
RD
27882}
27883
27884
554f62e9
RD
27885SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27886 PyObject *resultobj = 0;
27887 wxListEvent *arg1 = (wxListEvent *) 0 ;
27888 long result;
27889 void *argp1 = 0 ;
27890 int res1 = 0 ;
27891 PyObject *swig_obj[1] ;
27892
27893 if (!args) SWIG_fail;
27894 swig_obj[0] = args;
27895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27896 if (!SWIG_IsOK(res1)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27898 }
27899 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27900 result = (long) ((arg1)->m_itemIndex);
27901 resultobj = SWIG_From_long(static_cast< long >(result));
27902 return resultobj;
27903fail:
27904 return NULL;
27905}
27906
27907
27908SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27909 PyObject *resultobj = 0;
27910 wxListEvent *arg1 = (wxListEvent *) 0 ;
27911 int arg2 ;
27912 void *argp1 = 0 ;
27913 int res1 = 0 ;
27914 int val2 ;
27915 int ecode2 = 0 ;
27916 PyObject *swig_obj[2] ;
27917
27918 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
27919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27920 if (!SWIG_IsOK(res1)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27922 }
27923 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27924 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27925 if (!SWIG_IsOK(ecode2)) {
27926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27927 }
27928 arg2 = static_cast< int >(val2);
27929 if (arg1) (arg1)->m_col = arg2;
27930
27931 resultobj = SWIG_Py_Void();
27932 return resultobj;
27933fail:
27934 return NULL;
d55e5bfc
RD
27935}
27936
27937
554f62e9
RD
27938SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27939 PyObject *resultobj = 0;
27940 wxListEvent *arg1 = (wxListEvent *) 0 ;
27941 int result;
27942 void *argp1 = 0 ;
27943 int res1 = 0 ;
27944 PyObject *swig_obj[1] ;
27945
27946 if (!args) SWIG_fail;
27947 swig_obj[0] = args;
27948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27949 if (!SWIG_IsOK(res1)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27951 }
27952 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27953 result = (int) ((arg1)->m_col);
27954 resultobj = SWIG_From_int(static_cast< int >(result));
27955 return resultobj;
27956fail:
27957 return NULL;
27958}
27959
27960
27961SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27962 PyObject *resultobj = 0;
27963 wxListEvent *arg1 = (wxListEvent *) 0 ;
27964 wxPoint *arg2 = (wxPoint *) 0 ;
27965 void *argp1 = 0 ;
27966 int res1 = 0 ;
27967 void *argp2 = 0 ;
27968 int res2 = 0 ;
27969 PyObject *swig_obj[2] ;
27970
27971 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
27972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27973 if (!SWIG_IsOK(res1)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27975 }
27976 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27977 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
27978 if (!SWIG_IsOK(res2)) {
27979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27980 }
27981 arg2 = reinterpret_cast< wxPoint * >(argp2);
27982 if (arg1) (arg1)->m_pointDrag = *arg2;
27983
27984 resultobj = SWIG_Py_Void();
27985 return resultobj;
27986fail:
27987 return NULL;
d55e5bfc
RD
27988}
27989
27990
554f62e9
RD
27991SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27992 PyObject *resultobj = 0;
27993 wxListEvent *arg1 = (wxListEvent *) 0 ;
27994 wxPoint *result = 0 ;
27995 void *argp1 = 0 ;
27996 int res1 = 0 ;
27997 PyObject *swig_obj[1] ;
27998
27999 if (!args) SWIG_fail;
28000 swig_obj[0] = args;
28001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28002 if (!SWIG_IsOK(res1)) {
28003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28004 }
28005 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28006 result = (wxPoint *)& ((arg1)->m_pointDrag);
28007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28008 return resultobj;
28009fail:
28010 return NULL;
28011}
28012
28013
28014SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28015 PyObject *resultobj = 0;
28016 wxListEvent *arg1 = (wxListEvent *) 0 ;
28017 wxListItem *result = 0 ;
28018 void *argp1 = 0 ;
28019 int res1 = 0 ;
28020 PyObject *swig_obj[1] ;
28021
28022 if (!args) SWIG_fail;
28023 swig_obj[0] = args;
28024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28025 if (!SWIG_IsOK(res1)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28027 }
28028 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28029 result = (wxListItem *)& ((arg1)->m_item);
28030 {
28031 resultobj = wxPyMake_wxObject(result, (bool)0);
28032 }
28033 return resultobj;
28034fail:
28035 return NULL;
f20a2e1f
RD
28036}
28037
28038
554f62e9
RD
28039SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28040 PyObject *resultobj = 0;
28041 wxListEvent *arg1 = (wxListEvent *) 0 ;
28042 int result;
28043 void *argp1 = 0 ;
28044 int res1 = 0 ;
28045 PyObject *swig_obj[1] ;
28046
28047 if (!args) SWIG_fail;
28048 swig_obj[0] = args;
28049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28050 if (!SWIG_IsOK(res1)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28052 }
28053 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28054 {
28055 PyThreadState* __tstate = wxPyBeginAllowThreads();
28056 result = (int)(arg1)->GetKeyCode();
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 resultobj = SWIG_From_int(static_cast< int >(result));
28061 return resultobj;
28062fail:
28063 return NULL;
d55e5bfc
RD
28064}
28065
28066
554f62e9
RD
28067SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28068 PyObject *resultobj = 0;
28069 wxListEvent *arg1 = (wxListEvent *) 0 ;
28070 long result;
28071 void *argp1 = 0 ;
28072 int res1 = 0 ;
28073 PyObject *swig_obj[1] ;
28074
28075 if (!args) SWIG_fail;
28076 swig_obj[0] = args;
28077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28078 if (!SWIG_IsOK(res1)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28080 }
28081 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28082 {
28083 PyThreadState* __tstate = wxPyBeginAllowThreads();
28084 result = (long)(arg1)->GetIndex();
28085 wxPyEndAllowThreads(__tstate);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 }
28088 resultobj = SWIG_From_long(static_cast< long >(result));
28089 return resultobj;
28090fail:
28091 return NULL;
d55e5bfc
RD
28092}
28093
28094
554f62e9
RD
28095SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28096 PyObject *resultobj = 0;
28097 wxListEvent *arg1 = (wxListEvent *) 0 ;
28098 int result;
28099 void *argp1 = 0 ;
28100 int res1 = 0 ;
28101 PyObject *swig_obj[1] ;
28102
28103 if (!args) SWIG_fail;
28104 swig_obj[0] = args;
28105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28106 if (!SWIG_IsOK(res1)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28108 }
28109 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28110 {
28111 PyThreadState* __tstate = wxPyBeginAllowThreads();
28112 result = (int)(arg1)->GetColumn();
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 resultobj = SWIG_From_int(static_cast< int >(result));
28117 return resultobj;
28118fail:
28119 return NULL;
d55e5bfc
RD
28120}
28121
28122
554f62e9
RD
28123SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28124 PyObject *resultobj = 0;
28125 wxListEvent *arg1 = (wxListEvent *) 0 ;
28126 wxPoint result;
28127 void *argp1 = 0 ;
28128 int res1 = 0 ;
28129 PyObject *swig_obj[1] ;
28130
28131 if (!args) SWIG_fail;
28132 swig_obj[0] = args;
28133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28134 if (!SWIG_IsOK(res1)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28136 }
28137 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 result = (arg1)->GetPoint();
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28145 return resultobj;
28146fail:
28147 return NULL;
d55e5bfc
RD
28148}
28149
28150
554f62e9
RD
28151SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28152 PyObject *resultobj = 0;
28153 wxListEvent *arg1 = (wxListEvent *) 0 ;
28154 wxString *result = 0 ;
28155 void *argp1 = 0 ;
28156 int res1 = 0 ;
28157 PyObject *swig_obj[1] ;
28158
28159 if (!args) SWIG_fail;
28160 swig_obj[0] = args;
28161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28162 if (!SWIG_IsOK(res1)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28164 }
28165 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28168 {
554f62e9
RD
28169 wxString const &_result_ref = (arg1)->GetLabel();
28170 result = (wxString *) &_result_ref;
d55e5bfc 28171 }
554f62e9
RD
28172 wxPyEndAllowThreads(__tstate);
28173 if (PyErr_Occurred()) SWIG_fail;
28174 }
28175 {
28176#if wxUSE_UNICODE
28177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28178#else
28179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28180#endif
28181 }
28182 return resultobj;
28183fail:
28184 return NULL;
d55e5bfc
RD
28185}
28186
28187
554f62e9
RD
28188SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28189 PyObject *resultobj = 0;
28190 wxListEvent *arg1 = (wxListEvent *) 0 ;
28191 wxString *result = 0 ;
28192 void *argp1 = 0 ;
28193 int res1 = 0 ;
28194 PyObject *swig_obj[1] ;
28195
28196 if (!args) SWIG_fail;
28197 swig_obj[0] = args;
28198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28199 if (!SWIG_IsOK(res1)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28201 }
28202 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28205 {
554f62e9
RD
28206 wxString const &_result_ref = (arg1)->GetText();
28207 result = (wxString *) &_result_ref;
d55e5bfc 28208 }
554f62e9
RD
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 {
28213#if wxUSE_UNICODE
28214 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28215#else
28216 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28217#endif
28218 }
28219 return resultobj;
28220fail:
28221 return NULL;
d55e5bfc
RD
28222}
28223
28224
554f62e9
RD
28225SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28226 PyObject *resultobj = 0;
28227 wxListEvent *arg1 = (wxListEvent *) 0 ;
28228 int result;
28229 void *argp1 = 0 ;
28230 int res1 = 0 ;
28231 PyObject *swig_obj[1] ;
28232
28233 if (!args) SWIG_fail;
28234 swig_obj[0] = args;
28235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28236 if (!SWIG_IsOK(res1)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 }
28239 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28240 {
28241 PyThreadState* __tstate = wxPyBeginAllowThreads();
28242 result = (int)(arg1)->GetImage();
28243 wxPyEndAllowThreads(__tstate);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 }
28246 resultobj = SWIG_From_int(static_cast< int >(result));
28247 return resultobj;
28248fail:
28249 return NULL;
d55e5bfc
RD
28250}
28251
28252
554f62e9
RD
28253SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28254 PyObject *resultobj = 0;
28255 wxListEvent *arg1 = (wxListEvent *) 0 ;
28256 long result;
28257 void *argp1 = 0 ;
28258 int res1 = 0 ;
28259 PyObject *swig_obj[1] ;
28260
28261 if (!args) SWIG_fail;
28262 swig_obj[0] = args;
28263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28264 if (!SWIG_IsOK(res1)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28266 }
28267 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = (long)(arg1)->GetData();
28271 wxPyEndAllowThreads(__tstate);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 resultobj = SWIG_From_long(static_cast< long >(result));
28275 return resultobj;
28276fail:
28277 return NULL;
d55e5bfc
RD
28278}
28279
28280
554f62e9
RD
28281SWIGINTERN PyObject *_wrap_ListEvent_GetMask(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_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28294 }
28295 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 result = (long)(arg1)->GetMask();
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 resultobj = SWIG_From_long(static_cast< long >(result));
28303 return resultobj;
28304fail:
28305 return NULL;
d55e5bfc
RD
28306}
28307
28308
554f62e9
RD
28309SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28310 PyObject *resultobj = 0;
28311 wxListEvent *arg1 = (wxListEvent *) 0 ;
28312 wxListItem *result = 0 ;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 PyObject *swig_obj[1] ;
28316
28317 if (!args) SWIG_fail;
28318 swig_obj[0] = args;
28319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28320 if (!SWIG_IsOK(res1)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 }
28323 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28326 {
554f62e9
RD
28327 wxListItem const &_result_ref = (arg1)->GetItem();
28328 result = (wxListItem *) &_result_ref;
093d3ff1 28329 }
554f62e9
RD
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28334 return resultobj;
28335fail:
28336 return NULL;
d55e5bfc
RD
28337}
28338
28339
554f62e9
RD
28340SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28341 PyObject *resultobj = 0;
28342 wxListEvent *arg1 = (wxListEvent *) 0 ;
28343 long result;
28344 void *argp1 = 0 ;
28345 int res1 = 0 ;
28346 PyObject *swig_obj[1] ;
28347
28348 if (!args) SWIG_fail;
28349 swig_obj[0] = args;
28350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28351 if (!SWIG_IsOK(res1)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28353 }
28354 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 result = (long)(arg1)->GetCacheFrom();
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 resultobj = SWIG_From_long(static_cast< long >(result));
28362 return resultobj;
28363fail:
28364 return NULL;
d55e5bfc
RD
28365}
28366
28367
554f62e9
RD
28368SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28369 PyObject *resultobj = 0;
28370 wxListEvent *arg1 = (wxListEvent *) 0 ;
28371 long result;
28372 void *argp1 = 0 ;
28373 int res1 = 0 ;
28374 PyObject *swig_obj[1] ;
28375
28376 if (!args) SWIG_fail;
28377 swig_obj[0] = args;
28378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28381 }
28382 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 result = (long)(arg1)->GetCacheTo();
28386 wxPyEndAllowThreads(__tstate);
28387 if (PyErr_Occurred()) SWIG_fail;
28388 }
28389 resultobj = SWIG_From_long(static_cast< long >(result));
28390 return resultobj;
28391fail:
28392 return NULL;
091fdbfa
RD
28393}
28394
28395
554f62e9
RD
28396SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28397 PyObject *resultobj = 0;
28398 wxListEvent *arg1 = (wxListEvent *) 0 ;
28399 bool result;
28400 void *argp1 = 0 ;
28401 int res1 = 0 ;
28402 PyObject *swig_obj[1] ;
28403
28404 if (!args) SWIG_fail;
28405 swig_obj[0] = args;
28406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28407 if (!SWIG_IsOK(res1)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28409 }
28410 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 {
28418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28419 }
28420 return resultobj;
28421fail:
28422 return NULL;
28423}
28424
28425
28426SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28427 PyObject *resultobj = 0;
28428 wxListEvent *arg1 = (wxListEvent *) 0 ;
28429 bool arg2 ;
28430 void *argp1 = 0 ;
28431 int res1 = 0 ;
28432 bool val2 ;
28433 int ecode2 = 0 ;
28434 PyObject * obj0 = 0 ;
28435 PyObject * obj1 = 0 ;
28436 char * kwnames[] = {
28437 (char *) "self",(char *) "editCancelled", NULL
28438 };
28439
28440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28442 if (!SWIG_IsOK(res1)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28444 }
28445 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28447 if (!SWIG_IsOK(ecode2)) {
28448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28449 }
28450 arg2 = static_cast< bool >(val2);
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 (arg1)->SetEditCanceled(arg2);
28454 wxPyEndAllowThreads(__tstate);
28455 if (PyErr_Occurred()) SWIG_fail;
28456 }
28457 resultobj = SWIG_Py_Void();
28458 return resultobj;
28459fail:
28460 return NULL;
28461}
28462
28463
28464SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28465 PyObject *obj;
28466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28467 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28468 return SWIG_Py_Void();
28469}
28470
28471SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28472 return SWIG_Python_InitShadowInstance(args);
28473}
28474
28475SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj = 0;
28477 wxWindow *arg1 = (wxWindow *) 0 ;
28478 int arg2 = (int) -1 ;
28479 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28480 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28481 wxSize const &arg4_defvalue = wxDefaultSize ;
28482 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28483 long arg5 = (long) wxLC_ICON ;
28484 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28485 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28486 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28487 wxString *arg7 = (wxString *) &arg7_defvalue ;
28488 wxPyListCtrl *result = 0 ;
28489 void *argp1 = 0 ;
28490 int res1 = 0 ;
28491 int val2 ;
28492 int ecode2 = 0 ;
28493 wxPoint temp3 ;
28494 wxSize temp4 ;
28495 long val5 ;
28496 int ecode5 = 0 ;
28497 void *argp6 = 0 ;
28498 int res6 = 0 ;
28499 bool temp7 = false ;
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 PyObject * obj2 = 0 ;
28503 PyObject * obj3 = 0 ;
28504 PyObject * obj4 = 0 ;
28505 PyObject * obj5 = 0 ;
28506 PyObject * obj6 = 0 ;
28507 char * kwnames[] = {
28508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28509 };
28510
28511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28513 if (!SWIG_IsOK(res1)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28515 }
28516 arg1 = reinterpret_cast< wxWindow * >(argp1);
28517 if (obj1) {
28518 ecode2 = SWIG_AsVal_int(obj1, &val2);
28519 if (!SWIG_IsOK(ecode2)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28521 }
28522 arg2 = static_cast< int >(val2);
28523 }
28524 if (obj2) {
f20a2e1f 28525 {
554f62e9
RD
28526 arg3 = &temp3;
28527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28528 }
554f62e9
RD
28529 }
28530 if (obj3) {
d55e5bfc 28531 {
554f62e9
RD
28532 arg4 = &temp4;
28533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28534 }
554f62e9
RD
28535 }
28536 if (obj4) {
28537 ecode5 = SWIG_AsVal_long(obj4, &val5);
28538 if (!SWIG_IsOK(ecode5)) {
28539 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28540 }
28541 arg5 = static_cast< long >(val5);
28542 }
28543 if (obj5) {
28544 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28545 if (!SWIG_IsOK(res6)) {
28546 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28547 }
554f62e9
RD
28548 if (!argp6) {
28549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28550 }
554f62e9
RD
28551 arg6 = reinterpret_cast< wxValidator * >(argp6);
28552 }
28553 if (obj6) {
d55e5bfc 28554 {
554f62e9
RD
28555 arg7 = wxString_in_helper(obj6);
28556 if (arg7 == NULL) SWIG_fail;
28557 temp7 = true;
d55e5bfc 28558 }
554f62e9
RD
28559 }
28560 {
28561 if (!wxPyCheckForApp()) SWIG_fail;
28562 PyThreadState* __tstate = wxPyBeginAllowThreads();
28563 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28568 {
28569 if (temp7)
28570 delete arg7;
28571 }
28572 return resultobj;
28573fail:
28574 {
28575 if (temp7)
28576 delete arg7;
28577 }
28578 return NULL;
d55e5bfc
RD
28579}
28580
28581
554f62e9
RD
28582SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28583 PyObject *resultobj = 0;
28584 wxPyListCtrl *result = 0 ;
28585
28586 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28587 {
28588 if (!wxPyCheckForApp()) SWIG_fail;
28589 PyThreadState* __tstate = wxPyBeginAllowThreads();
28590 result = (wxPyListCtrl *)new wxPyListCtrl();
28591 wxPyEndAllowThreads(__tstate);
28592 if (PyErr_Occurred()) SWIG_fail;
28593 }
28594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28595 return resultobj;
28596fail:
28597 return NULL;
28598}
28599
28600
28601SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28602 PyObject *resultobj = 0;
28603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28604 wxWindow *arg2 = (wxWindow *) 0 ;
28605 int arg3 = (int) -1 ;
28606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28608 wxSize const &arg5_defvalue = wxDefaultSize ;
28609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28610 long arg6 = (long) wxLC_ICON ;
28611 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28612 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28613 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28614 wxString *arg8 = (wxString *) &arg8_defvalue ;
28615 bool result;
28616 void *argp1 = 0 ;
28617 int res1 = 0 ;
28618 void *argp2 = 0 ;
28619 int res2 = 0 ;
28620 int val3 ;
28621 int ecode3 = 0 ;
28622 wxPoint temp4 ;
28623 wxSize temp5 ;
28624 long val6 ;
28625 int ecode6 = 0 ;
28626 void *argp7 = 0 ;
28627 int res7 = 0 ;
28628 bool temp8 = false ;
28629 PyObject * obj0 = 0 ;
28630 PyObject * obj1 = 0 ;
28631 PyObject * obj2 = 0 ;
28632 PyObject * obj3 = 0 ;
28633 PyObject * obj4 = 0 ;
28634 PyObject * obj5 = 0 ;
28635 PyObject * obj6 = 0 ;
28636 PyObject * obj7 = 0 ;
28637 char * kwnames[] = {
28638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28639 };
28640
28641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28643 if (!SWIG_IsOK(res1)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28645 }
28646 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28648 if (!SWIG_IsOK(res2)) {
28649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28650 }
28651 arg2 = reinterpret_cast< wxWindow * >(argp2);
28652 if (obj2) {
28653 ecode3 = SWIG_AsVal_int(obj2, &val3);
28654 if (!SWIG_IsOK(ecode3)) {
28655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28656 }
28657 arg3 = static_cast< int >(val3);
28658 }
28659 if (obj3) {
d55e5bfc 28660 {
554f62e9
RD
28661 arg4 = &temp4;
28662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28663 }
554f62e9
RD
28664 }
28665 if (obj4) {
d55e5bfc 28666 {
554f62e9
RD
28667 arg5 = &temp5;
28668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28669 }
554f62e9
RD
28670 }
28671 if (obj5) {
28672 ecode6 = SWIG_AsVal_long(obj5, &val6);
28673 if (!SWIG_IsOK(ecode6)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28675 }
28676 arg6 = static_cast< long >(val6);
28677 }
28678 if (obj6) {
28679 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28680 if (!SWIG_IsOK(res7)) {
28681 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 28682 }
554f62e9
RD
28683 if (!argp7) {
28684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 28685 }
554f62e9
RD
28686 arg7 = reinterpret_cast< wxValidator * >(argp7);
28687 }
28688 if (obj7) {
d55e5bfc 28689 {
554f62e9
RD
28690 arg8 = wxString_in_helper(obj7);
28691 if (arg8 == NULL) SWIG_fail;
28692 temp8 = true;
d55e5bfc 28693 }
554f62e9
RD
28694 }
28695 {
28696 PyThreadState* __tstate = wxPyBeginAllowThreads();
28697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28698 wxPyEndAllowThreads(__tstate);
28699 if (PyErr_Occurred()) SWIG_fail;
28700 }
28701 {
28702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28703 }
28704 {
28705 if (temp8)
28706 delete arg8;
28707 }
28708 return resultobj;
28709fail:
28710 {
28711 if (temp8)
28712 delete arg8;
28713 }
28714 return NULL;
28715}
28716
28717
28718SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28719 PyObject *resultobj = 0;
28720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28721 PyObject *arg2 = (PyObject *) 0 ;
28722 PyObject *arg3 = (PyObject *) 0 ;
28723 void *argp1 = 0 ;
28724 int res1 = 0 ;
28725 PyObject * obj0 = 0 ;
28726 PyObject * obj1 = 0 ;
28727 PyObject * obj2 = 0 ;
28728 char * kwnames[] = {
28729 (char *) "self",(char *) "self",(char *) "_class", NULL
28730 };
28731
28732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28734 if (!SWIG_IsOK(res1)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28736 }
28737 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28738 arg2 = obj1;
28739 arg3 = obj2;
28740 {
28741 PyThreadState* __tstate = wxPyBeginAllowThreads();
28742 (arg1)->_setCallbackInfo(arg2,arg3);
28743 wxPyEndAllowThreads(__tstate);
28744 if (PyErr_Occurred()) SWIG_fail;
28745 }
28746 resultobj = SWIG_Py_Void();
28747 return resultobj;
28748fail:
28749 return NULL;
28750}
28751
28752
28753SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28754 PyObject *resultobj = 0;
28755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28756 int arg2 ;
28757 wxListItem *result = 0 ;
28758 void *argp1 = 0 ;
28759 int res1 = 0 ;
28760 int val2 ;
28761 int ecode2 = 0 ;
28762 PyObject * obj0 = 0 ;
28763 PyObject * obj1 = 0 ;
28764 char * kwnames[] = {
28765 (char *) "self",(char *) "col", NULL
28766 };
28767
28768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
28769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28770 if (!SWIG_IsOK(res1)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28772 }
28773 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28774 ecode2 = SWIG_AsVal_int(obj1, &val2);
28775 if (!SWIG_IsOK(ecode2)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28777 }
28778 arg2 = static_cast< int >(val2);
28779 {
28780 PyThreadState* __tstate = wxPyBeginAllowThreads();
28781 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
28782 wxPyEndAllowThreads(__tstate);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 }
28785 {
28786 resultobj = wxPyMake_wxObject(result, (bool)0);
28787 }
28788 return resultobj;
28789fail:
28790 return NULL;
28791}
28792
28793
28794SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28795 PyObject *resultobj = 0;
28796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28797 int arg2 ;
28798 wxListItem *arg3 = 0 ;
28799 bool result;
28800 void *argp1 = 0 ;
28801 int res1 = 0 ;
28802 int val2 ;
28803 int ecode2 = 0 ;
28804 void *argp3 = 0 ;
28805 int res3 = 0 ;
28806 PyObject * obj0 = 0 ;
28807 PyObject * obj1 = 0 ;
28808 PyObject * obj2 = 0 ;
28809 char * kwnames[] = {
28810 (char *) "self",(char *) "col",(char *) "item", NULL
28811 };
28812
28813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28815 if (!SWIG_IsOK(res1)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28817 }
28818 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28819 ecode2 = SWIG_AsVal_int(obj1, &val2);
28820 if (!SWIG_IsOK(ecode2)) {
28821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28822 }
28823 arg2 = static_cast< int >(val2);
28824 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
28825 if (!SWIG_IsOK(res3)) {
28826 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28827 }
28828 if (!argp3) {
28829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28830 }
28831 arg3 = reinterpret_cast< wxListItem * >(argp3);
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 result = (bool)(arg1)->SetColumn(arg2,*arg3);
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 {
28839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28840 }
28841 return resultobj;
28842fail:
28843 return NULL;
28844}
28845
28846
28847SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28848 PyObject *resultobj = 0;
28849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28850 int arg2 ;
28851 int result;
28852 void *argp1 = 0 ;
28853 int res1 = 0 ;
28854 int val2 ;
28855 int ecode2 = 0 ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 char * kwnames[] = {
28859 (char *) "self",(char *) "col", NULL
28860 };
28861
28862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
28863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28864 if (!SWIG_IsOK(res1)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28866 }
28867 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28868 ecode2 = SWIG_AsVal_int(obj1, &val2);
28869 if (!SWIG_IsOK(ecode2)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28871 }
28872 arg2 = static_cast< int >(val2);
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 resultobj = SWIG_From_int(static_cast< int >(result));
28880 return resultobj;
28881fail:
28882 return NULL;
28883}
28884
28885
28886SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28887 PyObject *resultobj = 0;
28888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28889 int arg2 ;
28890 int arg3 ;
28891 bool result;
28892 void *argp1 = 0 ;
28893 int res1 = 0 ;
28894 int val2 ;
28895 int ecode2 = 0 ;
28896 int val3 ;
28897 int ecode3 = 0 ;
28898 PyObject * obj0 = 0 ;
28899 PyObject * obj1 = 0 ;
28900 PyObject * obj2 = 0 ;
28901 char * kwnames[] = {
28902 (char *) "self",(char *) "col",(char *) "width", NULL
28903 };
28904
28905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28907 if (!SWIG_IsOK(res1)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28909 }
28910 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28911 ecode2 = SWIG_AsVal_int(obj1, &val2);
28912 if (!SWIG_IsOK(ecode2)) {
28913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28914 }
28915 arg2 = static_cast< int >(val2);
28916 ecode3 = SWIG_AsVal_int(obj2, &val3);
28917 if (!SWIG_IsOK(ecode3)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28919 }
28920 arg3 = static_cast< int >(val3);
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
28924 wxPyEndAllowThreads(__tstate);
28925 if (PyErr_Occurred()) SWIG_fail;
28926 }
28927 {
28928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28929 }
28930 return resultobj;
28931fail:
28932 return NULL;
d55e5bfc
RD
28933}
28934
28935
554f62e9
RD
28936SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28937 PyObject *resultobj = 0;
28938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28939 int result;
28940 void *argp1 = 0 ;
28941 int res1 = 0 ;
28942 PyObject *swig_obj[1] ;
28943
28944 if (!args) SWIG_fail;
28945 swig_obj[0] = args;
28946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28947 if (!SWIG_IsOK(res1)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28949 }
28950 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 resultobj = SWIG_From_int(static_cast< int >(result));
28958 return resultobj;
28959fail:
28960 return NULL;
7e08d4ef
RD
28961}
28962
28963
554f62e9
RD
28964SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28965 PyObject *resultobj = 0;
28966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28967 wxRect result;
28968 void *argp1 = 0 ;
28969 int res1 = 0 ;
28970 PyObject *swig_obj[1] ;
28971
28972 if (!args) SWIG_fail;
28973 swig_obj[0] = args;
28974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28975 if (!SWIG_IsOK(res1)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28977 }
28978 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28986 return resultobj;
28987fail:
28988 return NULL;
7e08d4ef
RD
28989}
28990
28991
554f62e9
RD
28992SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28993 PyObject *resultobj = 0;
28994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28995 wxTextCtrl *result = 0 ;
28996 void *argp1 = 0 ;
28997 int res1 = 0 ;
28998 PyObject *swig_obj[1] ;
28999
29000 if (!args) SWIG_fail;
29001 swig_obj[0] = args;
29002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29003 if (!SWIG_IsOK(res1)) {
29004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29005 }
29006 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29007 {
29008 PyThreadState* __tstate = wxPyBeginAllowThreads();
29009 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29010 wxPyEndAllowThreads(__tstate);
29011 if (PyErr_Occurred()) SWIG_fail;
29012 }
29013 {
29014 resultobj = wxPyMake_wxObject(result, 0);
29015 }
29016 return resultobj;
29017fail:
29018 return NULL;
29019}
29020
29021
29022SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29023 PyObject *resultobj = 0;
29024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29025 long arg2 ;
29026 int arg3 = (int) 0 ;
29027 wxListItem *result = 0 ;
29028 void *argp1 = 0 ;
29029 int res1 = 0 ;
29030 long val2 ;
29031 int ecode2 = 0 ;
29032 int val3 ;
29033 int ecode3 = 0 ;
29034 PyObject * obj0 = 0 ;
29035 PyObject * obj1 = 0 ;
29036 PyObject * obj2 = 0 ;
29037 char * kwnames[] = {
29038 (char *) "self",(char *) "itemId",(char *) "col", NULL
29039 };
29040
29041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29043 if (!SWIG_IsOK(res1)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29045 }
29046 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29047 ecode2 = SWIG_AsVal_long(obj1, &val2);
29048 if (!SWIG_IsOK(ecode2)) {
29049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29050 }
29051 arg2 = static_cast< long >(val2);
29052 if (obj2) {
29053 ecode3 = SWIG_AsVal_int(obj2, &val3);
29054 if (!SWIG_IsOK(ecode3)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29056 }
29057 arg3 = static_cast< int >(val3);
29058 }
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 {
29066 resultobj = wxPyMake_wxObject(result, (bool)0);
29067 }
29068 return resultobj;
29069fail:
29070 return NULL;
29071}
29072
29073
29074SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29075 PyObject *resultobj = 0;
29076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29077 wxListItem *arg2 = 0 ;
29078 bool result;
29079 void *argp1 = 0 ;
29080 int res1 = 0 ;
29081 void *argp2 = 0 ;
29082 int res2 = 0 ;
29083 PyObject * obj0 = 0 ;
29084 PyObject * obj1 = 0 ;
29085 char * kwnames[] = {
29086 (char *) "self",(char *) "info", NULL
29087 };
29088
29089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29091 if (!SWIG_IsOK(res1)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29093 }
29094 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29095 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29096 if (!SWIG_IsOK(res2)) {
29097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29098 }
29099 if (!argp2) {
29100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29101 }
29102 arg2 = reinterpret_cast< wxListItem * >(argp2);
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 result = (bool)(arg1)->SetItem(*arg2);
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 {
29110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29111 }
29112 return resultobj;
29113fail:
29114 return NULL;
29115}
29116
29117
29118SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29119 PyObject *resultobj = 0;
29120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29121 long arg2 ;
29122 int arg3 ;
29123 wxString *arg4 = 0 ;
29124 int arg5 = (int) -1 ;
29125 long result;
29126 void *argp1 = 0 ;
29127 int res1 = 0 ;
29128 long val2 ;
29129 int ecode2 = 0 ;
29130 int val3 ;
29131 int ecode3 = 0 ;
29132 bool temp4 = false ;
29133 int val5 ;
29134 int ecode5 = 0 ;
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
29137 PyObject * obj2 = 0 ;
29138 PyObject * obj3 = 0 ;
29139 PyObject * obj4 = 0 ;
29140 char * kwnames[] = {
29141 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29142 };
29143
29144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29146 if (!SWIG_IsOK(res1)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29148 }
29149 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29150 ecode2 = SWIG_AsVal_long(obj1, &val2);
29151 if (!SWIG_IsOK(ecode2)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29153 }
29154 arg2 = static_cast< long >(val2);
29155 ecode3 = SWIG_AsVal_int(obj2, &val3);
29156 if (!SWIG_IsOK(ecode3)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29158 }
29159 arg3 = static_cast< int >(val3);
29160 {
29161 arg4 = wxString_in_helper(obj3);
29162 if (arg4 == NULL) SWIG_fail;
29163 temp4 = true;
29164 }
29165 if (obj4) {
29166 ecode5 = SWIG_AsVal_int(obj4, &val5);
29167 if (!SWIG_IsOK(ecode5)) {
29168 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29169 }
29170 arg5 = static_cast< int >(val5);
29171 }
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29175 wxPyEndAllowThreads(__tstate);
29176 if (PyErr_Occurred()) SWIG_fail;
29177 }
29178 resultobj = SWIG_From_long(static_cast< long >(result));
29179 {
29180 if (temp4)
29181 delete arg4;
29182 }
29183 return resultobj;
29184fail:
29185 {
29186 if (temp4)
29187 delete arg4;
29188 }
29189 return NULL;
29190}
29191
29192
29193SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29194 PyObject *resultobj = 0;
29195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29196 long arg2 ;
29197 long arg3 ;
29198 int result;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 long val2 ;
29202 int ecode2 = 0 ;
29203 long val3 ;
29204 int ecode3 = 0 ;
29205 PyObject * obj0 = 0 ;
29206 PyObject * obj1 = 0 ;
29207 PyObject * obj2 = 0 ;
29208 char * kwnames[] = {
29209 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29210 };
29211
29212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29214 if (!SWIG_IsOK(res1)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29216 }
29217 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29218 ecode2 = SWIG_AsVal_long(obj1, &val2);
29219 if (!SWIG_IsOK(ecode2)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29221 }
29222 arg2 = static_cast< long >(val2);
29223 ecode3 = SWIG_AsVal_long(obj2, &val3);
29224 if (!SWIG_IsOK(ecode3)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29226 }
29227 arg3 = static_cast< long >(val3);
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 resultobj = SWIG_From_int(static_cast< int >(result));
29235 return resultobj;
29236fail:
29237 return NULL;
29238}
29239
29240
29241SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29242 PyObject *resultobj = 0;
29243 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29244 long arg2 ;
29245 long arg3 ;
29246 long arg4 ;
29247 bool result;
29248 void *argp1 = 0 ;
29249 int res1 = 0 ;
29250 long val2 ;
29251 int ecode2 = 0 ;
29252 long val3 ;
29253 int ecode3 = 0 ;
29254 long val4 ;
29255 int ecode4 = 0 ;
29256 PyObject * obj0 = 0 ;
29257 PyObject * obj1 = 0 ;
29258 PyObject * obj2 = 0 ;
29259 PyObject * obj3 = 0 ;
29260 char * kwnames[] = {
29261 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29262 };
29263
29264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29266 if (!SWIG_IsOK(res1)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29268 }
29269 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29270 ecode2 = SWIG_AsVal_long(obj1, &val2);
29271 if (!SWIG_IsOK(ecode2)) {
29272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29273 }
29274 arg2 = static_cast< long >(val2);
29275 ecode3 = SWIG_AsVal_long(obj2, &val3);
29276 if (!SWIG_IsOK(ecode3)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29278 }
29279 arg3 = static_cast< long >(val3);
29280 ecode4 = SWIG_AsVal_long(obj3, &val4);
29281 if (!SWIG_IsOK(ecode4)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29283 }
29284 arg4 = static_cast< long >(val4);
29285 {
29286 PyThreadState* __tstate = wxPyBeginAllowThreads();
29287 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 {
29292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29293 }
29294 return resultobj;
29295fail:
29296 return NULL;
29297}
29298
29299
29300SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29301 PyObject *resultobj = 0;
29302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29303 long arg2 ;
29304 int arg3 ;
29305 int arg4 = (int) -1 ;
29306 bool result;
29307 void *argp1 = 0 ;
29308 int res1 = 0 ;
29309 long val2 ;
29310 int ecode2 = 0 ;
29311 int val3 ;
29312 int ecode3 = 0 ;
29313 int val4 ;
29314 int ecode4 = 0 ;
29315 PyObject * obj0 = 0 ;
29316 PyObject * obj1 = 0 ;
29317 PyObject * obj2 = 0 ;
29318 PyObject * obj3 = 0 ;
29319 char * kwnames[] = {
29320 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29321 };
29322
29323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29325 if (!SWIG_IsOK(res1)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29327 }
29328 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29329 ecode2 = SWIG_AsVal_long(obj1, &val2);
29330 if (!SWIG_IsOK(ecode2)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29332 }
29333 arg2 = static_cast< long >(val2);
29334 ecode3 = SWIG_AsVal_int(obj2, &val3);
29335 if (!SWIG_IsOK(ecode3)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29337 }
29338 arg3 = static_cast< int >(val3);
29339 if (obj3) {
29340 ecode4 = SWIG_AsVal_int(obj3, &val4);
29341 if (!SWIG_IsOK(ecode4)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29343 }
29344 arg4 = static_cast< int >(val4);
29345 }
29346 {
29347 PyThreadState* __tstate = wxPyBeginAllowThreads();
29348 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
29352 {
29353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29354 }
29355 return resultobj;
29356fail:
29357 return NULL;
29358}
29359
29360
29361SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29362 PyObject *resultobj = 0;
29363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29364 long arg2 ;
29365 long arg3 ;
29366 int arg4 ;
29367 bool result;
29368 void *argp1 = 0 ;
29369 int res1 = 0 ;
29370 long val2 ;
29371 int ecode2 = 0 ;
29372 long val3 ;
29373 int ecode3 = 0 ;
29374 int val4 ;
29375 int ecode4 = 0 ;
29376 PyObject * obj0 = 0 ;
29377 PyObject * obj1 = 0 ;
29378 PyObject * obj2 = 0 ;
29379 PyObject * obj3 = 0 ;
29380 char * kwnames[] = {
29381 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29382 };
29383
29384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29386 if (!SWIG_IsOK(res1)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29388 }
29389 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29390 ecode2 = SWIG_AsVal_long(obj1, &val2);
29391 if (!SWIG_IsOK(ecode2)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29393 }
29394 arg2 = static_cast< long >(val2);
29395 ecode3 = SWIG_AsVal_long(obj2, &val3);
29396 if (!SWIG_IsOK(ecode3)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29398 }
29399 arg3 = static_cast< long >(val3);
29400 ecode4 = SWIG_AsVal_int(obj3, &val4);
29401 if (!SWIG_IsOK(ecode4)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29403 }
29404 arg4 = static_cast< int >(val4);
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 {
29412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29413 }
29414 return resultobj;
29415fail:
29416 return NULL;
29417}
29418
29419
29420SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29421 PyObject *resultobj = 0;
29422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29423 long arg2 ;
29424 wxString result;
29425 void *argp1 = 0 ;
29426 int res1 = 0 ;
29427 long val2 ;
29428 int ecode2 = 0 ;
29429 PyObject * obj0 = 0 ;
29430 PyObject * obj1 = 0 ;
29431 char * kwnames[] = {
29432 (char *) "self",(char *) "item", NULL
29433 };
29434
29435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29437 if (!SWIG_IsOK(res1)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29439 }
29440 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29441 ecode2 = SWIG_AsVal_long(obj1, &val2);
29442 if (!SWIG_IsOK(ecode2)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29444 }
29445 arg2 = static_cast< long >(val2);
29446 {
29447 PyThreadState* __tstate = wxPyBeginAllowThreads();
29448 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29449 wxPyEndAllowThreads(__tstate);
29450 if (PyErr_Occurred()) SWIG_fail;
29451 }
29452 {
29453#if wxUSE_UNICODE
29454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29455#else
29456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29457#endif
29458 }
29459 return resultobj;
29460fail:
29461 return NULL;
29462}
29463
29464
29465SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj = 0;
29467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29468 long arg2 ;
29469 wxString *arg3 = 0 ;
29470 void *argp1 = 0 ;
29471 int res1 = 0 ;
29472 long val2 ;
29473 int ecode2 = 0 ;
29474 bool temp3 = false ;
29475 PyObject * obj0 = 0 ;
29476 PyObject * obj1 = 0 ;
29477 PyObject * obj2 = 0 ;
29478 char * kwnames[] = {
29479 (char *) "self",(char *) "item",(char *) "str", NULL
29480 };
29481
29482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29484 if (!SWIG_IsOK(res1)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29486 }
29487 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29488 ecode2 = SWIG_AsVal_long(obj1, &val2);
29489 if (!SWIG_IsOK(ecode2)) {
29490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29491 }
29492 arg2 = static_cast< long >(val2);
29493 {
29494 arg3 = wxString_in_helper(obj2);
29495 if (arg3 == NULL) SWIG_fail;
29496 temp3 = true;
29497 }
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 resultobj = SWIG_Py_Void();
29505 {
29506 if (temp3)
29507 delete arg3;
29508 }
29509 return resultobj;
29510fail:
29511 {
29512 if (temp3)
29513 delete arg3;
29514 }
29515 return NULL;
29516}
29517
29518
29519SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29520 PyObject *resultobj = 0;
29521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29522 long arg2 ;
29523 long result;
29524 void *argp1 = 0 ;
29525 int res1 = 0 ;
29526 long val2 ;
29527 int ecode2 = 0 ;
29528 PyObject * obj0 = 0 ;
29529 PyObject * obj1 = 0 ;
29530 char * kwnames[] = {
29531 (char *) "self",(char *) "item", NULL
29532 };
29533
29534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29536 if (!SWIG_IsOK(res1)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29538 }
29539 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29540 ecode2 = SWIG_AsVal_long(obj1, &val2);
29541 if (!SWIG_IsOK(ecode2)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29543 }
29544 arg2 = static_cast< long >(val2);
29545 {
29546 PyThreadState* __tstate = wxPyBeginAllowThreads();
29547 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 resultobj = SWIG_From_long(static_cast< long >(result));
29552 return resultobj;
29553fail:
29554 return NULL;
29555}
29556
29557
29558SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj = 0;
29560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29561 long arg2 ;
29562 long arg3 ;
29563 bool result;
29564 void *argp1 = 0 ;
29565 int res1 = 0 ;
29566 long val2 ;
29567 int ecode2 = 0 ;
29568 long val3 ;
29569 int ecode3 = 0 ;
29570 PyObject * obj0 = 0 ;
29571 PyObject * obj1 = 0 ;
29572 PyObject * obj2 = 0 ;
29573 char * kwnames[] = {
29574 (char *) "self",(char *) "item",(char *) "data", NULL
29575 };
29576
29577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29579 if (!SWIG_IsOK(res1)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29581 }
29582 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29583 ecode2 = SWIG_AsVal_long(obj1, &val2);
29584 if (!SWIG_IsOK(ecode2)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29586 }
29587 arg2 = static_cast< long >(val2);
29588 ecode3 = SWIG_AsVal_long(obj2, &val3);
29589 if (!SWIG_IsOK(ecode3)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29591 }
29592 arg3 = static_cast< long >(val3);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = (bool)(arg1)->SetItemData(arg2,arg3);
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 {
29600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29601 }
29602 return resultobj;
29603fail:
29604 return NULL;
29605}
29606
29607
29608SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29609 PyObject *resultobj = 0;
29610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29611 long arg2 ;
29612 wxPoint result;
29613 void *argp1 = 0 ;
29614 int res1 = 0 ;
29615 long val2 ;
29616 int ecode2 = 0 ;
29617 PyObject * obj0 = 0 ;
29618 PyObject * obj1 = 0 ;
29619 char * kwnames[] = {
29620 (char *) "self",(char *) "item", NULL
29621 };
29622
29623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29625 if (!SWIG_IsOK(res1)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29627 }
29628 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29629 ecode2 = SWIG_AsVal_long(obj1, &val2);
29630 if (!SWIG_IsOK(ecode2)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29632 }
29633 arg2 = static_cast< long >(val2);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29641 return resultobj;
29642fail:
29643 return NULL;
29644}
29645
29646
29647SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj = 0;
29649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29650 long arg2 ;
29651 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29652 wxRect result;
29653 void *argp1 = 0 ;
29654 int res1 = 0 ;
29655 long val2 ;
29656 int ecode2 = 0 ;
29657 int val3 ;
29658 int ecode3 = 0 ;
29659 PyObject * obj0 = 0 ;
29660 PyObject * obj1 = 0 ;
29661 PyObject * obj2 = 0 ;
29662 char * kwnames[] = {
29663 (char *) "self",(char *) "item",(char *) "code", NULL
29664 };
29665
29666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29668 if (!SWIG_IsOK(res1)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29670 }
29671 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29672 ecode2 = SWIG_AsVal_long(obj1, &val2);
29673 if (!SWIG_IsOK(ecode2)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29675 }
29676 arg2 = static_cast< long >(val2);
29677 if (obj2) {
29678 ecode3 = SWIG_AsVal_int(obj2, &val3);
29679 if (!SWIG_IsOK(ecode3)) {
29680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29681 }
29682 arg3 = static_cast< int >(val3);
29683 }
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29687 wxPyEndAllowThreads(__tstate);
29688 if (PyErr_Occurred()) SWIG_fail;
29689 }
29690 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29691 return resultobj;
29692fail:
29693 return NULL;
29694}
29695
29696
29697SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj = 0;
29699 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29700 long arg2 ;
29701 wxPoint *arg3 = 0 ;
29702 bool result;
29703 void *argp1 = 0 ;
29704 int res1 = 0 ;
29705 long val2 ;
29706 int ecode2 = 0 ;
29707 wxPoint temp3 ;
29708 PyObject * obj0 = 0 ;
29709 PyObject * obj1 = 0 ;
29710 PyObject * obj2 = 0 ;
29711 char * kwnames[] = {
29712 (char *) "self",(char *) "item",(char *) "pos", NULL
29713 };
29714
29715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29717 if (!SWIG_IsOK(res1)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29719 }
29720 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29721 ecode2 = SWIG_AsVal_long(obj1, &val2);
29722 if (!SWIG_IsOK(ecode2)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29724 }
29725 arg2 = static_cast< long >(val2);
29726 {
29727 arg3 = &temp3;
29728 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29729 }
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 {
29737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29738 }
29739 return resultobj;
29740fail:
29741 return NULL;
7e08d4ef
RD
29742}
29743
29744
554f62e9
RD
29745SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29746 PyObject *resultobj = 0;
29747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29748 int result;
29749 void *argp1 = 0 ;
29750 int res1 = 0 ;
29751 PyObject *swig_obj[1] ;
29752
29753 if (!args) SWIG_fail;
29754 swig_obj[0] = args;
29755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29758 }
29759 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
29762 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 resultobj = SWIG_From_int(static_cast< int >(result));
29767 return resultobj;
29768fail:
29769 return NULL;
7e08d4ef
RD
29770}
29771
29772
554f62e9
RD
29773SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29774 PyObject *resultobj = 0;
29775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29776 int result;
29777 void *argp1 = 0 ;
29778 int res1 = 0 ;
29779 PyObject *swig_obj[1] ;
29780
29781 if (!args) SWIG_fail;
29782 swig_obj[0] = args;
29783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29784 if (!SWIG_IsOK(res1)) {
29785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29786 }
29787 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29788 {
29789 PyThreadState* __tstate = wxPyBeginAllowThreads();
29790 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 resultobj = SWIG_From_int(static_cast< int >(result));
29795 return resultobj;
29796fail:
29797 return NULL;
7e08d4ef
RD
29798}
29799
29800
554f62e9
RD
29801SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29802 PyObject *resultobj = 0;
29803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29804 wxSize result;
29805 void *argp1 = 0 ;
29806 int res1 = 0 ;
29807 PyObject *swig_obj[1] ;
29808
29809 if (!args) SWIG_fail;
29810 swig_obj[0] = args;
29811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29812 if (!SWIG_IsOK(res1)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29814 }
29815 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29816 {
29817 PyThreadState* __tstate = wxPyBeginAllowThreads();
29818 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
29819 wxPyEndAllowThreads(__tstate);
29820 if (PyErr_Occurred()) SWIG_fail;
29821 }
29822 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
29823 return resultobj;
29824fail:
29825 return NULL;
7e08d4ef
RD
29826}
29827
29828
554f62e9
RD
29829SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29830 PyObject *resultobj = 0;
29831 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29832 int result;
29833 void *argp1 = 0 ;
29834 int res1 = 0 ;
29835 PyObject *swig_obj[1] ;
29836
29837 if (!args) SWIG_fail;
29838 swig_obj[0] = args;
29839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29840 if (!SWIG_IsOK(res1)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29842 }
29843 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 resultobj = SWIG_From_int(static_cast< int >(result));
29851 return resultobj;
29852fail:
29853 return NULL;
7e08d4ef
RD
29854}
29855
29856
554f62e9
RD
29857SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29858 PyObject *resultobj = 0;
29859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29860 wxColour result;
29861 void *argp1 = 0 ;
29862 int res1 = 0 ;
29863 PyObject *swig_obj[1] ;
29864
29865 if (!args) SWIG_fail;
29866 swig_obj[0] = args;
29867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29868 if (!SWIG_IsOK(res1)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29870 }
29871 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
29879 return resultobj;
29880fail:
29881 return NULL;
29882}
29883
29884
29885SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29886 PyObject *resultobj = 0;
29887 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29888 wxColour *arg2 = 0 ;
29889 void *argp1 = 0 ;
29890 int res1 = 0 ;
29891 wxColour temp2 ;
29892 PyObject * obj0 = 0 ;
29893 PyObject * obj1 = 0 ;
29894 char * kwnames[] = {
29895 (char *) "self",(char *) "col", NULL
29896 };
29897
29898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
29899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29900 if (!SWIG_IsOK(res1)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29902 }
29903 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29904 {
29905 arg2 = &temp2;
29906 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29907 }
29908 {
29909 PyThreadState* __tstate = wxPyBeginAllowThreads();
29910 (arg1)->SetTextColour((wxColour const &)*arg2);
29911 wxPyEndAllowThreads(__tstate);
29912 if (PyErr_Occurred()) SWIG_fail;
29913 }
29914 resultobj = SWIG_Py_Void();
29915 return resultobj;
29916fail:
29917 return NULL;
7e08d4ef
RD
29918}
29919
29920
554f62e9
RD
29921SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29922 PyObject *resultobj = 0;
29923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29924 long result;
29925 void *argp1 = 0 ;
29926 int res1 = 0 ;
29927 PyObject *swig_obj[1] ;
29928
29929 if (!args) SWIG_fail;
29930 swig_obj[0] = args;
29931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29932 if (!SWIG_IsOK(res1)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29934 }
29935 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 resultobj = SWIG_From_long(static_cast< long >(result));
29943 return resultobj;
29944fail:
29945 return NULL;
29946}
29947
29948
29949SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj = 0;
29951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29952 long arg2 ;
29953 bool arg3 = (bool) true ;
29954 void *argp1 = 0 ;
29955 int res1 = 0 ;
29956 long val2 ;
29957 int ecode2 = 0 ;
29958 bool val3 ;
29959 int ecode3 = 0 ;
29960 PyObject * obj0 = 0 ;
29961 PyObject * obj1 = 0 ;
29962 PyObject * obj2 = 0 ;
29963 char * kwnames[] = {
29964 (char *) "self",(char *) "style",(char *) "add", NULL
29965 };
29966
29967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29969 if (!SWIG_IsOK(res1)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29971 }
29972 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29973 ecode2 = SWIG_AsVal_long(obj1, &val2);
29974 if (!SWIG_IsOK(ecode2)) {
29975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29976 }
29977 arg2 = static_cast< long >(val2);
29978 if (obj2) {
29979 ecode3 = SWIG_AsVal_bool(obj2, &val3);
29980 if (!SWIG_IsOK(ecode3)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29982 }
29983 arg3 = static_cast< bool >(val3);
29984 }
29985 {
29986 PyThreadState* __tstate = wxPyBeginAllowThreads();
29987 (arg1)->SetSingleStyle(arg2,arg3);
29988 wxPyEndAllowThreads(__tstate);
29989 if (PyErr_Occurred()) SWIG_fail;
29990 }
29991 resultobj = SWIG_Py_Void();
29992 return resultobj;
29993fail:
29994 return NULL;
29995}
29996
29997
29998SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29999 PyObject *resultobj = 0;
30000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30001 long arg2 ;
30002 int arg3 = (int) wxLIST_NEXT_ALL ;
30003 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30004 long result;
30005 void *argp1 = 0 ;
30006 int res1 = 0 ;
30007 long val2 ;
30008 int ecode2 = 0 ;
30009 int val3 ;
30010 int ecode3 = 0 ;
30011 int val4 ;
30012 int ecode4 = 0 ;
30013 PyObject * obj0 = 0 ;
30014 PyObject * obj1 = 0 ;
30015 PyObject * obj2 = 0 ;
30016 PyObject * obj3 = 0 ;
30017 char * kwnames[] = {
30018 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30019 };
30020
30021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30023 if (!SWIG_IsOK(res1)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30025 }
30026 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30027 ecode2 = SWIG_AsVal_long(obj1, &val2);
30028 if (!SWIG_IsOK(ecode2)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30030 }
30031 arg2 = static_cast< long >(val2);
30032 if (obj2) {
30033 ecode3 = SWIG_AsVal_int(obj2, &val3);
30034 if (!SWIG_IsOK(ecode3)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30036 }
30037 arg3 = static_cast< int >(val3);
30038 }
30039 if (obj3) {
30040 ecode4 = SWIG_AsVal_int(obj3, &val4);
30041 if (!SWIG_IsOK(ecode4)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30043 }
30044 arg4 = static_cast< int >(val4);
30045 }
30046 {
30047 PyThreadState* __tstate = wxPyBeginAllowThreads();
30048 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30049 wxPyEndAllowThreads(__tstate);
30050 if (PyErr_Occurred()) SWIG_fail;
30051 }
30052 resultobj = SWIG_From_long(static_cast< long >(result));
30053 return resultobj;
30054fail:
30055 return NULL;
30056}
30057
30058
30059SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30060 PyObject *resultobj = 0;
30061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30062 int arg2 ;
30063 wxImageList *result = 0 ;
30064 void *argp1 = 0 ;
30065 int res1 = 0 ;
30066 int val2 ;
30067 int ecode2 = 0 ;
30068 PyObject * obj0 = 0 ;
30069 PyObject * obj1 = 0 ;
30070 char * kwnames[] = {
30071 (char *) "self",(char *) "which", NULL
30072 };
30073
30074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30076 if (!SWIG_IsOK(res1)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30078 }
30079 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30080 ecode2 = SWIG_AsVal_int(obj1, &val2);
30081 if (!SWIG_IsOK(ecode2)) {
30082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30083 }
30084 arg2 = static_cast< int >(val2);
30085 {
30086 PyThreadState* __tstate = wxPyBeginAllowThreads();
30087 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 {
30092 resultobj = wxPyMake_wxObject(result, (bool)0);
30093 }
30094 return resultobj;
30095fail:
30096 return NULL;
30097}
30098
30099
30100SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30101 PyObject *resultobj = 0;
30102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30103 wxImageList *arg2 = (wxImageList *) 0 ;
30104 int arg3 ;
30105 void *argp1 = 0 ;
30106 int res1 = 0 ;
30107 void *argp2 = 0 ;
30108 int res2 = 0 ;
30109 int val3 ;
30110 int ecode3 = 0 ;
30111 PyObject * obj0 = 0 ;
30112 PyObject * obj1 = 0 ;
30113 PyObject * obj2 = 0 ;
30114 char * kwnames[] = {
30115 (char *) "self",(char *) "imageList",(char *) "which", NULL
30116 };
30117
30118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30125 if (!SWIG_IsOK(res2)) {
30126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30127 }
30128 arg2 = reinterpret_cast< wxImageList * >(argp2);
30129 ecode3 = SWIG_AsVal_int(obj2, &val3);
30130 if (!SWIG_IsOK(ecode3)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30132 }
30133 arg3 = static_cast< int >(val3);
30134 {
30135 PyThreadState* __tstate = wxPyBeginAllowThreads();
30136 (arg1)->SetImageList(arg2,arg3);
30137 wxPyEndAllowThreads(__tstate);
30138 if (PyErr_Occurred()) SWIG_fail;
30139 }
30140 resultobj = SWIG_Py_Void();
30141 return resultobj;
30142fail:
30143 return NULL;
30144}
30145
30146
30147SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30148 PyObject *resultobj = 0;
30149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30150 wxImageList *arg2 = (wxImageList *) 0 ;
30151 int arg3 ;
30152 void *argp1 = 0 ;
30153 int res1 = 0 ;
30154 int res2 = 0 ;
30155 int val3 ;
30156 int ecode3 = 0 ;
30157 PyObject * obj0 = 0 ;
30158 PyObject * obj1 = 0 ;
30159 PyObject * obj2 = 0 ;
30160 char * kwnames[] = {
30161 (char *) "self",(char *) "imageList",(char *) "which", NULL
30162 };
30163
30164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",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_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30168 }
30169 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30170 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30171 if (!SWIG_IsOK(res2)) {
30172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30173 }
30174 ecode3 = SWIG_AsVal_int(obj2, &val3);
30175 if (!SWIG_IsOK(ecode3)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30177 }
30178 arg3 = static_cast< int >(val3);
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 (arg1)->AssignImageList(arg2,arg3);
30182 wxPyEndAllowThreads(__tstate);
30183 if (PyErr_Occurred()) SWIG_fail;
30184 }
30185 resultobj = SWIG_Py_Void();
30186 return resultobj;
30187fail:
30188 return NULL;
7e08d4ef
RD
30189}
30190
30191
554f62e9
RD
30192SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30193 PyObject *resultobj = 0;
30194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30195 bool result;
30196 void *argp1 = 0 ;
30197 int res1 = 0 ;
30198 PyObject *swig_obj[1] ;
30199
30200 if (!args) SWIG_fail;
30201 swig_obj[0] = args;
30202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30203 if (!SWIG_IsOK(res1)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30205 }
30206 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30207 {
30208 PyThreadState* __tstate = wxPyBeginAllowThreads();
30209 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30210 wxPyEndAllowThreads(__tstate);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 }
30213 {
30214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30215 }
30216 return resultobj;
30217fail:
30218 return NULL;
7e08d4ef
RD
30219}
30220
30221
554f62e9
RD
30222SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30223 PyObject *resultobj = 0;
30224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30225 bool 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_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30235 }
30236 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30237 {
30238 PyThreadState* __tstate = wxPyBeginAllowThreads();
30239 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 {
30244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30245 }
30246 return resultobj;
30247fail:
30248 return NULL;
30249}
30250
30251
30252SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30253 PyObject *resultobj = 0;
30254 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30255 long arg2 ;
30256 void *argp1 = 0 ;
30257 int res1 = 0 ;
30258 long val2 ;
30259 int ecode2 = 0 ;
30260 PyObject * obj0 = 0 ;
30261 PyObject * obj1 = 0 ;
30262 char * kwnames[] = {
30263 (char *) "self",(char *) "item", NULL
30264 };
30265
30266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30268 if (!SWIG_IsOK(res1)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30270 }
30271 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30272 ecode2 = SWIG_AsVal_long(obj1, &val2);
30273 if (!SWIG_IsOK(ecode2)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30275 }
30276 arg2 = static_cast< long >(val2);
30277 {
30278 PyThreadState* __tstate = wxPyBeginAllowThreads();
30279 (arg1)->RefreshItem(arg2);
30280 wxPyEndAllowThreads(__tstate);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 }
30283 resultobj = SWIG_Py_Void();
30284 return resultobj;
30285fail:
30286 return NULL;
30287}
30288
30289
30290SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30291 PyObject *resultobj = 0;
30292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30293 long arg2 ;
30294 long arg3 ;
30295 void *argp1 = 0 ;
30296 int res1 = 0 ;
30297 long val2 ;
30298 int ecode2 = 0 ;
30299 long val3 ;
30300 int ecode3 = 0 ;
30301 PyObject * obj0 = 0 ;
30302 PyObject * obj1 = 0 ;
30303 PyObject * obj2 = 0 ;
30304 char * kwnames[] = {
30305 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30306 };
30307
30308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30310 if (!SWIG_IsOK(res1)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30312 }
30313 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30314 ecode2 = SWIG_AsVal_long(obj1, &val2);
30315 if (!SWIG_IsOK(ecode2)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30317 }
30318 arg2 = static_cast< long >(val2);
30319 ecode3 = SWIG_AsVal_long(obj2, &val3);
30320 if (!SWIG_IsOK(ecode3)) {
30321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30322 }
30323 arg3 = static_cast< long >(val3);
30324 {
30325 PyThreadState* __tstate = wxPyBeginAllowThreads();
30326 (arg1)->RefreshItems(arg2,arg3);
30327 wxPyEndAllowThreads(__tstate);
30328 if (PyErr_Occurred()) SWIG_fail;
30329 }
30330 resultobj = SWIG_Py_Void();
30331 return resultobj;
30332fail:
30333 return NULL;
30334}
30335
30336
30337SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30338 PyObject *resultobj = 0;
30339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30340 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30341 bool result;
30342 void *argp1 = 0 ;
30343 int res1 = 0 ;
30344 int val2 ;
30345 int ecode2 = 0 ;
30346 PyObject * obj0 = 0 ;
30347 PyObject * obj1 = 0 ;
30348 char * kwnames[] = {
30349 (char *) "self",(char *) "flag", NULL
30350 };
30351
30352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30354 if (!SWIG_IsOK(res1)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30356 }
30357 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30358 if (obj1) {
30359 ecode2 = SWIG_AsVal_int(obj1, &val2);
30360 if (!SWIG_IsOK(ecode2)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30362 }
30363 arg2 = static_cast< int >(val2);
30364 }
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 result = (bool)(arg1)->Arrange(arg2);
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 {
30372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30373 }
30374 return resultobj;
30375fail:
30376 return NULL;
30377}
30378
30379
30380SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30381 PyObject *resultobj = 0;
30382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30383 long arg2 ;
30384 bool result;
30385 void *argp1 = 0 ;
30386 int res1 = 0 ;
30387 long val2 ;
30388 int ecode2 = 0 ;
30389 PyObject * obj0 = 0 ;
30390 PyObject * obj1 = 0 ;
30391 char * kwnames[] = {
30392 (char *) "self",(char *) "item", NULL
30393 };
30394
30395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30397 if (!SWIG_IsOK(res1)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30399 }
30400 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30401 ecode2 = SWIG_AsVal_long(obj1, &val2);
30402 if (!SWIG_IsOK(ecode2)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30404 }
30405 arg2 = static_cast< long >(val2);
30406 {
30407 PyThreadState* __tstate = wxPyBeginAllowThreads();
30408 result = (bool)(arg1)->DeleteItem(arg2);
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
30412 {
30413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30414 }
30415 return resultobj;
30416fail:
30417 return NULL;
7e08d4ef
RD
30418}
30419
30420
554f62e9
RD
30421SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30422 PyObject *resultobj = 0;
30423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30424 bool result;
30425 void *argp1 = 0 ;
30426 int res1 = 0 ;
30427 PyObject *swig_obj[1] ;
30428
30429 if (!args) SWIG_fail;
30430 swig_obj[0] = args;
30431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30432 if (!SWIG_IsOK(res1)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30434 }
30435 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30436 {
30437 PyThreadState* __tstate = wxPyBeginAllowThreads();
30438 result = (bool)(arg1)->DeleteAllItems();
30439 wxPyEndAllowThreads(__tstate);
30440 if (PyErr_Occurred()) SWIG_fail;
30441 }
30442 {
30443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30444 }
30445 return resultobj;
30446fail:
30447 return NULL;
30448}
30449
30450
30451SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30452 PyObject *resultobj = 0;
30453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30454 int arg2 ;
30455 bool result;
30456 void *argp1 = 0 ;
30457 int res1 = 0 ;
30458 int val2 ;
30459 int ecode2 = 0 ;
30460 PyObject * obj0 = 0 ;
30461 PyObject * obj1 = 0 ;
30462 char * kwnames[] = {
30463 (char *) "self",(char *) "col", NULL
30464 };
30465
30466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30468 if (!SWIG_IsOK(res1)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30470 }
30471 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30472 ecode2 = SWIG_AsVal_int(obj1, &val2);
30473 if (!SWIG_IsOK(ecode2)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30475 }
30476 arg2 = static_cast< int >(val2);
30477 {
30478 PyThreadState* __tstate = wxPyBeginAllowThreads();
30479 result = (bool)(arg1)->DeleteColumn(arg2);
30480 wxPyEndAllowThreads(__tstate);
30481 if (PyErr_Occurred()) SWIG_fail;
30482 }
30483 {
30484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30485 }
30486 return resultobj;
30487fail:
30488 return NULL;
7e08d4ef
RD
30489}
30490
30491
554f62e9
RD
30492SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30493 PyObject *resultobj = 0;
30494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30495 bool result;
30496 void *argp1 = 0 ;
30497 int res1 = 0 ;
30498 PyObject *swig_obj[1] ;
30499
30500 if (!args) SWIG_fail;
30501 swig_obj[0] = args;
30502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30503 if (!SWIG_IsOK(res1)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30505 }
30506 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 result = (bool)(arg1)->DeleteAllColumns();
30510 wxPyEndAllowThreads(__tstate);
30511 if (PyErr_Occurred()) SWIG_fail;
30512 }
30513 {
30514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30515 }
30516 return resultobj;
30517fail:
30518 return NULL;
7e08d4ef
RD
30519}
30520
30521
554f62e9
RD
30522SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30523 PyObject *resultobj = 0;
30524 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30525 void *argp1 = 0 ;
30526 int res1 = 0 ;
30527 PyObject *swig_obj[1] ;
30528
30529 if (!args) SWIG_fail;
30530 swig_obj[0] = args;
30531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30532 if (!SWIG_IsOK(res1)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30534 }
30535 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30536 {
30537 PyThreadState* __tstate = wxPyBeginAllowThreads();
30538 (arg1)->ClearAll();
30539 wxPyEndAllowThreads(__tstate);
30540 if (PyErr_Occurred()) SWIG_fail;
30541 }
30542 resultobj = SWIG_Py_Void();
30543 return resultobj;
30544fail:
30545 return NULL;
30546}
30547
30548
30549SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30550 PyObject *resultobj = 0;
30551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30552 long arg2 ;
30553 wxTextCtrl *result = 0 ;
30554 void *argp1 = 0 ;
30555 int res1 = 0 ;
30556 long val2 ;
30557 int ecode2 = 0 ;
30558 PyObject * obj0 = 0 ;
30559 PyObject * obj1 = 0 ;
30560 char * kwnames[] = {
30561 (char *) "self",(char *) "item", NULL
30562 };
30563
30564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30566 if (!SWIG_IsOK(res1)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30568 }
30569 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30570 ecode2 = SWIG_AsVal_long(obj1, &val2);
30571 if (!SWIG_IsOK(ecode2)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30573 }
30574 arg2 = static_cast< long >(val2);
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
30578 wxPyEndAllowThreads(__tstate);
30579 if (PyErr_Occurred()) SWIG_fail;
30580 }
30581 {
30582 resultobj = wxPyMake_wxObject(result, 0);
30583 }
30584 return resultobj;
30585fail:
30586 return NULL;
30587}
30588
30589
30590SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30591 PyObject *resultobj = 0;
30592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30593 bool arg2 ;
30594 bool result;
30595 void *argp1 = 0 ;
30596 int res1 = 0 ;
30597 bool val2 ;
30598 int ecode2 = 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 char * kwnames[] = {
30602 (char *) "self",(char *) "cancel", NULL
30603 };
30604
30605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30607 if (!SWIG_IsOK(res1)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30609 }
30610 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30612 if (!SWIG_IsOK(ecode2)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30614 }
30615 arg2 = static_cast< bool >(val2);
30616 {
30617 PyThreadState* __tstate = wxPyBeginAllowThreads();
30618 result = (bool)(arg1)->EndEditLabel(arg2);
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 {
30623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30624 }
30625 return resultobj;
30626fail:
30627 return NULL;
30628}
30629
30630
30631SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30632 PyObject *resultobj = 0;
30633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30634 long arg2 ;
30635 bool result;
30636 void *argp1 = 0 ;
30637 int res1 = 0 ;
30638 long val2 ;
30639 int ecode2 = 0 ;
30640 PyObject * obj0 = 0 ;
30641 PyObject * obj1 = 0 ;
30642 char * kwnames[] = {
30643 (char *) "self",(char *) "item", NULL
30644 };
30645
30646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30648 if (!SWIG_IsOK(res1)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30650 }
30651 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30652 ecode2 = SWIG_AsVal_long(obj1, &val2);
30653 if (!SWIG_IsOK(ecode2)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30655 }
30656 arg2 = static_cast< long >(val2);
30657 {
30658 PyThreadState* __tstate = wxPyBeginAllowThreads();
30659 result = (bool)(arg1)->EnsureVisible(arg2);
30660 wxPyEndAllowThreads(__tstate);
30661 if (PyErr_Occurred()) SWIG_fail;
30662 }
30663 {
30664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30665 }
30666 return resultobj;
30667fail:
30668 return NULL;
30669}
30670
30671
30672SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30673 PyObject *resultobj = 0;
30674 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30675 long arg2 ;
30676 wxString *arg3 = 0 ;
30677 bool arg4 = (bool) false ;
30678 long result;
30679 void *argp1 = 0 ;
30680 int res1 = 0 ;
30681 long val2 ;
30682 int ecode2 = 0 ;
30683 bool temp3 = false ;
30684 bool val4 ;
30685 int ecode4 = 0 ;
30686 PyObject * obj0 = 0 ;
30687 PyObject * obj1 = 0 ;
30688 PyObject * obj2 = 0 ;
30689 PyObject * obj3 = 0 ;
30690 char * kwnames[] = {
30691 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30692 };
30693
30694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30696 if (!SWIG_IsOK(res1)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30698 }
30699 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30700 ecode2 = SWIG_AsVal_long(obj1, &val2);
30701 if (!SWIG_IsOK(ecode2)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30703 }
30704 arg2 = static_cast< long >(val2);
30705 {
30706 arg3 = wxString_in_helper(obj2);
30707 if (arg3 == NULL) SWIG_fail;
30708 temp3 = true;
30709 }
30710 if (obj3) {
30711 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30712 if (!SWIG_IsOK(ecode4)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30714 }
30715 arg4 = static_cast< bool >(val4);
30716 }
30717 {
30718 PyThreadState* __tstate = wxPyBeginAllowThreads();
30719 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
30723 resultobj = SWIG_From_long(static_cast< long >(result));
30724 {
30725 if (temp3)
30726 delete arg3;
30727 }
30728 return resultobj;
30729fail:
30730 {
30731 if (temp3)
30732 delete arg3;
30733 }
30734 return NULL;
30735}
30736
30737
30738SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30739 PyObject *resultobj = 0;
30740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30741 long arg2 ;
30742 long arg3 ;
30743 long result;
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 *) "start",(char *) "data", NULL
30755 };
30756
30757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",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_FindItemData" "', 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_FindItemData" "', 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_FindItemData" "', expected argument " "3"" of type '" "long""'");
30771 }
30772 arg3 = static_cast< long >(val3);
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 result = (long)(arg1)->FindItem(arg2,arg3);
30776 wxPyEndAllowThreads(__tstate);
30777 if (PyErr_Occurred()) SWIG_fail;
30778 }
30779 resultobj = SWIG_From_long(static_cast< long >(result));
30780 return resultobj;
30781fail:
30782 return NULL;
30783}
30784
30785
30786SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30787 PyObject *resultobj = 0;
30788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30789 long arg2 ;
30790 wxPoint *arg3 = 0 ;
30791 int arg4 ;
30792 long result;
30793 void *argp1 = 0 ;
30794 int res1 = 0 ;
30795 long val2 ;
30796 int ecode2 = 0 ;
30797 wxPoint temp3 ;
30798 int val4 ;
30799 int ecode4 = 0 ;
30800 PyObject * obj0 = 0 ;
30801 PyObject * obj1 = 0 ;
30802 PyObject * obj2 = 0 ;
30803 PyObject * obj3 = 0 ;
30804 char * kwnames[] = {
30805 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30806 };
30807
30808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30810 if (!SWIG_IsOK(res1)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30812 }
30813 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30814 ecode2 = SWIG_AsVal_long(obj1, &val2);
30815 if (!SWIG_IsOK(ecode2)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30817 }
30818 arg2 = static_cast< long >(val2);
30819 {
30820 arg3 = &temp3;
30821 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30822 }
30823 ecode4 = SWIG_AsVal_int(obj3, &val4);
30824 if (!SWIG_IsOK(ecode4)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30826 }
30827 arg4 = static_cast< int >(val4);
30828 {
30829 PyThreadState* __tstate = wxPyBeginAllowThreads();
30830 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
30831 wxPyEndAllowThreads(__tstate);
30832 if (PyErr_Occurred()) SWIG_fail;
30833 }
30834 resultobj = SWIG_From_long(static_cast< long >(result));
30835 return resultobj;
30836fail:
30837 return NULL;
30838}
30839
30840
30841SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30842 PyObject *resultobj = 0;
30843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30844 wxPoint *arg2 = 0 ;
30845 int *arg3 = 0 ;
30846 long result;
30847 void *argp1 = 0 ;
30848 int res1 = 0 ;
30849 wxPoint temp2 ;
30850 int temp3 ;
30851 int res3 = SWIG_TMPOBJ ;
30852 PyObject * obj0 = 0 ;
30853 PyObject * obj1 = 0 ;
30854 char * kwnames[] = {
30855 (char *) "self",(char *) "point", NULL
30856 };
30857
30858 arg3 = &temp3;
30859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
30860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30861 if (!SWIG_IsOK(res1)) {
30862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30863 }
30864 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30865 {
30866 arg2 = &temp2;
30867 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30868 }
30869 {
30870 PyThreadState* __tstate = wxPyBeginAllowThreads();
30871 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30872 wxPyEndAllowThreads(__tstate);
30873 if (PyErr_Occurred()) SWIG_fail;
30874 }
30875 resultobj = SWIG_From_long(static_cast< long >(result));
30876 if (SWIG_IsTmpObj(res3)) {
30877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30878 } else {
30879 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30881 }
30882 return resultobj;
30883fail:
30884 return NULL;
30885}
30886
30887
704eda0c
RD
30888SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30889 PyObject *resultobj = 0;
30890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30891 wxPoint *arg2 = 0 ;
30892 int *arg3 = 0 ;
30893 long *arg4 = (long *) 0 ;
30894 long result;
30895 void *argp1 = 0 ;
30896 int res1 = 0 ;
30897 wxPoint temp2 ;
30898 int temp3 ;
30899 int res3 = SWIG_TMPOBJ ;
30900 long temp4 ;
30901 int res4 = SWIG_TMPOBJ ;
30902 PyObject * obj0 = 0 ;
30903 PyObject * obj1 = 0 ;
30904 char * kwnames[] = {
30905 (char *) "self",(char *) "point", NULL
30906 };
30907
30908 arg3 = &temp3;
30909 arg4 = &temp4;
30910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
30911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30912 if (!SWIG_IsOK(res1)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30914 }
30915 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30916 {
30917 arg2 = &temp2;
30918 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30919 }
30920 {
30921 PyThreadState* __tstate = wxPyBeginAllowThreads();
30922 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
30923 wxPyEndAllowThreads(__tstate);
30924 if (PyErr_Occurred()) SWIG_fail;
30925 }
30926 resultobj = SWIG_From_long(static_cast< long >(result));
30927 if (SWIG_IsTmpObj(res3)) {
30928 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30929 } else {
30930 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30932 }
30933 if (SWIG_IsTmpObj(res4)) {
30934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
30935 } else {
30936 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
30938 }
30939 return resultobj;
30940fail:
30941 return NULL;
30942}
30943
30944
554f62e9
RD
30945SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30946 PyObject *resultobj = 0;
30947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30948 wxListItem *arg2 = 0 ;
30949 long result;
30950 void *argp1 = 0 ;
30951 int res1 = 0 ;
30952 void *argp2 = 0 ;
30953 int res2 = 0 ;
30954 PyObject * obj0 = 0 ;
30955 PyObject * obj1 = 0 ;
30956 char * kwnames[] = {
30957 (char *) "self",(char *) "info", NULL
30958 };
30959
30960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
30961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30962 if (!SWIG_IsOK(res1)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30964 }
30965 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30966 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
30967 if (!SWIG_IsOK(res2)) {
30968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30969 }
30970 if (!argp2) {
30971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30972 }
30973 arg2 = reinterpret_cast< wxListItem * >(argp2);
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 result = (long)(arg1)->InsertItem(*arg2);
30977 wxPyEndAllowThreads(__tstate);
30978 if (PyErr_Occurred()) SWIG_fail;
30979 }
30980 resultobj = SWIG_From_long(static_cast< long >(result));
30981 return resultobj;
30982fail:
30983 return NULL;
30984}
30985
30986
30987SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30988 PyObject *resultobj = 0;
30989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30990 long arg2 ;
30991 wxString *arg3 = 0 ;
30992 int arg4 = (int) -1 ;
30993 long result;
30994 void *argp1 = 0 ;
30995 int res1 = 0 ;
30996 long val2 ;
30997 int ecode2 = 0 ;
30998 bool temp3 = false ;
30999 int val4 ;
31000 int ecode4 = 0 ;
31001 PyObject * obj0 = 0 ;
31002 PyObject * obj1 = 0 ;
31003 PyObject * obj2 = 0 ;
31004 PyObject * obj3 = 0 ;
31005 char * kwnames[] = {
31006 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31007 };
31008
31009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31011 if (!SWIG_IsOK(res1)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31013 }
31014 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31015 ecode2 = SWIG_AsVal_long(obj1, &val2);
31016 if (!SWIG_IsOK(ecode2)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31018 }
31019 arg2 = static_cast< long >(val2);
31020 {
31021 arg3 = wxString_in_helper(obj2);
31022 if (arg3 == NULL) SWIG_fail;
31023 temp3 = true;
31024 }
31025 if (obj3) {
31026 ecode4 = SWIG_AsVal_int(obj3, &val4);
31027 if (!SWIG_IsOK(ecode4)) {
31028 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31029 }
31030 arg4 = static_cast< int >(val4);
31031 }
31032 {
31033 PyThreadState* __tstate = wxPyBeginAllowThreads();
31034 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
31038 resultobj = SWIG_From_long(static_cast< long >(result));
31039 {
31040 if (temp3)
31041 delete arg3;
31042 }
31043 return resultobj;
31044fail:
31045 {
31046 if (temp3)
31047 delete arg3;
31048 }
31049 return NULL;
31050}
31051
31052
31053SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj = 0;
31055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31056 long arg2 ;
31057 int arg3 ;
31058 long result;
31059 void *argp1 = 0 ;
31060 int res1 = 0 ;
31061 long val2 ;
31062 int ecode2 = 0 ;
31063 int val3 ;
31064 int ecode3 = 0 ;
31065 PyObject * obj0 = 0 ;
31066 PyObject * obj1 = 0 ;
31067 PyObject * obj2 = 0 ;
31068 char * kwnames[] = {
31069 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31070 };
31071
31072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31074 if (!SWIG_IsOK(res1)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31076 }
31077 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31078 ecode2 = SWIG_AsVal_long(obj1, &val2);
31079 if (!SWIG_IsOK(ecode2)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31081 }
31082 arg2 = static_cast< long >(val2);
31083 ecode3 = SWIG_AsVal_int(obj2, &val3);
31084 if (!SWIG_IsOK(ecode3)) {
31085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31086 }
31087 arg3 = static_cast< int >(val3);
31088 {
31089 PyThreadState* __tstate = wxPyBeginAllowThreads();
31090 result = (long)(arg1)->InsertItem(arg2,arg3);
31091 wxPyEndAllowThreads(__tstate);
31092 if (PyErr_Occurred()) SWIG_fail;
31093 }
31094 resultobj = SWIG_From_long(static_cast< long >(result));
31095 return resultobj;
31096fail:
31097 return NULL;
31098}
31099
31100
31101SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31102 PyObject *resultobj = 0;
31103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31104 long arg2 ;
31105 wxString *arg3 = 0 ;
31106 int arg4 ;
31107 long result;
31108 void *argp1 = 0 ;
31109 int res1 = 0 ;
31110 long val2 ;
31111 int ecode2 = 0 ;
31112 bool temp3 = false ;
31113 int val4 ;
31114 int ecode4 = 0 ;
31115 PyObject * obj0 = 0 ;
31116 PyObject * obj1 = 0 ;
31117 PyObject * obj2 = 0 ;
31118 PyObject * obj3 = 0 ;
31119 char * kwnames[] = {
31120 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31121 };
31122
31123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31125 if (!SWIG_IsOK(res1)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31127 }
31128 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31129 ecode2 = SWIG_AsVal_long(obj1, &val2);
31130 if (!SWIG_IsOK(ecode2)) {
31131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31132 }
31133 arg2 = static_cast< long >(val2);
31134 {
31135 arg3 = wxString_in_helper(obj2);
31136 if (arg3 == NULL) SWIG_fail;
31137 temp3 = true;
31138 }
31139 ecode4 = SWIG_AsVal_int(obj3, &val4);
31140 if (!SWIG_IsOK(ecode4)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31142 }
31143 arg4 = static_cast< int >(val4);
31144 {
31145 PyThreadState* __tstate = wxPyBeginAllowThreads();
31146 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31147 wxPyEndAllowThreads(__tstate);
31148 if (PyErr_Occurred()) SWIG_fail;
31149 }
31150 resultobj = SWIG_From_long(static_cast< long >(result));
31151 {
31152 if (temp3)
31153 delete arg3;
31154 }
31155 return resultobj;
31156fail:
31157 {
31158 if (temp3)
31159 delete arg3;
31160 }
31161 return NULL;
31162}
31163
31164
31165SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31166 PyObject *resultobj = 0;
31167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31168 long arg2 ;
31169 wxListItem *arg3 = 0 ;
31170 long result;
31171 void *argp1 = 0 ;
31172 int res1 = 0 ;
31173 long val2 ;
31174 int ecode2 = 0 ;
31175 void *argp3 = 0 ;
31176 int res3 = 0 ;
31177 PyObject * obj0 = 0 ;
31178 PyObject * obj1 = 0 ;
31179 PyObject * obj2 = 0 ;
31180 char * kwnames[] = {
31181 (char *) "self",(char *) "col",(char *) "info", NULL
31182 };
31183
31184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31186 if (!SWIG_IsOK(res1)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 }
31189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31190 ecode2 = SWIG_AsVal_long(obj1, &val2);
31191 if (!SWIG_IsOK(ecode2)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31193 }
31194 arg2 = static_cast< long >(val2);
31195 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31196 if (!SWIG_IsOK(res3)) {
31197 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31198 }
31199 if (!argp3) {
31200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31201 }
31202 arg3 = reinterpret_cast< wxListItem * >(argp3);
31203 {
31204 PyThreadState* __tstate = wxPyBeginAllowThreads();
31205 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31206 wxPyEndAllowThreads(__tstate);
31207 if (PyErr_Occurred()) SWIG_fail;
31208 }
31209 resultobj = SWIG_From_long(static_cast< long >(result));
31210 return resultobj;
31211fail:
31212 return NULL;
31213}
31214
31215
31216SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31217 PyObject *resultobj = 0;
31218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31219 long arg2 ;
31220 wxString *arg3 = 0 ;
31221 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31222 int arg5 = (int) -1 ;
31223 long result;
31224 void *argp1 = 0 ;
31225 int res1 = 0 ;
31226 long val2 ;
31227 int ecode2 = 0 ;
31228 bool temp3 = false ;
31229 int val4 ;
31230 int ecode4 = 0 ;
31231 int val5 ;
31232 int ecode5 = 0 ;
31233 PyObject * obj0 = 0 ;
31234 PyObject * obj1 = 0 ;
31235 PyObject * obj2 = 0 ;
31236 PyObject * obj3 = 0 ;
31237 PyObject * obj4 = 0 ;
31238 char * kwnames[] = {
31239 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31240 };
31241
31242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31244 if (!SWIG_IsOK(res1)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31246 }
31247 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31248 ecode2 = SWIG_AsVal_long(obj1, &val2);
31249 if (!SWIG_IsOK(ecode2)) {
31250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31251 }
31252 arg2 = static_cast< long >(val2);
31253 {
31254 arg3 = wxString_in_helper(obj2);
31255 if (arg3 == NULL) SWIG_fail;
31256 temp3 = true;
31257 }
31258 if (obj3) {
31259 ecode4 = SWIG_AsVal_int(obj3, &val4);
31260 if (!SWIG_IsOK(ecode4)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31262 }
31263 arg4 = static_cast< int >(val4);
31264 }
31265 if (obj4) {
31266 ecode5 = SWIG_AsVal_int(obj4, &val5);
31267 if (!SWIG_IsOK(ecode5)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31269 }
31270 arg5 = static_cast< int >(val5);
31271 }
31272 {
31273 PyThreadState* __tstate = wxPyBeginAllowThreads();
31274 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31275 wxPyEndAllowThreads(__tstate);
31276 if (PyErr_Occurred()) SWIG_fail;
31277 }
31278 resultobj = SWIG_From_long(static_cast< long >(result));
31279 {
31280 if (temp3)
31281 delete arg3;
31282 }
31283 return resultobj;
31284fail:
31285 {
31286 if (temp3)
31287 delete arg3;
31288 }
31289 return NULL;
31290}
31291
31292
31293SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31294 PyObject *resultobj = 0;
31295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31296 long arg2 ;
31297 void *argp1 = 0 ;
31298 int res1 = 0 ;
31299 long val2 ;
31300 int ecode2 = 0 ;
31301 PyObject * obj0 = 0 ;
31302 PyObject * obj1 = 0 ;
31303 char * kwnames[] = {
31304 (char *) "self",(char *) "count", NULL
31305 };
31306
31307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31309 if (!SWIG_IsOK(res1)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31311 }
31312 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31313 ecode2 = SWIG_AsVal_long(obj1, &val2);
31314 if (!SWIG_IsOK(ecode2)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31316 }
31317 arg2 = static_cast< long >(val2);
31318 {
31319 PyThreadState* __tstate = wxPyBeginAllowThreads();
31320 (arg1)->SetItemCount(arg2);
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 resultobj = SWIG_Py_Void();
31325 return resultobj;
31326fail:
31327 return NULL;
31328}
31329
31330
31331SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31332 PyObject *resultobj = 0;
31333 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31334 int arg2 ;
31335 int arg3 ;
31336 bool result;
31337 void *argp1 = 0 ;
31338 int res1 = 0 ;
31339 int val2 ;
31340 int ecode2 = 0 ;
31341 int val3 ;
31342 int ecode3 = 0 ;
31343 PyObject * obj0 = 0 ;
31344 PyObject * obj1 = 0 ;
31345 PyObject * obj2 = 0 ;
31346 char * kwnames[] = {
31347 (char *) "self",(char *) "dx",(char *) "dy", NULL
31348 };
31349
31350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31352 if (!SWIG_IsOK(res1)) {
31353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31354 }
31355 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31356 ecode2 = SWIG_AsVal_int(obj1, &val2);
31357 if (!SWIG_IsOK(ecode2)) {
31358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31359 }
31360 arg2 = static_cast< int >(val2);
31361 ecode3 = SWIG_AsVal_int(obj2, &val3);
31362 if (!SWIG_IsOK(ecode3)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31364 }
31365 arg3 = static_cast< int >(val3);
31366 {
31367 PyThreadState* __tstate = wxPyBeginAllowThreads();
31368 result = (bool)(arg1)->ScrollList(arg2,arg3);
31369 wxPyEndAllowThreads(__tstate);
31370 if (PyErr_Occurred()) SWIG_fail;
31371 }
31372 {
31373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31374 }
31375 return resultobj;
31376fail:
31377 return NULL;
31378}
31379
31380
31381SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj = 0;
31383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31384 long arg2 ;
31385 wxColour *arg3 = 0 ;
31386 void *argp1 = 0 ;
31387 int res1 = 0 ;
31388 long val2 ;
31389 int ecode2 = 0 ;
31390 wxColour temp3 ;
31391 PyObject * obj0 = 0 ;
31392 PyObject * obj1 = 0 ;
31393 PyObject * obj2 = 0 ;
31394 char * kwnames[] = {
31395 (char *) "self",(char *) "item",(char *) "col", NULL
31396 };
31397
31398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31400 if (!SWIG_IsOK(res1)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31402 }
31403 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31404 ecode2 = SWIG_AsVal_long(obj1, &val2);
31405 if (!SWIG_IsOK(ecode2)) {
31406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31407 }
31408 arg2 = static_cast< long >(val2);
31409 {
31410 arg3 = &temp3;
31411 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31412 }
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31416 wxPyEndAllowThreads(__tstate);
31417 if (PyErr_Occurred()) SWIG_fail;
31418 }
31419 resultobj = SWIG_Py_Void();
31420 return resultobj;
31421fail:
31422 return NULL;
31423}
31424
31425
31426SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31427 PyObject *resultobj = 0;
31428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31429 long arg2 ;
31430 wxColour result;
31431 void *argp1 = 0 ;
31432 int res1 = 0 ;
31433 long val2 ;
31434 int ecode2 = 0 ;
31435 PyObject * obj0 = 0 ;
31436 PyObject * obj1 = 0 ;
31437 char * kwnames[] = {
31438 (char *) "self",(char *) "item", NULL
31439 };
31440
31441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31443 if (!SWIG_IsOK(res1)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31445 }
31446 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31447 ecode2 = SWIG_AsVal_long(obj1, &val2);
31448 if (!SWIG_IsOK(ecode2)) {
31449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31450 }
31451 arg2 = static_cast< long >(val2);
31452 {
31453 PyThreadState* __tstate = wxPyBeginAllowThreads();
31454 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31455 wxPyEndAllowThreads(__tstate);
31456 if (PyErr_Occurred()) SWIG_fail;
31457 }
31458 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31459 return resultobj;
31460fail:
31461 return NULL;
31462}
31463
31464
31465SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31466 PyObject *resultobj = 0;
31467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31468 long arg2 ;
31469 wxColour *arg3 = 0 ;
31470 void *argp1 = 0 ;
31471 int res1 = 0 ;
31472 long val2 ;
31473 int ecode2 = 0 ;
31474 wxColour temp3 ;
31475 PyObject * obj0 = 0 ;
31476 PyObject * obj1 = 0 ;
31477 PyObject * obj2 = 0 ;
31478 char * kwnames[] = {
31479 (char *) "self",(char *) "item",(char *) "col", NULL
31480 };
31481
31482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31484 if (!SWIG_IsOK(res1)) {
31485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31486 }
31487 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31488 ecode2 = SWIG_AsVal_long(obj1, &val2);
31489 if (!SWIG_IsOK(ecode2)) {
31490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31491 }
31492 arg2 = static_cast< long >(val2);
31493 {
31494 arg3 = &temp3;
31495 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31496 }
31497 {
31498 PyThreadState* __tstate = wxPyBeginAllowThreads();
31499 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31500 wxPyEndAllowThreads(__tstate);
31501 if (PyErr_Occurred()) SWIG_fail;
31502 }
31503 resultobj = SWIG_Py_Void();
31504 return resultobj;
31505fail:
31506 return NULL;
31507}
31508
31509
31510SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31511 PyObject *resultobj = 0;
31512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31513 long arg2 ;
31514 wxColour result;
31515 void *argp1 = 0 ;
31516 int res1 = 0 ;
31517 long val2 ;
31518 int ecode2 = 0 ;
31519 PyObject * obj0 = 0 ;
31520 PyObject * obj1 = 0 ;
31521 char * kwnames[] = {
31522 (char *) "self",(char *) "item", NULL
31523 };
31524
31525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31527 if (!SWIG_IsOK(res1)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31529 }
31530 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31531 ecode2 = SWIG_AsVal_long(obj1, &val2);
31532 if (!SWIG_IsOK(ecode2)) {
31533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31534 }
31535 arg2 = static_cast< long >(val2);
31536 {
31537 PyThreadState* __tstate = wxPyBeginAllowThreads();
31538 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31539 wxPyEndAllowThreads(__tstate);
31540 if (PyErr_Occurred()) SWIG_fail;
31541 }
31542 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31543 return resultobj;
31544fail:
31545 return NULL;
31546}
31547
31548
31549SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31550 PyObject *resultobj = 0;
31551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31552 long arg2 ;
31553 wxFont *arg3 = 0 ;
31554 void *argp1 = 0 ;
31555 int res1 = 0 ;
31556 long val2 ;
31557 int ecode2 = 0 ;
31558 void *argp3 = 0 ;
31559 int res3 = 0 ;
31560 PyObject * obj0 = 0 ;
31561 PyObject * obj1 = 0 ;
31562 PyObject * obj2 = 0 ;
31563 char * kwnames[] = {
31564 (char *) "self",(char *) "item",(char *) "f", NULL
31565 };
31566
31567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31569 if (!SWIG_IsOK(res1)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31571 }
31572 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31573 ecode2 = SWIG_AsVal_long(obj1, &val2);
31574 if (!SWIG_IsOK(ecode2)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31576 }
31577 arg2 = static_cast< long >(val2);
31578 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31579 if (!SWIG_IsOK(res3)) {
31580 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31581 }
31582 if (!argp3) {
31583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31584 }
31585 arg3 = reinterpret_cast< wxFont * >(argp3);
31586 {
31587 PyThreadState* __tstate = wxPyBeginAllowThreads();
31588 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31589 wxPyEndAllowThreads(__tstate);
31590 if (PyErr_Occurred()) SWIG_fail;
31591 }
31592 resultobj = SWIG_Py_Void();
31593 return resultobj;
31594fail:
31595 return NULL;
31596}
31597
31598
31599SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31600 PyObject *resultobj = 0;
31601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31602 long arg2 ;
31603 wxFont result;
31604 void *argp1 = 0 ;
31605 int res1 = 0 ;
31606 long val2 ;
31607 int ecode2 = 0 ;
31608 PyObject * obj0 = 0 ;
31609 PyObject * obj1 = 0 ;
31610 char * kwnames[] = {
31611 (char *) "self",(char *) "item", NULL
31612 };
31613
31614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31616 if (!SWIG_IsOK(res1)) {
31617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31618 }
31619 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31620 ecode2 = SWIG_AsVal_long(obj1, &val2);
31621 if (!SWIG_IsOK(ecode2)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31623 }
31624 arg2 = static_cast< long >(val2);
31625 {
31626 PyThreadState* __tstate = wxPyBeginAllowThreads();
31627 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31632 return resultobj;
31633fail:
31634 return NULL;
31635}
31636
31637
31638SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31639 PyObject *resultobj = 0;
31640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31641 PyObject *arg2 = (PyObject *) 0 ;
31642 bool result;
31643 void *argp1 = 0 ;
31644 int res1 = 0 ;
31645 PyObject * obj0 = 0 ;
31646 PyObject * obj1 = 0 ;
31647 char * kwnames[] = {
31648 (char *) "self",(char *) "func", NULL
31649 };
31650
31651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31653 if (!SWIG_IsOK(res1)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31655 }
31656 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31657 arg2 = obj1;
31658 {
31659 PyThreadState* __tstate = wxPyBeginAllowThreads();
31660 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31661 wxPyEndAllowThreads(__tstate);
31662 if (PyErr_Occurred()) SWIG_fail;
31663 }
31664 {
31665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31666 }
31667 return resultobj;
31668fail:
31669 return NULL;
1fbf26be
RD
31670}
31671
31672
554f62e9
RD
31673SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31674 PyObject *resultobj = 0;
31675 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31676 wxWindow *result = 0 ;
31677 void *argp1 = 0 ;
31678 int res1 = 0 ;
31679 PyObject *swig_obj[1] ;
31680
31681 if (!args) SWIG_fail;
31682 swig_obj[0] = args;
31683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31684 if (!SWIG_IsOK(res1)) {
31685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31686 }
31687 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31688 {
31689 PyThreadState* __tstate = wxPyBeginAllowThreads();
31690 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31691 wxPyEndAllowThreads(__tstate);
31692 if (PyErr_Occurred()) SWIG_fail;
31693 }
31694 {
31695 resultobj = wxPyMake_wxObject(result, 0);
31696 }
31697 return resultobj;
31698fail:
31699 return NULL;
31700}
31701
31702
31703SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31704 PyObject *resultobj = 0;
31705 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31706 SwigValueWrapper<wxVisualAttributes > result;
31707 int val1 ;
31708 int ecode1 = 0 ;
31709 PyObject * obj0 = 0 ;
31710 char * kwnames[] = {
31711 (char *) "variant", NULL
31712 };
31713
31714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
31715 if (obj0) {
31716 ecode1 = SWIG_AsVal_int(obj0, &val1);
31717 if (!SWIG_IsOK(ecode1)) {
31718 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31719 }
31720 arg1 = static_cast< wxWindowVariant >(val1);
31721 }
31722 {
31723 if (!wxPyCheckForApp()) SWIG_fail;
31724 PyThreadState* __tstate = wxPyBeginAllowThreads();
31725 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
31726 wxPyEndAllowThreads(__tstate);
31727 if (PyErr_Occurred()) SWIG_fail;
31728 }
31729 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
31730 return resultobj;
31731fail:
31732 return NULL;
31733}
31734
31735
31736SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31737 PyObject *obj;
31738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
31740 return SWIG_Py_Void();
31741}
31742
31743SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31744 return SWIG_Python_InitShadowInstance(args);
31745}
31746
31747SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31748 PyObject *resultobj = 0;
31749 wxWindow *arg1 = (wxWindow *) 0 ;
31750 int arg2 = (int) -1 ;
31751 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31752 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31753 wxSize const &arg4_defvalue = wxDefaultSize ;
31754 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31755 long arg5 = (long) wxLC_REPORT ;
31756 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31757 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31758 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
31759 wxString *arg7 = (wxString *) &arg7_defvalue ;
31760 wxListView *result = 0 ;
31761 void *argp1 = 0 ;
31762 int res1 = 0 ;
31763 int val2 ;
31764 int ecode2 = 0 ;
31765 wxPoint temp3 ;
31766 wxSize temp4 ;
31767 long val5 ;
31768 int ecode5 = 0 ;
31769 void *argp6 = 0 ;
31770 int res6 = 0 ;
31771 bool temp7 = false ;
31772 PyObject * obj0 = 0 ;
31773 PyObject * obj1 = 0 ;
31774 PyObject * obj2 = 0 ;
31775 PyObject * obj3 = 0 ;
31776 PyObject * obj4 = 0 ;
31777 PyObject * obj5 = 0 ;
31778 PyObject * obj6 = 0 ;
31779 char * kwnames[] = {
31780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31781 };
31782
31783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
31785 if (!SWIG_IsOK(res1)) {
31786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31787 }
31788 arg1 = reinterpret_cast< wxWindow * >(argp1);
31789 if (obj1) {
31790 ecode2 = SWIG_AsVal_int(obj1, &val2);
31791 if (!SWIG_IsOK(ecode2)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31793 }
31794 arg2 = static_cast< int >(val2);
31795 }
31796 if (obj2) {
31797 {
31798 arg3 = &temp3;
31799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 31800 }
554f62e9
RD
31801 }
31802 if (obj3) {
31803 {
31804 arg4 = &temp4;
31805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31806 }
554f62e9
RD
31807 }
31808 if (obj4) {
31809 ecode5 = SWIG_AsVal_long(obj4, &val5);
31810 if (!SWIG_IsOK(ecode5)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31812 }
31813 arg5 = static_cast< long >(val5);
31814 }
31815 if (obj5) {
31816 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
31817 if (!SWIG_IsOK(res6)) {
31818 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 31819 }
554f62e9
RD
31820 if (!argp6) {
31821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 31822 }
554f62e9
RD
31823 arg6 = reinterpret_cast< wxValidator * >(argp6);
31824 }
31825 if (obj6) {
d55e5bfc 31826 {
554f62e9
RD
31827 arg7 = wxString_in_helper(obj6);
31828 if (arg7 == NULL) SWIG_fail;
31829 temp7 = true;
d55e5bfc 31830 }
554f62e9
RD
31831 }
31832 {
31833 if (!wxPyCheckForApp()) SWIG_fail;
31834 PyThreadState* __tstate = wxPyBeginAllowThreads();
31835 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31836 wxPyEndAllowThreads(__tstate);
31837 if (PyErr_Occurred()) SWIG_fail;
31838 }
31839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
31840 {
31841 if (temp7)
31842 delete arg7;
31843 }
31844 return resultobj;
31845fail:
31846 {
31847 if (temp7)
31848 delete arg7;
31849 }
31850 return NULL;
d55e5bfc
RD
31851}
31852
31853
554f62e9
RD
31854SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31855 PyObject *resultobj = 0;
31856 wxListView *result = 0 ;
31857
31858 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
31859 {
31860 if (!wxPyCheckForApp()) SWIG_fail;
31861 PyThreadState* __tstate = wxPyBeginAllowThreads();
31862 result = (wxListView *)new wxListView();
31863 wxPyEndAllowThreads(__tstate);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
31866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
31867 return resultobj;
31868fail:
31869 return NULL;
31870}
31871
31872
31873SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31874 PyObject *resultobj = 0;
31875 wxListView *arg1 = (wxListView *) 0 ;
31876 wxWindow *arg2 = (wxWindow *) 0 ;
31877 int arg3 = (int) -1 ;
31878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31880 wxSize const &arg5_defvalue = wxDefaultSize ;
31881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31882 long arg6 = (long) wxLC_REPORT ;
31883 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31884 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31885 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
31886 wxString *arg8 = (wxString *) &arg8_defvalue ;
31887 bool result;
31888 void *argp1 = 0 ;
31889 int res1 = 0 ;
31890 void *argp2 = 0 ;
31891 int res2 = 0 ;
31892 int val3 ;
31893 int ecode3 = 0 ;
31894 wxPoint temp4 ;
31895 wxSize temp5 ;
31896 long val6 ;
31897 int ecode6 = 0 ;
31898 void *argp7 = 0 ;
31899 int res7 = 0 ;
31900 bool temp8 = false ;
31901 PyObject * obj0 = 0 ;
31902 PyObject * obj1 = 0 ;
31903 PyObject * obj2 = 0 ;
31904 PyObject * obj3 = 0 ;
31905 PyObject * obj4 = 0 ;
31906 PyObject * obj5 = 0 ;
31907 PyObject * obj6 = 0 ;
31908 PyObject * obj7 = 0 ;
31909 char * kwnames[] = {
31910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31911 };
31912
31913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
31914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
31915 if (!SWIG_IsOK(res1)) {
31916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31917 }
31918 arg1 = reinterpret_cast< wxListView * >(argp1);
31919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31920 if (!SWIG_IsOK(res2)) {
31921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31922 }
31923 arg2 = reinterpret_cast< wxWindow * >(argp2);
31924 if (obj2) {
31925 ecode3 = SWIG_AsVal_int(obj2, &val3);
31926 if (!SWIG_IsOK(ecode3)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31928 }
31929 arg3 = static_cast< int >(val3);
31930 }
31931 if (obj3) {
093d3ff1 31932 {
554f62e9
RD
31933 arg4 = &temp4;
31934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
ae8162c8 31935 }
554f62e9
RD
31936 }
31937 if (obj4) {
31938 {
31939 arg5 = &temp5;
31940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
ae8162c8 31941 }
554f62e9
RD
31942 }
31943 if (obj5) {
31944 ecode6 = SWIG_AsVal_long(obj5, &val6);
31945 if (!SWIG_IsOK(ecode6)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31947 }
31948 arg6 = static_cast< long >(val6);
31949 }
31950 if (obj6) {
31951 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
31952 if (!SWIG_IsOK(res7)) {
31953 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 31954 }
554f62e9
RD
31955 if (!argp7) {
31956 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 31957 }
554f62e9
RD
31958 arg7 = reinterpret_cast< wxValidator * >(argp7);
31959 }
31960 if (obj7) {
ae8162c8 31961 {
554f62e9
RD
31962 arg8 = wxString_in_helper(obj7);
31963 if (arg8 == NULL) SWIG_fail;
31964 temp8 = true;
ae8162c8 31965 }
554f62e9
RD
31966 }
31967 {
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 {
31974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31975 }
31976 {
31977 if (temp8)
31978 delete arg8;
31979 }
31980 return resultobj;
31981fail:
31982 {
31983 if (temp8)
31984 delete arg8;
31985 }
31986 return NULL;
31987}
31988
31989
31990SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31991 PyObject *resultobj = 0;
31992 wxListView *arg1 = (wxListView *) 0 ;
31993 long arg2 ;
31994 bool arg3 = (bool) true ;
31995 void *argp1 = 0 ;
31996 int res1 = 0 ;
31997 long val2 ;
31998 int ecode2 = 0 ;
31999 bool val3 ;
32000 int ecode3 = 0 ;
32001 PyObject * obj0 = 0 ;
32002 PyObject * obj1 = 0 ;
32003 PyObject * obj2 = 0 ;
32004 char * kwnames[] = {
32005 (char *) "self",(char *) "n",(char *) "on", NULL
32006 };
32007
32008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32010 if (!SWIG_IsOK(res1)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32012 }
32013 arg1 = reinterpret_cast< wxListView * >(argp1);
32014 ecode2 = SWIG_AsVal_long(obj1, &val2);
32015 if (!SWIG_IsOK(ecode2)) {
32016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32017 }
32018 arg2 = static_cast< long >(val2);
32019 if (obj2) {
32020 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32021 if (!SWIG_IsOK(ecode3)) {
32022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32023 }
32024 arg3 = static_cast< bool >(val3);
32025 }
32026 {
32027 PyThreadState* __tstate = wxPyBeginAllowThreads();
32028 (arg1)->Select(arg2,arg3);
32029 wxPyEndAllowThreads(__tstate);
32030 if (PyErr_Occurred()) SWIG_fail;
32031 }
32032 resultobj = SWIG_Py_Void();
32033 return resultobj;
32034fail:
32035 return NULL;
32036}
32037
32038
32039SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32040 PyObject *resultobj = 0;
32041 wxListView *arg1 = (wxListView *) 0 ;
32042 long arg2 ;
32043 void *argp1 = 0 ;
32044 int res1 = 0 ;
32045 long val2 ;
32046 int ecode2 = 0 ;
32047 PyObject * obj0 = 0 ;
32048 PyObject * obj1 = 0 ;
32049 char * kwnames[] = {
32050 (char *) "self",(char *) "index", NULL
32051 };
32052
32053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32055 if (!SWIG_IsOK(res1)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32057 }
32058 arg1 = reinterpret_cast< wxListView * >(argp1);
32059 ecode2 = SWIG_AsVal_long(obj1, &val2);
32060 if (!SWIG_IsOK(ecode2)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32062 }
32063 arg2 = static_cast< long >(val2);
32064 {
32065 PyThreadState* __tstate = wxPyBeginAllowThreads();
32066 (arg1)->Focus(arg2);
32067 wxPyEndAllowThreads(__tstate);
32068 if (PyErr_Occurred()) SWIG_fail;
32069 }
32070 resultobj = SWIG_Py_Void();
32071 return resultobj;
32072fail:
32073 return NULL;
ae8162c8
RD
32074}
32075
32076
554f62e9
RD
32077SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32078 PyObject *resultobj = 0;
32079 wxListView *arg1 = (wxListView *) 0 ;
32080 long result;
32081 void *argp1 = 0 ;
32082 int res1 = 0 ;
32083 PyObject *swig_obj[1] ;
32084
32085 if (!args) SWIG_fail;
32086 swig_obj[0] = args;
32087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32088 if (!SWIG_IsOK(res1)) {
32089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32090 }
32091 arg1 = reinterpret_cast< wxListView * >(argp1);
32092 {
32093 PyThreadState* __tstate = wxPyBeginAllowThreads();
32094 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32095 wxPyEndAllowThreads(__tstate);
32096 if (PyErr_Occurred()) SWIG_fail;
32097 }
32098 resultobj = SWIG_From_long(static_cast< long >(result));
32099 return resultobj;
32100fail:
32101 return NULL;
32102}
32103
32104
32105SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32106 PyObject *resultobj = 0;
32107 wxListView *arg1 = (wxListView *) 0 ;
32108 long arg2 ;
32109 long result;
32110 void *argp1 = 0 ;
32111 int res1 = 0 ;
32112 long val2 ;
32113 int ecode2 = 0 ;
32114 PyObject * obj0 = 0 ;
32115 PyObject * obj1 = 0 ;
32116 char * kwnames[] = {
32117 (char *) "self",(char *) "item", NULL
32118 };
32119
32120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32122 if (!SWIG_IsOK(res1)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32124 }
32125 arg1 = reinterpret_cast< wxListView * >(argp1);
32126 ecode2 = SWIG_AsVal_long(obj1, &val2);
32127 if (!SWIG_IsOK(ecode2)) {
32128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32129 }
32130 arg2 = static_cast< long >(val2);
32131 {
32132 PyThreadState* __tstate = wxPyBeginAllowThreads();
32133 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
32137 resultobj = SWIG_From_long(static_cast< long >(result));
32138 return resultobj;
32139fail:
32140 return NULL;
ae8162c8
RD
32141}
32142
32143
554f62e9
RD
32144SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32145 PyObject *resultobj = 0;
32146 wxListView *arg1 = (wxListView *) 0 ;
32147 long result;
32148 void *argp1 = 0 ;
32149 int res1 = 0 ;
32150 PyObject *swig_obj[1] ;
32151
32152 if (!args) SWIG_fail;
32153 swig_obj[0] = args;
32154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32155 if (!SWIG_IsOK(res1)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32157 }
32158 arg1 = reinterpret_cast< wxListView * >(argp1);
32159 {
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32161 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32162 wxPyEndAllowThreads(__tstate);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 resultobj = SWIG_From_long(static_cast< long >(result));
32166 return resultobj;
32167fail:
32168 return NULL;
32169}
32170
32171
32172SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32173 PyObject *resultobj = 0;
32174 wxListView *arg1 = (wxListView *) 0 ;
32175 long arg2 ;
32176 bool result;
32177 void *argp1 = 0 ;
32178 int res1 = 0 ;
32179 long val2 ;
32180 int ecode2 = 0 ;
32181 PyObject * obj0 = 0 ;
32182 PyObject * obj1 = 0 ;
32183 char * kwnames[] = {
32184 (char *) "self",(char *) "index", NULL
32185 };
32186
32187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32189 if (!SWIG_IsOK(res1)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32191 }
32192 arg1 = reinterpret_cast< wxListView * >(argp1);
32193 ecode2 = SWIG_AsVal_long(obj1, &val2);
32194 if (!SWIG_IsOK(ecode2)) {
32195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32196 }
32197 arg2 = static_cast< long >(val2);
32198 {
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 result = (bool)(arg1)->IsSelected(arg2);
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
32204 {
32205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32206 }
32207 return resultobj;
32208fail:
32209 return NULL;
32210}
32211
32212
32213SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32214 PyObject *resultobj = 0;
32215 wxListView *arg1 = (wxListView *) 0 ;
32216 int arg2 ;
32217 int arg3 ;
32218 void *argp1 = 0 ;
32219 int res1 = 0 ;
32220 int val2 ;
32221 int ecode2 = 0 ;
32222 int val3 ;
32223 int ecode3 = 0 ;
32224 PyObject * obj0 = 0 ;
32225 PyObject * obj1 = 0 ;
32226 PyObject * obj2 = 0 ;
32227 char * kwnames[] = {
32228 (char *) "self",(char *) "col",(char *) "image", NULL
32229 };
32230
32231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32233 if (!SWIG_IsOK(res1)) {
32234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32235 }
32236 arg1 = reinterpret_cast< wxListView * >(argp1);
32237 ecode2 = SWIG_AsVal_int(obj1, &val2);
32238 if (!SWIG_IsOK(ecode2)) {
32239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32240 }
32241 arg2 = static_cast< int >(val2);
32242 ecode3 = SWIG_AsVal_int(obj2, &val3);
32243 if (!SWIG_IsOK(ecode3)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32245 }
32246 arg3 = static_cast< int >(val3);
32247 {
32248 PyThreadState* __tstate = wxPyBeginAllowThreads();
32249 (arg1)->SetColumnImage(arg2,arg3);
32250 wxPyEndAllowThreads(__tstate);
32251 if (PyErr_Occurred()) SWIG_fail;
32252 }
32253 resultobj = SWIG_Py_Void();
32254 return resultobj;
32255fail:
32256 return NULL;
32257}
32258
32259
32260SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32261 PyObject *resultobj = 0;
32262 wxListView *arg1 = (wxListView *) 0 ;
32263 int arg2 ;
32264 void *argp1 = 0 ;
32265 int res1 = 0 ;
32266 int val2 ;
32267 int ecode2 = 0 ;
32268 PyObject * obj0 = 0 ;
32269 PyObject * obj1 = 0 ;
32270 char * kwnames[] = {
32271 (char *) "self",(char *) "col", NULL
32272 };
32273
32274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32276 if (!SWIG_IsOK(res1)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32278 }
32279 arg1 = reinterpret_cast< wxListView * >(argp1);
32280 ecode2 = SWIG_AsVal_int(obj1, &val2);
32281 if (!SWIG_IsOK(ecode2)) {
32282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32283 }
32284 arg2 = static_cast< int >(val2);
32285 {
32286 PyThreadState* __tstate = wxPyBeginAllowThreads();
32287 (arg1)->ClearColumnImage(arg2);
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 resultobj = SWIG_Py_Void();
32292 return resultobj;
32293fail:
32294 return NULL;
ae8162c8
RD
32295}
32296
32297
554f62e9
RD
32298SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32299 PyObject *obj;
32300 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32301 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32302 return SWIG_Py_Void();
70b7a5fe
RD
32303}
32304
554f62e9
RD
32305SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32306 return SWIG_Python_InitShadowInstance(args);
ae8162c8
RD
32307}
32308
554f62e9
RD
32309SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32310 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32311 return 1;
ae8162c8
RD
32312}
32313
32314
554f62e9
RD
32315SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32316 PyObject *pyobj = 0;
32317
32318 {
32319#if wxUSE_UNICODE
32320 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32321#else
32322 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32323#endif
32324 }
32325 return pyobj;
d55e5bfc
RD
32326}
32327
32328
554f62e9
RD
32329SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32330 PyObject *resultobj = 0;
32331 wxTreeItemId *result = 0 ;
32332
32333 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32334 {
32335 PyThreadState* __tstate = wxPyBeginAllowThreads();
32336 result = (wxTreeItemId *)new wxTreeItemId();
32337 wxPyEndAllowThreads(__tstate);
32338 if (PyErr_Occurred()) SWIG_fail;
32339 }
32340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32341 return resultobj;
32342fail:
32343 return NULL;
d55e5bfc
RD
32344}
32345
32346
554f62e9
RD
32347SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32348 PyObject *resultobj = 0;
32349 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32350 void *argp1 = 0 ;
32351 int res1 = 0 ;
32352 PyObject *swig_obj[1] ;
32353
32354 if (!args) SWIG_fail;
32355 swig_obj[0] = args;
32356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32357 if (!SWIG_IsOK(res1)) {
32358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32359 }
32360 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32361 {
32362 PyThreadState* __tstate = wxPyBeginAllowThreads();
32363 delete arg1;
d55e5bfc 32364
554f62e9
RD
32365 wxPyEndAllowThreads(__tstate);
32366 if (PyErr_Occurred()) SWIG_fail;
32367 }
32368 resultobj = SWIG_Py_Void();
32369 return resultobj;
32370fail:
32371 return NULL;
d55e5bfc
RD
32372}
32373
32374
554f62e9
RD
32375SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32376 PyObject *resultobj = 0;
32377 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32378 bool result;
32379 void *argp1 = 0 ;
32380 int res1 = 0 ;
32381 PyObject *swig_obj[1] ;
32382
32383 if (!args) SWIG_fail;
32384 swig_obj[0] = args;
32385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32386 if (!SWIG_IsOK(res1)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32388 }
32389 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32390 {
32391 PyThreadState* __tstate = wxPyBeginAllowThreads();
32392 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32393 wxPyEndAllowThreads(__tstate);
32394 if (PyErr_Occurred()) SWIG_fail;
32395 }
32396 {
32397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32398 }
32399 return resultobj;
32400fail:
32401 return NULL;
32402}
32403
32404
32405SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32406 PyObject *resultobj = 0;
32407 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32408 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32409 bool result;
32410 void *argp1 = 0 ;
32411 int res1 = 0 ;
32412 void *argp2 = 0 ;
32413 int res2 = 0 ;
32414 PyObject * obj0 = 0 ;
32415 PyObject * obj1 = 0 ;
32416 char * kwnames[] = {
32417 (char *) "self",(char *) "other", NULL
32418 };
32419
32420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32422 if (!SWIG_IsOK(res1)) {
32423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32424 }
32425 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32426 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32427 if (!SWIG_IsOK(res2)) {
32428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32429 }
32430 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32431 {
32432 PyThreadState* __tstate = wxPyBeginAllowThreads();
32433 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32434 wxPyEndAllowThreads(__tstate);
32435 if (PyErr_Occurred()) SWIG_fail;
32436 }
32437 {
32438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32439 }
32440 return resultobj;
32441fail:
32442 return NULL;
32443}
32444
32445
32446SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32447 PyObject *resultobj = 0;
32448 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32449 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32450 bool result;
32451 void *argp1 = 0 ;
32452 int res1 = 0 ;
32453 void *argp2 = 0 ;
32454 int res2 = 0 ;
32455 PyObject * obj0 = 0 ;
32456 PyObject * obj1 = 0 ;
32457 char * kwnames[] = {
32458 (char *) "self",(char *) "other", NULL
32459 };
32460
32461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32463 if (!SWIG_IsOK(res1)) {
32464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32465 }
32466 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32468 if (!SWIG_IsOK(res2)) {
32469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32470 }
32471 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32472 {
32473 PyThreadState* __tstate = wxPyBeginAllowThreads();
32474 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 {
32479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32480 }
32481 return resultobj;
32482fail:
32483 return NULL;
d55e5bfc
RD
32484}
32485
32486
554f62e9
RD
32487SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32488 PyObject *resultobj = 0;
32489 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32490 void *arg2 = (void *) 0 ;
32491 void *argp1 = 0 ;
32492 int res1 = 0 ;
32493 int res2 ;
32494 PyObject *swig_obj[2] ;
32495
32496 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32498 if (!SWIG_IsOK(res1)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32500 }
32501 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32502 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32503 if (!SWIG_IsOK(res2)) {
32504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32505 }
32506 if (arg1) (arg1)->m_pItem = arg2;
32507
32508 resultobj = SWIG_Py_Void();
32509 return resultobj;
32510fail:
32511 return NULL;
d55e5bfc
RD
32512}
32513
32514
554f62e9
RD
32515SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32516 PyObject *resultobj = 0;
32517 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32518 void *result = 0 ;
32519 void *argp1 = 0 ;
32520 int res1 = 0 ;
32521 PyObject *swig_obj[1] ;
32522
32523 if (!args) SWIG_fail;
32524 swig_obj[0] = args;
32525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32526 if (!SWIG_IsOK(res1)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32528 }
32529 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32530 result = (void *) ((arg1)->m_pItem);
32531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32532 return resultobj;
32533fail:
32534 return NULL;
d55e5bfc
RD
32535}
32536
32537
554f62e9
RD
32538SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32539 PyObject *obj;
32540 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32541 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32542 return SWIG_Py_Void();
d55e5bfc
RD
32543}
32544
554f62e9
RD
32545SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32546 return SWIG_Python_InitShadowInstance(args);
32547}
d55e5bfc 32548
554f62e9
RD
32549SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32550 PyObject *resultobj = 0;
32551 PyObject *arg1 = (PyObject *) NULL ;
32552 wxPyTreeItemData *result = 0 ;
32553 PyObject * obj0 = 0 ;
32554 char * kwnames[] = {
32555 (char *) "obj", NULL
32556 };
32557
32558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32559 if (obj0) {
32560 arg1 = obj0;
32561 }
32562 {
32563 PyThreadState* __tstate = wxPyBeginAllowThreads();
32564 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32565 wxPyEndAllowThreads(__tstate);
32566 if (PyErr_Occurred()) SWIG_fail;
32567 }
32568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32569 return resultobj;
32570fail:
32571 return NULL;
d55e5bfc
RD
32572}
32573
32574
554f62e9
RD
32575SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32576 PyObject *resultobj = 0;
32577 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32578 void *argp1 = 0 ;
32579 int res1 = 0 ;
32580 PyObject *swig_obj[1] ;
32581
32582 if (!args) SWIG_fail;
32583 swig_obj[0] = args;
32584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32585 if (!SWIG_IsOK(res1)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32587 }
32588 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32589 {
32590 PyThreadState* __tstate = wxPyBeginAllowThreads();
32591 delete arg1;
d55e5bfc 32592
554f62e9
RD
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
32596 resultobj = SWIG_Py_Void();
32597 return resultobj;
32598fail:
32599 return NULL;
d55e5bfc
RD
32600}
32601
32602
554f62e9
RD
32603SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32604 PyObject *resultobj = 0;
32605 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32606 PyObject *result = 0 ;
32607 void *argp1 = 0 ;
32608 int res1 = 0 ;
32609 PyObject *swig_obj[1] ;
32610
32611 if (!args) SWIG_fail;
32612 swig_obj[0] = args;
32613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32614 if (!SWIG_IsOK(res1)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32616 }
32617 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32618 {
32619 PyThreadState* __tstate = wxPyBeginAllowThreads();
32620 result = (PyObject *)(arg1)->GetData();
32621 wxPyEndAllowThreads(__tstate);
32622 if (PyErr_Occurred()) SWIG_fail;
32623 }
32624 resultobj = result;
32625 return resultobj;
32626fail:
32627 return NULL;
32628}
32629
32630
32631SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32632 PyObject *resultobj = 0;
32633 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32634 PyObject *arg2 = (PyObject *) 0 ;
32635 void *argp1 = 0 ;
32636 int res1 = 0 ;
32637 PyObject * obj0 = 0 ;
32638 PyObject * obj1 = 0 ;
32639 char * kwnames[] = {
32640 (char *) "self",(char *) "obj", NULL
32641 };
32642
32643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32645 if (!SWIG_IsOK(res1)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32647 }
32648 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32649 arg2 = obj1;
32650 {
32651 PyThreadState* __tstate = wxPyBeginAllowThreads();
32652 (arg1)->SetData(arg2);
32653 wxPyEndAllowThreads(__tstate);
32654 if (PyErr_Occurred()) SWIG_fail;
32655 }
32656 resultobj = SWIG_Py_Void();
32657 return resultobj;
32658fail:
32659 return NULL;
d55e5bfc
RD
32660}
32661
32662
554f62e9
RD
32663SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32664 PyObject *resultobj = 0;
32665 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32666 wxTreeItemId *result = 0 ;
32667 void *argp1 = 0 ;
32668 int res1 = 0 ;
32669 PyObject *swig_obj[1] ;
32670
32671 if (!args) SWIG_fail;
32672 swig_obj[0] = args;
32673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32674 if (!SWIG_IsOK(res1)) {
32675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32676 }
32677 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32678 {
32679 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 32680 {
554f62e9
RD
32681 wxTreeItemId const &_result_ref = (arg1)->GetId();
32682 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 32683 }
554f62e9
RD
32684 wxPyEndAllowThreads(__tstate);
32685 if (PyErr_Occurred()) SWIG_fail;
32686 }
32687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32688 return resultobj;
32689fail:
32690 return NULL;
32691}
32692
32693
32694SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32695 PyObject *resultobj = 0;
32696 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32697 wxTreeItemId *arg2 = 0 ;
32698 void *argp1 = 0 ;
32699 int res1 = 0 ;
32700 void *argp2 = 0 ;
32701 int res2 = 0 ;
32702 PyObject * obj0 = 0 ;
32703 PyObject * obj1 = 0 ;
32704 char * kwnames[] = {
32705 (char *) "self",(char *) "id", NULL
32706 };
32707
32708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
32709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32710 if (!SWIG_IsOK(res1)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32712 }
32713 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32715 if (!SWIG_IsOK(res2)) {
32716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32717 }
32718 if (!argp2) {
32719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32720 }
32721 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32722 {
32723 PyThreadState* __tstate = wxPyBeginAllowThreads();
32724 (arg1)->SetId((wxTreeItemId const &)*arg2);
32725 wxPyEndAllowThreads(__tstate);
32726 if (PyErr_Occurred()) SWIG_fail;
32727 }
32728 resultobj = SWIG_Py_Void();
32729 return resultobj;
32730fail:
32731 return NULL;
d55e5bfc
RD
32732}
32733
32734
554f62e9
RD
32735SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32736 PyObject *resultobj = 0;
32737 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32738 void *argp1 = 0 ;
32739 int res1 = 0 ;
32740 PyObject *swig_obj[1] ;
32741
32742 if (!args) SWIG_fail;
32743 swig_obj[0] = args;
32744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32745 if (!SWIG_IsOK(res1)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32747 }
32748 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32749 {
32750 PyThreadState* __tstate = wxPyBeginAllowThreads();
32751 wxPyTreeItemData_Destroy(arg1);
32752 wxPyEndAllowThreads(__tstate);
32753 if (PyErr_Occurred()) SWIG_fail;
32754 }
32755 resultobj = SWIG_Py_Void();
32756 return resultobj;
32757fail:
32758 return NULL;
d55e5bfc
RD
32759}
32760
32761
554f62e9
RD
32762SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32763 PyObject *obj;
32764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
32766 return SWIG_Py_Void();
d55e5bfc
RD
32767}
32768
554f62e9
RD
32769SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32770 return SWIG_Python_InitShadowInstance(args);
32771}
d55e5bfc 32772
554f62e9
RD
32773SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32774 PyObject *resultobj = 0;
32775 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32776 int arg2 = (int) 0 ;
32777 wxTreeEvent *result = 0 ;
32778 int val1 ;
32779 int ecode1 = 0 ;
32780 int val2 ;
32781 int ecode2 = 0 ;
32782 PyObject * obj0 = 0 ;
32783 PyObject * obj1 = 0 ;
32784 char * kwnames[] = {
32785 (char *) "commandType",(char *) "id", NULL
32786 };
32787
32788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) SWIG_fail;
32789 if (obj0) {
32790 ecode1 = SWIG_AsVal_int(obj0, &val1);
32791 if (!SWIG_IsOK(ecode1)) {
32792 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32793 }
32794 arg1 = static_cast< wxEventType >(val1);
32795 }
32796 if (obj1) {
32797 ecode2 = SWIG_AsVal_int(obj1, &val2);
32798 if (!SWIG_IsOK(ecode2)) {
32799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32800 }
32801 arg2 = static_cast< int >(val2);
32802 }
32803 {
32804 PyThreadState* __tstate = wxPyBeginAllowThreads();
32805 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
32806 wxPyEndAllowThreads(__tstate);
32807 if (PyErr_Occurred()) SWIG_fail;
32808 }
32809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
32810 return resultobj;
32811fail:
32812 return NULL;
d55e5bfc
RD
32813}
32814
32815
554f62e9
RD
32816SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32817 PyObject *resultobj = 0;
32818 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32819 wxTreeItemId result;
32820 void *argp1 = 0 ;
32821 int res1 = 0 ;
32822 PyObject *swig_obj[1] ;
32823
32824 if (!args) SWIG_fail;
32825 swig_obj[0] = args;
32826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32827 if (!SWIG_IsOK(res1)) {
32828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32829 }
32830 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32831 {
32832 PyThreadState* __tstate = wxPyBeginAllowThreads();
32833 result = ((wxTreeEvent const *)arg1)->GetItem();
32834 wxPyEndAllowThreads(__tstate);
32835 if (PyErr_Occurred()) SWIG_fail;
32836 }
32837 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32838 return resultobj;
32839fail:
32840 return NULL;
32841}
32842
32843
32844SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32845 PyObject *resultobj = 0;
32846 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32847 wxTreeItemId *arg2 = 0 ;
32848 void *argp1 = 0 ;
32849 int res1 = 0 ;
32850 void *argp2 = 0 ;
32851 int res2 = 0 ;
32852 PyObject * obj0 = 0 ;
32853 PyObject * obj1 = 0 ;
32854 char * kwnames[] = {
32855 (char *) "self",(char *) "item", NULL
32856 };
32857
32858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
32859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32860 if (!SWIG_IsOK(res1)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32862 }
32863 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32865 if (!SWIG_IsOK(res2)) {
32866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32867 }
32868 if (!argp2) {
32869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32870 }
32871 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32872 {
32873 PyThreadState* __tstate = wxPyBeginAllowThreads();
32874 (arg1)->SetItem((wxTreeItemId const &)*arg2);
32875 wxPyEndAllowThreads(__tstate);
32876 if (PyErr_Occurred()) SWIG_fail;
32877 }
32878 resultobj = SWIG_Py_Void();
32879 return resultobj;
32880fail:
32881 return NULL;
d55e5bfc
RD
32882}
32883
32884
554f62e9
RD
32885SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32886 PyObject *resultobj = 0;
32887 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32888 wxTreeItemId result;
32889 void *argp1 = 0 ;
32890 int res1 = 0 ;
32891 PyObject *swig_obj[1] ;
32892
32893 if (!args) SWIG_fail;
32894 swig_obj[0] = args;
32895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32896 if (!SWIG_IsOK(res1)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32898 }
32899 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
32902 result = ((wxTreeEvent const *)arg1)->GetOldItem();
32903 wxPyEndAllowThreads(__tstate);
32904 if (PyErr_Occurred()) SWIG_fail;
32905 }
32906 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32907 return resultobj;
32908fail:
32909 return NULL;
32910}
32911
32912
32913SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32914 PyObject *resultobj = 0;
32915 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32916 wxTreeItemId *arg2 = 0 ;
32917 void *argp1 = 0 ;
32918 int res1 = 0 ;
32919 void *argp2 = 0 ;
32920 int res2 = 0 ;
32921 PyObject * obj0 = 0 ;
32922 PyObject * obj1 = 0 ;
32923 char * kwnames[] = {
32924 (char *) "self",(char *) "item", NULL
32925 };
32926
32927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
32928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32929 if (!SWIG_IsOK(res1)) {
32930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32931 }
32932 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32933 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32934 if (!SWIG_IsOK(res2)) {
32935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32936 }
32937 if (!argp2) {
32938 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32939 }
32940 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32941 {
32942 PyThreadState* __tstate = wxPyBeginAllowThreads();
32943 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
32944 wxPyEndAllowThreads(__tstate);
32945 if (PyErr_Occurred()) SWIG_fail;
32946 }
32947 resultobj = SWIG_Py_Void();
32948 return resultobj;
32949fail:
32950 return NULL;
d55e5bfc
RD
32951}
32952
32953
554f62e9
RD
32954SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32955 PyObject *resultobj = 0;
32956 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32957 wxPoint result;
32958 void *argp1 = 0 ;
32959 int res1 = 0 ;
32960 PyObject *swig_obj[1] ;
32961
32962 if (!args) SWIG_fail;
32963 swig_obj[0] = args;
32964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32965 if (!SWIG_IsOK(res1)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32967 }
32968 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32969 {
32970 PyThreadState* __tstate = wxPyBeginAllowThreads();
32971 result = ((wxTreeEvent const *)arg1)->GetPoint();
32972 wxPyEndAllowThreads(__tstate);
32973 if (PyErr_Occurred()) SWIG_fail;
32974 }
32975 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
32976 return resultobj;
32977fail:
32978 return NULL;
32979}
32980
32981
32982SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32983 PyObject *resultobj = 0;
32984 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32985 wxPoint *arg2 = 0 ;
32986 void *argp1 = 0 ;
32987 int res1 = 0 ;
32988 wxPoint temp2 ;
32989 PyObject * obj0 = 0 ;
32990 PyObject * obj1 = 0 ;
32991 char * kwnames[] = {
32992 (char *) "self",(char *) "pt", NULL
32993 };
32994
32995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
32996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32997 if (!SWIG_IsOK(res1)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32999 }
33000 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33001 {
33002 arg2 = &temp2;
33003 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33004 }
33005 {
33006 PyThreadState* __tstate = wxPyBeginAllowThreads();
33007 (arg1)->SetPoint((wxPoint const &)*arg2);
33008 wxPyEndAllowThreads(__tstate);
33009 if (PyErr_Occurred()) SWIG_fail;
33010 }
33011 resultobj = SWIG_Py_Void();
33012 return resultobj;
33013fail:
33014 return NULL;
d55e5bfc
RD
33015}
33016
33017
554f62e9
RD
33018SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33019 PyObject *resultobj = 0;
33020 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33021 wxKeyEvent *result = 0 ;
33022 void *argp1 = 0 ;
33023 int res1 = 0 ;
33024 PyObject *swig_obj[1] ;
33025
33026 if (!args) SWIG_fail;
33027 swig_obj[0] = args;
33028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33029 if (!SWIG_IsOK(res1)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33031 }
33032 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33033 {
33034 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33035 {
554f62e9
RD
33036 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33037 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33038 }
554f62e9
RD
33039 wxPyEndAllowThreads(__tstate);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 }
33042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33043 return resultobj;
33044fail:
33045 return NULL;
d55e5bfc
RD
33046}
33047
33048
554f62e9
RD
33049SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33050 PyObject *resultobj = 0;
33051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33052 int result;
33053 void *argp1 = 0 ;
33054 int res1 = 0 ;
33055 PyObject *swig_obj[1] ;
33056
33057 if (!args) SWIG_fail;
33058 swig_obj[0] = args;
33059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33060 if (!SWIG_IsOK(res1)) {
33061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33062 }
33063 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33064 {
33065 PyThreadState* __tstate = wxPyBeginAllowThreads();
33066 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33067 wxPyEndAllowThreads(__tstate);
33068 if (PyErr_Occurred()) SWIG_fail;
33069 }
33070 resultobj = SWIG_From_int(static_cast< int >(result));
33071 return resultobj;
33072fail:
33073 return NULL;
33074}
33075
33076
33077SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33078 PyObject *resultobj = 0;
33079 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33080 wxKeyEvent *arg2 = 0 ;
33081 void *argp1 = 0 ;
33082 int res1 = 0 ;
33083 void *argp2 = 0 ;
33084 int res2 = 0 ;
33085 PyObject * obj0 = 0 ;
33086 PyObject * obj1 = 0 ;
33087 char * kwnames[] = {
33088 (char *) "self",(char *) "evt", NULL
33089 };
33090
33091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33093 if (!SWIG_IsOK(res1)) {
33094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33095 }
33096 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33097 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33098 if (!SWIG_IsOK(res2)) {
33099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33100 }
33101 if (!argp2) {
33102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33103 }
33104 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33105 {
33106 PyThreadState* __tstate = wxPyBeginAllowThreads();
33107 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33108 wxPyEndAllowThreads(__tstate);
33109 if (PyErr_Occurred()) SWIG_fail;
33110 }
33111 resultobj = SWIG_Py_Void();
33112 return resultobj;
33113fail:
33114 return NULL;
d55e5bfc
RD
33115}
33116
33117
554f62e9
RD
33118SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33119 PyObject *resultobj = 0;
33120 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33121 wxString *result = 0 ;
33122 void *argp1 = 0 ;
33123 int res1 = 0 ;
33124 PyObject *swig_obj[1] ;
33125
33126 if (!args) SWIG_fail;
33127 swig_obj[0] = args;
33128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33129 if (!SWIG_IsOK(res1)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33131 }
33132 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33133 {
33134 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33135 {
554f62e9
RD
33136 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33137 result = (wxString *) &_result_ref;
d55e5bfc 33138 }
554f62e9
RD
33139 wxPyEndAllowThreads(__tstate);
33140 if (PyErr_Occurred()) SWIG_fail;
33141 }
33142 {
33143#if wxUSE_UNICODE
33144 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33145#else
33146 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33147#endif
33148 }
33149 return resultobj;
33150fail:
33151 return NULL;
33152}
33153
33154
33155SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33156 PyObject *resultobj = 0;
33157 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33158 wxString *arg2 = 0 ;
33159 void *argp1 = 0 ;
33160 int res1 = 0 ;
33161 bool temp2 = false ;
33162 PyObject * obj0 = 0 ;
33163 PyObject * obj1 = 0 ;
33164 char * kwnames[] = {
33165 (char *) "self",(char *) "label", NULL
33166 };
33167
33168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33170 if (!SWIG_IsOK(res1)) {
33171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33172 }
33173 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33174 {
33175 arg2 = wxString_in_helper(obj1);
33176 if (arg2 == NULL) SWIG_fail;
33177 temp2 = true;
33178 }
33179 {
33180 PyThreadState* __tstate = wxPyBeginAllowThreads();
33181 (arg1)->SetLabel((wxString const &)*arg2);
33182 wxPyEndAllowThreads(__tstate);
33183 if (PyErr_Occurred()) SWIG_fail;
33184 }
33185 resultobj = SWIG_Py_Void();
33186 {
33187 if (temp2)
33188 delete arg2;
33189 }
33190 return resultobj;
33191fail:
33192 {
33193 if (temp2)
33194 delete arg2;
33195 }
33196 return NULL;
d55e5bfc
RD
33197}
33198
33199
554f62e9
RD
33200SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33201 PyObject *resultobj = 0;
33202 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33203 bool result;
33204 void *argp1 = 0 ;
33205 int res1 = 0 ;
33206 PyObject *swig_obj[1] ;
33207
33208 if (!args) SWIG_fail;
33209 swig_obj[0] = args;
33210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33211 if (!SWIG_IsOK(res1)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33213 }
33214 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33215 {
33216 PyThreadState* __tstate = wxPyBeginAllowThreads();
33217 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33218 wxPyEndAllowThreads(__tstate);
33219 if (PyErr_Occurred()) SWIG_fail;
33220 }
33221 {
33222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33223 }
33224 return resultobj;
33225fail:
33226 return NULL;
33227}
33228
33229
33230SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33231 PyObject *resultobj = 0;
33232 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33233 bool arg2 ;
33234 void *argp1 = 0 ;
33235 int res1 = 0 ;
33236 bool val2 ;
33237 int ecode2 = 0 ;
33238 PyObject * obj0 = 0 ;
33239 PyObject * obj1 = 0 ;
33240 char * kwnames[] = {
33241 (char *) "self",(char *) "editCancelled", NULL
33242 };
33243
33244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33246 if (!SWIG_IsOK(res1)) {
33247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33248 }
33249 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33250 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33251 if (!SWIG_IsOK(ecode2)) {
33252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33253 }
33254 arg2 = static_cast< bool >(val2);
33255 {
33256 PyThreadState* __tstate = wxPyBeginAllowThreads();
33257 (arg1)->SetEditCanceled(arg2);
33258 wxPyEndAllowThreads(__tstate);
33259 if (PyErr_Occurred()) SWIG_fail;
33260 }
33261 resultobj = SWIG_Py_Void();
33262 return resultobj;
33263fail:
33264 return NULL;
33265}
33266
33267
33268SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33269 PyObject *resultobj = 0;
33270 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33271 wxString *arg2 = 0 ;
33272 void *argp1 = 0 ;
33273 int res1 = 0 ;
33274 bool temp2 = false ;
33275 PyObject * obj0 = 0 ;
33276 PyObject * obj1 = 0 ;
33277 char * kwnames[] = {
33278 (char *) "self",(char *) "toolTip", NULL
33279 };
33280
33281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33283 if (!SWIG_IsOK(res1)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33285 }
33286 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33287 {
33288 arg2 = wxString_in_helper(obj1);
33289 if (arg2 == NULL) SWIG_fail;
33290 temp2 = true;
33291 }
33292 {
33293 PyThreadState* __tstate = wxPyBeginAllowThreads();
33294 (arg1)->SetToolTip((wxString const &)*arg2);
33295 wxPyEndAllowThreads(__tstate);
33296 if (PyErr_Occurred()) SWIG_fail;
33297 }
33298 resultobj = SWIG_Py_Void();
33299 {
33300 if (temp2)
33301 delete arg2;
33302 }
33303 return resultobj;
33304fail:
33305 {
33306 if (temp2)
33307 delete arg2;
33308 }
33309 return NULL;
33310}
33311
33312
33313SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33314 PyObject *resultobj = 0;
33315 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33316 wxString result;
33317 void *argp1 = 0 ;
33318 int res1 = 0 ;
33319 PyObject *swig_obj[1] ;
33320
33321 if (!args) SWIG_fail;
33322 swig_obj[0] = args;
33323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33324 if (!SWIG_IsOK(res1)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33326 }
33327 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33328 {
33329 PyThreadState* __tstate = wxPyBeginAllowThreads();
33330 result = (arg1)->GetToolTip();
33331 wxPyEndAllowThreads(__tstate);
33332 if (PyErr_Occurred()) SWIG_fail;
33333 }
33334 {
33335#if wxUSE_UNICODE
33336 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33337#else
33338 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33339#endif
33340 }
33341 return resultobj;
33342fail:
33343 return NULL;
33344}
33345
33346
33347SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33348 PyObject *obj;
33349 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33350 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33351 return SWIG_Py_Void();
33352}
33353
33354SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33355 return SWIG_Python_InitShadowInstance(args);
33356}
33357
33358SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33359 PyObject *resultobj = 0;
33360 wxWindow *arg1 = (wxWindow *) 0 ;
33361 int arg2 = (int) -1 ;
33362 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33363 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33364 wxSize const &arg4_defvalue = wxDefaultSize ;
33365 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33366 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33367 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33368 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33369 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33370 wxString *arg7 = (wxString *) &arg7_defvalue ;
33371 wxPyTreeCtrl *result = 0 ;
33372 void *argp1 = 0 ;
33373 int res1 = 0 ;
33374 int val2 ;
33375 int ecode2 = 0 ;
33376 wxPoint temp3 ;
33377 wxSize temp4 ;
33378 long val5 ;
33379 int ecode5 = 0 ;
33380 void *argp6 = 0 ;
33381 int res6 = 0 ;
33382 bool temp7 = false ;
33383 PyObject * obj0 = 0 ;
33384 PyObject * obj1 = 0 ;
33385 PyObject * obj2 = 0 ;
33386 PyObject * obj3 = 0 ;
33387 PyObject * obj4 = 0 ;
33388 PyObject * obj5 = 0 ;
33389 PyObject * obj6 = 0 ;
33390 char * kwnames[] = {
33391 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33392 };
33393
33394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33396 if (!SWIG_IsOK(res1)) {
33397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33398 }
33399 arg1 = reinterpret_cast< wxWindow * >(argp1);
33400 if (obj1) {
33401 ecode2 = SWIG_AsVal_int(obj1, &val2);
33402 if (!SWIG_IsOK(ecode2)) {
33403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33404 }
33405 arg2 = static_cast< int >(val2);
33406 }
33407 if (obj2) {
d55e5bfc 33408 {
554f62e9
RD
33409 arg3 = &temp3;
33410 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33411 }
554f62e9
RD
33412 }
33413 if (obj3) {
d55e5bfc 33414 {
554f62e9
RD
33415 arg4 = &temp4;
33416 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33417 }
554f62e9
RD
33418 }
33419 if (obj4) {
33420 ecode5 = SWIG_AsVal_long(obj4, &val5);
33421 if (!SWIG_IsOK(ecode5)) {
33422 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33423 }
33424 arg5 = static_cast< long >(val5);
33425 }
33426 if (obj5) {
33427 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33428 if (!SWIG_IsOK(res6)) {
33429 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33430 }
554f62e9
RD
33431 if (!argp6) {
33432 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33433 }
554f62e9
RD
33434 arg6 = reinterpret_cast< wxValidator * >(argp6);
33435 }
33436 if (obj6) {
d55e5bfc 33437 {
554f62e9
RD
33438 arg7 = wxString_in_helper(obj6);
33439 if (arg7 == NULL) SWIG_fail;
33440 temp7 = true;
d55e5bfc 33441 }
554f62e9
RD
33442 }
33443 {
33444 if (!wxPyCheckForApp()) SWIG_fail;
33445 PyThreadState* __tstate = wxPyBeginAllowThreads();
33446 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33447 wxPyEndAllowThreads(__tstate);
33448 if (PyErr_Occurred()) SWIG_fail;
33449 }
33450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33451 {
33452 if (temp7)
33453 delete arg7;
33454 }
33455 return resultobj;
33456fail:
33457 {
33458 if (temp7)
33459 delete arg7;
33460 }
33461 return NULL;
d55e5bfc
RD
33462}
33463
33464
554f62e9
RD
33465SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33466 PyObject *resultobj = 0;
33467 wxPyTreeCtrl *result = 0 ;
33468
33469 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33470 {
33471 if (!wxPyCheckForApp()) SWIG_fail;
33472 PyThreadState* __tstate = wxPyBeginAllowThreads();
33473 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33474 wxPyEndAllowThreads(__tstate);
33475 if (PyErr_Occurred()) SWIG_fail;
33476 }
33477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33478 return resultobj;
33479fail:
33480 return NULL;
33481}
33482
33483
33484SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33485 PyObject *resultobj = 0;
33486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33487 wxWindow *arg2 = (wxWindow *) 0 ;
33488 int arg3 = (int) -1 ;
33489 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33490 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33491 wxSize const &arg5_defvalue = wxDefaultSize ;
33492 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33493 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33494 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33495 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33496 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33497 wxString *arg8 = (wxString *) &arg8_defvalue ;
33498 bool result;
33499 void *argp1 = 0 ;
33500 int res1 = 0 ;
33501 void *argp2 = 0 ;
33502 int res2 = 0 ;
33503 int val3 ;
33504 int ecode3 = 0 ;
33505 wxPoint temp4 ;
33506 wxSize temp5 ;
33507 long val6 ;
33508 int ecode6 = 0 ;
33509 void *argp7 = 0 ;
33510 int res7 = 0 ;
33511 bool temp8 = false ;
33512 PyObject * obj0 = 0 ;
33513 PyObject * obj1 = 0 ;
33514 PyObject * obj2 = 0 ;
33515 PyObject * obj3 = 0 ;
33516 PyObject * obj4 = 0 ;
33517 PyObject * obj5 = 0 ;
33518 PyObject * obj6 = 0 ;
33519 PyObject * obj7 = 0 ;
33520 char * kwnames[] = {
33521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33522 };
33523
33524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33526 if (!SWIG_IsOK(res1)) {
33527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33528 }
33529 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33530 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33531 if (!SWIG_IsOK(res2)) {
33532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33533 }
33534 arg2 = reinterpret_cast< wxWindow * >(argp2);
33535 if (obj2) {
33536 ecode3 = SWIG_AsVal_int(obj2, &val3);
33537 if (!SWIG_IsOK(ecode3)) {
33538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33539 }
33540 arg3 = static_cast< int >(val3);
33541 }
33542 if (obj3) {
d55e5bfc 33543 {
554f62e9
RD
33544 arg4 = &temp4;
33545 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33546 }
554f62e9
RD
33547 }
33548 if (obj4) {
d55e5bfc 33549 {
554f62e9
RD
33550 arg5 = &temp5;
33551 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 33552 }
554f62e9
RD
33553 }
33554 if (obj5) {
33555 ecode6 = SWIG_AsVal_long(obj5, &val6);
33556 if (!SWIG_IsOK(ecode6)) {
33557 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33558 }
33559 arg6 = static_cast< long >(val6);
33560 }
33561 if (obj6) {
33562 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33563 if (!SWIG_IsOK(res7)) {
33564 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33565 }
554f62e9
RD
33566 if (!argp7) {
33567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 33568 }
554f62e9
RD
33569 arg7 = reinterpret_cast< wxValidator * >(argp7);
33570 }
33571 if (obj7) {
d55e5bfc 33572 {
554f62e9
RD
33573 arg8 = wxString_in_helper(obj7);
33574 if (arg8 == NULL) SWIG_fail;
33575 temp8 = true;
d55e5bfc 33576 }
554f62e9
RD
33577 }
33578 {
33579 PyThreadState* __tstate = wxPyBeginAllowThreads();
33580 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33581 wxPyEndAllowThreads(__tstate);
33582 if (PyErr_Occurred()) SWIG_fail;
33583 }
33584 {
33585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33586 }
33587 {
33588 if (temp8)
33589 delete arg8;
33590 }
33591 return resultobj;
33592fail:
33593 {
33594 if (temp8)
33595 delete arg8;
33596 }
33597 return NULL;
33598}
33599
33600
33601SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33602 PyObject *resultobj = 0;
33603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33604 PyObject *arg2 = (PyObject *) 0 ;
33605 PyObject *arg3 = (PyObject *) 0 ;
33606 void *argp1 = 0 ;
33607 int res1 = 0 ;
33608 PyObject * obj0 = 0 ;
33609 PyObject * obj1 = 0 ;
33610 PyObject * obj2 = 0 ;
33611 char * kwnames[] = {
33612 (char *) "self",(char *) "self",(char *) "_class", NULL
33613 };
33614
33615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33617 if (!SWIG_IsOK(res1)) {
33618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33619 }
33620 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33621 arg2 = obj1;
33622 arg3 = obj2;
33623 {
33624 PyThreadState* __tstate = wxPyBeginAllowThreads();
33625 (arg1)->_setCallbackInfo(arg2,arg3);
33626 wxPyEndAllowThreads(__tstate);
33627 if (PyErr_Occurred()) SWIG_fail;
33628 }
33629 resultobj = SWIG_Py_Void();
33630 return resultobj;
33631fail:
33632 return NULL;
d55e5bfc
RD
33633}
33634
33635
554f62e9
RD
33636SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33637 PyObject *resultobj = 0;
33638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 33639 unsigned int result;
554f62e9
RD
33640 void *argp1 = 0 ;
33641 int res1 = 0 ;
33642 PyObject *swig_obj[1] ;
33643
33644 if (!args) SWIG_fail;
33645 swig_obj[0] = args;
33646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33647 if (!SWIG_IsOK(res1)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33649 }
33650 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33651 {
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 33653 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
554f62e9
RD
33654 wxPyEndAllowThreads(__tstate);
33655 if (PyErr_Occurred()) SWIG_fail;
33656 }
e9d6f3a4 33657 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
33658 return resultobj;
33659fail:
33660 return NULL;
d55e5bfc
RD
33661}
33662
33663
554f62e9
RD
33664SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33665 PyObject *resultobj = 0;
33666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33667 unsigned int result;
33668 void *argp1 = 0 ;
33669 int res1 = 0 ;
33670 PyObject *swig_obj[1] ;
33671
33672 if (!args) SWIG_fail;
33673 swig_obj[0] = args;
33674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33675 if (!SWIG_IsOK(res1)) {
33676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33677 }
33678 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33679 {
33680 PyThreadState* __tstate = wxPyBeginAllowThreads();
33681 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
33682 wxPyEndAllowThreads(__tstate);
33683 if (PyErr_Occurred()) SWIG_fail;
33684 }
33685 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33686 return resultobj;
33687fail:
33688 return NULL;
33689}
33690
33691
33692SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33693 PyObject *resultobj = 0;
33694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33695 unsigned int arg2 ;
33696 void *argp1 = 0 ;
33697 int res1 = 0 ;
33698 unsigned int val2 ;
33699 int ecode2 = 0 ;
33700 PyObject * obj0 = 0 ;
33701 PyObject * obj1 = 0 ;
33702 char * kwnames[] = {
33703 (char *) "self",(char *) "indent", NULL
33704 };
33705
33706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
33707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33708 if (!SWIG_IsOK(res1)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33710 }
33711 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33712 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33713 if (!SWIG_IsOK(ecode2)) {
33714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33715 }
33716 arg2 = static_cast< unsigned int >(val2);
33717 {
33718 PyThreadState* __tstate = wxPyBeginAllowThreads();
33719 (arg1)->SetIndent(arg2);
33720 wxPyEndAllowThreads(__tstate);
33721 if (PyErr_Occurred()) SWIG_fail;
33722 }
33723 resultobj = SWIG_Py_Void();
33724 return resultobj;
33725fail:
33726 return NULL;
d55e5bfc
RD
33727}
33728
33729
554f62e9
RD
33730SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33731 PyObject *resultobj = 0;
33732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33733 unsigned int result;
33734 void *argp1 = 0 ;
33735 int res1 = 0 ;
33736 PyObject *swig_obj[1] ;
33737
33738 if (!args) SWIG_fail;
33739 swig_obj[0] = args;
33740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33741 if (!SWIG_IsOK(res1)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33743 }
33744 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33745 {
33746 PyThreadState* __tstate = wxPyBeginAllowThreads();
33747 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
33748 wxPyEndAllowThreads(__tstate);
33749 if (PyErr_Occurred()) SWIG_fail;
33750 }
33751 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33752 return resultobj;
33753fail:
33754 return NULL;
33755}
33756
33757
33758SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33759 PyObject *resultobj = 0;
33760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33761 unsigned int arg2 ;
33762 void *argp1 = 0 ;
33763 int res1 = 0 ;
33764 unsigned int val2 ;
33765 int ecode2 = 0 ;
33766 PyObject * obj0 = 0 ;
33767 PyObject * obj1 = 0 ;
33768 char * kwnames[] = {
33769 (char *) "self",(char *) "spacing", NULL
33770 };
33771
33772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
33773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33774 if (!SWIG_IsOK(res1)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33776 }
33777 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33778 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33779 if (!SWIG_IsOK(ecode2)) {
33780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33781 }
33782 arg2 = static_cast< unsigned int >(val2);
33783 {
33784 PyThreadState* __tstate = wxPyBeginAllowThreads();
33785 (arg1)->SetSpacing(arg2);
33786 wxPyEndAllowThreads(__tstate);
33787 if (PyErr_Occurred()) SWIG_fail;
33788 }
33789 resultobj = SWIG_Py_Void();
33790 return resultobj;
33791fail:
33792 return NULL;
d55e5bfc
RD
33793}
33794
33795
554f62e9
RD
33796SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33797 PyObject *resultobj = 0;
33798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33799 wxImageList *result = 0 ;
33800 void *argp1 = 0 ;
33801 int res1 = 0 ;
33802 PyObject *swig_obj[1] ;
33803
33804 if (!args) SWIG_fail;
33805 swig_obj[0] = args;
33806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33807 if (!SWIG_IsOK(res1)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33809 }
33810 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33811 {
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
33814 wxPyEndAllowThreads(__tstate);
33815 if (PyErr_Occurred()) SWIG_fail;
33816 }
33817 {
33818 resultobj = wxPyMake_wxObject(result, (bool)0);
33819 }
33820 return resultobj;
33821fail:
33822 return NULL;
d55e5bfc
RD
33823}
33824
33825
554f62e9
RD
33826SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33827 PyObject *resultobj = 0;
33828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33829 wxImageList *result = 0 ;
33830 void *argp1 = 0 ;
33831 int res1 = 0 ;
33832 PyObject *swig_obj[1] ;
33833
33834 if (!args) SWIG_fail;
33835 swig_obj[0] = args;
33836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33837 if (!SWIG_IsOK(res1)) {
33838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33839 }
33840 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33841 {
33842 PyThreadState* __tstate = wxPyBeginAllowThreads();
33843 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
33844 wxPyEndAllowThreads(__tstate);
33845 if (PyErr_Occurred()) SWIG_fail;
33846 }
33847 {
33848 resultobj = wxPyMake_wxObject(result, (bool)0);
33849 }
33850 return resultobj;
33851fail:
33852 return NULL;
33853}
33854
33855
33856SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33857 PyObject *resultobj = 0;
33858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33859 wxImageList *arg2 = (wxImageList *) 0 ;
33860 void *argp1 = 0 ;
33861 int res1 = 0 ;
33862 void *argp2 = 0 ;
33863 int res2 = 0 ;
33864 PyObject * obj0 = 0 ;
33865 PyObject * obj1 = 0 ;
33866 char * kwnames[] = {
33867 (char *) "self",(char *) "imageList", NULL
33868 };
33869
33870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33872 if (!SWIG_IsOK(res1)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33874 }
33875 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33876 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33877 if (!SWIG_IsOK(res2)) {
33878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33879 }
33880 arg2 = reinterpret_cast< wxImageList * >(argp2);
33881 {
33882 PyThreadState* __tstate = wxPyBeginAllowThreads();
33883 (arg1)->SetImageList(arg2);
33884 wxPyEndAllowThreads(__tstate);
33885 if (PyErr_Occurred()) SWIG_fail;
33886 }
33887 resultobj = SWIG_Py_Void();
33888 return resultobj;
33889fail:
33890 return NULL;
33891}
33892
33893
33894SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33895 PyObject *resultobj = 0;
33896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33897 wxImageList *arg2 = (wxImageList *) 0 ;
33898 void *argp1 = 0 ;
33899 int res1 = 0 ;
33900 void *argp2 = 0 ;
33901 int res2 = 0 ;
33902 PyObject * obj0 = 0 ;
33903 PyObject * obj1 = 0 ;
33904 char * kwnames[] = {
33905 (char *) "self",(char *) "imageList", NULL
33906 };
33907
33908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33910 if (!SWIG_IsOK(res1)) {
33911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33912 }
33913 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33915 if (!SWIG_IsOK(res2)) {
33916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33917 }
33918 arg2 = reinterpret_cast< wxImageList * >(argp2);
33919 {
33920 PyThreadState* __tstate = wxPyBeginAllowThreads();
33921 (arg1)->SetStateImageList(arg2);
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 resultobj = SWIG_Py_Void();
33926 return resultobj;
33927fail:
33928 return NULL;
33929}
33930
33931
33932SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33933 PyObject *resultobj = 0;
33934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33935 wxImageList *arg2 = (wxImageList *) 0 ;
33936 void *argp1 = 0 ;
33937 int res1 = 0 ;
33938 int res2 = 0 ;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 char * kwnames[] = {
33942 (char *) "self",(char *) "imageList", NULL
33943 };
33944
33945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33947 if (!SWIG_IsOK(res1)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33949 }
33950 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33951 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
33952 if (!SWIG_IsOK(res2)) {
33953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33954 }
33955 {
33956 PyThreadState* __tstate = wxPyBeginAllowThreads();
33957 (arg1)->AssignImageList(arg2);
33958 wxPyEndAllowThreads(__tstate);
33959 if (PyErr_Occurred()) SWIG_fail;
33960 }
33961 resultobj = SWIG_Py_Void();
33962 return resultobj;
33963fail:
33964 return NULL;
33965}
33966
33967
33968SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33969 PyObject *resultobj = 0;
33970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33971 wxImageList *arg2 = (wxImageList *) 0 ;
33972 void *argp1 = 0 ;
33973 int res1 = 0 ;
33974 int res2 = 0 ;
33975 PyObject * obj0 = 0 ;
33976 PyObject * obj1 = 0 ;
33977 char * kwnames[] = {
33978 (char *) "self",(char *) "imageList", NULL
33979 };
33980
33981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33983 if (!SWIG_IsOK(res1)) {
33984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33985 }
33986 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33987 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
33988 if (!SWIG_IsOK(res2)) {
33989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33990 }
33991 {
33992 PyThreadState* __tstate = wxPyBeginAllowThreads();
33993 (arg1)->AssignStateImageList(arg2);
33994 wxPyEndAllowThreads(__tstate);
33995 if (PyErr_Occurred()) SWIG_fail;
33996 }
33997 resultobj = SWIG_Py_Void();
33998 return resultobj;
33999fail:
34000 return NULL;
34001}
34002
34003
34004SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34005 PyObject *resultobj = 0;
34006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34007 wxTreeItemId *arg2 = 0 ;
34008 wxString result;
34009 void *argp1 = 0 ;
34010 int res1 = 0 ;
34011 void *argp2 = 0 ;
34012 int res2 = 0 ;
34013 PyObject * obj0 = 0 ;
34014 PyObject * obj1 = 0 ;
34015 char * kwnames[] = {
34016 (char *) "self",(char *) "item", NULL
34017 };
34018
34019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34021 if (!SWIG_IsOK(res1)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34023 }
34024 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34026 if (!SWIG_IsOK(res2)) {
34027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34028 }
34029 if (!argp2) {
34030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34031 }
34032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34033 {
34034 PyThreadState* __tstate = wxPyBeginAllowThreads();
34035 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34036 wxPyEndAllowThreads(__tstate);
34037 if (PyErr_Occurred()) SWIG_fail;
34038 }
34039 {
34040#if wxUSE_UNICODE
34041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34042#else
34043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34044#endif
34045 }
34046 return resultobj;
34047fail:
34048 return NULL;
34049}
34050
34051
34052SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34053 PyObject *resultobj = 0;
34054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34055 wxTreeItemId *arg2 = 0 ;
34056 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34057 int result;
34058 void *argp1 = 0 ;
34059 int res1 = 0 ;
34060 void *argp2 = 0 ;
34061 int res2 = 0 ;
34062 int val3 ;
34063 int ecode3 = 0 ;
34064 PyObject * obj0 = 0 ;
34065 PyObject * obj1 = 0 ;
34066 PyObject * obj2 = 0 ;
34067 char * kwnames[] = {
34068 (char *) "self",(char *) "item",(char *) "which", NULL
34069 };
34070
34071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34073 if (!SWIG_IsOK(res1)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34075 }
34076 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34077 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34078 if (!SWIG_IsOK(res2)) {
34079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34080 }
34081 if (!argp2) {
34082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34083 }
34084 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34085 if (obj2) {
34086 ecode3 = SWIG_AsVal_int(obj2, &val3);
34087 if (!SWIG_IsOK(ecode3)) {
34088 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34089 }
34090 arg3 = static_cast< wxTreeItemIcon >(val3);
34091 }
34092 {
34093 PyThreadState* __tstate = wxPyBeginAllowThreads();
34094 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34095 wxPyEndAllowThreads(__tstate);
34096 if (PyErr_Occurred()) SWIG_fail;
34097 }
34098 resultobj = SWIG_From_int(static_cast< int >(result));
34099 return resultobj;
34100fail:
34101 return NULL;
34102}
34103
34104
34105SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34106 PyObject *resultobj = 0;
34107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34108 wxTreeItemId *arg2 = 0 ;
34109 wxPyTreeItemData *result = 0 ;
34110 void *argp1 = 0 ;
34111 int res1 = 0 ;
34112 void *argp2 = 0 ;
34113 int res2 = 0 ;
34114 PyObject * obj0 = 0 ;
34115 PyObject * obj1 = 0 ;
34116 char * kwnames[] = {
34117 (char *) "self",(char *) "item", NULL
34118 };
34119
34120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34122 if (!SWIG_IsOK(res1)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34124 }
34125 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34126 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34127 if (!SWIG_IsOK(res2)) {
34128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34129 }
34130 if (!argp2) {
34131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34132 }
34133 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34134 {
34135 PyThreadState* __tstate = wxPyBeginAllowThreads();
34136 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
34140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34141 return resultobj;
34142fail:
34143 return NULL;
34144}
34145
34146
34147SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34148 PyObject *resultobj = 0;
34149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34150 wxTreeItemId *arg2 = 0 ;
34151 PyObject *result = 0 ;
34152 void *argp1 = 0 ;
34153 int res1 = 0 ;
34154 void *argp2 = 0 ;
34155 int res2 = 0 ;
34156 PyObject * obj0 = 0 ;
34157 PyObject * obj1 = 0 ;
34158 char * kwnames[] = {
34159 (char *) "self",(char *) "item", NULL
34160 };
34161
34162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34164 if (!SWIG_IsOK(res1)) {
34165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34166 }
34167 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34168 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34169 if (!SWIG_IsOK(res2)) {
34170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34171 }
34172 if (!argp2) {
34173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34174 }
34175 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34176 {
34177 PyThreadState* __tstate = wxPyBeginAllowThreads();
34178 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34179 wxPyEndAllowThreads(__tstate);
34180 if (PyErr_Occurred()) SWIG_fail;
34181 }
34182 resultobj = result;
34183 return resultobj;
34184fail:
34185 return NULL;
34186}
34187
34188
34189SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34190 PyObject *resultobj = 0;
34191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34192 wxTreeItemId *arg2 = 0 ;
34193 wxColour result;
34194 void *argp1 = 0 ;
34195 int res1 = 0 ;
34196 void *argp2 = 0 ;
34197 int res2 = 0 ;
34198 PyObject * obj0 = 0 ;
34199 PyObject * obj1 = 0 ;
34200 char * kwnames[] = {
34201 (char *) "self",(char *) "item", NULL
34202 };
34203
34204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34206 if (!SWIG_IsOK(res1)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34208 }
34209 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34211 if (!SWIG_IsOK(res2)) {
34212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34213 }
34214 if (!argp2) {
34215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34216 }
34217 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34218 {
34219 PyThreadState* __tstate = wxPyBeginAllowThreads();
34220 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34221 wxPyEndAllowThreads(__tstate);
34222 if (PyErr_Occurred()) SWIG_fail;
34223 }
34224 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34225 return resultobj;
34226fail:
34227 return NULL;
34228}
34229
34230
34231SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34232 PyObject *resultobj = 0;
34233 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34234 wxTreeItemId *arg2 = 0 ;
34235 wxColour result;
34236 void *argp1 = 0 ;
34237 int res1 = 0 ;
34238 void *argp2 = 0 ;
34239 int res2 = 0 ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 char * kwnames[] = {
34243 (char *) "self",(char *) "item", NULL
34244 };
34245
34246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34248 if (!SWIG_IsOK(res1)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34250 }
34251 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34252 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34253 if (!SWIG_IsOK(res2)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34255 }
34256 if (!argp2) {
34257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34258 }
34259 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34260 {
34261 PyThreadState* __tstate = wxPyBeginAllowThreads();
34262 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34263 wxPyEndAllowThreads(__tstate);
34264 if (PyErr_Occurred()) SWIG_fail;
34265 }
34266 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34267 return resultobj;
34268fail:
34269 return NULL;
34270}
34271
34272
34273SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34274 PyObject *resultobj = 0;
34275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34276 wxTreeItemId *arg2 = 0 ;
34277 wxFont result;
34278 void *argp1 = 0 ;
34279 int res1 = 0 ;
34280 void *argp2 = 0 ;
34281 int res2 = 0 ;
34282 PyObject * obj0 = 0 ;
34283 PyObject * obj1 = 0 ;
34284 char * kwnames[] = {
34285 (char *) "self",(char *) "item", NULL
34286 };
34287
34288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34290 if (!SWIG_IsOK(res1)) {
34291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34292 }
34293 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34294 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34295 if (!SWIG_IsOK(res2)) {
34296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34297 }
34298 if (!argp2) {
34299 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34300 }
34301 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34302 {
34303 PyThreadState* __tstate = wxPyBeginAllowThreads();
34304 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34305 wxPyEndAllowThreads(__tstate);
34306 if (PyErr_Occurred()) SWIG_fail;
34307 }
34308 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34309 return resultobj;
34310fail:
34311 return NULL;
34312}
34313
34314
34315SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34316 PyObject *resultobj = 0;
34317 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34318 wxTreeItemId *arg2 = 0 ;
34319 wxString *arg3 = 0 ;
34320 void *argp1 = 0 ;
34321 int res1 = 0 ;
34322 void *argp2 = 0 ;
34323 int res2 = 0 ;
34324 bool temp3 = false ;
34325 PyObject * obj0 = 0 ;
34326 PyObject * obj1 = 0 ;
34327 PyObject * obj2 = 0 ;
34328 char * kwnames[] = {
34329 (char *) "self",(char *) "item",(char *) "text", NULL
34330 };
34331
34332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34334 if (!SWIG_IsOK(res1)) {
34335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34336 }
34337 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34339 if (!SWIG_IsOK(res2)) {
34340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34341 }
34342 if (!argp2) {
34343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34344 }
34345 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34346 {
34347 arg3 = wxString_in_helper(obj2);
34348 if (arg3 == NULL) SWIG_fail;
34349 temp3 = true;
34350 }
34351 {
34352 PyThreadState* __tstate = wxPyBeginAllowThreads();
34353 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
34357 resultobj = SWIG_Py_Void();
34358 {
34359 if (temp3)
34360 delete arg3;
34361 }
34362 return resultobj;
34363fail:
34364 {
34365 if (temp3)
34366 delete arg3;
34367 }
34368 return NULL;
34369}
34370
34371
34372SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34373 PyObject *resultobj = 0;
34374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34375 wxTreeItemId *arg2 = 0 ;
34376 int arg3 ;
34377 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34378 void *argp1 = 0 ;
34379 int res1 = 0 ;
34380 void *argp2 = 0 ;
34381 int res2 = 0 ;
34382 int val3 ;
34383 int ecode3 = 0 ;
34384 int val4 ;
34385 int ecode4 = 0 ;
34386 PyObject * obj0 = 0 ;
34387 PyObject * obj1 = 0 ;
34388 PyObject * obj2 = 0 ;
34389 PyObject * obj3 = 0 ;
34390 char * kwnames[] = {
34391 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34392 };
34393
34394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34396 if (!SWIG_IsOK(res1)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34398 }
34399 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34400 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34401 if (!SWIG_IsOK(res2)) {
34402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34403 }
34404 if (!argp2) {
34405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34406 }
34407 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34408 ecode3 = SWIG_AsVal_int(obj2, &val3);
34409 if (!SWIG_IsOK(ecode3)) {
34410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34411 }
34412 arg3 = static_cast< int >(val3);
34413 if (obj3) {
34414 ecode4 = SWIG_AsVal_int(obj3, &val4);
34415 if (!SWIG_IsOK(ecode4)) {
34416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34417 }
34418 arg4 = static_cast< wxTreeItemIcon >(val4);
34419 }
34420 {
34421 PyThreadState* __tstate = wxPyBeginAllowThreads();
34422 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34423 wxPyEndAllowThreads(__tstate);
34424 if (PyErr_Occurred()) SWIG_fail;
34425 }
34426 resultobj = SWIG_Py_Void();
34427 return resultobj;
34428fail:
34429 return NULL;
34430}
34431
34432
34433SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34434 PyObject *resultobj = 0;
34435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34436 wxTreeItemId *arg2 = 0 ;
34437 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34438 void *argp1 = 0 ;
34439 int res1 = 0 ;
34440 void *argp2 = 0 ;
34441 int res2 = 0 ;
34442 int res3 = 0 ;
34443 PyObject * obj0 = 0 ;
34444 PyObject * obj1 = 0 ;
34445 PyObject * obj2 = 0 ;
34446 char * kwnames[] = {
34447 (char *) "self",(char *) "item",(char *) "data", NULL
34448 };
34449
34450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34452 if (!SWIG_IsOK(res1)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34454 }
34455 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34456 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34457 if (!SWIG_IsOK(res2)) {
34458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34459 }
34460 if (!argp2) {
34461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34462 }
34463 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34464 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34465 if (!SWIG_IsOK(res3)) {
34466 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34467 }
34468 {
34469 PyThreadState* __tstate = wxPyBeginAllowThreads();
34470 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34471 wxPyEndAllowThreads(__tstate);
34472 if (PyErr_Occurred()) SWIG_fail;
34473 }
34474 resultobj = SWIG_Py_Void();
34475 return resultobj;
34476fail:
34477 return NULL;
34478}
34479
34480
34481SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34482 PyObject *resultobj = 0;
34483 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34484 wxTreeItemId *arg2 = 0 ;
34485 PyObject *arg3 = (PyObject *) 0 ;
34486 void *argp1 = 0 ;
34487 int res1 = 0 ;
34488 void *argp2 = 0 ;
34489 int res2 = 0 ;
34490 PyObject * obj0 = 0 ;
34491 PyObject * obj1 = 0 ;
34492 PyObject * obj2 = 0 ;
34493 char * kwnames[] = {
34494 (char *) "self",(char *) "item",(char *) "obj", NULL
34495 };
34496
34497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34499 if (!SWIG_IsOK(res1)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34501 }
34502 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34503 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34504 if (!SWIG_IsOK(res2)) {
34505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34506 }
34507 if (!argp2) {
34508 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34509 }
34510 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34511 arg3 = obj2;
34512 {
34513 PyThreadState* __tstate = wxPyBeginAllowThreads();
34514 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34515 wxPyEndAllowThreads(__tstate);
34516 if (PyErr_Occurred()) SWIG_fail;
34517 }
34518 resultobj = SWIG_Py_Void();
34519 return resultobj;
34520fail:
34521 return NULL;
34522}
34523
34524
34525SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34526 PyObject *resultobj = 0;
34527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34528 wxTreeItemId *arg2 = 0 ;
34529 bool arg3 = (bool) true ;
34530 void *argp1 = 0 ;
34531 int res1 = 0 ;
34532 void *argp2 = 0 ;
34533 int res2 = 0 ;
34534 bool val3 ;
34535 int ecode3 = 0 ;
34536 PyObject * obj0 = 0 ;
34537 PyObject * obj1 = 0 ;
34538 PyObject * obj2 = 0 ;
34539 char * kwnames[] = {
34540 (char *) "self",(char *) "item",(char *) "has", NULL
34541 };
34542
34543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34545 if (!SWIG_IsOK(res1)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34547 }
34548 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34550 if (!SWIG_IsOK(res2)) {
34551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34552 }
34553 if (!argp2) {
34554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34555 }
34556 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34557 if (obj2) {
34558 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34559 if (!SWIG_IsOK(ecode3)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34561 }
34562 arg3 = static_cast< bool >(val3);
34563 }
34564 {
34565 PyThreadState* __tstate = wxPyBeginAllowThreads();
34566 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34567 wxPyEndAllowThreads(__tstate);
34568 if (PyErr_Occurred()) SWIG_fail;
34569 }
34570 resultobj = SWIG_Py_Void();
34571 return resultobj;
34572fail:
34573 return NULL;
34574}
34575
34576
34577SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34578 PyObject *resultobj = 0;
34579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34580 wxTreeItemId *arg2 = 0 ;
34581 bool arg3 = (bool) true ;
34582 void *argp1 = 0 ;
34583 int res1 = 0 ;
34584 void *argp2 = 0 ;
34585 int res2 = 0 ;
34586 bool val3 ;
34587 int ecode3 = 0 ;
34588 PyObject * obj0 = 0 ;
34589 PyObject * obj1 = 0 ;
34590 PyObject * obj2 = 0 ;
34591 char * kwnames[] = {
34592 (char *) "self",(char *) "item",(char *) "bold", NULL
34593 };
34594
34595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34597 if (!SWIG_IsOK(res1)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34599 }
34600 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34601 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34602 if (!SWIG_IsOK(res2)) {
34603 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34604 }
34605 if (!argp2) {
34606 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34607 }
34608 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34609 if (obj2) {
34610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34611 if (!SWIG_IsOK(ecode3)) {
34612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34613 }
34614 arg3 = static_cast< bool >(val3);
34615 }
34616 {
34617 PyThreadState* __tstate = wxPyBeginAllowThreads();
34618 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
34619 wxPyEndAllowThreads(__tstate);
34620 if (PyErr_Occurred()) SWIG_fail;
34621 }
34622 resultobj = SWIG_Py_Void();
34623 return resultobj;
34624fail:
34625 return NULL;
34626}
34627
34628
34629SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34630 PyObject *resultobj = 0;
34631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34632 wxTreeItemId *arg2 = 0 ;
34633 bool arg3 = (bool) true ;
34634 void *argp1 = 0 ;
34635 int res1 = 0 ;
34636 void *argp2 = 0 ;
34637 int res2 = 0 ;
34638 bool val3 ;
34639 int ecode3 = 0 ;
34640 PyObject * obj0 = 0 ;
34641 PyObject * obj1 = 0 ;
34642 PyObject * obj2 = 0 ;
34643 char * kwnames[] = {
34644 (char *) "self",(char *) "item",(char *) "highlight", NULL
34645 };
34646
34647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34649 if (!SWIG_IsOK(res1)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34651 }
34652 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34654 if (!SWIG_IsOK(res2)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34656 }
34657 if (!argp2) {
34658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 }
34660 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34661 if (obj2) {
34662 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34663 if (!SWIG_IsOK(ecode3)) {
34664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34665 }
34666 arg3 = static_cast< bool >(val3);
34667 }
34668 {
34669 PyThreadState* __tstate = wxPyBeginAllowThreads();
34670 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
34671 wxPyEndAllowThreads(__tstate);
34672 if (PyErr_Occurred()) SWIG_fail;
34673 }
34674 resultobj = SWIG_Py_Void();
34675 return resultobj;
34676fail:
34677 return NULL;
34678}
34679
34680
34681SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34682 PyObject *resultobj = 0;
34683 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34684 wxTreeItemId *arg2 = 0 ;
34685 wxColour *arg3 = 0 ;
34686 void *argp1 = 0 ;
34687 int res1 = 0 ;
34688 void *argp2 = 0 ;
34689 int res2 = 0 ;
34690 wxColour temp3 ;
34691 PyObject * obj0 = 0 ;
34692 PyObject * obj1 = 0 ;
34693 PyObject * obj2 = 0 ;
34694 char * kwnames[] = {
34695 (char *) "self",(char *) "item",(char *) "col", NULL
34696 };
34697
34698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34700 if (!SWIG_IsOK(res1)) {
34701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34702 }
34703 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34705 if (!SWIG_IsOK(res2)) {
34706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34707 }
34708 if (!argp2) {
34709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34710 }
34711 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34712 {
34713 arg3 = &temp3;
34714 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34715 }
34716 {
34717 PyThreadState* __tstate = wxPyBeginAllowThreads();
34718 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34719 wxPyEndAllowThreads(__tstate);
34720 if (PyErr_Occurred()) SWIG_fail;
34721 }
34722 resultobj = SWIG_Py_Void();
34723 return resultobj;
34724fail:
34725 return NULL;
34726}
34727
34728
34729SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34730 PyObject *resultobj = 0;
34731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34732 wxTreeItemId *arg2 = 0 ;
34733 wxColour *arg3 = 0 ;
34734 void *argp1 = 0 ;
34735 int res1 = 0 ;
34736 void *argp2 = 0 ;
34737 int res2 = 0 ;
34738 wxColour temp3 ;
34739 PyObject * obj0 = 0 ;
34740 PyObject * obj1 = 0 ;
34741 PyObject * obj2 = 0 ;
34742 char * kwnames[] = {
34743 (char *) "self",(char *) "item",(char *) "col", NULL
34744 };
34745
34746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34748 if (!SWIG_IsOK(res1)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34750 }
34751 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34752 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34753 if (!SWIG_IsOK(res2)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34755 }
34756 if (!argp2) {
34757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34758 }
34759 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34760 {
34761 arg3 = &temp3;
34762 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34763 }
34764 {
34765 PyThreadState* __tstate = wxPyBeginAllowThreads();
34766 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34767 wxPyEndAllowThreads(__tstate);
34768 if (PyErr_Occurred()) SWIG_fail;
34769 }
34770 resultobj = SWIG_Py_Void();
34771 return resultobj;
34772fail:
34773 return NULL;
34774}
34775
34776
34777SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34778 PyObject *resultobj = 0;
34779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34780 wxTreeItemId *arg2 = 0 ;
34781 wxFont *arg3 = 0 ;
34782 void *argp1 = 0 ;
34783 int res1 = 0 ;
34784 void *argp2 = 0 ;
34785 int res2 = 0 ;
34786 void *argp3 = 0 ;
34787 int res3 = 0 ;
34788 PyObject * obj0 = 0 ;
34789 PyObject * obj1 = 0 ;
34790 PyObject * obj2 = 0 ;
34791 char * kwnames[] = {
34792 (char *) "self",(char *) "item",(char *) "font", NULL
34793 };
34794
34795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34797 if (!SWIG_IsOK(res1)) {
34798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34799 }
34800 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34801 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34802 if (!SWIG_IsOK(res2)) {
34803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34804 }
34805 if (!argp2) {
34806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34807 }
34808 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34809 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
34810 if (!SWIG_IsOK(res3)) {
34811 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34812 }
34813 if (!argp3) {
34814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34815 }
34816 arg3 = reinterpret_cast< wxFont * >(argp3);
34817 {
34818 PyThreadState* __tstate = wxPyBeginAllowThreads();
34819 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
34820 wxPyEndAllowThreads(__tstate);
34821 if (PyErr_Occurred()) SWIG_fail;
34822 }
34823 resultobj = SWIG_Py_Void();
34824 return resultobj;
34825fail:
34826 return NULL;
34827}
34828
34829
34830SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34831 PyObject *resultobj = 0;
34832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34833 wxTreeItemId *arg2 = 0 ;
34834 bool result;
34835 void *argp1 = 0 ;
34836 int res1 = 0 ;
34837 void *argp2 = 0 ;
34838 int res2 = 0 ;
34839 PyObject * obj0 = 0 ;
34840 PyObject * obj1 = 0 ;
34841 char * kwnames[] = {
34842 (char *) "self",(char *) "item", NULL
34843 };
34844
34845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
34846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34847 if (!SWIG_IsOK(res1)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34849 }
34850 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34851 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34852 if (!SWIG_IsOK(res2)) {
34853 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34854 }
34855 if (!argp2) {
34856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34857 }
34858 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34859 {
34860 PyThreadState* __tstate = wxPyBeginAllowThreads();
34861 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
34862 wxPyEndAllowThreads(__tstate);
34863 if (PyErr_Occurred()) SWIG_fail;
34864 }
34865 {
34866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34867 }
34868 return resultobj;
34869fail:
34870 return NULL;
34871}
34872
34873
34874SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34875 PyObject *resultobj = 0;
34876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34877 wxTreeItemId *arg2 = 0 ;
34878 bool result;
34879 void *argp1 = 0 ;
34880 int res1 = 0 ;
34881 void *argp2 = 0 ;
34882 int res2 = 0 ;
34883 PyObject * obj0 = 0 ;
34884 PyObject * obj1 = 0 ;
34885 char * kwnames[] = {
34886 (char *) "self",(char *) "item", NULL
34887 };
34888
34889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
34890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34891 if (!SWIG_IsOK(res1)) {
34892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34893 }
34894 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34895 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34896 if (!SWIG_IsOK(res2)) {
34897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34898 }
34899 if (!argp2) {
34900 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34901 }
34902 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34903 {
34904 PyThreadState* __tstate = wxPyBeginAllowThreads();
34905 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
34906 wxPyEndAllowThreads(__tstate);
34907 if (PyErr_Occurred()) SWIG_fail;
34908 }
34909 {
34910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34911 }
34912 return resultobj;
34913fail:
34914 return NULL;
34915}
34916
34917
34918SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34919 PyObject *resultobj = 0;
34920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34921 wxTreeItemId *arg2 = 0 ;
34922 bool result;
34923 void *argp1 = 0 ;
34924 int res1 = 0 ;
34925 void *argp2 = 0 ;
34926 int res2 = 0 ;
34927 PyObject * obj0 = 0 ;
34928 PyObject * obj1 = 0 ;
34929 char * kwnames[] = {
34930 (char *) "self",(char *) "item", NULL
34931 };
34932
34933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
34934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34935 if (!SWIG_IsOK(res1)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34937 }
34938 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34939 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34940 if (!SWIG_IsOK(res2)) {
34941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 }
34943 if (!argp2) {
34944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34945 }
34946 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34947 {
34948 PyThreadState* __tstate = wxPyBeginAllowThreads();
34949 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
34950 wxPyEndAllowThreads(__tstate);
34951 if (PyErr_Occurred()) SWIG_fail;
34952 }
34953 {
34954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34955 }
34956 return resultobj;
34957fail:
34958 return NULL;
34959}
34960
34961
34962SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34963 PyObject *resultobj = 0;
34964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34965 wxTreeItemId *arg2 = 0 ;
34966 bool result;
34967 void *argp1 = 0 ;
34968 int res1 = 0 ;
34969 void *argp2 = 0 ;
34970 int res2 = 0 ;
34971 PyObject * obj0 = 0 ;
34972 PyObject * obj1 = 0 ;
34973 char * kwnames[] = {
34974 (char *) "self",(char *) "item", NULL
34975 };
34976
34977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
34978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34979 if (!SWIG_IsOK(res1)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34981 }
34982 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34983 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34984 if (!SWIG_IsOK(res2)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34986 }
34987 if (!argp2) {
34988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34989 }
34990 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34991 {
34992 PyThreadState* __tstate = wxPyBeginAllowThreads();
34993 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
34994 wxPyEndAllowThreads(__tstate);
34995 if (PyErr_Occurred()) SWIG_fail;
34996 }
34997 {
34998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34999 }
35000 return resultobj;
35001fail:
35002 return NULL;
35003}
35004
35005
35006SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35007 PyObject *resultobj = 0;
35008 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35009 wxTreeItemId *arg2 = 0 ;
35010 bool result;
35011 void *argp1 = 0 ;
35012 int res1 = 0 ;
35013 void *argp2 = 0 ;
35014 int res2 = 0 ;
35015 PyObject * obj0 = 0 ;
35016 PyObject * obj1 = 0 ;
35017 char * kwnames[] = {
35018 (char *) "self",(char *) "item", NULL
35019 };
35020
35021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35023 if (!SWIG_IsOK(res1)) {
35024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35025 }
35026 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35027 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35028 if (!SWIG_IsOK(res2)) {
35029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35030 }
35031 if (!argp2) {
35032 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35033 }
35034 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35035 {
35036 PyThreadState* __tstate = wxPyBeginAllowThreads();
35037 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35038 wxPyEndAllowThreads(__tstate);
35039 if (PyErr_Occurred()) SWIG_fail;
35040 }
35041 {
35042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35043 }
35044 return resultobj;
35045fail:
35046 return NULL;
35047}
35048
35049
35050SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35051 PyObject *resultobj = 0;
35052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35053 wxTreeItemId *arg2 = 0 ;
35054 bool arg3 = (bool) true ;
35055 size_t result;
35056 void *argp1 = 0 ;
35057 int res1 = 0 ;
35058 void *argp2 = 0 ;
35059 int res2 = 0 ;
35060 bool val3 ;
35061 int ecode3 = 0 ;
35062 PyObject * obj0 = 0 ;
35063 PyObject * obj1 = 0 ;
35064 PyObject * obj2 = 0 ;
35065 char * kwnames[] = {
35066 (char *) "self",(char *) "item",(char *) "recursively", NULL
35067 };
35068
35069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35071 if (!SWIG_IsOK(res1)) {
35072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35073 }
35074 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35076 if (!SWIG_IsOK(res2)) {
35077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35078 }
35079 if (!argp2) {
35080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35081 }
35082 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35083 if (obj2) {
35084 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35085 if (!SWIG_IsOK(ecode3)) {
35086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35087 }
35088 arg3 = static_cast< bool >(val3);
35089 }
35090 {
35091 PyThreadState* __tstate = wxPyBeginAllowThreads();
35092 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35093 wxPyEndAllowThreads(__tstate);
35094 if (PyErr_Occurred()) SWIG_fail;
35095 }
35096 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35097 return resultobj;
35098fail:
35099 return NULL;
d55e5bfc
RD
35100}
35101
35102
554f62e9
RD
35103SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35104 PyObject *resultobj = 0;
35105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35106 wxTreeItemId result;
35107 void *argp1 = 0 ;
35108 int res1 = 0 ;
35109 PyObject *swig_obj[1] ;
35110
35111 if (!args) SWIG_fail;
35112 swig_obj[0] = args;
35113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35114 if (!SWIG_IsOK(res1)) {
35115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35116 }
35117 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35118 {
35119 PyThreadState* __tstate = wxPyBeginAllowThreads();
35120 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35121 wxPyEndAllowThreads(__tstate);
35122 if (PyErr_Occurred()) SWIG_fail;
35123 }
35124 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35125 return resultobj;
35126fail:
35127 return NULL;
d55e5bfc
RD
35128}
35129
35130
554f62e9
RD
35131SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35132 PyObject *resultobj = 0;
35133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35134 wxTreeItemId result;
35135 void *argp1 = 0 ;
35136 int res1 = 0 ;
35137 PyObject *swig_obj[1] ;
35138
35139 if (!args) SWIG_fail;
35140 swig_obj[0] = args;
35141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35142 if (!SWIG_IsOK(res1)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35144 }
35145 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35146 {
35147 PyThreadState* __tstate = wxPyBeginAllowThreads();
35148 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35149 wxPyEndAllowThreads(__tstate);
35150 if (PyErr_Occurred()) SWIG_fail;
35151 }
35152 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35153 return resultobj;
35154fail:
35155 return NULL;
d55e5bfc
RD
35156}
35157
35158
554f62e9
RD
35159SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35160 PyObject *resultobj = 0;
35161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35162 PyObject *result = 0 ;
35163 void *argp1 = 0 ;
35164 int res1 = 0 ;
35165 PyObject *swig_obj[1] ;
35166
35167 if (!args) SWIG_fail;
35168 swig_obj[0] = args;
35169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35170 if (!SWIG_IsOK(res1)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35172 }
35173 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35174 {
35175 PyThreadState* __tstate = wxPyBeginAllowThreads();
35176 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35177 wxPyEndAllowThreads(__tstate);
35178 if (PyErr_Occurred()) SWIG_fail;
35179 }
35180 resultobj = result;
35181 return resultobj;
35182fail:
35183 return NULL;
35184}
35185
35186
35187SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35188 PyObject *resultobj = 0;
35189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35190 wxTreeItemId *arg2 = 0 ;
35191 wxTreeItemId result;
35192 void *argp1 = 0 ;
35193 int res1 = 0 ;
35194 void *argp2 = 0 ;
35195 int res2 = 0 ;
35196 PyObject * obj0 = 0 ;
35197 PyObject * obj1 = 0 ;
35198 char * kwnames[] = {
35199 (char *) "self",(char *) "item", NULL
35200 };
35201
35202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35204 if (!SWIG_IsOK(res1)) {
35205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35206 }
35207 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35209 if (!SWIG_IsOK(res2)) {
35210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35211 }
35212 if (!argp2) {
35213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35214 }
35215 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35216 {
35217 PyThreadState* __tstate = wxPyBeginAllowThreads();
35218 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35219 wxPyEndAllowThreads(__tstate);
35220 if (PyErr_Occurred()) SWIG_fail;
35221 }
35222 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35223 return resultobj;
35224fail:
35225 return NULL;
35226}
35227
35228
35229SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35230 PyObject *resultobj = 0;
35231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35232 wxTreeItemId *arg2 = 0 ;
35233 PyObject *result = 0 ;
35234 void *argp1 = 0 ;
35235 int res1 = 0 ;
35236 void *argp2 = 0 ;
35237 int res2 = 0 ;
35238 PyObject * obj0 = 0 ;
35239 PyObject * obj1 = 0 ;
35240 char * kwnames[] = {
35241 (char *) "self",(char *) "item", NULL
35242 };
35243
35244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35246 if (!SWIG_IsOK(res1)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35248 }
35249 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35250 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35251 if (!SWIG_IsOK(res2)) {
35252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35253 }
35254 if (!argp2) {
35255 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35256 }
35257 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35258 {
35259 PyThreadState* __tstate = wxPyBeginAllowThreads();
35260 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35261 wxPyEndAllowThreads(__tstate);
35262 if (PyErr_Occurred()) SWIG_fail;
35263 }
35264 resultobj = result;
35265 return resultobj;
35266fail:
35267 return NULL;
35268}
35269
35270
35271SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35272 PyObject *resultobj = 0;
35273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35274 wxTreeItemId *arg2 = 0 ;
35275 void *arg3 = (void *) 0 ;
35276 PyObject *result = 0 ;
35277 void *argp1 = 0 ;
35278 int res1 = 0 ;
35279 void *argp2 = 0 ;
35280 int res2 = 0 ;
35281 int res3 ;
35282 PyObject * obj0 = 0 ;
35283 PyObject * obj1 = 0 ;
35284 PyObject * obj2 = 0 ;
35285 char * kwnames[] = {
35286 (char *) "self",(char *) "item",(char *) "cookie", NULL
35287 };
35288
35289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35291 if (!SWIG_IsOK(res1)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35293 }
35294 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35295 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35296 if (!SWIG_IsOK(res2)) {
35297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35298 }
35299 if (!argp2) {
35300 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 }
35302 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35303 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35304 if (!SWIG_IsOK(res3)) {
35305 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35306 }
35307 {
35308 PyThreadState* __tstate = wxPyBeginAllowThreads();
35309 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35310 wxPyEndAllowThreads(__tstate);
35311 if (PyErr_Occurred()) SWIG_fail;
35312 }
35313 resultobj = result;
35314 return resultobj;
35315fail:
35316 return NULL;
35317}
35318
35319
35320SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35321 PyObject *resultobj = 0;
35322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35323 wxTreeItemId *arg2 = 0 ;
35324 wxTreeItemId result;
35325 void *argp1 = 0 ;
35326 int res1 = 0 ;
35327 void *argp2 = 0 ;
35328 int res2 = 0 ;
35329 PyObject * obj0 = 0 ;
35330 PyObject * obj1 = 0 ;
35331 char * kwnames[] = {
35332 (char *) "self",(char *) "item", NULL
35333 };
35334
35335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35337 if (!SWIG_IsOK(res1)) {
35338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35339 }
35340 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35341 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35342 if (!SWIG_IsOK(res2)) {
35343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 }
35345 if (!argp2) {
35346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35347 }
35348 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35349 {
35350 PyThreadState* __tstate = wxPyBeginAllowThreads();
35351 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35352 wxPyEndAllowThreads(__tstate);
35353 if (PyErr_Occurred()) SWIG_fail;
35354 }
35355 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35356 return resultobj;
35357fail:
35358 return NULL;
35359}
35360
35361
35362SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35363 PyObject *resultobj = 0;
35364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35365 wxTreeItemId *arg2 = 0 ;
35366 wxTreeItemId result;
35367 void *argp1 = 0 ;
35368 int res1 = 0 ;
35369 void *argp2 = 0 ;
35370 int res2 = 0 ;
35371 PyObject * obj0 = 0 ;
35372 PyObject * obj1 = 0 ;
35373 char * kwnames[] = {
35374 (char *) "self",(char *) "item", NULL
35375 };
35376
35377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35379 if (!SWIG_IsOK(res1)) {
35380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35381 }
35382 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35384 if (!SWIG_IsOK(res2)) {
35385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35386 }
35387 if (!argp2) {
35388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35389 }
35390 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35391 {
35392 PyThreadState* __tstate = wxPyBeginAllowThreads();
35393 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35394 wxPyEndAllowThreads(__tstate);
35395 if (PyErr_Occurred()) SWIG_fail;
35396 }
35397 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35398 return resultobj;
35399fail:
35400 return NULL;
35401}
35402
35403
35404SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35405 PyObject *resultobj = 0;
35406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35407 wxTreeItemId *arg2 = 0 ;
35408 wxTreeItemId result;
35409 void *argp1 = 0 ;
35410 int res1 = 0 ;
35411 void *argp2 = 0 ;
35412 int res2 = 0 ;
35413 PyObject * obj0 = 0 ;
35414 PyObject * obj1 = 0 ;
35415 char * kwnames[] = {
35416 (char *) "self",(char *) "item", NULL
35417 };
35418
35419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35421 if (!SWIG_IsOK(res1)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35423 }
35424 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35426 if (!SWIG_IsOK(res2)) {
35427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35428 }
35429 if (!argp2) {
35430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35431 }
35432 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35433 {
35434 PyThreadState* __tstate = wxPyBeginAllowThreads();
35435 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35436 wxPyEndAllowThreads(__tstate);
35437 if (PyErr_Occurred()) SWIG_fail;
35438 }
35439 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35440 return resultobj;
35441fail:
35442 return NULL;
d55e5bfc
RD
35443}
35444
35445
554f62e9
RD
35446SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35447 PyObject *resultobj = 0;
35448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35449 wxTreeItemId result;
35450 void *argp1 = 0 ;
35451 int res1 = 0 ;
35452 PyObject *swig_obj[1] ;
35453
35454 if (!args) SWIG_fail;
35455 swig_obj[0] = args;
35456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35457 if (!SWIG_IsOK(res1)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35459 }
35460 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35461 {
35462 PyThreadState* __tstate = wxPyBeginAllowThreads();
35463 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35464 wxPyEndAllowThreads(__tstate);
35465 if (PyErr_Occurred()) SWIG_fail;
35466 }
35467 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35468 return resultobj;
35469fail:
35470 return NULL;
35471}
35472
35473
35474SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35475 PyObject *resultobj = 0;
35476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35477 wxTreeItemId *arg2 = 0 ;
35478 wxTreeItemId result;
35479 void *argp1 = 0 ;
35480 int res1 = 0 ;
35481 void *argp2 = 0 ;
35482 int res2 = 0 ;
35483 PyObject * obj0 = 0 ;
35484 PyObject * obj1 = 0 ;
35485 char * kwnames[] = {
35486 (char *) "self",(char *) "item", NULL
35487 };
35488
35489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35491 if (!SWIG_IsOK(res1)) {
35492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35493 }
35494 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35496 if (!SWIG_IsOK(res2)) {
35497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 }
35499 if (!argp2) {
35500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35501 }
35502 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35503 {
35504 PyThreadState* __tstate = wxPyBeginAllowThreads();
35505 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35506 wxPyEndAllowThreads(__tstate);
35507 if (PyErr_Occurred()) SWIG_fail;
35508 }
35509 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35510 return resultobj;
35511fail:
35512 return NULL;
35513}
35514
35515
35516SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35517 PyObject *resultobj = 0;
35518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35519 wxTreeItemId *arg2 = 0 ;
35520 wxTreeItemId result;
35521 void *argp1 = 0 ;
35522 int res1 = 0 ;
35523 void *argp2 = 0 ;
35524 int res2 = 0 ;
35525 PyObject * obj0 = 0 ;
35526 PyObject * obj1 = 0 ;
35527 char * kwnames[] = {
35528 (char *) "self",(char *) "item", NULL
35529 };
35530
35531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35533 if (!SWIG_IsOK(res1)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35535 }
35536 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35537 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35538 if (!SWIG_IsOK(res2)) {
35539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35540 }
35541 if (!argp2) {
35542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35543 }
35544 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35545 {
35546 PyThreadState* __tstate = wxPyBeginAllowThreads();
35547 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35548 wxPyEndAllowThreads(__tstate);
35549 if (PyErr_Occurred()) SWIG_fail;
35550 }
35551 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35552 return resultobj;
35553fail:
35554 return NULL;
35555}
35556
35557
35558SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35559 PyObject *resultobj = 0;
35560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35561 wxString *arg2 = 0 ;
35562 int arg3 = (int) -1 ;
35563 int arg4 = (int) -1 ;
35564 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35565 wxTreeItemId result;
35566 void *argp1 = 0 ;
35567 int res1 = 0 ;
35568 bool temp2 = false ;
35569 int val3 ;
35570 int ecode3 = 0 ;
35571 int val4 ;
35572 int ecode4 = 0 ;
35573 int res5 = 0 ;
35574 PyObject * obj0 = 0 ;
35575 PyObject * obj1 = 0 ;
35576 PyObject * obj2 = 0 ;
35577 PyObject * obj3 = 0 ;
35578 PyObject * obj4 = 0 ;
35579 char * kwnames[] = {
35580 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35581 };
35582
35583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35585 if (!SWIG_IsOK(res1)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35587 }
35588 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35589 {
35590 arg2 = wxString_in_helper(obj1);
35591 if (arg2 == NULL) SWIG_fail;
35592 temp2 = true;
35593 }
35594 if (obj2) {
35595 ecode3 = SWIG_AsVal_int(obj2, &val3);
35596 if (!SWIG_IsOK(ecode3)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35598 }
35599 arg3 = static_cast< int >(val3);
35600 }
35601 if (obj3) {
35602 ecode4 = SWIG_AsVal_int(obj3, &val4);
35603 if (!SWIG_IsOK(ecode4)) {
35604 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35605 }
35606 arg4 = static_cast< int >(val4);
35607 }
35608 if (obj4) {
35609 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35610 if (!SWIG_IsOK(res5)) {
35611 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35612 }
554f62e9
RD
35613 }
35614 {
35615 PyThreadState* __tstate = wxPyBeginAllowThreads();
35616 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
35617 wxPyEndAllowThreads(__tstate);
35618 if (PyErr_Occurred()) SWIG_fail;
35619 }
35620 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35621 {
35622 if (temp2)
35623 delete arg2;
35624 }
35625 return resultobj;
35626fail:
35627 {
35628 if (temp2)
35629 delete arg2;
35630 }
35631 return NULL;
35632}
35633
35634
35635SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35636 PyObject *resultobj = 0;
35637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35638 wxTreeItemId *arg2 = 0 ;
35639 wxString *arg3 = 0 ;
35640 int arg4 = (int) -1 ;
35641 int arg5 = (int) -1 ;
35642 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35643 wxTreeItemId result;
35644 void *argp1 = 0 ;
35645 int res1 = 0 ;
35646 void *argp2 = 0 ;
35647 int res2 = 0 ;
35648 bool temp3 = false ;
35649 int val4 ;
35650 int ecode4 = 0 ;
35651 int val5 ;
35652 int ecode5 = 0 ;
35653 int res6 = 0 ;
35654 PyObject * obj0 = 0 ;
35655 PyObject * obj1 = 0 ;
35656 PyObject * obj2 = 0 ;
35657 PyObject * obj3 = 0 ;
35658 PyObject * obj4 = 0 ;
35659 PyObject * obj5 = 0 ;
35660 char * kwnames[] = {
35661 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35662 };
35663
35664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35666 if (!SWIG_IsOK(res1)) {
35667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35668 }
35669 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35670 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35671 if (!SWIG_IsOK(res2)) {
35672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35673 }
35674 if (!argp2) {
35675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35676 }
35677 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35678 {
35679 arg3 = wxString_in_helper(obj2);
35680 if (arg3 == NULL) SWIG_fail;
35681 temp3 = true;
35682 }
35683 if (obj3) {
35684 ecode4 = SWIG_AsVal_int(obj3, &val4);
35685 if (!SWIG_IsOK(ecode4)) {
35686 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35687 }
35688 arg4 = static_cast< int >(val4);
35689 }
35690 if (obj4) {
35691 ecode5 = SWIG_AsVal_int(obj4, &val5);
35692 if (!SWIG_IsOK(ecode5)) {
35693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35694 }
35695 arg5 = static_cast< int >(val5);
35696 }
35697 if (obj5) {
35698 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35699 if (!SWIG_IsOK(res6)) {
35700 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
093d3ff1 35701 }
554f62e9
RD
35702 }
35703 {
35704 PyThreadState* __tstate = wxPyBeginAllowThreads();
35705 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35706 wxPyEndAllowThreads(__tstate);
35707 if (PyErr_Occurred()) SWIG_fail;
35708 }
35709 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35710 {
35711 if (temp3)
35712 delete arg3;
35713 }
35714 return resultobj;
35715fail:
35716 {
35717 if (temp3)
35718 delete arg3;
35719 }
35720 return NULL;
35721}
35722
35723
35724SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35725 PyObject *resultobj = 0;
35726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35727 wxTreeItemId *arg2 = 0 ;
35728 wxTreeItemId *arg3 = 0 ;
35729 wxString *arg4 = 0 ;
35730 int arg5 = (int) -1 ;
35731 int arg6 = (int) -1 ;
35732 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35733 wxTreeItemId result;
35734 void *argp1 = 0 ;
35735 int res1 = 0 ;
35736 void *argp2 = 0 ;
35737 int res2 = 0 ;
35738 void *argp3 = 0 ;
35739 int res3 = 0 ;
35740 bool temp4 = false ;
35741 int val5 ;
35742 int ecode5 = 0 ;
35743 int val6 ;
35744 int ecode6 = 0 ;
35745 int res7 = 0 ;
35746 PyObject * obj0 = 0 ;
35747 PyObject * obj1 = 0 ;
35748 PyObject * obj2 = 0 ;
35749 PyObject * obj3 = 0 ;
35750 PyObject * obj4 = 0 ;
35751 PyObject * obj5 = 0 ;
35752 PyObject * obj6 = 0 ;
35753 char * kwnames[] = {
35754 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35755 };
35756
35757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35759 if (!SWIG_IsOK(res1)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35761 }
35762 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35763 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35764 if (!SWIG_IsOK(res2)) {
35765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35766 }
35767 if (!argp2) {
35768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35769 }
35770 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35771 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35772 if (!SWIG_IsOK(res3)) {
35773 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35774 }
35775 if (!argp3) {
35776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35777 }
35778 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
35779 {
35780 arg4 = wxString_in_helper(obj3);
35781 if (arg4 == NULL) SWIG_fail;
35782 temp4 = true;
35783 }
35784 if (obj4) {
35785 ecode5 = SWIG_AsVal_int(obj4, &val5);
35786 if (!SWIG_IsOK(ecode5)) {
35787 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35788 }
35789 arg5 = static_cast< int >(val5);
35790 }
35791 if (obj5) {
35792 ecode6 = SWIG_AsVal_int(obj5, &val6);
35793 if (!SWIG_IsOK(ecode6)) {
35794 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35795 }
35796 arg6 = static_cast< int >(val6);
35797 }
35798 if (obj6) {
35799 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35800 if (!SWIG_IsOK(res7)) {
35801 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35802 }
554f62e9
RD
35803 }
35804 {
35805 PyThreadState* __tstate = wxPyBeginAllowThreads();
35806 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35807 wxPyEndAllowThreads(__tstate);
35808 if (PyErr_Occurred()) SWIG_fail;
35809 }
35810 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35811 {
35812 if (temp4)
35813 delete arg4;
35814 }
35815 return resultobj;
35816fail:
35817 {
35818 if (temp4)
35819 delete arg4;
35820 }
35821 return NULL;
35822}
35823
35824
35825SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35826 PyObject *resultobj = 0;
35827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35828 wxTreeItemId *arg2 = 0 ;
35829 size_t arg3 ;
35830 wxString *arg4 = 0 ;
35831 int arg5 = (int) -1 ;
35832 int arg6 = (int) -1 ;
35833 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35834 wxTreeItemId result;
35835 void *argp1 = 0 ;
35836 int res1 = 0 ;
35837 void *argp2 = 0 ;
35838 int res2 = 0 ;
35839 size_t val3 ;
35840 int ecode3 = 0 ;
35841 bool temp4 = false ;
35842 int val5 ;
35843 int ecode5 = 0 ;
35844 int val6 ;
35845 int ecode6 = 0 ;
35846 int res7 = 0 ;
35847 PyObject * obj0 = 0 ;
35848 PyObject * obj1 = 0 ;
35849 PyObject * obj2 = 0 ;
35850 PyObject * obj3 = 0 ;
35851 PyObject * obj4 = 0 ;
35852 PyObject * obj5 = 0 ;
35853 PyObject * obj6 = 0 ;
35854 char * kwnames[] = {
35855 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35856 };
35857
35858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35860 if (!SWIG_IsOK(res1)) {
35861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35862 }
35863 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35865 if (!SWIG_IsOK(res2)) {
35866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35867 }
35868 if (!argp2) {
35869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35870 }
35871 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35872 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
35873 if (!SWIG_IsOK(ecode3)) {
35874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35875 }
35876 arg3 = static_cast< size_t >(val3);
35877 {
35878 arg4 = wxString_in_helper(obj3);
35879 if (arg4 == NULL) SWIG_fail;
35880 temp4 = true;
35881 }
35882 if (obj4) {
35883 ecode5 = SWIG_AsVal_int(obj4, &val5);
35884 if (!SWIG_IsOK(ecode5)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35886 }
35887 arg5 = static_cast< int >(val5);
35888 }
35889 if (obj5) {
35890 ecode6 = SWIG_AsVal_int(obj5, &val6);
35891 if (!SWIG_IsOK(ecode6)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35893 }
35894 arg6 = static_cast< int >(val6);
35895 }
35896 if (obj6) {
35897 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35898 if (!SWIG_IsOK(res7)) {
35899 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 35900 }
554f62e9
RD
35901 }
35902 {
35903 PyThreadState* __tstate = wxPyBeginAllowThreads();
35904 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
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 {
35910 if (temp4)
35911 delete arg4;
35912 }
35913 return resultobj;
35914fail:
35915 {
35916 if (temp4)
35917 delete arg4;
35918 }
35919 return NULL;
35920}
35921
35922
35923SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35924 PyObject *resultobj = 0;
35925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35926 wxTreeItemId *arg2 = 0 ;
35927 wxString *arg3 = 0 ;
35928 int arg4 = (int) -1 ;
35929 int arg5 = (int) -1 ;
35930 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35931 wxTreeItemId result;
35932 void *argp1 = 0 ;
35933 int res1 = 0 ;
35934 void *argp2 = 0 ;
35935 int res2 = 0 ;
35936 bool temp3 = false ;
35937 int val4 ;
35938 int ecode4 = 0 ;
35939 int val5 ;
35940 int ecode5 = 0 ;
35941 int res6 = 0 ;
35942 PyObject * obj0 = 0 ;
35943 PyObject * obj1 = 0 ;
35944 PyObject * obj2 = 0 ;
35945 PyObject * obj3 = 0 ;
35946 PyObject * obj4 = 0 ;
35947 PyObject * obj5 = 0 ;
35948 char * kwnames[] = {
35949 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35950 };
35951
35952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35954 if (!SWIG_IsOK(res1)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35956 }
35957 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35958 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35959 if (!SWIG_IsOK(res2)) {
35960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35961 }
35962 if (!argp2) {
35963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35964 }
35965 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35966 {
35967 arg3 = wxString_in_helper(obj2);
35968 if (arg3 == NULL) SWIG_fail;
35969 temp3 = true;
35970 }
35971 if (obj3) {
35972 ecode4 = SWIG_AsVal_int(obj3, &val4);
35973 if (!SWIG_IsOK(ecode4)) {
35974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35975 }
35976 arg4 = static_cast< int >(val4);
35977 }
35978 if (obj4) {
35979 ecode5 = SWIG_AsVal_int(obj4, &val5);
35980 if (!SWIG_IsOK(ecode5)) {
35981 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35982 }
35983 arg5 = static_cast< int >(val5);
35984 }
35985 if (obj5) {
35986 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35987 if (!SWIG_IsOK(res6)) {
35988 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 35989 }
554f62e9
RD
35990 }
35991 {
35992 PyThreadState* __tstate = wxPyBeginAllowThreads();
35993 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35994 wxPyEndAllowThreads(__tstate);
35995 if (PyErr_Occurred()) SWIG_fail;
35996 }
35997 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35998 {
35999 if (temp3)
36000 delete arg3;
36001 }
36002 return resultobj;
36003fail:
36004 {
36005 if (temp3)
36006 delete arg3;
36007 }
36008 return NULL;
36009}
36010
36011
36012SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36013 PyObject *resultobj = 0;
36014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36015 wxTreeItemId *arg2 = 0 ;
36016 void *argp1 = 0 ;
36017 int res1 = 0 ;
36018 void *argp2 = 0 ;
36019 int res2 = 0 ;
36020 PyObject * obj0 = 0 ;
36021 PyObject * obj1 = 0 ;
36022 char * kwnames[] = {
36023 (char *) "self",(char *) "item", NULL
36024 };
36025
36026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36028 if (!SWIG_IsOK(res1)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36030 }
36031 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36032 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36033 if (!SWIG_IsOK(res2)) {
36034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36035 }
36036 if (!argp2) {
36037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36038 }
36039 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36040 {
36041 PyThreadState* __tstate = wxPyBeginAllowThreads();
36042 (arg1)->Delete((wxTreeItemId const &)*arg2);
36043 wxPyEndAllowThreads(__tstate);
36044 if (PyErr_Occurred()) SWIG_fail;
36045 }
36046 resultobj = SWIG_Py_Void();
36047 return resultobj;
36048fail:
36049 return NULL;
36050}
36051
36052
36053SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36054 PyObject *resultobj = 0;
36055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36056 wxTreeItemId *arg2 = 0 ;
36057 void *argp1 = 0 ;
36058 int res1 = 0 ;
36059 void *argp2 = 0 ;
36060 int res2 = 0 ;
36061 PyObject * obj0 = 0 ;
36062 PyObject * obj1 = 0 ;
36063 char * kwnames[] = {
36064 (char *) "self",(char *) "item", NULL
36065 };
36066
36067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36069 if (!SWIG_IsOK(res1)) {
36070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36071 }
36072 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36073 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36074 if (!SWIG_IsOK(res2)) {
36075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36076 }
36077 if (!argp2) {
36078 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36079 }
36080 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36081 {
36082 PyThreadState* __tstate = wxPyBeginAllowThreads();
36083 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36084 wxPyEndAllowThreads(__tstate);
36085 if (PyErr_Occurred()) SWIG_fail;
36086 }
36087 resultobj = SWIG_Py_Void();
36088 return resultobj;
36089fail:
36090 return NULL;
d55e5bfc
RD
36091}
36092
36093
554f62e9
RD
36094SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36095 PyObject *resultobj = 0;
36096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36097 void *argp1 = 0 ;
36098 int res1 = 0 ;
36099 PyObject *swig_obj[1] ;
36100
36101 if (!args) SWIG_fail;
36102 swig_obj[0] = args;
36103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36104 if (!SWIG_IsOK(res1)) {
36105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36106 }
36107 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36108 {
36109 PyThreadState* __tstate = wxPyBeginAllowThreads();
36110 (arg1)->DeleteAllItems();
36111 wxPyEndAllowThreads(__tstate);
36112 if (PyErr_Occurred()) SWIG_fail;
36113 }
36114 resultobj = SWIG_Py_Void();
36115 return resultobj;
36116fail:
36117 return NULL;
36118}
36119
36120
36121SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36122 PyObject *resultobj = 0;
36123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36124 wxTreeItemId *arg2 = 0 ;
36125 void *argp1 = 0 ;
36126 int res1 = 0 ;
36127 void *argp2 = 0 ;
36128 int res2 = 0 ;
36129 PyObject * obj0 = 0 ;
36130 PyObject * obj1 = 0 ;
36131 char * kwnames[] = {
36132 (char *) "self",(char *) "item", NULL
36133 };
36134
36135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36137 if (!SWIG_IsOK(res1)) {
36138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36139 }
36140 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36142 if (!SWIG_IsOK(res2)) {
36143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36144 }
36145 if (!argp2) {
36146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36147 }
36148 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36149 {
36150 PyThreadState* __tstate = wxPyBeginAllowThreads();
36151 (arg1)->Expand((wxTreeItemId const &)*arg2);
36152 wxPyEndAllowThreads(__tstate);
36153 if (PyErr_Occurred()) SWIG_fail;
36154 }
36155 resultobj = SWIG_Py_Void();
36156 return resultobj;
36157fail:
36158 return NULL;
36159}
36160
36161
36162SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36163 PyObject *resultobj = 0;
36164 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36165 wxTreeItemId *arg2 = 0 ;
36166 void *argp1 = 0 ;
36167 int res1 = 0 ;
36168 void *argp2 = 0 ;
36169 int res2 = 0 ;
36170 PyObject * obj0 = 0 ;
36171 PyObject * obj1 = 0 ;
36172 char * kwnames[] = {
36173 (char *) "self",(char *) "item", NULL
36174 };
36175
36176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36178 if (!SWIG_IsOK(res1)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36180 }
36181 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36182 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36183 if (!SWIG_IsOK(res2)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36185 }
36186 if (!argp2) {
36187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36188 }
36189 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36190 {
36191 PyThreadState* __tstate = wxPyBeginAllowThreads();
36192 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36193 wxPyEndAllowThreads(__tstate);
36194 if (PyErr_Occurred()) SWIG_fail;
36195 }
36196 resultobj = SWIG_Py_Void();
36197 return resultobj;
36198fail:
36199 return NULL;
36200}
36201
36202
36203SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36204 PyObject *resultobj = 0;
36205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36206 wxTreeItemId *arg2 = 0 ;
36207 void *argp1 = 0 ;
36208 int res1 = 0 ;
36209 void *argp2 = 0 ;
36210 int res2 = 0 ;
36211 PyObject * obj0 = 0 ;
36212 PyObject * obj1 = 0 ;
36213 char * kwnames[] = {
36214 (char *) "self",(char *) "item", NULL
36215 };
36216
36217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) 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_CollapseAndReset" "', 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_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36226 }
36227 if (!argp2) {
36228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 }
36230 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36231 {
36232 PyThreadState* __tstate = wxPyBeginAllowThreads();
36233 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36234 wxPyEndAllowThreads(__tstate);
36235 if (PyErr_Occurred()) SWIG_fail;
36236 }
36237 resultobj = SWIG_Py_Void();
36238 return resultobj;
36239fail:
36240 return NULL;
36241}
36242
36243
36244SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36245 PyObject *resultobj = 0;
36246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36247 wxTreeItemId *arg2 = 0 ;
36248 void *argp1 = 0 ;
36249 int res1 = 0 ;
36250 void *argp2 = 0 ;
36251 int res2 = 0 ;
36252 PyObject * obj0 = 0 ;
36253 PyObject * obj1 = 0 ;
36254 char * kwnames[] = {
36255 (char *) "self",(char *) "item", NULL
36256 };
36257
36258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36260 if (!SWIG_IsOK(res1)) {
36261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36262 }
36263 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36264 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36265 if (!SWIG_IsOK(res2)) {
36266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36267 }
36268 if (!argp2) {
36269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 }
36271 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36272 {
36273 PyThreadState* __tstate = wxPyBeginAllowThreads();
36274 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36275 wxPyEndAllowThreads(__tstate);
36276 if (PyErr_Occurred()) SWIG_fail;
36277 }
36278 resultobj = SWIG_Py_Void();
36279 return resultobj;
36280fail:
36281 return NULL;
d55e5bfc
RD
36282}
36283
36284
554f62e9
RD
36285SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36286 PyObject *resultobj = 0;
36287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36288 void *argp1 = 0 ;
36289 int res1 = 0 ;
36290 PyObject *swig_obj[1] ;
36291
36292 if (!args) SWIG_fail;
36293 swig_obj[0] = args;
36294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36295 if (!SWIG_IsOK(res1)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36297 }
36298 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36299 {
36300 PyThreadState* __tstate = wxPyBeginAllowThreads();
36301 (arg1)->Unselect();
36302 wxPyEndAllowThreads(__tstate);
36303 if (PyErr_Occurred()) SWIG_fail;
36304 }
36305 resultobj = SWIG_Py_Void();
36306 return resultobj;
36307fail:
36308 return NULL;
36309}
36310
36311
36312SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36313 PyObject *resultobj = 0;
36314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36315 wxTreeItemId *arg2 = 0 ;
36316 void *argp1 = 0 ;
36317 int res1 = 0 ;
36318 void *argp2 = 0 ;
36319 int res2 = 0 ;
36320 PyObject * obj0 = 0 ;
36321 PyObject * obj1 = 0 ;
36322 char * kwnames[] = {
36323 (char *) "self",(char *) "item", NULL
36324 };
36325
36326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36328 if (!SWIG_IsOK(res1)) {
36329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36330 }
36331 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36332 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36333 if (!SWIG_IsOK(res2)) {
36334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36335 }
36336 if (!argp2) {
36337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 }
36339 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36340 {
36341 PyThreadState* __tstate = wxPyBeginAllowThreads();
36342 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36343 wxPyEndAllowThreads(__tstate);
36344 if (PyErr_Occurred()) SWIG_fail;
36345 }
36346 resultobj = SWIG_Py_Void();
36347 return resultobj;
36348fail:
36349 return NULL;
d55e5bfc
RD
36350}
36351
36352
554f62e9
RD
36353SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36354 PyObject *resultobj = 0;
36355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36356 void *argp1 = 0 ;
36357 int res1 = 0 ;
36358 PyObject *swig_obj[1] ;
36359
36360 if (!args) SWIG_fail;
36361 swig_obj[0] = args;
36362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36363 if (!SWIG_IsOK(res1)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36365 }
36366 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36367 {
36368 PyThreadState* __tstate = wxPyBeginAllowThreads();
36369 (arg1)->UnselectAll();
36370 wxPyEndAllowThreads(__tstate);
36371 if (PyErr_Occurred()) SWIG_fail;
36372 }
36373 resultobj = SWIG_Py_Void();
36374 return resultobj;
36375fail:
36376 return NULL;
36377}
36378
36379
36380SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36381 PyObject *resultobj = 0;
36382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36383 wxTreeItemId *arg2 = 0 ;
36384 bool arg3 = (bool) true ;
36385 void *argp1 = 0 ;
36386 int res1 = 0 ;
36387 void *argp2 = 0 ;
36388 int res2 = 0 ;
36389 bool val3 ;
36390 int ecode3 = 0 ;
36391 PyObject * obj0 = 0 ;
36392 PyObject * obj1 = 0 ;
36393 PyObject * obj2 = 0 ;
36394 char * kwnames[] = {
36395 (char *) "self",(char *) "item",(char *) "select", NULL
36396 };
36397
36398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36400 if (!SWIG_IsOK(res1)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36402 }
36403 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36404 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36405 if (!SWIG_IsOK(res2)) {
36406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36407 }
36408 if (!argp2) {
36409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36410 }
36411 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36412 if (obj2) {
36413 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36414 if (!SWIG_IsOK(ecode3)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36416 }
36417 arg3 = static_cast< bool >(val3);
36418 }
36419 {
36420 PyThreadState* __tstate = wxPyBeginAllowThreads();
36421 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36422 wxPyEndAllowThreads(__tstate);
36423 if (PyErr_Occurred()) SWIG_fail;
36424 }
36425 resultobj = SWIG_Py_Void();
36426 return resultobj;
36427fail:
36428 return NULL;
36429}
36430
36431
36432SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36433 PyObject *resultobj = 0;
36434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36435 wxTreeItemId *arg2 = 0 ;
36436 void *argp1 = 0 ;
36437 int res1 = 0 ;
36438 void *argp2 = 0 ;
36439 int res2 = 0 ;
36440 PyObject * obj0 = 0 ;
36441 PyObject * obj1 = 0 ;
36442 char * kwnames[] = {
36443 (char *) "self",(char *) "item", NULL
36444 };
36445
36446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36448 if (!SWIG_IsOK(res1)) {
36449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36450 }
36451 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36452 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36453 if (!SWIG_IsOK(res2)) {
36454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36455 }
36456 if (!argp2) {
36457 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36458 }
36459 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36460 {
36461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36462 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36463 wxPyEndAllowThreads(__tstate);
36464 if (PyErr_Occurred()) SWIG_fail;
36465 }
36466 resultobj = SWIG_Py_Void();
36467 return resultobj;
36468fail:
36469 return NULL;
36470}
36471
36472
36473SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36474 PyObject *resultobj = 0;
36475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36476 wxTreeItemId *arg2 = 0 ;
36477 void *argp1 = 0 ;
36478 int res1 = 0 ;
36479 void *argp2 = 0 ;
36480 int res2 = 0 ;
36481 PyObject * obj0 = 0 ;
36482 PyObject * obj1 = 0 ;
36483 char * kwnames[] = {
36484 (char *) "self",(char *) "item", NULL
36485 };
36486
36487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36489 if (!SWIG_IsOK(res1)) {
36490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36491 }
36492 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36493 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36494 if (!SWIG_IsOK(res2)) {
36495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36496 }
36497 if (!argp2) {
36498 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36499 }
36500 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36501 {
36502 PyThreadState* __tstate = wxPyBeginAllowThreads();
36503 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36504 wxPyEndAllowThreads(__tstate);
36505 if (PyErr_Occurred()) SWIG_fail;
36506 }
36507 resultobj = SWIG_Py_Void();
36508 return resultobj;
36509fail:
36510 return NULL;
36511}
36512
36513
36514SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36515 PyObject *resultobj = 0;
36516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36517 wxTreeItemId *arg2 = 0 ;
36518 void *argp1 = 0 ;
36519 int res1 = 0 ;
36520 void *argp2 = 0 ;
36521 int res2 = 0 ;
36522 PyObject * obj0 = 0 ;
36523 PyObject * obj1 = 0 ;
36524 char * kwnames[] = {
36525 (char *) "self",(char *) "item", NULL
36526 };
36527
36528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
36529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36530 if (!SWIG_IsOK(res1)) {
36531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36532 }
36533 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36534 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36535 if (!SWIG_IsOK(res2)) {
36536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36537 }
36538 if (!argp2) {
36539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36540 }
36541 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36542 {
36543 PyThreadState* __tstate = wxPyBeginAllowThreads();
36544 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
36545 wxPyEndAllowThreads(__tstate);
36546 if (PyErr_Occurred()) SWIG_fail;
36547 }
36548 resultobj = SWIG_Py_Void();
36549 return resultobj;
36550fail:
36551 return NULL;
36552}
36553
36554
36555SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36556 PyObject *resultobj = 0;
36557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36558 wxTreeItemId *arg2 = 0 ;
36559 void *argp1 = 0 ;
36560 int res1 = 0 ;
36561 void *argp2 = 0 ;
36562 int res2 = 0 ;
36563 PyObject * obj0 = 0 ;
36564 PyObject * obj1 = 0 ;
36565 char * kwnames[] = {
36566 (char *) "self",(char *) "item", NULL
36567 };
36568
36569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
36570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36571 if (!SWIG_IsOK(res1)) {
36572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36573 }
36574 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36576 if (!SWIG_IsOK(res2)) {
36577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36578 }
36579 if (!argp2) {
36580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36581 }
36582 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36583 {
36584 PyThreadState* __tstate = wxPyBeginAllowThreads();
36585 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
36586 wxPyEndAllowThreads(__tstate);
36587 if (PyErr_Occurred()) SWIG_fail;
36588 }
36589 resultobj = SWIG_Py_Void();
36590 return resultobj;
36591fail:
36592 return NULL;
d55e5bfc
RD
36593}
36594
36595
554f62e9
RD
36596SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36597 PyObject *resultobj = 0;
36598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36599 wxTextCtrl *result = 0 ;
36600 void *argp1 = 0 ;
36601 int res1 = 0 ;
36602 PyObject *swig_obj[1] ;
36603
36604 if (!args) SWIG_fail;
36605 swig_obj[0] = args;
36606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36607 if (!SWIG_IsOK(res1)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36609 }
36610 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36611 {
36612 PyThreadState* __tstate = wxPyBeginAllowThreads();
36613 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
36614 wxPyEndAllowThreads(__tstate);
36615 if (PyErr_Occurred()) SWIG_fail;
36616 }
36617 {
36618 resultobj = wxPyMake_wxObject(result, 0);
36619 }
36620 return resultobj;
36621fail:
36622 return NULL;
36623}
36624
36625
36626SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36627 PyObject *resultobj = 0;
36628 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36629 wxTreeItemId *arg2 = 0 ;
36630 bool arg3 = (bool) false ;
36631 void *argp1 = 0 ;
36632 int res1 = 0 ;
36633 void *argp2 = 0 ;
36634 int res2 = 0 ;
36635 bool val3 ;
36636 int ecode3 = 0 ;
36637 PyObject * obj0 = 0 ;
36638 PyObject * obj1 = 0 ;
36639 PyObject * obj2 = 0 ;
36640 char * kwnames[] = {
36641 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36642 };
36643
36644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36646 if (!SWIG_IsOK(res1)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36648 }
36649 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36651 if (!SWIG_IsOK(res2)) {
36652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36653 }
36654 if (!argp2) {
36655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36656 }
36657 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36658 if (obj2) {
36659 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36660 if (!SWIG_IsOK(ecode3)) {
36661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36662 }
36663 arg3 = static_cast< bool >(val3);
36664 }
36665 {
36666 PyThreadState* __tstate = wxPyBeginAllowThreads();
36667 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
36668 wxPyEndAllowThreads(__tstate);
36669 if (PyErr_Occurred()) SWIG_fail;
36670 }
36671 resultobj = SWIG_Py_Void();
36672 return resultobj;
36673fail:
36674 return NULL;
36675}
36676
36677
36678SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36679 PyObject *resultobj = 0;
36680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36681 wxTreeItemId *arg2 = 0 ;
36682 void *argp1 = 0 ;
36683 int res1 = 0 ;
36684 void *argp2 = 0 ;
36685 int res2 = 0 ;
36686 PyObject * obj0 = 0 ;
36687 PyObject * obj1 = 0 ;
36688 char * kwnames[] = {
36689 (char *) "self",(char *) "item", NULL
36690 };
36691
36692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36694 if (!SWIG_IsOK(res1)) {
36695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36696 }
36697 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36699 if (!SWIG_IsOK(res2)) {
36700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36701 }
36702 if (!argp2) {
36703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36704 }
36705 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36706 {
36707 PyThreadState* __tstate = wxPyBeginAllowThreads();
36708 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
36709 wxPyEndAllowThreads(__tstate);
36710 if (PyErr_Occurred()) SWIG_fail;
36711 }
36712 resultobj = SWIG_Py_Void();
36713 return resultobj;
36714fail:
36715 return NULL;
36716}
36717
36718
36719SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36720 PyObject *resultobj = 0;
36721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36722 wxPoint *arg2 = 0 ;
36723 int *arg3 = 0 ;
36724 wxTreeItemId result;
36725 void *argp1 = 0 ;
36726 int res1 = 0 ;
36727 wxPoint temp2 ;
36728 int temp3 ;
36729 int res3 = SWIG_TMPOBJ ;
36730 PyObject * obj0 = 0 ;
36731 PyObject * obj1 = 0 ;
36732 char * kwnames[] = {
36733 (char *) "self",(char *) "point", NULL
36734 };
36735
36736 arg3 = &temp3;
36737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
36738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36739 if (!SWIG_IsOK(res1)) {
36740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36741 }
36742 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36743 {
36744 arg2 = &temp2;
36745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
36746 }
36747 {
36748 PyThreadState* __tstate = wxPyBeginAllowThreads();
36749 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
36750 wxPyEndAllowThreads(__tstate);
36751 if (PyErr_Occurred()) SWIG_fail;
36752 }
36753 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36754 if (SWIG_IsTmpObj(res3)) {
36755 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
36756 } else {
36757 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
36758 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
36759 }
36760 return resultobj;
36761fail:
36762 return NULL;
36763}
36764
36765
36766SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36767 PyObject *resultobj = 0;
36768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36769 wxTreeItemId *arg2 = 0 ;
36770 bool arg3 = (bool) false ;
36771 PyObject *result = 0 ;
36772 void *argp1 = 0 ;
36773 int res1 = 0 ;
36774 void *argp2 = 0 ;
36775 int res2 = 0 ;
36776 bool val3 ;
36777 int ecode3 = 0 ;
36778 PyObject * obj0 = 0 ;
36779 PyObject * obj1 = 0 ;
36780 PyObject * obj2 = 0 ;
36781 char * kwnames[] = {
36782 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36783 };
36784
36785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36787 if (!SWIG_IsOK(res1)) {
36788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36789 }
36790 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36791 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36792 if (!SWIG_IsOK(res2)) {
36793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36794 }
36795 if (!argp2) {
36796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36797 }
36798 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36799 if (obj2) {
36800 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36801 if (!SWIG_IsOK(ecode3)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36803 }
36804 arg3 = static_cast< bool >(val3);
36805 }
36806 {
36807 PyThreadState* __tstate = wxPyBeginAllowThreads();
36808 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
36809 wxPyEndAllowThreads(__tstate);
36810 if (PyErr_Occurred()) SWIG_fail;
36811 }
36812 resultobj = result;
36813 return resultobj;
36814fail:
36815 return NULL;
36816}
36817
36818
36819SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36820 PyObject *resultobj = 0;
36821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36822 wxTreeItemId *arg2 = 0 ;
36823 int arg3 ;
36824 void *argp1 = 0 ;
36825 int res1 = 0 ;
36826 void *argp2 = 0 ;
36827 int res2 = 0 ;
36828 int val3 ;
36829 int ecode3 = 0 ;
36830 PyObject * obj0 = 0 ;
36831 PyObject * obj1 = 0 ;
36832 PyObject * obj2 = 0 ;
36833 char * kwnames[] = {
36834 (char *) "self",(char *) "node",(char *) "state", NULL
36835 };
36836
36837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36839 if (!SWIG_IsOK(res1)) {
36840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36841 }
36842 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36843 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36844 if (!SWIG_IsOK(res2)) {
36845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36846 }
36847 if (!argp2) {
36848 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36849 }
36850 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36851 ecode3 = SWIG_AsVal_int(obj2, &val3);
36852 if (!SWIG_IsOK(ecode3)) {
36853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36854 }
36855 arg3 = static_cast< int >(val3);
36856 {
36857 PyThreadState* __tstate = wxPyBeginAllowThreads();
36858 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
36859 wxPyEndAllowThreads(__tstate);
36860 if (PyErr_Occurred()) SWIG_fail;
36861 }
36862 resultobj = SWIG_Py_Void();
36863 return resultobj;
36864fail:
36865 return NULL;
36866}
36867
36868
36869SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36870 PyObject *resultobj = 0;
36871 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36872 wxTreeItemId *arg2 = 0 ;
36873 int result;
36874 void *argp1 = 0 ;
36875 int res1 = 0 ;
36876 void *argp2 = 0 ;
36877 int res2 = 0 ;
36878 PyObject * obj0 = 0 ;
36879 PyObject * obj1 = 0 ;
36880 char * kwnames[] = {
36881 (char *) "self",(char *) "node", NULL
36882 };
36883
36884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
36885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36886 if (!SWIG_IsOK(res1)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36888 }
36889 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36890 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36891 if (!SWIG_IsOK(res2)) {
36892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36893 }
36894 if (!argp2) {
36895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36896 }
36897 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36898 {
36899 PyThreadState* __tstate = wxPyBeginAllowThreads();
36900 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
36901 wxPyEndAllowThreads(__tstate);
36902 if (PyErr_Occurred()) SWIG_fail;
36903 }
36904 resultobj = SWIG_From_int(static_cast< int >(result));
36905 return resultobj;
36906fail:
36907 return NULL;
36908}
36909
36910
36911SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36912 PyObject *resultobj = 0;
36913 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
36914 SwigValueWrapper<wxVisualAttributes > result;
36915 int val1 ;
36916 int ecode1 = 0 ;
36917 PyObject * obj0 = 0 ;
36918 char * kwnames[] = {
36919 (char *) "variant", NULL
36920 };
36921
36922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
36923 if (obj0) {
36924 ecode1 = SWIG_AsVal_int(obj0, &val1);
36925 if (!SWIG_IsOK(ecode1)) {
36926 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36927 }
36928 arg1 = static_cast< wxWindowVariant >(val1);
36929 }
36930 {
36931 if (!wxPyCheckForApp()) SWIG_fail;
36932 PyThreadState* __tstate = wxPyBeginAllowThreads();
36933 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
36934 wxPyEndAllowThreads(__tstate);
36935 if (PyErr_Occurred()) SWIG_fail;
36936 }
36937 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
36938 return resultobj;
36939fail:
36940 return NULL;
d55e5bfc
RD
36941}
36942
36943
2131d850
RD
36944SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36945 PyObject *resultobj = 0;
36946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36947 bool arg2 ;
36948 void *argp1 = 0 ;
36949 int res1 = 0 ;
36950 bool val2 ;
36951 int ecode2 = 0 ;
36952 PyObject * obj0 = 0 ;
36953 PyObject * obj1 = 0 ;
36954 char * kwnames[] = {
36955 (char *) "self",(char *) "q", NULL
36956 };
36957
36958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
36959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36960 if (!SWIG_IsOK(res1)) {
36961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36962 }
36963 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36964 ecode2 = SWIG_AsVal_bool(obj1, &val2);
36965 if (!SWIG_IsOK(ecode2)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36967 }
36968 arg2 = static_cast< bool >(val2);
36969 {
36970 PyThreadState* __tstate = wxPyBeginAllowThreads();
36971 (arg1)->SetQuickBestSize(arg2);
36972 wxPyEndAllowThreads(__tstate);
36973 if (PyErr_Occurred()) SWIG_fail;
36974 }
36975 resultobj = SWIG_Py_Void();
36976 return resultobj;
36977fail:
36978 return NULL;
36979}
36980
36981
36982SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36983 PyObject *resultobj = 0;
36984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36985 bool result;
36986 void *argp1 = 0 ;
36987 int res1 = 0 ;
36988 PyObject *swig_obj[1] ;
36989
36990 if (!args) SWIG_fail;
36991 swig_obj[0] = args;
36992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36993 if (!SWIG_IsOK(res1)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36995 }
36996 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36997 {
36998 PyThreadState* __tstate = wxPyBeginAllowThreads();
36999 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37000 wxPyEndAllowThreads(__tstate);
37001 if (PyErr_Occurred()) SWIG_fail;
37002 }
37003 {
37004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37005 }
37006 return resultobj;
37007fail:
37008 return NULL;
37009}
37010
37011
554f62e9
RD
37012SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37013 PyObject *obj;
37014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37016 return SWIG_Py_Void();
d55e5bfc
RD
37017}
37018
554f62e9
RD
37019SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37020 return SWIG_Python_InitShadowInstance(args);
37021}
d55e5bfc 37022
554f62e9
RD
37023SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37024 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37025 return 1;
d55e5bfc
RD
37026}
37027
37028
554f62e9
RD
37029SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37030 PyObject *pyobj = 0;
37031
37032 {
d55e5bfc 37033#if wxUSE_UNICODE
554f62e9 37034 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37035#else
554f62e9 37036 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37037#endif
554f62e9
RD
37038 }
37039 return pyobj;
37040}
37041
37042
37043SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37044 PyObject *resultobj = 0;
37045 wxWindow *arg1 = (wxWindow *) 0 ;
37046 int arg2 = (int) (int)-1 ;
37047 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37048 wxString *arg3 = (wxString *) &arg3_defvalue ;
37049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37051 wxSize const &arg5_defvalue = wxDefaultSize ;
37052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37053 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37054 wxString const &arg7_defvalue = wxPyEmptyString ;
37055 wxString *arg7 = (wxString *) &arg7_defvalue ;
37056 int arg8 = (int) 0 ;
37057 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37058 wxString *arg9 = (wxString *) &arg9_defvalue ;
37059 wxGenericDirCtrl *result = 0 ;
37060 void *argp1 = 0 ;
37061 int res1 = 0 ;
37062 int val2 ;
37063 int ecode2 = 0 ;
37064 bool temp3 = false ;
37065 wxPoint temp4 ;
37066 wxSize temp5 ;
37067 long val6 ;
37068 int ecode6 = 0 ;
37069 bool temp7 = false ;
37070 int val8 ;
37071 int ecode8 = 0 ;
37072 bool temp9 = false ;
37073 PyObject * obj0 = 0 ;
37074 PyObject * obj1 = 0 ;
37075 PyObject * obj2 = 0 ;
37076 PyObject * obj3 = 0 ;
37077 PyObject * obj4 = 0 ;
37078 PyObject * obj5 = 0 ;
37079 PyObject * obj6 = 0 ;
37080 PyObject * obj7 = 0 ;
37081 PyObject * obj8 = 0 ;
37082 char * kwnames[] = {
37083 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37084 };
37085
37086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37088 if (!SWIG_IsOK(res1)) {
37089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37090 }
37091 arg1 = reinterpret_cast< wxWindow * >(argp1);
37092 if (obj1) {
37093 ecode2 = SWIG_AsVal_int(obj1, &val2);
37094 if (!SWIG_IsOK(ecode2)) {
37095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37096 }
37097 arg2 = static_cast< int >(val2);
37098 }
37099 if (obj2) {
093d3ff1 37100 {
554f62e9
RD
37101 arg3 = wxString_in_helper(obj2);
37102 if (arg3 == NULL) SWIG_fail;
37103 temp3 = true;
093d3ff1 37104 }
554f62e9
RD
37105 }
37106 if (obj3) {
093d3ff1 37107 {
554f62e9
RD
37108 arg4 = &temp4;
37109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 37110 }
554f62e9
RD
37111 }
37112 if (obj4) {
d55e5bfc 37113 {
554f62e9
RD
37114 arg5 = &temp5;
37115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 37116 }
554f62e9
RD
37117 }
37118 if (obj5) {
37119 ecode6 = SWIG_AsVal_long(obj5, &val6);
37120 if (!SWIG_IsOK(ecode6)) {
37121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37122 }
37123 arg6 = static_cast< long >(val6);
37124 }
37125 if (obj6) {
d55e5bfc 37126 {
554f62e9
RD
37127 arg7 = wxString_in_helper(obj6);
37128 if (arg7 == NULL) SWIG_fail;
37129 temp7 = true;
d55e5bfc 37130 }
554f62e9
RD
37131 }
37132 if (obj7) {
37133 ecode8 = SWIG_AsVal_int(obj7, &val8);
37134 if (!SWIG_IsOK(ecode8)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37136 }
37137 arg8 = static_cast< int >(val8);
37138 }
37139 if (obj8) {
d55e5bfc 37140 {
554f62e9
RD
37141 arg9 = wxString_in_helper(obj8);
37142 if (arg9 == NULL) SWIG_fail;
37143 temp9 = true;
d55e5bfc 37144 }
554f62e9
RD
37145 }
37146 {
37147 if (!wxPyCheckForApp()) SWIG_fail;
37148 PyThreadState* __tstate = wxPyBeginAllowThreads();
37149 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37150 wxPyEndAllowThreads(__tstate);
37151 if (PyErr_Occurred()) SWIG_fail;
37152 }
37153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37154 {
37155 if (temp3)
37156 delete arg3;
37157 }
37158 {
37159 if (temp7)
37160 delete arg7;
37161 }
37162 {
37163 if (temp9)
37164 delete arg9;
37165 }
37166 return resultobj;
37167fail:
37168 {
37169 if (temp3)
37170 delete arg3;
37171 }
37172 {
37173 if (temp7)
37174 delete arg7;
37175 }
37176 {
37177 if (temp9)
37178 delete arg9;
37179 }
37180 return NULL;
d55e5bfc
RD
37181}
37182
37183
554f62e9
RD
37184SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37185 PyObject *resultobj = 0;
37186 wxGenericDirCtrl *result = 0 ;
37187
37188 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37189 {
37190 if (!wxPyCheckForApp()) SWIG_fail;
37191 PyThreadState* __tstate = wxPyBeginAllowThreads();
37192 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37193 wxPyEndAllowThreads(__tstate);
37194 if (PyErr_Occurred()) SWIG_fail;
37195 }
37196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37197 return resultobj;
37198fail:
37199 return NULL;
37200}
37201
37202
37203SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37204 PyObject *resultobj = 0;
37205 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37206 wxWindow *arg2 = (wxWindow *) 0 ;
37207 int arg3 = (int) (int)-1 ;
37208 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37209 wxString *arg4 = (wxString *) &arg4_defvalue ;
37210 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37211 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37212 wxSize const &arg6_defvalue = wxDefaultSize ;
37213 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37214 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37215 wxString const &arg8_defvalue = wxPyEmptyString ;
37216 wxString *arg8 = (wxString *) &arg8_defvalue ;
37217 int arg9 = (int) 0 ;
37218 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37219 wxString *arg10 = (wxString *) &arg10_defvalue ;
37220 bool result;
37221 void *argp1 = 0 ;
37222 int res1 = 0 ;
37223 void *argp2 = 0 ;
37224 int res2 = 0 ;
37225 int val3 ;
37226 int ecode3 = 0 ;
37227 bool temp4 = false ;
37228 wxPoint temp5 ;
37229 wxSize temp6 ;
37230 long val7 ;
37231 int ecode7 = 0 ;
37232 bool temp8 = false ;
37233 int val9 ;
37234 int ecode9 = 0 ;
37235 bool temp10 = false ;
37236 PyObject * obj0 = 0 ;
37237 PyObject * obj1 = 0 ;
37238 PyObject * obj2 = 0 ;
37239 PyObject * obj3 = 0 ;
37240 PyObject * obj4 = 0 ;
37241 PyObject * obj5 = 0 ;
37242 PyObject * obj6 = 0 ;
37243 PyObject * obj7 = 0 ;
37244 PyObject * obj8 = 0 ;
37245 PyObject * obj9 = 0 ;
37246 char * kwnames[] = {
37247 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37248 };
37249
37250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37252 if (!SWIG_IsOK(res1)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37254 }
37255 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37257 if (!SWIG_IsOK(res2)) {
37258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37259 }
37260 arg2 = reinterpret_cast< wxWindow * >(argp2);
37261 if (obj2) {
37262 ecode3 = SWIG_AsVal_int(obj2, &val3);
37263 if (!SWIG_IsOK(ecode3)) {
37264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37265 }
37266 arg3 = static_cast< int >(val3);
37267 }
37268 if (obj3) {
d55e5bfc 37269 {
554f62e9
RD
37270 arg4 = wxString_in_helper(obj3);
37271 if (arg4 == NULL) SWIG_fail;
37272 temp4 = true;
d55e5bfc 37273 }
554f62e9
RD
37274 }
37275 if (obj4) {
093d3ff1 37276 {
554f62e9
RD
37277 arg5 = &temp5;
37278 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37279 }
554f62e9
RD
37280 }
37281 if (obj5) {
d55e5bfc 37282 {
554f62e9
RD
37283 arg6 = &temp6;
37284 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37285 }
554f62e9
RD
37286 }
37287 if (obj6) {
37288 ecode7 = SWIG_AsVal_long(obj6, &val7);
37289 if (!SWIG_IsOK(ecode7)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37291 }
37292 arg7 = static_cast< long >(val7);
37293 }
37294 if (obj7) {
d55e5bfc 37295 {
554f62e9
RD
37296 arg8 = wxString_in_helper(obj7);
37297 if (arg8 == NULL) SWIG_fail;
37298 temp8 = true;
d55e5bfc 37299 }
554f62e9
RD
37300 }
37301 if (obj8) {
37302 ecode9 = SWIG_AsVal_int(obj8, &val9);
37303 if (!SWIG_IsOK(ecode9)) {
37304 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37305 }
37306 arg9 = static_cast< int >(val9);
37307 }
37308 if (obj9) {
d55e5bfc 37309 {
554f62e9
RD
37310 arg10 = wxString_in_helper(obj9);
37311 if (arg10 == NULL) SWIG_fail;
37312 temp10 = true;
d55e5bfc 37313 }
554f62e9
RD
37314 }
37315 {
37316 PyThreadState* __tstate = wxPyBeginAllowThreads();
37317 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37318 wxPyEndAllowThreads(__tstate);
37319 if (PyErr_Occurred()) SWIG_fail;
37320 }
37321 {
37322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37323 }
37324 {
37325 if (temp4)
37326 delete arg4;
37327 }
37328 {
37329 if (temp8)
37330 delete arg8;
37331 }
37332 {
37333 if (temp10)
37334 delete arg10;
37335 }
37336 return resultobj;
37337fail:
37338 {
37339 if (temp4)
37340 delete arg4;
37341 }
37342 {
37343 if (temp8)
37344 delete arg8;
37345 }
37346 {
37347 if (temp10)
37348 delete arg10;
37349 }
37350 return NULL;
37351}
37352
37353
37354SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37355 PyObject *resultobj = 0;
37356 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37357 wxString *arg2 = 0 ;
37358 bool result;
37359 void *argp1 = 0 ;
37360 int res1 = 0 ;
37361 bool temp2 = false ;
37362 PyObject * obj0 = 0 ;
37363 PyObject * obj1 = 0 ;
37364 char * kwnames[] = {
37365 (char *) "self",(char *) "path", NULL
37366 };
37367
37368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37370 if (!SWIG_IsOK(res1)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37372 }
37373 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37374 {
37375 arg2 = wxString_in_helper(obj1);
37376 if (arg2 == NULL) SWIG_fail;
37377 temp2 = true;
37378 }
37379 {
37380 PyThreadState* __tstate = wxPyBeginAllowThreads();
37381 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37382 wxPyEndAllowThreads(__tstate);
37383 if (PyErr_Occurred()) SWIG_fail;
37384 }
37385 {
37386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37387 }
37388 {
37389 if (temp2)
37390 delete arg2;
37391 }
37392 return resultobj;
37393fail:
37394 {
37395 if (temp2)
37396 delete arg2;
37397 }
37398 return NULL;
d55e5bfc
RD
37399}
37400
37401
704eda0c
RD
37402SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37403 PyObject *resultobj = 0;
37404 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37405 wxString *arg2 = 0 ;
37406 bool result;
37407 void *argp1 = 0 ;
37408 int res1 = 0 ;
37409 bool temp2 = false ;
37410 PyObject * obj0 = 0 ;
37411 PyObject * obj1 = 0 ;
37412 char * kwnames[] = {
37413 (char *) "self",(char *) "path", NULL
37414 };
37415
37416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37418 if (!SWIG_IsOK(res1)) {
37419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37420 }
37421 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37422 {
37423 arg2 = wxString_in_helper(obj1);
37424 if (arg2 == NULL) SWIG_fail;
37425 temp2 = true;
37426 }
37427 {
37428 PyThreadState* __tstate = wxPyBeginAllowThreads();
37429 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37430 wxPyEndAllowThreads(__tstate);
37431 if (PyErr_Occurred()) SWIG_fail;
37432 }
37433 {
37434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37435 }
37436 {
37437 if (temp2)
37438 delete arg2;
37439 }
37440 return resultobj;
37441fail:
37442 {
37443 if (temp2)
37444 delete arg2;
37445 }
37446 return NULL;
37447}
37448
37449
554f62e9
RD
37450SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37451 PyObject *resultobj = 0;
37452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37453 wxString result;
37454 void *argp1 = 0 ;
37455 int res1 = 0 ;
37456 PyObject *swig_obj[1] ;
37457
37458 if (!args) SWIG_fail;
37459 swig_obj[0] = args;
37460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37461 if (!SWIG_IsOK(res1)) {
37462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37463 }
37464 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37465 {
37466 PyThreadState* __tstate = wxPyBeginAllowThreads();
37467 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37468 wxPyEndAllowThreads(__tstate);
37469 if (PyErr_Occurred()) SWIG_fail;
37470 }
37471 {
37472#if wxUSE_UNICODE
37473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37474#else
37475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37476#endif
37477 }
37478 return resultobj;
37479fail:
37480 return NULL;
37481}
37482
37483
37484SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37485 PyObject *resultobj = 0;
37486 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37487 wxString *arg2 = 0 ;
37488 void *argp1 = 0 ;
37489 int res1 = 0 ;
37490 bool temp2 = false ;
37491 PyObject * obj0 = 0 ;
37492 PyObject * obj1 = 0 ;
37493 char * kwnames[] = {
37494 (char *) "self",(char *) "path", NULL
37495 };
37496
37497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37499 if (!SWIG_IsOK(res1)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37501 }
37502 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37503 {
37504 arg2 = wxString_in_helper(obj1);
37505 if (arg2 == NULL) SWIG_fail;
37506 temp2 = true;
37507 }
37508 {
37509 PyThreadState* __tstate = wxPyBeginAllowThreads();
37510 (arg1)->SetDefaultPath((wxString const &)*arg2);
37511 wxPyEndAllowThreads(__tstate);
37512 if (PyErr_Occurred()) SWIG_fail;
37513 }
37514 resultobj = SWIG_Py_Void();
37515 {
37516 if (temp2)
37517 delete arg2;
37518 }
37519 return resultobj;
37520fail:
37521 {
37522 if (temp2)
37523 delete arg2;
37524 }
37525 return NULL;
d55e5bfc
RD
37526}
37527
37528
554f62e9
RD
37529SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37530 PyObject *resultobj = 0;
37531 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37532 wxString result;
37533 void *argp1 = 0 ;
37534 int res1 = 0 ;
37535 PyObject *swig_obj[1] ;
37536
37537 if (!args) SWIG_fail;
37538 swig_obj[0] = args;
37539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37540 if (!SWIG_IsOK(res1)) {
37541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37542 }
37543 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37544 {
37545 PyThreadState* __tstate = wxPyBeginAllowThreads();
37546 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37547 wxPyEndAllowThreads(__tstate);
37548 if (PyErr_Occurred()) SWIG_fail;
37549 }
37550 {
37551#if wxUSE_UNICODE
37552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37553#else
37554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37555#endif
37556 }
37557 return resultobj;
37558fail:
37559 return NULL;
d55e5bfc
RD
37560}
37561
37562
554f62e9
RD
37563SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37564 PyObject *resultobj = 0;
37565 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37566 wxString result;
37567 void *argp1 = 0 ;
37568 int res1 = 0 ;
37569 PyObject *swig_obj[1] ;
37570
37571 if (!args) SWIG_fail;
37572 swig_obj[0] = args;
37573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37574 if (!SWIG_IsOK(res1)) {
37575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37576 }
37577 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37578 {
37579 PyThreadState* __tstate = wxPyBeginAllowThreads();
37580 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37581 wxPyEndAllowThreads(__tstate);
37582 if (PyErr_Occurred()) SWIG_fail;
37583 }
37584 {
37585#if wxUSE_UNICODE
37586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37587#else
37588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37589#endif
37590 }
37591 return resultobj;
37592fail:
37593 return NULL;
37594}
37595
37596
37597SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37598 PyObject *resultobj = 0;
37599 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37600 wxString *arg2 = 0 ;
37601 void *argp1 = 0 ;
37602 int res1 = 0 ;
37603 bool temp2 = false ;
37604 PyObject * obj0 = 0 ;
37605 PyObject * obj1 = 0 ;
37606 char * kwnames[] = {
37607 (char *) "self",(char *) "path", NULL
37608 };
37609
37610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37612 if (!SWIG_IsOK(res1)) {
37613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37614 }
37615 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37616 {
37617 arg2 = wxString_in_helper(obj1);
37618 if (arg2 == NULL) SWIG_fail;
37619 temp2 = true;
37620 }
37621 {
37622 PyThreadState* __tstate = wxPyBeginAllowThreads();
37623 (arg1)->SetPath((wxString const &)*arg2);
37624 wxPyEndAllowThreads(__tstate);
37625 if (PyErr_Occurred()) SWIG_fail;
37626 }
37627 resultobj = SWIG_Py_Void();
37628 {
37629 if (temp2)
37630 delete arg2;
37631 }
37632 return resultobj;
37633fail:
37634 {
37635 if (temp2)
37636 delete arg2;
37637 }
37638 return NULL;
37639}
37640
37641
37642SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37643 PyObject *resultobj = 0;
37644 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37645 bool arg2 ;
37646 void *argp1 = 0 ;
37647 int res1 = 0 ;
37648 bool val2 ;
37649 int ecode2 = 0 ;
37650 PyObject * obj0 = 0 ;
37651 PyObject * obj1 = 0 ;
37652 char * kwnames[] = {
37653 (char *) "self",(char *) "show", NULL
37654 };
37655
37656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
37657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37658 if (!SWIG_IsOK(res1)) {
37659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37660 }
37661 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37662 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37663 if (!SWIG_IsOK(ecode2)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37665 }
37666 arg2 = static_cast< bool >(val2);
37667 {
37668 PyThreadState* __tstate = wxPyBeginAllowThreads();
37669 (arg1)->ShowHidden(arg2);
37670 wxPyEndAllowThreads(__tstate);
37671 if (PyErr_Occurred()) SWIG_fail;
37672 }
37673 resultobj = SWIG_Py_Void();
37674 return resultobj;
37675fail:
37676 return NULL;
d55e5bfc
RD
37677}
37678
37679
554f62e9
RD
37680SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37681 PyObject *resultobj = 0;
37682 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37683 bool result;
37684 void *argp1 = 0 ;
37685 int res1 = 0 ;
37686 PyObject *swig_obj[1] ;
37687
37688 if (!args) SWIG_fail;
37689 swig_obj[0] = args;
37690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37691 if (!SWIG_IsOK(res1)) {
37692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37693 }
37694 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37695 {
37696 PyThreadState* __tstate = wxPyBeginAllowThreads();
37697 result = (bool)(arg1)->GetShowHidden();
37698 wxPyEndAllowThreads(__tstate);
37699 if (PyErr_Occurred()) SWIG_fail;
37700 }
37701 {
37702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37703 }
37704 return resultobj;
37705fail:
37706 return NULL;
d55e5bfc
RD
37707}
37708
37709
554f62e9
RD
37710SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37711 PyObject *resultobj = 0;
37712 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37713 wxString result;
37714 void *argp1 = 0 ;
37715 int res1 = 0 ;
37716 PyObject *swig_obj[1] ;
37717
37718 if (!args) SWIG_fail;
37719 swig_obj[0] = args;
37720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37721 if (!SWIG_IsOK(res1)) {
37722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37723 }
37724 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37725 {
37726 PyThreadState* __tstate = wxPyBeginAllowThreads();
37727 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
37728 wxPyEndAllowThreads(__tstate);
37729 if (PyErr_Occurred()) SWIG_fail;
37730 }
37731 {
37732#if wxUSE_UNICODE
37733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37734#else
37735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37736#endif
37737 }
37738 return resultobj;
37739fail:
37740 return NULL;
37741}
37742
37743
37744SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37745 PyObject *resultobj = 0;
37746 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37747 wxString *arg2 = 0 ;
37748 void *argp1 = 0 ;
37749 int res1 = 0 ;
37750 bool temp2 = false ;
37751 PyObject * obj0 = 0 ;
37752 PyObject * obj1 = 0 ;
37753 char * kwnames[] = {
37754 (char *) "self",(char *) "filter", NULL
37755 };
37756
37757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
37758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37759 if (!SWIG_IsOK(res1)) {
37760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37761 }
37762 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37763 {
37764 arg2 = wxString_in_helper(obj1);
37765 if (arg2 == NULL) SWIG_fail;
37766 temp2 = true;
37767 }
37768 {
37769 PyThreadState* __tstate = wxPyBeginAllowThreads();
37770 (arg1)->SetFilter((wxString const &)*arg2);
37771 wxPyEndAllowThreads(__tstate);
37772 if (PyErr_Occurred()) SWIG_fail;
37773 }
37774 resultobj = SWIG_Py_Void();
37775 {
37776 if (temp2)
37777 delete arg2;
37778 }
37779 return resultobj;
37780fail:
37781 {
37782 if (temp2)
37783 delete arg2;
37784 }
37785 return NULL;
d55e5bfc
RD
37786}
37787
37788
554f62e9
RD
37789SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37790 PyObject *resultobj = 0;
37791 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37792 int result;
37793 void *argp1 = 0 ;
37794 int res1 = 0 ;
37795 PyObject *swig_obj[1] ;
37796
37797 if (!args) SWIG_fail;
37798 swig_obj[0] = args;
37799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37800 if (!SWIG_IsOK(res1)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37802 }
37803 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37804 {
37805 PyThreadState* __tstate = wxPyBeginAllowThreads();
37806 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
37807 wxPyEndAllowThreads(__tstate);
37808 if (PyErr_Occurred()) SWIG_fail;
37809 }
37810 resultobj = SWIG_From_int(static_cast< int >(result));
37811 return resultobj;
37812fail:
37813 return NULL;
37814}
37815
37816
37817SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37818 PyObject *resultobj = 0;
37819 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37820 int arg2 ;
37821 void *argp1 = 0 ;
37822 int res1 = 0 ;
37823 int val2 ;
37824 int ecode2 = 0 ;
37825 PyObject * obj0 = 0 ;
37826 PyObject * obj1 = 0 ;
37827 char * kwnames[] = {
37828 (char *) "self",(char *) "n", NULL
37829 };
37830
37831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
37832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37833 if (!SWIG_IsOK(res1)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37835 }
37836 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37837 ecode2 = SWIG_AsVal_int(obj1, &val2);
37838 if (!SWIG_IsOK(ecode2)) {
37839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37840 }
37841 arg2 = static_cast< int >(val2);
37842 {
37843 PyThreadState* __tstate = wxPyBeginAllowThreads();
37844 (arg1)->SetFilterIndex(arg2);
37845 wxPyEndAllowThreads(__tstate);
37846 if (PyErr_Occurred()) SWIG_fail;
37847 }
37848 resultobj = SWIG_Py_Void();
37849 return resultobj;
37850fail:
37851 return NULL;
d55e5bfc
RD
37852}
37853
37854
554f62e9
RD
37855SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37856 PyObject *resultobj = 0;
37857 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37858 wxTreeItemId result;
37859 void *argp1 = 0 ;
37860 int res1 = 0 ;
37861 PyObject *swig_obj[1] ;
37862
37863 if (!args) SWIG_fail;
37864 swig_obj[0] = args;
37865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37866 if (!SWIG_IsOK(res1)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37868 }
37869 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37870 {
37871 PyThreadState* __tstate = wxPyBeginAllowThreads();
37872 result = (arg1)->GetRootId();
37873 wxPyEndAllowThreads(__tstate);
37874 if (PyErr_Occurred()) SWIG_fail;
37875 }
37876 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37877 return resultobj;
37878fail:
37879 return NULL;
d55e5bfc
RD
37880}
37881
37882
554f62e9
RD
37883SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37884 PyObject *resultobj = 0;
37885 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37886 wxPyTreeCtrl *result = 0 ;
37887 void *argp1 = 0 ;
37888 int res1 = 0 ;
37889 PyObject *swig_obj[1] ;
37890
37891 if (!args) SWIG_fail;
37892 swig_obj[0] = args;
37893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37894 if (!SWIG_IsOK(res1)) {
37895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37896 }
37897 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37898 {
37899 PyThreadState* __tstate = wxPyBeginAllowThreads();
37900 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
37901 wxPyEndAllowThreads(__tstate);
37902 if (PyErr_Occurred()) SWIG_fail;
37903 }
37904 {
37905 resultobj = wxPyMake_wxObject(result, 0);
37906 }
37907 return resultobj;
37908fail:
37909 return NULL;
d55e5bfc
RD
37910}
37911
37912
554f62e9
RD
37913SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37914 PyObject *resultobj = 0;
37915 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37916 wxDirFilterListCtrl *result = 0 ;
37917 void *argp1 = 0 ;
37918 int res1 = 0 ;
37919 PyObject *swig_obj[1] ;
37920
37921 if (!args) SWIG_fail;
37922 swig_obj[0] = args;
37923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37924 if (!SWIG_IsOK(res1)) {
37925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37926 }
37927 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37928 {
37929 PyThreadState* __tstate = wxPyBeginAllowThreads();
37930 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
37931 wxPyEndAllowThreads(__tstate);
37932 if (PyErr_Occurred()) SWIG_fail;
37933 }
37934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
37935 return resultobj;
37936fail:
37937 return NULL;
37938}
37939
37940
37941SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37942 PyObject *resultobj = 0;
37943 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37944 wxTreeItemId arg2 ;
37945 wxString *arg3 = 0 ;
37946 bool *arg4 = 0 ;
37947 wxTreeItemId result;
37948 void *argp1 = 0 ;
37949 int res1 = 0 ;
37950 void *argp2 ;
37951 int res2 = 0 ;
37952 bool temp3 = false ;
37953 bool temp4 ;
37954 int res4 = SWIG_TMPOBJ ;
37955 PyObject * obj0 = 0 ;
37956 PyObject * obj1 = 0 ;
37957 PyObject * obj2 = 0 ;
37958 char * kwnames[] = {
37959 (char *) "self",(char *) "parentId",(char *) "path", NULL
37960 };
37961
37962 arg4 = &temp4;
37963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37965 if (!SWIG_IsOK(res1)) {
37966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37967 }
37968 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37969 {
37970 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37971 if (!SWIG_IsOK(res2)) {
37972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37973 }
37974 if (!argp2) {
37975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37976 } else {
37977 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
37978 arg2 = *temp;
37979 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 37980 }
554f62e9
RD
37981 }
37982 {
37983 arg3 = wxString_in_helper(obj2);
37984 if (arg3 == NULL) SWIG_fail;
37985 temp3 = true;
37986 }
37987 {
37988 PyThreadState* __tstate = wxPyBeginAllowThreads();
37989 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
37990 wxPyEndAllowThreads(__tstate);
37991 if (PyErr_Occurred()) SWIG_fail;
37992 }
37993 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37994 if (SWIG_IsTmpObj(res4)) {
37995 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
37996 } else {
37997 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37998 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
37999 }
38000 {
38001 if (temp3)
38002 delete arg3;
38003 }
38004 return resultobj;
38005fail:
38006 {
38007 if (temp3)
38008 delete arg3;
38009 }
38010 return NULL;
d55e5bfc
RD
38011}
38012
38013
554f62e9
RD
38014SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38015 PyObject *resultobj = 0;
38016 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38017 void *argp1 = 0 ;
38018 int res1 = 0 ;
38019 PyObject *swig_obj[1] ;
38020
38021 if (!args) SWIG_fail;
38022 swig_obj[0] = args;
38023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38024 if (!SWIG_IsOK(res1)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38026 }
38027 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38028 {
38029 PyThreadState* __tstate = wxPyBeginAllowThreads();
38030 (arg1)->DoResize();
38031 wxPyEndAllowThreads(__tstate);
38032 if (PyErr_Occurred()) SWIG_fail;
38033 }
38034 resultobj = SWIG_Py_Void();
38035 return resultobj;
38036fail:
38037 return NULL;
38038}
38039
38040
38041SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38042 PyObject *resultobj = 0;
38043 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38044 void *argp1 = 0 ;
38045 int res1 = 0 ;
38046 PyObject *swig_obj[1] ;
38047
38048 if (!args) SWIG_fail;
38049 swig_obj[0] = args;
38050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38051 if (!SWIG_IsOK(res1)) {
38052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38053 }
38054 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38055 {
38056 PyThreadState* __tstate = wxPyBeginAllowThreads();
38057 (arg1)->ReCreateTree();
38058 wxPyEndAllowThreads(__tstate);
38059 if (PyErr_Occurred()) SWIG_fail;
38060 }
38061 resultobj = SWIG_Py_Void();
38062 return resultobj;
38063fail:
38064 return NULL;
38065}
38066
38067
38068SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38069 PyObject *obj;
38070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38071 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38072 return SWIG_Py_Void();
38073}
38074
38075SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38076 return SWIG_Python_InitShadowInstance(args);
38077}
38078
38079SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38080 PyObject *resultobj = 0;
38081 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38082 int arg2 = (int) (int)-1 ;
38083 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38084 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38085 wxSize const &arg4_defvalue = wxDefaultSize ;
38086 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38087 long arg5 = (long) 0 ;
38088 wxDirFilterListCtrl *result = 0 ;
38089 void *argp1 = 0 ;
38090 int res1 = 0 ;
38091 int val2 ;
38092 int ecode2 = 0 ;
38093 wxPoint temp3 ;
38094 wxSize temp4 ;
38095 long val5 ;
38096 int ecode5 = 0 ;
38097 PyObject * obj0 = 0 ;
38098 PyObject * obj1 = 0 ;
38099 PyObject * obj2 = 0 ;
38100 PyObject * obj3 = 0 ;
38101 PyObject * obj4 = 0 ;
38102 char * kwnames[] = {
38103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38104 };
38105
38106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38108 if (!SWIG_IsOK(res1)) {
38109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38110 }
38111 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38112 if (obj1) {
38113 ecode2 = SWIG_AsVal_int(obj1, &val2);
38114 if (!SWIG_IsOK(ecode2)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38116 }
38117 arg2 = static_cast< int >(val2);
38118 }
38119 if (obj2) {
d55e5bfc 38120 {
554f62e9
RD
38121 arg3 = &temp3;
38122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38123 }
554f62e9
RD
38124 }
38125 if (obj3) {
d55e5bfc 38126 {
554f62e9
RD
38127 arg4 = &temp4;
38128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38129 }
554f62e9
RD
38130 }
38131 if (obj4) {
38132 ecode5 = SWIG_AsVal_long(obj4, &val5);
38133 if (!SWIG_IsOK(ecode5)) {
38134 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38135 }
38136 arg5 = static_cast< long >(val5);
38137 }
38138 {
38139 if (!wxPyCheckForApp()) SWIG_fail;
38140 PyThreadState* __tstate = wxPyBeginAllowThreads();
38141 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38142 wxPyEndAllowThreads(__tstate);
38143 if (PyErr_Occurred()) SWIG_fail;
38144 }
38145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38146 return resultobj;
38147fail:
38148 return NULL;
d55e5bfc
RD
38149}
38150
38151
554f62e9
RD
38152SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38153 PyObject *resultobj = 0;
38154 wxDirFilterListCtrl *result = 0 ;
38155
38156 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38157 {
38158 if (!wxPyCheckForApp()) SWIG_fail;
38159 PyThreadState* __tstate = wxPyBeginAllowThreads();
38160 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38161 wxPyEndAllowThreads(__tstate);
38162 if (PyErr_Occurred()) SWIG_fail;
38163 }
38164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38165 return resultobj;
38166fail:
38167 return NULL;
38168}
38169
38170
38171SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38172 PyObject *resultobj = 0;
38173 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38174 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38175 int arg3 = (int) (int)-1 ;
38176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38178 wxSize const &arg5_defvalue = wxDefaultSize ;
38179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38180 long arg6 = (long) 0 ;
38181 bool result;
38182 void *argp1 = 0 ;
38183 int res1 = 0 ;
38184 void *argp2 = 0 ;
38185 int res2 = 0 ;
38186 int val3 ;
38187 int ecode3 = 0 ;
38188 wxPoint temp4 ;
38189 wxSize temp5 ;
38190 long val6 ;
38191 int ecode6 = 0 ;
38192 PyObject * obj0 = 0 ;
38193 PyObject * obj1 = 0 ;
38194 PyObject * obj2 = 0 ;
38195 PyObject * obj3 = 0 ;
38196 PyObject * obj4 = 0 ;
38197 PyObject * obj5 = 0 ;
38198 char * kwnames[] = {
38199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38200 };
38201
38202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38204 if (!SWIG_IsOK(res1)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38206 }
38207 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38208 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38209 if (!SWIG_IsOK(res2)) {
38210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38211 }
38212 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38213 if (obj2) {
38214 ecode3 = SWIG_AsVal_int(obj2, &val3);
38215 if (!SWIG_IsOK(ecode3)) {
38216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38217 }
38218 arg3 = static_cast< int >(val3);
38219 }
38220 if (obj3) {
093d3ff1 38221 {
554f62e9
RD
38222 arg4 = &temp4;
38223 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38224 }
554f62e9
RD
38225 }
38226 if (obj4) {
093d3ff1 38227 {
554f62e9
RD
38228 arg5 = &temp5;
38229 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 38230 }
554f62e9
RD
38231 }
38232 if (obj5) {
38233 ecode6 = SWIG_AsVal_long(obj5, &val6);
38234 if (!SWIG_IsOK(ecode6)) {
38235 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38236 }
38237 arg6 = static_cast< long >(val6);
38238 }
38239 {
38240 PyThreadState* __tstate = wxPyBeginAllowThreads();
38241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38242 wxPyEndAllowThreads(__tstate);
38243 if (PyErr_Occurred()) SWIG_fail;
38244 }
38245 {
38246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38247 }
38248 return resultobj;
38249fail:
38250 return NULL;
38251}
38252
38253
38254SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38255 PyObject *resultobj = 0;
38256 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38257 wxString *arg2 = 0 ;
38258 int arg3 ;
38259 void *argp1 = 0 ;
38260 int res1 = 0 ;
38261 bool temp2 = false ;
38262 int val3 ;
38263 int ecode3 = 0 ;
38264 PyObject * obj0 = 0 ;
38265 PyObject * obj1 = 0 ;
38266 PyObject * obj2 = 0 ;
38267 char * kwnames[] = {
38268 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38269 };
38270
38271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38273 if (!SWIG_IsOK(res1)) {
38274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38275 }
38276 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38277 {
38278 arg2 = wxString_in_helper(obj1);
38279 if (arg2 == NULL) SWIG_fail;
38280 temp2 = true;
38281 }
38282 ecode3 = SWIG_AsVal_int(obj2, &val3);
38283 if (!SWIG_IsOK(ecode3)) {
38284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38285 }
38286 arg3 = static_cast< int >(val3);
38287 {
38288 PyThreadState* __tstate = wxPyBeginAllowThreads();
38289 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38290 wxPyEndAllowThreads(__tstate);
38291 if (PyErr_Occurred()) SWIG_fail;
38292 }
38293 resultobj = SWIG_Py_Void();
38294 {
38295 if (temp2)
38296 delete arg2;
38297 }
38298 return resultobj;
38299fail:
38300 {
38301 if (temp2)
38302 delete arg2;
38303 }
38304 return NULL;
38305}
38306
38307
38308SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38309 PyObject *obj;
38310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38311 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38312 return SWIG_Py_Void();
38313}
38314
38315SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38316 return SWIG_Python_InitShadowInstance(args);
38317}
38318
38319SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38320 PyObject *resultobj = 0;
38321 wxWindow *arg1 = (wxWindow *) 0 ;
38322 int arg2 = (int) (int)-1 ;
38323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38325 wxSize const &arg4_defvalue = wxDefaultSize ;
38326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38327 long arg5 = (long) 0 ;
38328 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38329 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38330 wxString const &arg7_defvalue = wxPyControlNameStr ;
38331 wxString *arg7 = (wxString *) &arg7_defvalue ;
38332 wxPyControl *result = 0 ;
38333 void *argp1 = 0 ;
38334 int res1 = 0 ;
38335 int val2 ;
38336 int ecode2 = 0 ;
38337 wxPoint temp3 ;
38338 wxSize temp4 ;
38339 long val5 ;
38340 int ecode5 = 0 ;
38341 void *argp6 = 0 ;
38342 int res6 = 0 ;
38343 bool temp7 = false ;
38344 PyObject * obj0 = 0 ;
38345 PyObject * obj1 = 0 ;
38346 PyObject * obj2 = 0 ;
38347 PyObject * obj3 = 0 ;
38348 PyObject * obj4 = 0 ;
38349 PyObject * obj5 = 0 ;
38350 PyObject * obj6 = 0 ;
38351 char * kwnames[] = {
38352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38353 };
38354
38355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38357 if (!SWIG_IsOK(res1)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38359 }
38360 arg1 = reinterpret_cast< wxWindow * >(argp1);
38361 if (obj1) {
38362 ecode2 = SWIG_AsVal_int(obj1, &val2);
38363 if (!SWIG_IsOK(ecode2)) {
38364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38365 }
38366 arg2 = static_cast< int >(val2);
38367 }
38368 if (obj2) {
d55e5bfc 38369 {
554f62e9
RD
38370 arg3 = &temp3;
38371 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38372 }
554f62e9
RD
38373 }
38374 if (obj3) {
d55e5bfc 38375 {
554f62e9
RD
38376 arg4 = &temp4;
38377 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38378 }
554f62e9
RD
38379 }
38380 if (obj4) {
38381 ecode5 = SWIG_AsVal_long(obj4, &val5);
38382 if (!SWIG_IsOK(ecode5)) {
38383 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38384 }
38385 arg5 = static_cast< long >(val5);
38386 }
38387 if (obj5) {
38388 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38389 if (!SWIG_IsOK(res6)) {
38390 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
093d3ff1 38391 }
554f62e9
RD
38392 if (!argp6) {
38393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 38394 }
554f62e9
RD
38395 arg6 = reinterpret_cast< wxValidator * >(argp6);
38396 }
38397 if (obj6) {
d55e5bfc 38398 {
554f62e9
RD
38399 arg7 = wxString_in_helper(obj6);
38400 if (arg7 == NULL) SWIG_fail;
38401 temp7 = true;
d55e5bfc 38402 }
554f62e9
RD
38403 }
38404 {
38405 if (!wxPyCheckForApp()) SWIG_fail;
38406 PyThreadState* __tstate = wxPyBeginAllowThreads();
38407 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38408 wxPyEndAllowThreads(__tstate);
38409 if (PyErr_Occurred()) SWIG_fail;
38410 }
38411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38412 {
38413 if (temp7)
38414 delete arg7;
38415 }
38416 return resultobj;
38417fail:
38418 {
38419 if (temp7)
38420 delete arg7;
38421 }
38422 return NULL;
d55e5bfc
RD
38423}
38424
38425
554f62e9
RD
38426SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38427 PyObject *resultobj = 0;
38428 wxPyControl *result = 0 ;
38429
38430 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38431 {
38432 if (!wxPyCheckForApp()) SWIG_fail;
38433 PyThreadState* __tstate = wxPyBeginAllowThreads();
38434 result = (wxPyControl *)new wxPyControl();
38435 wxPyEndAllowThreads(__tstate);
38436 if (PyErr_Occurred()) SWIG_fail;
38437 }
38438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38439 return resultobj;
38440fail:
38441 return NULL;
38442}
38443
38444
38445SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38446 PyObject *resultobj = 0;
38447 wxPyControl *arg1 = (wxPyControl *) 0 ;
38448 PyObject *arg2 = (PyObject *) 0 ;
38449 PyObject *arg3 = (PyObject *) 0 ;
38450 void *argp1 = 0 ;
38451 int res1 = 0 ;
38452 PyObject * obj0 = 0 ;
38453 PyObject * obj1 = 0 ;
38454 PyObject * obj2 = 0 ;
38455 char * kwnames[] = {
38456 (char *) "self",(char *) "self",(char *) "_class", NULL
38457 };
38458
38459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38461 if (!SWIG_IsOK(res1)) {
38462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38463 }
38464 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38465 arg2 = obj1;
38466 arg3 = obj2;
38467 {
38468 PyThreadState* __tstate = wxPyBeginAllowThreads();
38469 (arg1)->_setCallbackInfo(arg2,arg3);
38470 wxPyEndAllowThreads(__tstate);
38471 if (PyErr_Occurred()) SWIG_fail;
38472 }
38473 resultobj = SWIG_Py_Void();
38474 return resultobj;
38475fail:
38476 return NULL;
38477}
38478
38479
38480SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38481 PyObject *resultobj = 0;
38482 wxPyControl *arg1 = (wxPyControl *) 0 ;
38483 wxSize *arg2 = 0 ;
38484 void *argp1 = 0 ;
38485 int res1 = 0 ;
38486 wxSize temp2 ;
38487 PyObject * obj0 = 0 ;
38488 PyObject * obj1 = 0 ;
38489 char * kwnames[] = {
38490 (char *) "self",(char *) "size", NULL
38491 };
38492
38493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
38494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38495 if (!SWIG_IsOK(res1)) {
38496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38497 }
38498 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38499 {
38500 arg2 = &temp2;
38501 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38502 }
38503 {
38504 PyThreadState* __tstate = wxPyBeginAllowThreads();
38505 (arg1)->SetBestSize((wxSize const &)*arg2);
38506 wxPyEndAllowThreads(__tstate);
38507 if (PyErr_Occurred()) SWIG_fail;
38508 }
38509 resultobj = SWIG_Py_Void();
38510 return resultobj;
38511fail:
38512 return NULL;
38513}
38514
38515
38516SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38517 PyObject *resultobj = 0;
38518 wxPyControl *arg1 = (wxPyControl *) 0 ;
38519 wxDC *arg2 = (wxDC *) 0 ;
38520 bool result;
38521 void *argp1 = 0 ;
38522 int res1 = 0 ;
38523 void *argp2 = 0 ;
38524 int res2 = 0 ;
38525 PyObject * obj0 = 0 ;
38526 PyObject * obj1 = 0 ;
38527 char * kwnames[] = {
38528 (char *) "self",(char *) "dc", NULL
38529 };
38530
38531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38533 if (!SWIG_IsOK(res1)) {
38534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38535 }
38536 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38538 if (!SWIG_IsOK(res2)) {
38539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38540 }
38541 arg2 = reinterpret_cast< wxDC * >(argp2);
38542 {
38543 PyThreadState* __tstate = wxPyBeginAllowThreads();
38544 result = (bool)(arg1)->DoEraseBackground(arg2);
38545 wxPyEndAllowThreads(__tstate);
38546 if (PyErr_Occurred()) SWIG_fail;
38547 }
38548 {
38549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38550 }
38551 return resultobj;
38552fail:
38553 return NULL;
38554}
38555
38556
38557SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38558 PyObject *resultobj = 0;
38559 wxPyControl *arg1 = (wxPyControl *) 0 ;
38560 int arg2 ;
38561 int arg3 ;
38562 int arg4 ;
38563 int arg5 ;
38564 void *argp1 = 0 ;
38565 int res1 = 0 ;
38566 int val2 ;
38567 int ecode2 = 0 ;
38568 int val3 ;
38569 int ecode3 = 0 ;
38570 int val4 ;
38571 int ecode4 = 0 ;
38572 int val5 ;
38573 int ecode5 = 0 ;
38574 PyObject * obj0 = 0 ;
38575 PyObject * obj1 = 0 ;
38576 PyObject * obj2 = 0 ;
38577 PyObject * obj3 = 0 ;
38578 PyObject * obj4 = 0 ;
38579 char * kwnames[] = {
38580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38581 };
38582
38583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38585 if (!SWIG_IsOK(res1)) {
38586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38587 }
38588 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38589 ecode2 = SWIG_AsVal_int(obj1, &val2);
38590 if (!SWIG_IsOK(ecode2)) {
38591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38592 }
38593 arg2 = static_cast< int >(val2);
38594 ecode3 = SWIG_AsVal_int(obj2, &val3);
38595 if (!SWIG_IsOK(ecode3)) {
38596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38597 }
38598 arg3 = static_cast< int >(val3);
38599 ecode4 = SWIG_AsVal_int(obj3, &val4);
38600 if (!SWIG_IsOK(ecode4)) {
38601 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38602 }
38603 arg4 = static_cast< int >(val4);
38604 ecode5 = SWIG_AsVal_int(obj4, &val5);
38605 if (!SWIG_IsOK(ecode5)) {
38606 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38607 }
38608 arg5 = static_cast< int >(val5);
38609 {
38610 PyThreadState* __tstate = wxPyBeginAllowThreads();
38611 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38612 wxPyEndAllowThreads(__tstate);
38613 if (PyErr_Occurred()) SWIG_fail;
38614 }
38615 resultobj = SWIG_Py_Void();
38616 return resultobj;
38617fail:
38618 return NULL;
38619}
38620
38621
38622SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38623 PyObject *resultobj = 0;
38624 wxPyControl *arg1 = (wxPyControl *) 0 ;
38625 int arg2 ;
38626 int arg3 ;
38627 int arg4 ;
38628 int arg5 ;
38629 int arg6 = (int) wxSIZE_AUTO ;
38630 void *argp1 = 0 ;
38631 int res1 = 0 ;
38632 int val2 ;
38633 int ecode2 = 0 ;
38634 int val3 ;
38635 int ecode3 = 0 ;
38636 int val4 ;
38637 int ecode4 = 0 ;
38638 int val5 ;
38639 int ecode5 = 0 ;
38640 int val6 ;
38641 int ecode6 = 0 ;
38642 PyObject * obj0 = 0 ;
38643 PyObject * obj1 = 0 ;
38644 PyObject * obj2 = 0 ;
38645 PyObject * obj3 = 0 ;
38646 PyObject * obj4 = 0 ;
38647 PyObject * obj5 = 0 ;
38648 char * kwnames[] = {
38649 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38650 };
38651
38652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38654 if (!SWIG_IsOK(res1)) {
38655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38656 }
38657 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38658 ecode2 = SWIG_AsVal_int(obj1, &val2);
38659 if (!SWIG_IsOK(ecode2)) {
38660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38661 }
38662 arg2 = static_cast< int >(val2);
38663 ecode3 = SWIG_AsVal_int(obj2, &val3);
38664 if (!SWIG_IsOK(ecode3)) {
38665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38666 }
38667 arg3 = static_cast< int >(val3);
38668 ecode4 = SWIG_AsVal_int(obj3, &val4);
38669 if (!SWIG_IsOK(ecode4)) {
38670 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38671 }
38672 arg4 = static_cast< int >(val4);
38673 ecode5 = SWIG_AsVal_int(obj4, &val5);
38674 if (!SWIG_IsOK(ecode5)) {
38675 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38676 }
38677 arg5 = static_cast< int >(val5);
38678 if (obj5) {
38679 ecode6 = SWIG_AsVal_int(obj5, &val6);
38680 if (!SWIG_IsOK(ecode6)) {
38681 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38682 }
38683 arg6 = static_cast< int >(val6);
38684 }
38685 {
38686 PyThreadState* __tstate = wxPyBeginAllowThreads();
38687 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
38688 wxPyEndAllowThreads(__tstate);
38689 if (PyErr_Occurred()) SWIG_fail;
38690 }
38691 resultobj = SWIG_Py_Void();
38692 return resultobj;
38693fail:
38694 return NULL;
38695}
38696
38697
38698SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38699 PyObject *resultobj = 0;
38700 wxPyControl *arg1 = (wxPyControl *) 0 ;
38701 int arg2 ;
38702 int arg3 ;
38703 void *argp1 = 0 ;
38704 int res1 = 0 ;
38705 int val2 ;
38706 int ecode2 = 0 ;
38707 int val3 ;
38708 int ecode3 = 0 ;
38709 PyObject * obj0 = 0 ;
38710 PyObject * obj1 = 0 ;
38711 PyObject * obj2 = 0 ;
38712 char * kwnames[] = {
38713 (char *) "self",(char *) "width",(char *) "height", NULL
38714 };
38715
38716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38718 if (!SWIG_IsOK(res1)) {
38719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38720 }
38721 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38722 ecode2 = SWIG_AsVal_int(obj1, &val2);
38723 if (!SWIG_IsOK(ecode2)) {
38724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38725 }
38726 arg2 = static_cast< int >(val2);
38727 ecode3 = SWIG_AsVal_int(obj2, &val3);
38728 if (!SWIG_IsOK(ecode3)) {
38729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38730 }
38731 arg3 = static_cast< int >(val3);
38732 {
38733 PyThreadState* __tstate = wxPyBeginAllowThreads();
38734 (arg1)->DoSetClientSize(arg2,arg3);
38735 wxPyEndAllowThreads(__tstate);
38736 if (PyErr_Occurred()) SWIG_fail;
38737 }
38738 resultobj = SWIG_Py_Void();
38739 return resultobj;
38740fail:
38741 return NULL;
38742}
38743
38744
38745SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38746 PyObject *resultobj = 0;
38747 wxPyControl *arg1 = (wxPyControl *) 0 ;
38748 int arg2 ;
38749 int arg3 ;
38750 void *argp1 = 0 ;
38751 int res1 = 0 ;
38752 int val2 ;
38753 int ecode2 = 0 ;
38754 int val3 ;
38755 int ecode3 = 0 ;
38756 PyObject * obj0 = 0 ;
38757 PyObject * obj1 = 0 ;
38758 PyObject * obj2 = 0 ;
38759 char * kwnames[] = {
38760 (char *) "self",(char *) "x",(char *) "y", NULL
38761 };
38762
38763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38765 if (!SWIG_IsOK(res1)) {
38766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38767 }
38768 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38769 ecode2 = SWIG_AsVal_int(obj1, &val2);
38770 if (!SWIG_IsOK(ecode2)) {
38771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38772 }
38773 arg2 = static_cast< int >(val2);
38774 ecode3 = SWIG_AsVal_int(obj2, &val3);
38775 if (!SWIG_IsOK(ecode3)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38777 }
38778 arg3 = static_cast< int >(val3);
38779 {
38780 PyThreadState* __tstate = wxPyBeginAllowThreads();
38781 (arg1)->DoSetVirtualSize(arg2,arg3);
38782 wxPyEndAllowThreads(__tstate);
38783 if (PyErr_Occurred()) SWIG_fail;
38784 }
38785 resultobj = SWIG_Py_Void();
38786 return resultobj;
38787fail:
38788 return NULL;
38789}
38790
38791
38792SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38793 PyObject *resultobj = 0;
38794 wxPyControl *arg1 = (wxPyControl *) 0 ;
38795 int *arg2 = (int *) 0 ;
38796 int *arg3 = (int *) 0 ;
38797 void *argp1 = 0 ;
38798 int res1 = 0 ;
38799 int temp2 ;
38800 int res2 = SWIG_TMPOBJ ;
38801 int temp3 ;
38802 int res3 = SWIG_TMPOBJ ;
38803 PyObject *swig_obj[1] ;
38804
38805 arg2 = &temp2;
38806 arg3 = &temp3;
38807 if (!args) SWIG_fail;
38808 swig_obj[0] = args;
38809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38810 if (!SWIG_IsOK(res1)) {
38811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38812 }
38813 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38814 {
38815 PyThreadState* __tstate = wxPyBeginAllowThreads();
38816 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
38817 wxPyEndAllowThreads(__tstate);
38818 if (PyErr_Occurred()) SWIG_fail;
38819 }
38820 resultobj = SWIG_Py_Void();
38821 if (SWIG_IsTmpObj(res2)) {
38822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38823 } else {
38824 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38826 }
38827 if (SWIG_IsTmpObj(res3)) {
38828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38829 } else {
38830 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38831 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38832 }
38833 return resultobj;
38834fail:
38835 return NULL;
38836}
38837
38838
38839SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38840 PyObject *resultobj = 0;
38841 wxPyControl *arg1 = (wxPyControl *) 0 ;
38842 int *arg2 = (int *) 0 ;
38843 int *arg3 = (int *) 0 ;
38844 void *argp1 = 0 ;
38845 int res1 = 0 ;
38846 int temp2 ;
38847 int res2 = SWIG_TMPOBJ ;
38848 int temp3 ;
38849 int res3 = SWIG_TMPOBJ ;
38850 PyObject *swig_obj[1] ;
38851
38852 arg2 = &temp2;
38853 arg3 = &temp3;
38854 if (!args) SWIG_fail;
38855 swig_obj[0] = args;
38856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38857 if (!SWIG_IsOK(res1)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38859 }
38860 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38861 {
38862 PyThreadState* __tstate = wxPyBeginAllowThreads();
38863 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
38864 wxPyEndAllowThreads(__tstate);
38865 if (PyErr_Occurred()) SWIG_fail;
38866 }
38867 resultobj = SWIG_Py_Void();
38868 if (SWIG_IsTmpObj(res2)) {
38869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38870 } else {
38871 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38873 }
38874 if (SWIG_IsTmpObj(res3)) {
38875 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38876 } else {
38877 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38878 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38879 }
38880 return resultobj;
38881fail:
38882 return NULL;
38883}
38884
38885
38886SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38887 PyObject *resultobj = 0;
38888 wxPyControl *arg1 = (wxPyControl *) 0 ;
38889 int *arg2 = (int *) 0 ;
38890 int *arg3 = (int *) 0 ;
38891 void *argp1 = 0 ;
38892 int res1 = 0 ;
38893 int temp2 ;
38894 int res2 = SWIG_TMPOBJ ;
38895 int temp3 ;
38896 int res3 = SWIG_TMPOBJ ;
38897 PyObject *swig_obj[1] ;
38898
38899 arg2 = &temp2;
38900 arg3 = &temp3;
38901 if (!args) SWIG_fail;
38902 swig_obj[0] = args;
38903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38904 if (!SWIG_IsOK(res1)) {
38905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38906 }
38907 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38908 {
38909 PyThreadState* __tstate = wxPyBeginAllowThreads();
38910 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
38911 wxPyEndAllowThreads(__tstate);
38912 if (PyErr_Occurred()) SWIG_fail;
38913 }
38914 resultobj = SWIG_Py_Void();
38915 if (SWIG_IsTmpObj(res2)) {
38916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38917 } else {
38918 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38920 }
38921 if (SWIG_IsTmpObj(res3)) {
38922 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38923 } else {
38924 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38925 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38926 }
38927 return resultobj;
38928fail:
38929 return NULL;
d55e5bfc
RD
38930}
38931
38932
554f62e9
RD
38933SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38934 PyObject *resultobj = 0;
38935 wxPyControl *arg1 = (wxPyControl *) 0 ;
38936 wxSize result;
38937 void *argp1 = 0 ;
38938 int res1 = 0 ;
38939 PyObject *swig_obj[1] ;
38940
38941 if (!args) SWIG_fail;
38942 swig_obj[0] = args;
38943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38944 if (!SWIG_IsOK(res1)) {
38945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38946 }
38947 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38948 {
38949 PyThreadState* __tstate = wxPyBeginAllowThreads();
38950 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
38951 wxPyEndAllowThreads(__tstate);
38952 if (PyErr_Occurred()) SWIG_fail;
38953 }
38954 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38955 return resultobj;
38956fail:
38957 return NULL;
d55e5bfc
RD
38958}
38959
38960
554f62e9
RD
38961SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38962 PyObject *resultobj = 0;
38963 wxPyControl *arg1 = (wxPyControl *) 0 ;
38964 wxSize result;
38965 void *argp1 = 0 ;
38966 int res1 = 0 ;
38967 PyObject *swig_obj[1] ;
38968
38969 if (!args) SWIG_fail;
38970 swig_obj[0] = args;
38971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38972 if (!SWIG_IsOK(res1)) {
38973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38974 }
38975 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38976 {
38977 PyThreadState* __tstate = wxPyBeginAllowThreads();
38978 result = ((wxPyControl const *)arg1)->DoGetBestSize();
38979 wxPyEndAllowThreads(__tstate);
38980 if (PyErr_Occurred()) SWIG_fail;
38981 }
38982 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38983 return resultobj;
38984fail:
38985 return NULL;
d55e5bfc
RD
38986}
38987
38988
554f62e9
RD
38989SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38990 PyObject *resultobj = 0;
38991 wxPyControl *arg1 = (wxPyControl *) 0 ;
38992 SwigValueWrapper<wxVisualAttributes > result;
38993 void *argp1 = 0 ;
38994 int res1 = 0 ;
38995 PyObject *swig_obj[1] ;
38996
38997 if (!args) SWIG_fail;
38998 swig_obj[0] = args;
38999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39000 if (!SWIG_IsOK(res1)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39002 }
39003 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39004 {
39005 PyThreadState* __tstate = wxPyBeginAllowThreads();
39006 result = (arg1)->GetDefaultAttributes();
39007 wxPyEndAllowThreads(__tstate);
39008 if (PyErr_Occurred()) SWIG_fail;
39009 }
39010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39011 return resultobj;
39012fail:
39013 return NULL;
d55e5bfc
RD
39014}
39015
39016
554f62e9
RD
39017SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39018 PyObject *resultobj = 0;
39019 wxPyControl *arg1 = (wxPyControl *) 0 ;
39020 void *argp1 = 0 ;
39021 int res1 = 0 ;
39022 PyObject *swig_obj[1] ;
39023
39024 if (!args) SWIG_fail;
39025 swig_obj[0] = args;
39026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39027 if (!SWIG_IsOK(res1)) {
39028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39029 }
39030 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39031 {
39032 PyThreadState* __tstate = wxPyBeginAllowThreads();
39033 (arg1)->OnInternalIdle();
39034 wxPyEndAllowThreads(__tstate);
39035 if (PyErr_Occurred()) SWIG_fail;
39036 }
39037 resultobj = SWIG_Py_Void();
39038 return resultobj;
39039fail:
39040 return NULL;
39041}
39042
39043
39044SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39045 PyObject *obj;
39046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39048 return SWIG_Py_Void();
39049}
39050
39051SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39052 return SWIG_Python_InitShadowInstance(args);
39053}
39054
39055SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39056 PyObject *resultobj = 0;
39057 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39058 int arg2 = (int) 0 ;
39059 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39060 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39061 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
554f62e9
RD
39062 wxHelpEvent *result = 0 ;
39063 int val1 ;
39064 int ecode1 = 0 ;
39065 int val2 ;
39066 int ecode2 = 0 ;
39067 wxPoint temp3 ;
704eda0c
RD
39068 int val4 ;
39069 int ecode4 = 0 ;
554f62e9
RD
39070 PyObject * obj0 = 0 ;
39071 PyObject * obj1 = 0 ;
39072 PyObject * obj2 = 0 ;
704eda0c 39073 PyObject * obj3 = 0 ;
554f62e9 39074 char * kwnames[] = {
704eda0c 39075 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
554f62e9
RD
39076 };
39077
704eda0c 39078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
554f62e9
RD
39079 if (obj0) {
39080 ecode1 = SWIG_AsVal_int(obj0, &val1);
39081 if (!SWIG_IsOK(ecode1)) {
39082 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39083 }
39084 arg1 = static_cast< wxEventType >(val1);
39085 }
39086 if (obj1) {
39087 ecode2 = SWIG_AsVal_int(obj1, &val2);
39088 if (!SWIG_IsOK(ecode2)) {
39089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39090 }
39091 arg2 = static_cast< int >(val2);
39092 }
39093 if (obj2) {
d55e5bfc 39094 {
554f62e9
RD
39095 arg3 = &temp3;
39096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39097 }
554f62e9 39098 }
704eda0c
RD
39099 if (obj3) {
39100 ecode4 = SWIG_AsVal_int(obj3, &val4);
39101 if (!SWIG_IsOK(ecode4)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39103 }
39104 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39105 }
554f62e9
RD
39106 {
39107 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39108 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
554f62e9
RD
39109 wxPyEndAllowThreads(__tstate);
39110 if (PyErr_Occurred()) SWIG_fail;
39111 }
39112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39113 return resultobj;
39114fail:
39115 return NULL;
d55e5bfc
RD
39116}
39117
39118
554f62e9
RD
39119SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39120 PyObject *resultobj = 0;
39121 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39122 wxPoint result;
39123 void *argp1 = 0 ;
39124 int res1 = 0 ;
39125 PyObject *swig_obj[1] ;
39126
39127 if (!args) SWIG_fail;
39128 swig_obj[0] = args;
39129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39130 if (!SWIG_IsOK(res1)) {
39131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39132 }
39133 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39134 {
39135 PyThreadState* __tstate = wxPyBeginAllowThreads();
39136 result = ((wxHelpEvent const *)arg1)->GetPosition();
39137 wxPyEndAllowThreads(__tstate);
39138 if (PyErr_Occurred()) SWIG_fail;
39139 }
39140 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39141 return resultobj;
39142fail:
39143 return NULL;
39144}
39145
39146
39147SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39148 PyObject *resultobj = 0;
39149 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39150 wxPoint *arg2 = 0 ;
39151 void *argp1 = 0 ;
39152 int res1 = 0 ;
39153 wxPoint temp2 ;
39154 PyObject * obj0 = 0 ;
39155 PyObject * obj1 = 0 ;
39156 char * kwnames[] = {
39157 (char *) "self",(char *) "pos", NULL
39158 };
39159
39160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39162 if (!SWIG_IsOK(res1)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39164 }
39165 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39166 {
39167 arg2 = &temp2;
39168 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39169 }
39170 {
39171 PyThreadState* __tstate = wxPyBeginAllowThreads();
39172 (arg1)->SetPosition((wxPoint const &)*arg2);
39173 wxPyEndAllowThreads(__tstate);
39174 if (PyErr_Occurred()) SWIG_fail;
39175 }
39176 resultobj = SWIG_Py_Void();
39177 return resultobj;
39178fail:
39179 return NULL;
f20a2e1f
RD
39180}
39181
39182
554f62e9
RD
39183SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39184 PyObject *resultobj = 0;
39185 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39186 wxString *result = 0 ;
39187 void *argp1 = 0 ;
39188 int res1 = 0 ;
39189 PyObject *swig_obj[1] ;
39190
39191 if (!args) SWIG_fail;
39192 swig_obj[0] = args;
39193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39194 if (!SWIG_IsOK(res1)) {
39195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39196 }
39197 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39198 {
39199 PyThreadState* __tstate = wxPyBeginAllowThreads();
39200 {
39201 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39202 result = (wxString *) &_result_ref;
39203 }
39204 wxPyEndAllowThreads(__tstate);
39205 if (PyErr_Occurred()) SWIG_fail;
39206 }
39207 {
39208#if wxUSE_UNICODE
39209 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39210#else
39211 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39212#endif
39213 }
39214 return resultobj;
39215fail:
39216 return NULL;
39217}
39218
39219
39220SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39221 PyObject *resultobj = 0;
39222 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39223 wxString *arg2 = 0 ;
39224 void *argp1 = 0 ;
39225 int res1 = 0 ;
39226 bool temp2 = false ;
39227 PyObject * obj0 = 0 ;
39228 PyObject * obj1 = 0 ;
39229 char * kwnames[] = {
39230 (char *) "self",(char *) "link", NULL
39231 };
39232
39233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39235 if (!SWIG_IsOK(res1)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39237 }
39238 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39239 {
39240 arg2 = wxString_in_helper(obj1);
39241 if (arg2 == NULL) SWIG_fail;
39242 temp2 = true;
39243 }
39244 {
39245 PyThreadState* __tstate = wxPyBeginAllowThreads();
39246 (arg1)->SetLink((wxString const &)*arg2);
39247 wxPyEndAllowThreads(__tstate);
39248 if (PyErr_Occurred()) SWIG_fail;
39249 }
39250 resultobj = SWIG_Py_Void();
39251 {
39252 if (temp2)
39253 delete arg2;
39254 }
39255 return resultobj;
39256fail:
39257 {
39258 if (temp2)
39259 delete arg2;
39260 }
39261 return NULL;
d55e5bfc
RD
39262}
39263
39264
554f62e9
RD
39265SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39266 PyObject *resultobj = 0;
39267 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39268 wxString *result = 0 ;
39269 void *argp1 = 0 ;
39270 int res1 = 0 ;
39271 PyObject *swig_obj[1] ;
39272
39273 if (!args) SWIG_fail;
39274 swig_obj[0] = args;
39275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39276 if (!SWIG_IsOK(res1)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39278 }
39279 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39280 {
39281 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39282 {
554f62e9
RD
39283 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39284 result = (wxString *) &_result_ref;
39285 }
39286 wxPyEndAllowThreads(__tstate);
39287 if (PyErr_Occurred()) SWIG_fail;
39288 }
39289 {
d55e5bfc 39290#if wxUSE_UNICODE
554f62e9 39291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 39292#else
554f62e9 39293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 39294#endif
554f62e9
RD
39295 }
39296 return resultobj;
39297fail:
39298 return NULL;
39299}
39300
39301
39302SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39303 PyObject *resultobj = 0;
39304 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39305 wxString *arg2 = 0 ;
39306 void *argp1 = 0 ;
39307 int res1 = 0 ;
39308 bool temp2 = false ;
39309 PyObject * obj0 = 0 ;
39310 PyObject * obj1 = 0 ;
39311 char * kwnames[] = {
39312 (char *) "self",(char *) "target", NULL
39313 };
39314
39315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39317 if (!SWIG_IsOK(res1)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39319 }
39320 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39321 {
39322 arg2 = wxString_in_helper(obj1);
39323 if (arg2 == NULL) SWIG_fail;
39324 temp2 = true;
39325 }
39326 {
39327 PyThreadState* __tstate = wxPyBeginAllowThreads();
39328 (arg1)->SetTarget((wxString const &)*arg2);
39329 wxPyEndAllowThreads(__tstate);
39330 if (PyErr_Occurred()) SWIG_fail;
39331 }
39332 resultobj = SWIG_Py_Void();
39333 {
39334 if (temp2)
39335 delete arg2;
39336 }
39337 return resultobj;
39338fail:
39339 {
39340 if (temp2)
39341 delete arg2;
39342 }
39343 return NULL;
d55e5bfc
RD
39344}
39345
39346
704eda0c
RD
39347SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39348 PyObject *resultobj = 0;
39349 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39350 wxHelpEvent::Origin result;
39351 void *argp1 = 0 ;
39352 int res1 = 0 ;
39353 PyObject *swig_obj[1] ;
39354
39355 if (!args) SWIG_fail;
39356 swig_obj[0] = args;
39357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39358 if (!SWIG_IsOK(res1)) {
39359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39360 }
39361 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39362 {
39363 PyThreadState* __tstate = wxPyBeginAllowThreads();
39364 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39365 wxPyEndAllowThreads(__tstate);
39366 if (PyErr_Occurred()) SWIG_fail;
39367 }
39368 resultobj = SWIG_From_int(static_cast< int >(result));
39369 return resultobj;
39370fail:
39371 return NULL;
39372}
39373
39374
39375SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39376 PyObject *resultobj = 0;
39377 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39378 wxHelpEvent::Origin arg2 ;
39379 void *argp1 = 0 ;
39380 int res1 = 0 ;
39381 int val2 ;
39382 int ecode2 = 0 ;
39383 PyObject * obj0 = 0 ;
39384 PyObject * obj1 = 0 ;
39385 char * kwnames[] = {
39386 (char *) "self",(char *) "origin", NULL
39387 };
39388
39389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39391 if (!SWIG_IsOK(res1)) {
39392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39393 }
39394 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39395 ecode2 = SWIG_AsVal_int(obj1, &val2);
39396 if (!SWIG_IsOK(ecode2)) {
39397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39398 }
39399 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39400 {
39401 PyThreadState* __tstate = wxPyBeginAllowThreads();
39402 (arg1)->SetOrigin(arg2);
39403 wxPyEndAllowThreads(__tstate);
39404 if (PyErr_Occurred()) SWIG_fail;
39405 }
39406 resultobj = SWIG_Py_Void();
39407 return resultobj;
39408fail:
39409 return NULL;
39410}
39411
39412
554f62e9
RD
39413SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39414 PyObject *obj;
39415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39416 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39417 return SWIG_Py_Void();
7e08d4ef
RD
39418}
39419
554f62e9
RD
39420SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39421 return SWIG_Python_InitShadowInstance(args);
39422}
7e08d4ef 39423
554f62e9
RD
39424SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39425 PyObject *resultobj = 0;
39426 wxWindow *arg1 = (wxWindow *) NULL ;
39427 bool arg2 = (bool) true ;
39428 wxContextHelp *result = 0 ;
39429 void *argp1 = 0 ;
39430 int res1 = 0 ;
39431 bool val2 ;
39432 int ecode2 = 0 ;
39433 PyObject * obj0 = 0 ;
39434 PyObject * obj1 = 0 ;
39435 char * kwnames[] = {
39436 (char *) "window",(char *) "doNow", NULL
39437 };
39438
39439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39440 if (obj0) {
39441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39442 if (!SWIG_IsOK(res1)) {
39443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 39444 }
554f62e9
RD
39445 arg1 = reinterpret_cast< wxWindow * >(argp1);
39446 }
39447 if (obj1) {
39448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39449 if (!SWIG_IsOK(ecode2)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39451 }
39452 arg2 = static_cast< bool >(val2);
39453 }
39454 {
39455 if (!wxPyCheckForApp()) SWIG_fail;
39456 PyThreadState* __tstate = wxPyBeginAllowThreads();
39457 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39458 wxPyEndAllowThreads(__tstate);
39459 if (PyErr_Occurred()) SWIG_fail;
39460 }
39461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39462 return resultobj;
39463fail:
39464 return NULL;
d55e5bfc
RD
39465}
39466
39467
554f62e9
RD
39468SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39469 PyObject *resultobj = 0;
39470 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39471 void *argp1 = 0 ;
39472 int res1 = 0 ;
39473 PyObject *swig_obj[1] ;
39474
39475 if (!args) SWIG_fail;
39476 swig_obj[0] = args;
39477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39478 if (!SWIG_IsOK(res1)) {
39479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39480 }
39481 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39482 {
39483 PyThreadState* __tstate = wxPyBeginAllowThreads();
39484 delete arg1;
d55e5bfc 39485
554f62e9
RD
39486 wxPyEndAllowThreads(__tstate);
39487 if (PyErr_Occurred()) SWIG_fail;
39488 }
39489 resultobj = SWIG_Py_Void();
39490 return resultobj;
39491fail:
39492 return NULL;
39493}
39494
39495
39496SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39497 PyObject *resultobj = 0;
39498 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39499 wxWindow *arg2 = (wxWindow *) NULL ;
39500 bool result;
39501 void *argp1 = 0 ;
39502 int res1 = 0 ;
39503 void *argp2 = 0 ;
39504 int res2 = 0 ;
39505 PyObject * obj0 = 0 ;
39506 PyObject * obj1 = 0 ;
39507 char * kwnames[] = {
39508 (char *) "self",(char *) "window", NULL
39509 };
39510
39511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39513 if (!SWIG_IsOK(res1)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39515 }
39516 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39517 if (obj1) {
39518 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39519 if (!SWIG_IsOK(res2)) {
39520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 39521 }
554f62e9
RD
39522 arg2 = reinterpret_cast< wxWindow * >(argp2);
39523 }
39524 {
39525 PyThreadState* __tstate = wxPyBeginAllowThreads();
39526 result = (bool)(arg1)->BeginContextHelp(arg2);
39527 wxPyEndAllowThreads(__tstate);
39528 if (PyErr_Occurred()) SWIG_fail;
39529 }
39530 {
39531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39532 }
39533 return resultobj;
39534fail:
39535 return NULL;
d55e5bfc
RD
39536}
39537
39538
554f62e9
RD
39539SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39540 PyObject *resultobj = 0;
39541 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39542 bool result;
39543 void *argp1 = 0 ;
39544 int res1 = 0 ;
39545 PyObject *swig_obj[1] ;
39546
39547 if (!args) SWIG_fail;
39548 swig_obj[0] = args;
39549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39550 if (!SWIG_IsOK(res1)) {
39551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39552 }
39553 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39554 {
39555 PyThreadState* __tstate = wxPyBeginAllowThreads();
39556 result = (bool)(arg1)->EndContextHelp();
39557 wxPyEndAllowThreads(__tstate);
39558 if (PyErr_Occurred()) SWIG_fail;
39559 }
39560 {
39561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39562 }
39563 return resultobj;
39564fail:
39565 return NULL;
39566}
39567
39568
39569SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39570 PyObject *obj;
39571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39572 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39573 return SWIG_Py_Void();
39574}
39575
39576SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39577 return SWIG_Python_InitShadowInstance(args);
39578}
39579
39580SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39581 PyObject *resultobj = 0;
39582 wxWindow *arg1 = (wxWindow *) 0 ;
39583 int arg2 = (int) wxID_CONTEXT_HELP ;
39584 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39585 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39586 wxSize const &arg4_defvalue = wxDefaultSize ;
39587 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39588 long arg5 = (long) wxBU_AUTODRAW ;
39589 wxContextHelpButton *result = 0 ;
39590 void *argp1 = 0 ;
39591 int res1 = 0 ;
39592 int val2 ;
39593 int ecode2 = 0 ;
39594 wxPoint temp3 ;
39595 wxSize temp4 ;
39596 long val5 ;
39597 int ecode5 = 0 ;
39598 PyObject * obj0 = 0 ;
39599 PyObject * obj1 = 0 ;
39600 PyObject * obj2 = 0 ;
39601 PyObject * obj3 = 0 ;
39602 PyObject * obj4 = 0 ;
39603 char * kwnames[] = {
39604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39605 };
39606
39607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39609 if (!SWIG_IsOK(res1)) {
39610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39611 }
39612 arg1 = reinterpret_cast< wxWindow * >(argp1);
39613 if (obj1) {
39614 ecode2 = SWIG_AsVal_int(obj1, &val2);
39615 if (!SWIG_IsOK(ecode2)) {
39616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39617 }
39618 arg2 = static_cast< int >(val2);
39619 }
39620 if (obj2) {
d55e5bfc 39621 {
554f62e9
RD
39622 arg3 = &temp3;
39623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39624 }
554f62e9
RD
39625 }
39626 if (obj3) {
d55e5bfc 39627 {
554f62e9
RD
39628 arg4 = &temp4;
39629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 39630 }
554f62e9
RD
39631 }
39632 if (obj4) {
39633 ecode5 = SWIG_AsVal_long(obj4, &val5);
39634 if (!SWIG_IsOK(ecode5)) {
39635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39636 }
39637 arg5 = static_cast< long >(val5);
39638 }
39639 {
39640 if (!wxPyCheckForApp()) SWIG_fail;
39641 PyThreadState* __tstate = wxPyBeginAllowThreads();
39642 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39643 wxPyEndAllowThreads(__tstate);
39644 if (PyErr_Occurred()) SWIG_fail;
39645 }
39646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
39647 return resultobj;
39648fail:
39649 return NULL;
d55e5bfc
RD
39650}
39651
39652
554f62e9
RD
39653SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39654 PyObject *obj;
39655 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39656 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
39657 return SWIG_Py_Void();
d55e5bfc
RD
39658}
39659
554f62e9
RD
39660SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39661 return SWIG_Python_InitShadowInstance(args);
39662}
d55e5bfc 39663
f52cbe90
RD
39664SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39665 PyObject *resultobj = 0;
39666 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39667 void *argp1 = 0 ;
39668 int res1 = 0 ;
39669 PyObject *swig_obj[1] ;
39670
39671 if (!args) SWIG_fail;
39672 swig_obj[0] = args;
39673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39674 if (!SWIG_IsOK(res1)) {
39675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39676 }
39677 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39678 {
39679 PyThreadState* __tstate = wxPyBeginAllowThreads();
39680 delete arg1;
39681
39682 wxPyEndAllowThreads(__tstate);
39683 if (PyErr_Occurred()) SWIG_fail;
39684 }
39685 resultobj = SWIG_Py_Void();
39686 return resultobj;
39687fail:
39688 return NULL;
39689}
39690
39691
554f62e9
RD
39692SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39693 PyObject *resultobj = 0;
39694 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39695 wxHelpProvider *result = 0 ;
39696 int res1 = 0 ;
39697 PyObject * obj0 = 0 ;
39698 char * kwnames[] = {
39699 (char *) "helpProvider", NULL
39700 };
39701
39702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
39703 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39704 if (!SWIG_IsOK(res1)) {
39705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39706 }
39707 {
39708 PyThreadState* __tstate = wxPyBeginAllowThreads();
39709 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
39710 wxPyEndAllowThreads(__tstate);
39711 if (PyErr_Occurred()) SWIG_fail;
39712 }
39713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
39714 return resultobj;
39715fail:
39716 return NULL;
d55e5bfc
RD
39717}
39718
39719
554f62e9
RD
39720SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39721 PyObject *resultobj = 0;
39722 wxHelpProvider *result = 0 ;
39723
39724 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
39725 {
39726 PyThreadState* __tstate = wxPyBeginAllowThreads();
39727 result = (wxHelpProvider *)wxHelpProvider::Get();
39728 wxPyEndAllowThreads(__tstate);
39729 if (PyErr_Occurred()) SWIG_fail;
39730 }
39731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39732 return resultobj;
39733fail:
39734 return NULL;
39735}
39736
39737
39738SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39739 PyObject *resultobj = 0;
39740 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39741 wxWindow *arg2 = (wxWindow *) 0 ;
39742 wxString result;
39743 void *argp1 = 0 ;
39744 int res1 = 0 ;
39745 void *argp2 = 0 ;
39746 int res2 = 0 ;
39747 PyObject * obj0 = 0 ;
39748 PyObject * obj1 = 0 ;
39749 char * kwnames[] = {
39750 (char *) "self",(char *) "window", NULL
39751 };
39752
39753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39755 if (!SWIG_IsOK(res1)) {
39756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39757 }
39758 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39760 if (!SWIG_IsOK(res2)) {
39761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39762 }
39763 arg2 = reinterpret_cast< wxWindow * >(argp2);
39764 {
39765 PyThreadState* __tstate = wxPyBeginAllowThreads();
39766 result = (arg1)->GetHelp((wxWindow const *)arg2);
39767 wxPyEndAllowThreads(__tstate);
39768 if (PyErr_Occurred()) SWIG_fail;
39769 }
39770 {
39771#if wxUSE_UNICODE
39772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39773#else
39774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39775#endif
39776 }
39777 return resultobj;
39778fail:
39779 return NULL;
39780}
39781
39782
39783SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39784 PyObject *resultobj = 0;
39785 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39786 wxWindow *arg2 = (wxWindow *) 0 ;
39787 bool result;
39788 void *argp1 = 0 ;
39789 int res1 = 0 ;
39790 void *argp2 = 0 ;
39791 int res2 = 0 ;
39792 PyObject * obj0 = 0 ;
39793 PyObject * obj1 = 0 ;
39794 char * kwnames[] = {
39795 (char *) "self",(char *) "window", NULL
39796 };
39797
39798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39800 if (!SWIG_IsOK(res1)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39802 }
39803 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39805 if (!SWIG_IsOK(res2)) {
39806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39807 }
39808 arg2 = reinterpret_cast< wxWindow * >(argp2);
39809 {
39810 PyThreadState* __tstate = wxPyBeginAllowThreads();
39811 result = (bool)(arg1)->ShowHelp(arg2);
39812 wxPyEndAllowThreads(__tstate);
39813 if (PyErr_Occurred()) SWIG_fail;
39814 }
39815 {
39816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39817 }
39818 return resultobj;
39819fail:
39820 return NULL;
39821}
39822
39823
39824SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39825 PyObject *resultobj = 0;
39826 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39827 wxWindow *arg2 = (wxWindow *) 0 ;
39828 wxString *arg3 = 0 ;
39829 void *argp1 = 0 ;
39830 int res1 = 0 ;
39831 void *argp2 = 0 ;
39832 int res2 = 0 ;
39833 bool temp3 = false ;
39834 PyObject * obj0 = 0 ;
39835 PyObject * obj1 = 0 ;
39836 PyObject * obj2 = 0 ;
39837 char * kwnames[] = {
39838 (char *) "self",(char *) "window",(char *) "text", NULL
39839 };
39840
39841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39843 if (!SWIG_IsOK(res1)) {
39844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39845 }
39846 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39848 if (!SWIG_IsOK(res2)) {
39849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39850 }
39851 arg2 = reinterpret_cast< wxWindow * >(argp2);
39852 {
39853 arg3 = wxString_in_helper(obj2);
39854 if (arg3 == NULL) SWIG_fail;
39855 temp3 = true;
39856 }
39857 {
39858 PyThreadState* __tstate = wxPyBeginAllowThreads();
39859 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39860 wxPyEndAllowThreads(__tstate);
39861 if (PyErr_Occurred()) SWIG_fail;
39862 }
39863 resultobj = SWIG_Py_Void();
39864 {
39865 if (temp3)
39866 delete arg3;
39867 }
39868 return resultobj;
39869fail:
39870 {
39871 if (temp3)
39872 delete arg3;
39873 }
39874 return NULL;
39875}
39876
39877
39878SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39879 PyObject *resultobj = 0;
39880 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39881 int arg2 ;
39882 wxString *arg3 = 0 ;
39883 void *argp1 = 0 ;
39884 int res1 = 0 ;
39885 int val2 ;
39886 int ecode2 = 0 ;
39887 bool temp3 = false ;
39888 PyObject * obj0 = 0 ;
39889 PyObject * obj1 = 0 ;
39890 PyObject * obj2 = 0 ;
39891 char * kwnames[] = {
39892 (char *) "self",(char *) "id",(char *) "text", NULL
39893 };
39894
39895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39897 if (!SWIG_IsOK(res1)) {
39898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39899 }
39900 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39901 ecode2 = SWIG_AsVal_int(obj1, &val2);
39902 if (!SWIG_IsOK(ecode2)) {
39903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39904 }
39905 arg2 = static_cast< int >(val2);
39906 {
39907 arg3 = wxString_in_helper(obj2);
39908 if (arg3 == NULL) SWIG_fail;
39909 temp3 = true;
39910 }
39911 {
39912 PyThreadState* __tstate = wxPyBeginAllowThreads();
39913 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39914 wxPyEndAllowThreads(__tstate);
39915 if (PyErr_Occurred()) SWIG_fail;
39916 }
39917 resultobj = SWIG_Py_Void();
39918 {
39919 if (temp3)
39920 delete arg3;
39921 }
39922 return resultobj;
39923fail:
39924 {
39925 if (temp3)
39926 delete arg3;
39927 }
39928 return NULL;
39929}
39930
39931
39932SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39933 PyObject *resultobj = 0;
39934 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39935 wxWindow *arg2 = (wxWindow *) 0 ;
39936 void *argp1 = 0 ;
39937 int res1 = 0 ;
39938 void *argp2 = 0 ;
39939 int res2 = 0 ;
39940 PyObject * obj0 = 0 ;
39941 PyObject * obj1 = 0 ;
39942 char * kwnames[] = {
39943 (char *) "self",(char *) "window", NULL
39944 };
39945
39946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39948 if (!SWIG_IsOK(res1)) {
39949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39950 }
39951 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39953 if (!SWIG_IsOK(res2)) {
39954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39955 }
39956 arg2 = reinterpret_cast< wxWindow * >(argp2);
39957 {
39958 PyThreadState* __tstate = wxPyBeginAllowThreads();
39959 (arg1)->RemoveHelp(arg2);
39960 wxPyEndAllowThreads(__tstate);
39961 if (PyErr_Occurred()) SWIG_fail;
39962 }
39963 resultobj = SWIG_Py_Void();
39964 return resultobj;
39965fail:
39966 return NULL;
d55e5bfc
RD
39967}
39968
39969
554f62e9
RD
39970SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39971 PyObject *resultobj = 0;
39972 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39973 void *argp1 = 0 ;
39974 int res1 = 0 ;
39975 PyObject *swig_obj[1] ;
39976
39977 if (!args) SWIG_fail;
39978 swig_obj[0] = args;
39979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39980 if (!SWIG_IsOK(res1)) {
39981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39982 }
39983 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39984 {
39985 PyThreadState* __tstate = wxPyBeginAllowThreads();
39986 wxHelpProvider_Destroy(arg1);
39987 wxPyEndAllowThreads(__tstate);
39988 if (PyErr_Occurred()) SWIG_fail;
39989 }
39990 resultobj = SWIG_Py_Void();
39991 return resultobj;
39992fail:
39993 return NULL;
d55e5bfc
RD
39994}
39995
39996
554f62e9
RD
39997SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39998 PyObject *obj;
39999 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40000 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40001 return SWIG_Py_Void();
d55e5bfc
RD
40002}
40003
554f62e9
RD
40004SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40005 PyObject *resultobj = 0;
40006 wxSimpleHelpProvider *result = 0 ;
40007
40008 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40009 {
40010 PyThreadState* __tstate = wxPyBeginAllowThreads();
40011 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40012 wxPyEndAllowThreads(__tstate);
40013 if (PyErr_Occurred()) SWIG_fail;
40014 }
40015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40016 return resultobj;
40017fail:
40018 return NULL;
40019}
40020
40021
40022SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40023 PyObject *obj;
40024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40026 return SWIG_Py_Void();
40027}
40028
40029SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40030 return SWIG_Python_InitShadowInstance(args);
40031}
40032
40033SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40034 PyObject *resultobj = 0;
40035 wxBitmap *arg1 = 0 ;
40036 wxCursor const &arg2_defvalue = wxNullCursor ;
40037 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40038 wxGenericDragImage *result = 0 ;
40039 void *argp1 = 0 ;
40040 int res1 = 0 ;
40041 void *argp2 = 0 ;
40042 int res2 = 0 ;
40043 PyObject * obj0 = 0 ;
40044 PyObject * obj1 = 0 ;
40045 char * kwnames[] = {
40046 (char *) "image",(char *) "cursor", NULL
40047 };
40048
40049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40050 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40051 if (!SWIG_IsOK(res1)) {
40052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40053 }
40054 if (!argp1) {
40055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40056 }
40057 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40058 if (obj1) {
40059 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40060 if (!SWIG_IsOK(res2)) {
40061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40062 }
554f62e9
RD
40063 if (!argp2) {
40064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40065 }
554f62e9
RD
40066 arg2 = reinterpret_cast< wxCursor * >(argp2);
40067 }
40068 {
40069 if (!wxPyCheckForApp()) SWIG_fail;
40070 PyThreadState* __tstate = wxPyBeginAllowThreads();
40071 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40072 wxPyEndAllowThreads(__tstate);
40073 if (PyErr_Occurred()) SWIG_fail;
40074 }
40075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40076 return resultobj;
40077fail:
40078 return NULL;
40079}
40080
40081
40082SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40083 PyObject *resultobj = 0;
40084 wxIcon *arg1 = 0 ;
40085 wxCursor const &arg2_defvalue = wxNullCursor ;
40086 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40087 wxGenericDragImage *result = 0 ;
40088 void *argp1 = 0 ;
40089 int res1 = 0 ;
40090 void *argp2 = 0 ;
40091 int res2 = 0 ;
40092 PyObject * obj0 = 0 ;
40093 PyObject * obj1 = 0 ;
40094 char * kwnames[] = {
40095 (char *) "image",(char *) "cursor", NULL
40096 };
40097
40098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40099 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40100 if (!SWIG_IsOK(res1)) {
40101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40102 }
40103 if (!argp1) {
40104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40105 }
40106 arg1 = reinterpret_cast< wxIcon * >(argp1);
40107 if (obj1) {
40108 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40109 if (!SWIG_IsOK(res2)) {
40110 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40111 }
554f62e9
RD
40112 if (!argp2) {
40113 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40114 }
554f62e9
RD
40115 arg2 = reinterpret_cast< wxCursor * >(argp2);
40116 }
40117 {
40118 if (!wxPyCheckForApp()) SWIG_fail;
40119 PyThreadState* __tstate = wxPyBeginAllowThreads();
40120 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40121 wxPyEndAllowThreads(__tstate);
40122 if (PyErr_Occurred()) SWIG_fail;
40123 }
40124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40125 return resultobj;
40126fail:
40127 return NULL;
40128}
40129
40130
40131SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40132 PyObject *resultobj = 0;
40133 wxString *arg1 = 0 ;
40134 wxCursor const &arg2_defvalue = wxNullCursor ;
40135 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40136 wxGenericDragImage *result = 0 ;
40137 bool temp1 = false ;
40138 void *argp2 = 0 ;
40139 int res2 = 0 ;
40140 PyObject * obj0 = 0 ;
40141 PyObject * obj1 = 0 ;
40142 char * kwnames[] = {
40143 (char *) "str",(char *) "cursor", NULL
40144 };
40145
40146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40147 {
40148 arg1 = wxString_in_helper(obj0);
40149 if (arg1 == NULL) SWIG_fail;
40150 temp1 = true;
40151 }
40152 if (obj1) {
40153 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40154 if (!SWIG_IsOK(res2)) {
40155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40156 }
554f62e9
RD
40157 if (!argp2) {
40158 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40159 }
554f62e9
RD
40160 arg2 = reinterpret_cast< wxCursor * >(argp2);
40161 }
40162 {
40163 if (!wxPyCheckForApp()) SWIG_fail;
40164 PyThreadState* __tstate = wxPyBeginAllowThreads();
40165 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40166 wxPyEndAllowThreads(__tstate);
40167 if (PyErr_Occurred()) SWIG_fail;
40168 }
40169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40170 {
40171 if (temp1)
40172 delete arg1;
40173 }
40174 return resultobj;
40175fail:
40176 {
40177 if (temp1)
40178 delete arg1;
40179 }
40180 return NULL;
40181}
40182
40183
40184SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40185 PyObject *resultobj = 0;
40186 wxPyTreeCtrl *arg1 = 0 ;
40187 wxTreeItemId *arg2 = 0 ;
40188 wxGenericDragImage *result = 0 ;
40189 void *argp1 = 0 ;
40190 int res1 = 0 ;
40191 void *argp2 = 0 ;
40192 int res2 = 0 ;
40193 PyObject * obj0 = 0 ;
40194 PyObject * obj1 = 0 ;
40195 char * kwnames[] = {
40196 (char *) "treeCtrl",(char *) "id", NULL
40197 };
40198
40199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40200 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40201 if (!SWIG_IsOK(res1)) {
40202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40203 }
40204 if (!argp1) {
40205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40206 }
40207 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40209 if (!SWIG_IsOK(res2)) {
40210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40211 }
40212 if (!argp2) {
40213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40214 }
40215 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40216 {
40217 if (!wxPyCheckForApp()) SWIG_fail;
40218 PyThreadState* __tstate = wxPyBeginAllowThreads();
40219 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40220 wxPyEndAllowThreads(__tstate);
40221 if (PyErr_Occurred()) SWIG_fail;
40222 }
40223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40224 return resultobj;
40225fail:
40226 return NULL;
40227}
40228
40229
40230SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40231 PyObject *resultobj = 0;
40232 wxPyListCtrl *arg1 = 0 ;
40233 long arg2 ;
40234 wxGenericDragImage *result = 0 ;
40235 void *argp1 = 0 ;
40236 int res1 = 0 ;
40237 long val2 ;
40238 int ecode2 = 0 ;
40239 PyObject * obj0 = 0 ;
40240 PyObject * obj1 = 0 ;
40241 char * kwnames[] = {
40242 (char *) "listCtrl",(char *) "id", NULL
40243 };
40244
40245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40246 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40247 if (!SWIG_IsOK(res1)) {
40248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40249 }
40250 if (!argp1) {
40251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40252 }
40253 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40254 ecode2 = SWIG_AsVal_long(obj1, &val2);
40255 if (!SWIG_IsOK(ecode2)) {
40256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40257 }
40258 arg2 = static_cast< long >(val2);
40259 {
40260 if (!wxPyCheckForApp()) SWIG_fail;
40261 PyThreadState* __tstate = wxPyBeginAllowThreads();
40262 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40263 wxPyEndAllowThreads(__tstate);
40264 if (PyErr_Occurred()) SWIG_fail;
40265 }
40266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40267 return resultobj;
40268fail:
40269 return NULL;
d55e5bfc
RD
40270}
40271
40272
554f62e9
RD
40273SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40274 PyObject *resultobj = 0;
40275 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40276 void *argp1 = 0 ;
40277 int res1 = 0 ;
40278 PyObject *swig_obj[1] ;
40279
40280 if (!args) SWIG_fail;
40281 swig_obj[0] = args;
40282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40283 if (!SWIG_IsOK(res1)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40285 }
40286 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40287 {
40288 PyThreadState* __tstate = wxPyBeginAllowThreads();
40289 delete arg1;
d55e5bfc 40290
554f62e9
RD
40291 wxPyEndAllowThreads(__tstate);
40292 if (PyErr_Occurred()) SWIG_fail;
40293 }
40294 resultobj = SWIG_Py_Void();
40295 return resultobj;
40296fail:
40297 return NULL;
40298}
40299
40300
40301SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40302 PyObject *resultobj = 0;
40303 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40304 wxBitmap *arg2 = (wxBitmap *) 0 ;
40305 void *argp1 = 0 ;
40306 int res1 = 0 ;
40307 void *argp2 = 0 ;
40308 int res2 = 0 ;
40309 PyObject * obj0 = 0 ;
40310 PyObject * obj1 = 0 ;
40311 char * kwnames[] = {
40312 (char *) "self",(char *) "bitmap", NULL
40313 };
40314
40315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40317 if (!SWIG_IsOK(res1)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40319 }
40320 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40322 if (!SWIG_IsOK(res2)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40324 }
40325 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40326 {
40327 PyThreadState* __tstate = wxPyBeginAllowThreads();
40328 (arg1)->SetBackingBitmap(arg2);
40329 wxPyEndAllowThreads(__tstate);
40330 if (PyErr_Occurred()) SWIG_fail;
40331 }
40332 resultobj = SWIG_Py_Void();
40333 return resultobj;
40334fail:
40335 return NULL;
40336}
40337
40338
40339SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40340 PyObject *resultobj = 0;
40341 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40342 wxPoint *arg2 = 0 ;
40343 wxWindow *arg3 = (wxWindow *) 0 ;
40344 bool arg4 = (bool) false ;
40345 wxRect *arg5 = (wxRect *) NULL ;
40346 bool result;
40347 void *argp1 = 0 ;
40348 int res1 = 0 ;
40349 wxPoint temp2 ;
40350 void *argp3 = 0 ;
40351 int res3 = 0 ;
40352 bool val4 ;
40353 int ecode4 = 0 ;
40354 void *argp5 = 0 ;
40355 int res5 = 0 ;
40356 PyObject * obj0 = 0 ;
40357 PyObject * obj1 = 0 ;
40358 PyObject * obj2 = 0 ;
40359 PyObject * obj3 = 0 ;
40360 PyObject * obj4 = 0 ;
40361 char * kwnames[] = {
40362 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40363 };
40364
40365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40367 if (!SWIG_IsOK(res1)) {
40368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40369 }
40370 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40371 {
40372 arg2 = &temp2;
40373 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40374 }
40375 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40376 if (!SWIG_IsOK(res3)) {
40377 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40378 }
40379 arg3 = reinterpret_cast< wxWindow * >(argp3);
40380 if (obj3) {
40381 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40382 if (!SWIG_IsOK(ecode4)) {
40383 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40384 }
40385 arg4 = static_cast< bool >(val4);
40386 }
40387 if (obj4) {
40388 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40389 if (!SWIG_IsOK(res5)) {
40390 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 40391 }
554f62e9
RD
40392 arg5 = reinterpret_cast< wxRect * >(argp5);
40393 }
40394 {
40395 PyThreadState* __tstate = wxPyBeginAllowThreads();
40396 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
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
40409SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40410 PyObject *resultobj = 0;
40411 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40412 wxPoint *arg2 = 0 ;
40413 wxWindow *arg3 = (wxWindow *) 0 ;
40414 wxWindow *arg4 = (wxWindow *) 0 ;
40415 bool result;
40416 void *argp1 = 0 ;
40417 int res1 = 0 ;
40418 wxPoint temp2 ;
40419 void *argp3 = 0 ;
40420 int res3 = 0 ;
40421 void *argp4 = 0 ;
40422 int res4 = 0 ;
40423 PyObject * obj0 = 0 ;
40424 PyObject * obj1 = 0 ;
40425 PyObject * obj2 = 0 ;
40426 PyObject * obj3 = 0 ;
40427 char * kwnames[] = {
40428 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40429 };
40430
40431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40433 if (!SWIG_IsOK(res1)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40435 }
40436 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40437 {
40438 arg2 = &temp2;
40439 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40440 }
40441 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40442 if (!SWIG_IsOK(res3)) {
40443 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40444 }
40445 arg3 = reinterpret_cast< wxWindow * >(argp3);
40446 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40447 if (!SWIG_IsOK(res4)) {
40448 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40449 }
40450 arg4 = reinterpret_cast< wxWindow * >(argp4);
40451 {
40452 PyThreadState* __tstate = wxPyBeginAllowThreads();
40453 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,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;
d55e5bfc
RD
40463}
40464
40465
554f62e9
RD
40466SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40467 PyObject *resultobj = 0;
40468 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40469 bool result;
40470 void *argp1 = 0 ;
40471 int res1 = 0 ;
40472 PyObject *swig_obj[1] ;
40473
40474 if (!args) SWIG_fail;
40475 swig_obj[0] = args;
40476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40477 if (!SWIG_IsOK(res1)) {
40478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40479 }
40480 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40481 {
40482 PyThreadState* __tstate = wxPyBeginAllowThreads();
40483 result = (bool)(arg1)->EndDrag();
40484 wxPyEndAllowThreads(__tstate);
40485 if (PyErr_Occurred()) SWIG_fail;
40486 }
40487 {
40488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40489 }
40490 return resultobj;
40491fail:
40492 return NULL;
40493}
40494
40495
40496SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40497 PyObject *resultobj = 0;
40498 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40499 wxPoint *arg2 = 0 ;
40500 bool result;
40501 void *argp1 = 0 ;
40502 int res1 = 0 ;
40503 wxPoint temp2 ;
40504 PyObject * obj0 = 0 ;
40505 PyObject * obj1 = 0 ;
40506 char * kwnames[] = {
40507 (char *) "self",(char *) "pt", NULL
40508 };
40509
40510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40512 if (!SWIG_IsOK(res1)) {
40513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40514 }
40515 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40516 {
40517 arg2 = &temp2;
40518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40519 }
40520 {
40521 PyThreadState* __tstate = wxPyBeginAllowThreads();
40522 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40523 wxPyEndAllowThreads(__tstate);
40524 if (PyErr_Occurred()) SWIG_fail;
40525 }
40526 {
40527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40528 }
40529 return resultobj;
40530fail:
40531 return NULL;
d55e5bfc
RD
40532}
40533
40534
554f62e9
RD
40535SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40536 PyObject *resultobj = 0;
40537 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40538 bool result;
40539 void *argp1 = 0 ;
40540 int res1 = 0 ;
40541 PyObject *swig_obj[1] ;
40542
40543 if (!args) SWIG_fail;
40544 swig_obj[0] = args;
40545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40546 if (!SWIG_IsOK(res1)) {
40547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40548 }
40549 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40550 {
40551 PyThreadState* __tstate = wxPyBeginAllowThreads();
40552 result = (bool)(arg1)->Show();
40553 wxPyEndAllowThreads(__tstate);
40554 if (PyErr_Occurred()) SWIG_fail;
40555 }
40556 {
40557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40558 }
40559 return resultobj;
40560fail:
40561 return NULL;
d55e5bfc
RD
40562}
40563
40564
554f62e9
RD
40565SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40566 PyObject *resultobj = 0;
40567 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40568 bool result;
40569 void *argp1 = 0 ;
40570 int res1 = 0 ;
40571 PyObject *swig_obj[1] ;
40572
40573 if (!args) SWIG_fail;
40574 swig_obj[0] = args;
40575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40576 if (!SWIG_IsOK(res1)) {
40577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40578 }
40579 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40580 {
40581 PyThreadState* __tstate = wxPyBeginAllowThreads();
40582 result = (bool)(arg1)->Hide();
40583 wxPyEndAllowThreads(__tstate);
40584 if (PyErr_Occurred()) SWIG_fail;
40585 }
40586 {
40587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40588 }
40589 return resultobj;
40590fail:
40591 return NULL;
40592}
40593
40594
40595SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40596 PyObject *resultobj = 0;
40597 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40598 wxPoint *arg2 = 0 ;
40599 wxRect result;
40600 void *argp1 = 0 ;
40601 int res1 = 0 ;
40602 wxPoint temp2 ;
40603 PyObject * obj0 = 0 ;
40604 PyObject * obj1 = 0 ;
40605 char * kwnames[] = {
40606 (char *) "self",(char *) "pos", NULL
40607 };
40608
40609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
40610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40611 if (!SWIG_IsOK(res1)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40613 }
40614 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40615 {
40616 arg2 = &temp2;
40617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40618 }
40619 {
40620 PyThreadState* __tstate = wxPyBeginAllowThreads();
40621 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
40622 wxPyEndAllowThreads(__tstate);
40623 if (PyErr_Occurred()) SWIG_fail;
40624 }
40625 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
40626 return resultobj;
40627fail:
40628 return NULL;
40629}
40630
40631
40632SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40633 PyObject *resultobj = 0;
40634 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40635 wxDC *arg2 = 0 ;
40636 wxPoint *arg3 = 0 ;
40637 bool result;
40638 void *argp1 = 0 ;
40639 int res1 = 0 ;
40640 void *argp2 = 0 ;
40641 int res2 = 0 ;
40642 wxPoint temp3 ;
40643 PyObject * obj0 = 0 ;
40644 PyObject * obj1 = 0 ;
40645 PyObject * obj2 = 0 ;
40646 char * kwnames[] = {
40647 (char *) "self",(char *) "dc",(char *) "pos", NULL
40648 };
40649
40650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40652 if (!SWIG_IsOK(res1)) {
40653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40654 }
40655 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40657 if (!SWIG_IsOK(res2)) {
40658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40659 }
40660 if (!argp2) {
40661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40662 }
40663 arg2 = reinterpret_cast< wxDC * >(argp2);
40664 {
40665 arg3 = &temp3;
40666 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40667 }
40668 {
40669 PyThreadState* __tstate = wxPyBeginAllowThreads();
40670 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
40671 wxPyEndAllowThreads(__tstate);
40672 if (PyErr_Occurred()) SWIG_fail;
40673 }
40674 {
40675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40676 }
40677 return resultobj;
40678fail:
40679 return NULL;
40680}
40681
40682
40683SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40684 PyObject *resultobj = 0;
40685 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40686 wxDC *arg2 = 0 ;
40687 wxMemoryDC *arg3 = 0 ;
40688 wxRect *arg4 = 0 ;
40689 wxRect *arg5 = 0 ;
40690 bool result;
40691 void *argp1 = 0 ;
40692 int res1 = 0 ;
40693 void *argp2 = 0 ;
40694 int res2 = 0 ;
40695 void *argp3 = 0 ;
40696 int res3 = 0 ;
40697 wxRect temp4 ;
40698 wxRect temp5 ;
40699 PyObject * obj0 = 0 ;
40700 PyObject * obj1 = 0 ;
40701 PyObject * obj2 = 0 ;
40702 PyObject * obj3 = 0 ;
40703 PyObject * obj4 = 0 ;
40704 char * kwnames[] = {
40705 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40706 };
40707
40708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40710 if (!SWIG_IsOK(res1)) {
40711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40712 }
40713 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40715 if (!SWIG_IsOK(res2)) {
40716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40717 }
40718 if (!argp2) {
40719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40720 }
40721 arg2 = reinterpret_cast< wxDC * >(argp2);
40722 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
40723 if (!SWIG_IsOK(res3)) {
40724 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40725 }
40726 if (!argp3) {
40727 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40728 }
40729 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
40730 {
40731 arg4 = &temp4;
40732 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
40733 }
40734 {
40735 arg5 = &temp5;
40736 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
40737 }
40738 {
40739 PyThreadState* __tstate = wxPyBeginAllowThreads();
40740 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
40741 wxPyEndAllowThreads(__tstate);
40742 if (PyErr_Occurred()) SWIG_fail;
40743 }
40744 {
40745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40746 }
40747 return resultobj;
40748fail:
40749 return NULL;
40750}
40751
40752
40753SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40754 PyObject *resultobj = 0;
40755 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40756 wxPoint *arg2 = 0 ;
40757 wxPoint *arg3 = 0 ;
40758 bool arg4 ;
40759 bool arg5 ;
40760 bool result;
40761 void *argp1 = 0 ;
40762 int res1 = 0 ;
40763 wxPoint temp2 ;
40764 wxPoint temp3 ;
40765 bool val4 ;
40766 int ecode4 = 0 ;
40767 bool val5 ;
40768 int ecode5 = 0 ;
40769 PyObject * obj0 = 0 ;
40770 PyObject * obj1 = 0 ;
40771 PyObject * obj2 = 0 ;
40772 PyObject * obj3 = 0 ;
40773 PyObject * obj4 = 0 ;
40774 char * kwnames[] = {
40775 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40776 };
40777
40778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40780 if (!SWIG_IsOK(res1)) {
40781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40782 }
40783 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40784 {
40785 arg2 = &temp2;
40786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40787 }
40788 {
40789 arg3 = &temp3;
40790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40791 }
40792 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40793 if (!SWIG_IsOK(ecode4)) {
40794 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40795 }
40796 arg4 = static_cast< bool >(val4);
40797 ecode5 = SWIG_AsVal_bool(obj4, &val5);
40798 if (!SWIG_IsOK(ecode5)) {
40799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40800 }
40801 arg5 = static_cast< bool >(val5);
40802 {
40803 PyThreadState* __tstate = wxPyBeginAllowThreads();
40804 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
40805 wxPyEndAllowThreads(__tstate);
40806 if (PyErr_Occurred()) SWIG_fail;
40807 }
40808 {
40809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40810 }
40811 return resultobj;
40812fail:
40813 return NULL;
d55e5bfc
RD
40814}
40815
40816
554f62e9
RD
40817SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40818 PyObject *obj;
40819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40820 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
40821 return SWIG_Py_Void();
d55e5bfc
RD
40822}
40823
554f62e9
RD
40824SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40825 return SWIG_Python_InitShadowInstance(args);
40826}
d55e5bfc 40827
554f62e9
RD
40828SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
40829 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
40830 return 1;
d55e5bfc
RD
40831}
40832
40833
554f62e9
RD
40834SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
40835 PyObject *pyobj = 0;
40836
40837 {
40838#if wxUSE_UNICODE
40839 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40840#else
40841 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40842#endif
40843 }
40844 return pyobj;
40845}
40846
40847
40848SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40849 PyObject *resultobj = 0;
40850 wxWindow *arg1 = (wxWindow *) 0 ;
40851 int arg2 = (int) -1 ;
40852 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
40853 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
40854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
40855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
40856 wxSize const &arg5_defvalue = wxDefaultSize ;
40857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
40858 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
40859 wxValidator const &arg7_defvalue = wxDefaultValidator ;
40860 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
40861 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
40862 wxString *arg8 = (wxString *) &arg8_defvalue ;
40863 wxDatePickerCtrl *result = 0 ;
40864 void *argp1 = 0 ;
40865 int res1 = 0 ;
40866 int val2 ;
40867 int ecode2 = 0 ;
40868 void *argp3 = 0 ;
40869 int res3 = 0 ;
40870 wxPoint temp4 ;
40871 wxSize temp5 ;
40872 long val6 ;
40873 int ecode6 = 0 ;
40874 void *argp7 = 0 ;
40875 int res7 = 0 ;
40876 bool temp8 = false ;
40877 PyObject * obj0 = 0 ;
40878 PyObject * obj1 = 0 ;
40879 PyObject * obj2 = 0 ;
40880 PyObject * obj3 = 0 ;
40881 PyObject * obj4 = 0 ;
40882 PyObject * obj5 = 0 ;
40883 PyObject * obj6 = 0 ;
40884 PyObject * obj7 = 0 ;
40885 char * kwnames[] = {
40886 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40887 };
40888
40889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
40890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40891 if (!SWIG_IsOK(res1)) {
40892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40893 }
40894 arg1 = reinterpret_cast< wxWindow * >(argp1);
40895 if (obj1) {
40896 ecode2 = SWIG_AsVal_int(obj1, &val2);
40897 if (!SWIG_IsOK(ecode2)) {
40898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40899 }
40900 arg2 = static_cast< int >(val2);
40901 }
40902 if (obj2) {
40903 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
40904 if (!SWIG_IsOK(res3)) {
40905 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 40906 }
554f62e9
RD
40907 if (!argp3) {
40908 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 40909 }
554f62e9
RD
40910 arg3 = reinterpret_cast< wxDateTime * >(argp3);
40911 }
40912 if (obj3) {
d55e5bfc 40913 {
554f62e9
RD
40914 arg4 = &temp4;
40915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 40916 }
554f62e9
RD
40917 }
40918 if (obj4) {
093d3ff1 40919 {
554f62e9
RD
40920 arg5 = &temp5;
40921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 40922 }
554f62e9
RD
40923 }
40924 if (obj5) {
40925 ecode6 = SWIG_AsVal_long(obj5, &val6);
40926 if (!SWIG_IsOK(ecode6)) {
40927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40928 }
40929 arg6 = static_cast< long >(val6);
40930 }
40931 if (obj6) {
40932 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
40933 if (!SWIG_IsOK(res7)) {
40934 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 40935 }
554f62e9
RD
40936 if (!argp7) {
40937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 40938 }
554f62e9
RD
40939 arg7 = reinterpret_cast< wxValidator * >(argp7);
40940 }
40941 if (obj7) {
d55e5bfc 40942 {
554f62e9
RD
40943 arg8 = wxString_in_helper(obj7);
40944 if (arg8 == NULL) SWIG_fail;
40945 temp8 = true;
d55e5bfc 40946 }
554f62e9
RD
40947 }
40948 {
40949 if (!wxPyCheckForApp()) SWIG_fail;
40950 PyThreadState* __tstate = wxPyBeginAllowThreads();
40951 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
40952 wxPyEndAllowThreads(__tstate);
40953 if (PyErr_Occurred()) SWIG_fail;
40954 }
40955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
40956 {
40957 if (temp8)
40958 delete arg8;
40959 }
40960 return resultobj;
40961fail:
40962 {
40963 if (temp8)
40964 delete arg8;
40965 }
40966 return NULL;
d55e5bfc
RD
40967}
40968
40969
554f62e9
RD
40970SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40971 PyObject *resultobj = 0;
40972 wxDatePickerCtrl *result = 0 ;
40973
40974 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
40975 {
40976 if (!wxPyCheckForApp()) SWIG_fail;
40977 PyThreadState* __tstate = wxPyBeginAllowThreads();
40978 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
40979 wxPyEndAllowThreads(__tstate);
40980 if (PyErr_Occurred()) SWIG_fail;
40981 }
40982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
40983 return resultobj;
40984fail:
40985 return NULL;
40986}
40987
40988
40989SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40990 PyObject *resultobj = 0;
40991 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
40992 wxWindow *arg2 = (wxWindow *) 0 ;
40993 int arg3 = (int) -1 ;
40994 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
40995 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
40996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
40997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
40998 wxSize const &arg6_defvalue = wxDefaultSize ;
40999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41000 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41001 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41002 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41003 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41004 wxString *arg9 = (wxString *) &arg9_defvalue ;
41005 bool result;
41006 void *argp1 = 0 ;
41007 int res1 = 0 ;
41008 void *argp2 = 0 ;
41009 int res2 = 0 ;
41010 int val3 ;
41011 int ecode3 = 0 ;
41012 void *argp4 = 0 ;
41013 int res4 = 0 ;
41014 wxPoint temp5 ;
41015 wxSize temp6 ;
41016 long val7 ;
41017 int ecode7 = 0 ;
41018 void *argp8 = 0 ;
41019 int res8 = 0 ;
41020 bool temp9 = false ;
41021 PyObject * obj0 = 0 ;
41022 PyObject * obj1 = 0 ;
41023 PyObject * obj2 = 0 ;
41024 PyObject * obj3 = 0 ;
41025 PyObject * obj4 = 0 ;
41026 PyObject * obj5 = 0 ;
41027 PyObject * obj6 = 0 ;
41028 PyObject * obj7 = 0 ;
41029 PyObject * obj8 = 0 ;
41030 char * kwnames[] = {
41031 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41032 };
41033
41034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41036 if (!SWIG_IsOK(res1)) {
41037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41038 }
41039 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41041 if (!SWIG_IsOK(res2)) {
41042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41043 }
41044 arg2 = reinterpret_cast< wxWindow * >(argp2);
41045 if (obj2) {
41046 ecode3 = SWIG_AsVal_int(obj2, &val3);
41047 if (!SWIG_IsOK(ecode3)) {
41048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41049 }
41050 arg3 = static_cast< int >(val3);
41051 }
41052 if (obj3) {
41053 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41054 if (!SWIG_IsOK(res4)) {
41055 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
093d3ff1 41056 }
554f62e9
RD
41057 if (!argp4) {
41058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41059 }
554f62e9
RD
41060 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41061 }
41062 if (obj4) {
093d3ff1 41063 {
554f62e9
RD
41064 arg5 = &temp5;
41065 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41066 }
554f62e9
RD
41067 }
41068 if (obj5) {
d55e5bfc 41069 {
554f62e9
RD
41070 arg6 = &temp6;
41071 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41072 }
554f62e9
RD
41073 }
41074 if (obj6) {
41075 ecode7 = SWIG_AsVal_long(obj6, &val7);
41076 if (!SWIG_IsOK(ecode7)) {
41077 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41078 }
41079 arg7 = static_cast< long >(val7);
41080 }
41081 if (obj7) {
41082 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41083 if (!SWIG_IsOK(res8)) {
41084 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41085 }
41086 if (!argp8) {
41087 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41088 }
554f62e9
RD
41089 arg8 = reinterpret_cast< wxValidator * >(argp8);
41090 }
41091 if (obj8) {
d55e5bfc 41092 {
554f62e9
RD
41093 arg9 = wxString_in_helper(obj8);
41094 if (arg9 == NULL) SWIG_fail;
41095 temp9 = true;
d55e5bfc 41096 }
554f62e9
RD
41097 }
41098 {
41099 PyThreadState* __tstate = wxPyBeginAllowThreads();
41100 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41101 wxPyEndAllowThreads(__tstate);
41102 if (PyErr_Occurred()) SWIG_fail;
41103 }
41104 {
41105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41106 }
41107 {
41108 if (temp9)
41109 delete arg9;
41110 }
41111 return resultobj;
41112fail:
41113 {
41114 if (temp9)
41115 delete arg9;
41116 }
41117 return NULL;
41118}
41119
41120
41121SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41122 PyObject *resultobj = 0;
41123 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41124 wxDateTime *arg2 = 0 ;
41125 void *argp1 = 0 ;
41126 int res1 = 0 ;
41127 void *argp2 = 0 ;
41128 int res2 = 0 ;
41129 PyObject * obj0 = 0 ;
41130 PyObject * obj1 = 0 ;
41131 char * kwnames[] = {
41132 (char *) "self",(char *) "dt", NULL
41133 };
41134
41135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41137 if (!SWIG_IsOK(res1)) {
41138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41139 }
41140 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41142 if (!SWIG_IsOK(res2)) {
41143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41144 }
41145 if (!argp2) {
41146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41147 }
41148 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41149 {
41150 PyThreadState* __tstate = wxPyBeginAllowThreads();
41151 (arg1)->SetValue((wxDateTime const &)*arg2);
41152 wxPyEndAllowThreads(__tstate);
41153 if (PyErr_Occurred()) SWIG_fail;
41154 }
41155 resultobj = SWIG_Py_Void();
41156 return resultobj;
41157fail:
41158 return NULL;
d55e5bfc
RD
41159}
41160
41161
554f62e9
RD
41162SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41163 PyObject *resultobj = 0;
41164 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41165 wxDateTime result;
41166 void *argp1 = 0 ;
41167 int res1 = 0 ;
41168 PyObject *swig_obj[1] ;
41169
41170 if (!args) SWIG_fail;
41171 swig_obj[0] = args;
41172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41173 if (!SWIG_IsOK(res1)) {
41174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41175 }
41176 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41177 {
41178 PyThreadState* __tstate = wxPyBeginAllowThreads();
41179 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41180 wxPyEndAllowThreads(__tstate);
41181 if (PyErr_Occurred()) SWIG_fail;
41182 }
41183 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41184 return resultobj;
41185fail:
41186 return NULL;
41187}
41188
41189
41190SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41191 PyObject *resultobj = 0;
41192 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41193 wxDateTime *arg2 = 0 ;
41194 wxDateTime *arg3 = 0 ;
41195 void *argp1 = 0 ;
41196 int res1 = 0 ;
41197 void *argp2 = 0 ;
41198 int res2 = 0 ;
41199 void *argp3 = 0 ;
41200 int res3 = 0 ;
41201 PyObject * obj0 = 0 ;
41202 PyObject * obj1 = 0 ;
41203 PyObject * obj2 = 0 ;
41204 char * kwnames[] = {
41205 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41206 };
41207
41208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41210 if (!SWIG_IsOK(res1)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41212 }
41213 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41215 if (!SWIG_IsOK(res2)) {
41216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41217 }
41218 if (!argp2) {
41219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41220 }
41221 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41222 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41223 if (!SWIG_IsOK(res3)) {
41224 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41225 }
41226 if (!argp3) {
41227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41228 }
41229 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41230 {
41231 PyThreadState* __tstate = wxPyBeginAllowThreads();
41232 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41233 wxPyEndAllowThreads(__tstate);
41234 if (PyErr_Occurred()) SWIG_fail;
41235 }
41236 resultobj = SWIG_Py_Void();
41237 return resultobj;
41238fail:
41239 return NULL;
d55e5bfc
RD
41240}
41241
41242
554f62e9
RD
41243SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41244 PyObject *resultobj = 0;
41245 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41246 wxDateTime result;
41247 void *argp1 = 0 ;
41248 int res1 = 0 ;
41249 PyObject *swig_obj[1] ;
41250
41251 if (!args) SWIG_fail;
41252 swig_obj[0] = args;
41253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41254 if (!SWIG_IsOK(res1)) {
41255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41256 }
41257 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41258 {
41259 PyThreadState* __tstate = wxPyBeginAllowThreads();
41260 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41261 wxPyEndAllowThreads(__tstate);
41262 if (PyErr_Occurred()) SWIG_fail;
41263 }
41264 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41265 return resultobj;
41266fail:
41267 return NULL;
d55e5bfc
RD
41268}
41269
41270
554f62e9
RD
41271SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41272 PyObject *resultobj = 0;
41273 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41274 wxDateTime result;
41275 void *argp1 = 0 ;
41276 int res1 = 0 ;
41277 PyObject *swig_obj[1] ;
41278
41279 if (!args) SWIG_fail;
41280 swig_obj[0] = args;
41281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41282 if (!SWIG_IsOK(res1)) {
41283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41284 }
41285 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41286 {
41287 PyThreadState* __tstate = wxPyBeginAllowThreads();
41288 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41289 wxPyEndAllowThreads(__tstate);
41290 if (PyErr_Occurred()) SWIG_fail;
41291 }
41292 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41293 return resultobj;
41294fail:
41295 return NULL;
d55e5bfc
RD
41296}
41297
41298
554f62e9
RD
41299SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41300 PyObject *obj;
41301 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41303 return SWIG_Py_Void();
d55e5bfc
RD
41304}
41305
554f62e9
RD
41306SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41307 return SWIG_Python_InitShadowInstance(args);
41308}
d55e5bfc 41309
704eda0c
RD
41310SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41311 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41312 return 1;
41313}
41314
41315
41316SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41317 PyObject *pyobj = 0;
41318
41319 {
41320#if wxUSE_UNICODE
41321 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41322#else
41323 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41324#endif
41325 }
41326 return pyobj;
41327}
41328
41329
41330SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41331 PyObject *resultobj = 0;
41332 wxWindow *arg1 = (wxWindow *) 0 ;
41333 int arg2 ;
41334 wxString *arg3 = 0 ;
41335 wxString *arg4 = 0 ;
41336 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41337 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41338 wxSize const &arg6_defvalue = wxDefaultSize ;
41339 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41340 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41341 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41342 wxString *arg8 = (wxString *) &arg8_defvalue ;
41343 wxHyperlinkCtrl *result = 0 ;
41344 void *argp1 = 0 ;
41345 int res1 = 0 ;
41346 int val2 ;
41347 int ecode2 = 0 ;
41348 bool temp3 = false ;
41349 bool temp4 = false ;
41350 wxPoint temp5 ;
41351 wxSize temp6 ;
41352 long val7 ;
41353 int ecode7 = 0 ;
41354 bool temp8 = false ;
41355 PyObject * obj0 = 0 ;
41356 PyObject * obj1 = 0 ;
41357 PyObject * obj2 = 0 ;
41358 PyObject * obj3 = 0 ;
41359 PyObject * obj4 = 0 ;
41360 PyObject * obj5 = 0 ;
41361 PyObject * obj6 = 0 ;
41362 PyObject * obj7 = 0 ;
41363 char * kwnames[] = {
41364 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41365 };
41366
41367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41369 if (!SWIG_IsOK(res1)) {
41370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41371 }
41372 arg1 = reinterpret_cast< wxWindow * >(argp1);
41373 ecode2 = SWIG_AsVal_int(obj1, &val2);
41374 if (!SWIG_IsOK(ecode2)) {
41375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41376 }
41377 arg2 = static_cast< int >(val2);
41378 {
41379 arg3 = wxString_in_helper(obj2);
41380 if (arg3 == NULL) SWIG_fail;
41381 temp3 = true;
41382 }
41383 {
41384 arg4 = wxString_in_helper(obj3);
41385 if (arg4 == NULL) SWIG_fail;
41386 temp4 = true;
41387 }
41388 if (obj4) {
41389 {
41390 arg5 = &temp5;
41391 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41392 }
41393 }
41394 if (obj5) {
41395 {
41396 arg6 = &temp6;
41397 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41398 }
41399 }
41400 if (obj6) {
41401 ecode7 = SWIG_AsVal_long(obj6, &val7);
41402 if (!SWIG_IsOK(ecode7)) {
41403 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41404 }
41405 arg7 = static_cast< long >(val7);
41406 }
41407 if (obj7) {
41408 {
41409 arg8 = wxString_in_helper(obj7);
41410 if (arg8 == NULL) SWIG_fail;
41411 temp8 = true;
41412 }
41413 }
41414 {
41415 if (!wxPyCheckForApp()) SWIG_fail;
41416 PyThreadState* __tstate = wxPyBeginAllowThreads();
41417 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41418 wxPyEndAllowThreads(__tstate);
41419 if (PyErr_Occurred()) SWIG_fail;
41420 }
41421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41422 {
41423 if (temp3)
41424 delete arg3;
41425 }
41426 {
41427 if (temp4)
41428 delete arg4;
41429 }
41430 {
41431 if (temp8)
41432 delete arg8;
41433 }
41434 return resultobj;
41435fail:
41436 {
41437 if (temp3)
41438 delete arg3;
41439 }
41440 {
41441 if (temp4)
41442 delete arg4;
41443 }
41444 {
41445 if (temp8)
41446 delete arg8;
41447 }
41448 return NULL;
41449}
41450
41451
41452SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41453 PyObject *resultobj = 0;
41454 wxHyperlinkCtrl *result = 0 ;
41455
41456 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41457 {
41458 if (!wxPyCheckForApp()) SWIG_fail;
41459 PyThreadState* __tstate = wxPyBeginAllowThreads();
41460 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41461 wxPyEndAllowThreads(__tstate);
41462 if (PyErr_Occurred()) SWIG_fail;
41463 }
41464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41465 return resultobj;
41466fail:
41467 return NULL;
41468}
41469
41470
41471SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41472 PyObject *resultobj = 0;
41473 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41474 wxWindow *arg2 = (wxWindow *) 0 ;
41475 int arg3 ;
41476 wxString *arg4 = 0 ;
41477 wxString *arg5 = 0 ;
41478 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41479 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41480 wxSize const &arg7_defvalue = wxDefaultSize ;
41481 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41482 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41483 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41484 wxString *arg9 = (wxString *) &arg9_defvalue ;
41485 bool result;
41486 void *argp1 = 0 ;
41487 int res1 = 0 ;
41488 void *argp2 = 0 ;
41489 int res2 = 0 ;
41490 int val3 ;
41491 int ecode3 = 0 ;
41492 bool temp4 = false ;
41493 bool temp5 = false ;
41494 wxPoint temp6 ;
41495 wxSize temp7 ;
41496 long val8 ;
41497 int ecode8 = 0 ;
41498 bool temp9 = false ;
41499 PyObject * obj0 = 0 ;
41500 PyObject * obj1 = 0 ;
41501 PyObject * obj2 = 0 ;
41502 PyObject * obj3 = 0 ;
41503 PyObject * obj4 = 0 ;
41504 PyObject * obj5 = 0 ;
41505 PyObject * obj6 = 0 ;
41506 PyObject * obj7 = 0 ;
41507 PyObject * obj8 = 0 ;
41508 char * kwnames[] = {
41509 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41510 };
41511
41512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41514 if (!SWIG_IsOK(res1)) {
41515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41516 }
41517 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41518 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41519 if (!SWIG_IsOK(res2)) {
41520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41521 }
41522 arg2 = reinterpret_cast< wxWindow * >(argp2);
41523 ecode3 = SWIG_AsVal_int(obj2, &val3);
41524 if (!SWIG_IsOK(ecode3)) {
41525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41526 }
41527 arg3 = static_cast< int >(val3);
41528 {
41529 arg4 = wxString_in_helper(obj3);
41530 if (arg4 == NULL) SWIG_fail;
41531 temp4 = true;
41532 }
41533 {
41534 arg5 = wxString_in_helper(obj4);
41535 if (arg5 == NULL) SWIG_fail;
41536 temp5 = true;
41537 }
41538 if (obj5) {
41539 {
41540 arg6 = &temp6;
41541 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41542 }
41543 }
41544 if (obj6) {
41545 {
41546 arg7 = &temp7;
41547 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41548 }
41549 }
41550 if (obj7) {
41551 ecode8 = SWIG_AsVal_long(obj7, &val8);
41552 if (!SWIG_IsOK(ecode8)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41554 }
41555 arg8 = static_cast< long >(val8);
41556 }
41557 if (obj8) {
41558 {
41559 arg9 = wxString_in_helper(obj8);
41560 if (arg9 == NULL) SWIG_fail;
41561 temp9 = true;
41562 }
41563 }
41564 {
41565 PyThreadState* __tstate = wxPyBeginAllowThreads();
41566 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41567 wxPyEndAllowThreads(__tstate);
41568 if (PyErr_Occurred()) SWIG_fail;
41569 }
41570 {
41571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41572 }
41573 {
41574 if (temp4)
41575 delete arg4;
41576 }
41577 {
41578 if (temp5)
41579 delete arg5;
41580 }
41581 {
41582 if (temp9)
41583 delete arg9;
41584 }
41585 return resultobj;
41586fail:
41587 {
41588 if (temp4)
41589 delete arg4;
41590 }
41591 {
41592 if (temp5)
41593 delete arg5;
41594 }
41595 {
41596 if (temp9)
41597 delete arg9;
41598 }
41599 return NULL;
41600}
41601
41602
41603SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41604 PyObject *resultobj = 0;
41605 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41606 wxColour result;
41607 void *argp1 = 0 ;
41608 int res1 = 0 ;
41609 PyObject *swig_obj[1] ;
41610
41611 if (!args) SWIG_fail;
41612 swig_obj[0] = args;
41613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41614 if (!SWIG_IsOK(res1)) {
41615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41616 }
41617 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41618 {
41619 PyThreadState* __tstate = wxPyBeginAllowThreads();
41620 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
41621 wxPyEndAllowThreads(__tstate);
41622 if (PyErr_Occurred()) SWIG_fail;
41623 }
41624 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41625 return resultobj;
41626fail:
41627 return NULL;
41628}
41629
41630
41631SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41632 PyObject *resultobj = 0;
41633 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41634 wxColour *arg2 = 0 ;
41635 void *argp1 = 0 ;
41636 int res1 = 0 ;
41637 wxColour temp2 ;
41638 PyObject * obj0 = 0 ;
41639 PyObject * obj1 = 0 ;
41640 char * kwnames[] = {
41641 (char *) "self",(char *) "colour", NULL
41642 };
41643
41644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
41645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41646 if (!SWIG_IsOK(res1)) {
41647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41648 }
41649 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41650 {
41651 arg2 = &temp2;
41652 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41653 }
41654 {
41655 PyThreadState* __tstate = wxPyBeginAllowThreads();
41656 (arg1)->SetHoverColour((wxColour const &)*arg2);
41657 wxPyEndAllowThreads(__tstate);
41658 if (PyErr_Occurred()) SWIG_fail;
41659 }
41660 resultobj = SWIG_Py_Void();
41661 return resultobj;
41662fail:
41663 return NULL;
41664}
41665
41666
41667SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41668 PyObject *resultobj = 0;
41669 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41670 wxColour result;
41671 void *argp1 = 0 ;
41672 int res1 = 0 ;
41673 PyObject *swig_obj[1] ;
41674
41675 if (!args) SWIG_fail;
41676 swig_obj[0] = args;
41677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41678 if (!SWIG_IsOK(res1)) {
41679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41680 }
41681 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41682 {
41683 PyThreadState* __tstate = wxPyBeginAllowThreads();
41684 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
41685 wxPyEndAllowThreads(__tstate);
41686 if (PyErr_Occurred()) SWIG_fail;
41687 }
41688 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41689 return resultobj;
41690fail:
41691 return NULL;
41692}
41693
41694
41695SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41696 PyObject *resultobj = 0;
41697 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41698 wxColour *arg2 = 0 ;
41699 void *argp1 = 0 ;
41700 int res1 = 0 ;
41701 wxColour temp2 ;
41702 PyObject * obj0 = 0 ;
41703 PyObject * obj1 = 0 ;
41704 char * kwnames[] = {
41705 (char *) "self",(char *) "colour", NULL
41706 };
41707
41708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
41709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41710 if (!SWIG_IsOK(res1)) {
41711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41712 }
41713 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41714 {
41715 arg2 = &temp2;
41716 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41717 }
41718 {
41719 PyThreadState* __tstate = wxPyBeginAllowThreads();
41720 (arg1)->SetNormalColour((wxColour const &)*arg2);
41721 wxPyEndAllowThreads(__tstate);
41722 if (PyErr_Occurred()) SWIG_fail;
41723 }
41724 resultobj = SWIG_Py_Void();
41725 return resultobj;
41726fail:
41727 return NULL;
41728}
41729
41730
41731SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41732 PyObject *resultobj = 0;
41733 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41734 wxColour result;
41735 void *argp1 = 0 ;
41736 int res1 = 0 ;
41737 PyObject *swig_obj[1] ;
41738
41739 if (!args) SWIG_fail;
41740 swig_obj[0] = args;
41741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41742 if (!SWIG_IsOK(res1)) {
41743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41744 }
41745 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41746 {
41747 PyThreadState* __tstate = wxPyBeginAllowThreads();
41748 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
41749 wxPyEndAllowThreads(__tstate);
41750 if (PyErr_Occurred()) SWIG_fail;
41751 }
41752 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41753 return resultobj;
41754fail:
41755 return NULL;
41756}
41757
41758
41759SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41760 PyObject *resultobj = 0;
41761 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41762 wxColour *arg2 = 0 ;
41763 void *argp1 = 0 ;
41764 int res1 = 0 ;
41765 wxColour temp2 ;
41766 PyObject * obj0 = 0 ;
41767 PyObject * obj1 = 0 ;
41768 char * kwnames[] = {
41769 (char *) "self",(char *) "colour", NULL
41770 };
41771
41772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
41773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41774 if (!SWIG_IsOK(res1)) {
41775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41776 }
41777 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41778 {
41779 arg2 = &temp2;
41780 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41781 }
41782 {
41783 PyThreadState* __tstate = wxPyBeginAllowThreads();
41784 (arg1)->SetVisitedColour((wxColour const &)*arg2);
41785 wxPyEndAllowThreads(__tstate);
41786 if (PyErr_Occurred()) SWIG_fail;
41787 }
41788 resultobj = SWIG_Py_Void();
41789 return resultobj;
41790fail:
41791 return NULL;
41792}
41793
41794
41795SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41796 PyObject *resultobj = 0;
41797 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41798 wxString result;
41799 void *argp1 = 0 ;
41800 int res1 = 0 ;
41801 PyObject *swig_obj[1] ;
41802
41803 if (!args) SWIG_fail;
41804 swig_obj[0] = args;
41805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41806 if (!SWIG_IsOK(res1)) {
41807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41808 }
41809 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41810 {
41811 PyThreadState* __tstate = wxPyBeginAllowThreads();
41812 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
41813 wxPyEndAllowThreads(__tstate);
41814 if (PyErr_Occurred()) SWIG_fail;
41815 }
41816 {
41817#if wxUSE_UNICODE
41818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
41819#else
41820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
41821#endif
41822 }
41823 return resultobj;
41824fail:
41825 return NULL;
41826}
41827
41828
41829SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41830 PyObject *resultobj = 0;
41831 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41832 wxString *arg2 = 0 ;
41833 void *argp1 = 0 ;
41834 int res1 = 0 ;
41835 bool temp2 = false ;
41836 PyObject * obj0 = 0 ;
41837 PyObject * obj1 = 0 ;
41838 char * kwnames[] = {
41839 (char *) "self",(char *) "url", NULL
41840 };
41841
41842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
41843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41844 if (!SWIG_IsOK(res1)) {
41845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41846 }
41847 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41848 {
41849 arg2 = wxString_in_helper(obj1);
41850 if (arg2 == NULL) SWIG_fail;
41851 temp2 = true;
41852 }
41853 {
41854 PyThreadState* __tstate = wxPyBeginAllowThreads();
41855 (arg1)->SetURL((wxString const &)*arg2);
41856 wxPyEndAllowThreads(__tstate);
41857 if (PyErr_Occurred()) SWIG_fail;
41858 }
41859 resultobj = SWIG_Py_Void();
41860 {
41861 if (temp2)
41862 delete arg2;
41863 }
41864 return resultobj;
41865fail:
41866 {
41867 if (temp2)
41868 delete arg2;
41869 }
41870 return NULL;
41871}
41872
41873
41874SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41875 PyObject *resultobj = 0;
41876 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41877 bool arg2 = (bool) true ;
41878 void *argp1 = 0 ;
41879 int res1 = 0 ;
41880 bool val2 ;
41881 int ecode2 = 0 ;
41882 PyObject * obj0 = 0 ;
41883 PyObject * obj1 = 0 ;
41884 char * kwnames[] = {
41885 (char *) "self",(char *) "visited", NULL
41886 };
41887
41888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
41889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41890 if (!SWIG_IsOK(res1)) {
41891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41892 }
41893 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41894 if (obj1) {
41895 ecode2 = SWIG_AsVal_bool(obj1, &val2);
41896 if (!SWIG_IsOK(ecode2)) {
41897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41898 }
41899 arg2 = static_cast< bool >(val2);
41900 }
41901 {
41902 PyThreadState* __tstate = wxPyBeginAllowThreads();
41903 (arg1)->SetVisited(arg2);
41904 wxPyEndAllowThreads(__tstate);
41905 if (PyErr_Occurred()) SWIG_fail;
41906 }
41907 resultobj = SWIG_Py_Void();
41908 return resultobj;
41909fail:
41910 return NULL;
41911}
41912
41913
41914SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41915 PyObject *resultobj = 0;
41916 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41917 bool result;
41918 void *argp1 = 0 ;
41919 int res1 = 0 ;
41920 PyObject *swig_obj[1] ;
41921
41922 if (!args) SWIG_fail;
41923 swig_obj[0] = args;
41924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41925 if (!SWIG_IsOK(res1)) {
41926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41927 }
41928 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41929 {
41930 PyThreadState* __tstate = wxPyBeginAllowThreads();
41931 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
41932 wxPyEndAllowThreads(__tstate);
41933 if (PyErr_Occurred()) SWIG_fail;
41934 }
41935 {
41936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41937 }
41938 return resultobj;
41939fail:
41940 return NULL;
41941}
41942
41943
41944SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41945 PyObject *obj;
41946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41947 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
41948 return SWIG_Py_Void();
41949}
41950
41951SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41952 return SWIG_Python_InitShadowInstance(args);
41953}
41954
41955SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41956 PyObject *resultobj = 0;
41957 wxObject *arg1 = (wxObject *) 0 ;
41958 int arg2 ;
41959 wxString *arg3 = 0 ;
41960 wxHyperlinkEvent *result = 0 ;
41961 void *argp1 = 0 ;
41962 int res1 = 0 ;
41963 int val2 ;
41964 int ecode2 = 0 ;
41965 bool temp3 = false ;
41966 PyObject * obj0 = 0 ;
41967 PyObject * obj1 = 0 ;
41968 PyObject * obj2 = 0 ;
41969 char * kwnames[] = {
41970 (char *) "generator",(char *) "id",(char *) "url", NULL
41971 };
41972
41973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
41975 if (!SWIG_IsOK(res1)) {
41976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41977 }
41978 arg1 = reinterpret_cast< wxObject * >(argp1);
41979 ecode2 = SWIG_AsVal_int(obj1, &val2);
41980 if (!SWIG_IsOK(ecode2)) {
41981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41982 }
41983 arg2 = static_cast< int >(val2);
41984 {
41985 arg3 = wxString_in_helper(obj2);
41986 if (arg3 == NULL) SWIG_fail;
41987 temp3 = true;
41988 }
41989 {
41990 PyThreadState* __tstate = wxPyBeginAllowThreads();
41991 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
41992 wxPyEndAllowThreads(__tstate);
41993 if (PyErr_Occurred()) SWIG_fail;
41994 }
41995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
41996 {
41997 if (temp3)
41998 delete arg3;
41999 }
42000 return resultobj;
42001fail:
42002 {
42003 if (temp3)
42004 delete arg3;
42005 }
42006 return NULL;
42007}
42008
42009
42010SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42011 PyObject *resultobj = 0;
42012 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42013 wxString result;
42014 void *argp1 = 0 ;
42015 int res1 = 0 ;
42016 PyObject *swig_obj[1] ;
42017
42018 if (!args) SWIG_fail;
42019 swig_obj[0] = args;
42020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42021 if (!SWIG_IsOK(res1)) {
42022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42023 }
42024 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42025 {
42026 PyThreadState* __tstate = wxPyBeginAllowThreads();
42027 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42028 wxPyEndAllowThreads(__tstate);
42029 if (PyErr_Occurred()) SWIG_fail;
42030 }
42031 {
42032#if wxUSE_UNICODE
42033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42034#else
42035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42036#endif
42037 }
42038 return resultobj;
42039fail:
42040 return NULL;
42041}
42042
42043
42044SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42045 PyObject *resultobj = 0;
42046 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42047 wxString *arg2 = 0 ;
42048 void *argp1 = 0 ;
42049 int res1 = 0 ;
42050 bool temp2 = false ;
42051 PyObject * obj0 = 0 ;
42052 PyObject * obj1 = 0 ;
42053 char * kwnames[] = {
42054 (char *) "self",(char *) "url", NULL
42055 };
42056
42057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42059 if (!SWIG_IsOK(res1)) {
42060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42061 }
42062 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42063 {
42064 arg2 = wxString_in_helper(obj1);
42065 if (arg2 == NULL) SWIG_fail;
42066 temp2 = true;
42067 }
42068 {
42069 PyThreadState* __tstate = wxPyBeginAllowThreads();
42070 (arg1)->SetURL((wxString const &)*arg2);
42071 wxPyEndAllowThreads(__tstate);
42072 if (PyErr_Occurred()) SWIG_fail;
42073 }
42074 resultobj = SWIG_Py_Void();
42075 {
42076 if (temp2)
42077 delete arg2;
42078 }
42079 return resultobj;
42080fail:
42081 {
42082 if (temp2)
42083 delete arg2;
42084 }
42085 return NULL;
42086}
42087
42088
42089SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42090 PyObject *obj;
42091 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42092 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42093 return SWIG_Py_Void();
42094}
42095
42096SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42097 return SWIG_Python_InitShadowInstance(args);
42098}
42099
554f62e9
RD
42100static PyMethodDef SwigMethods[] = {
42101 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
42102 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
42103 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42104 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
42105 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
42106 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42107 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
42108 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
42109 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
42110 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
42111 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42112 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
42113 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
42114 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
42115 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
42116 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
42117 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
42118 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
42119 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
42120 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42121 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
42122 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
42123 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
42124 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
42125 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
42126 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
42127 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
42128 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
42129 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42130 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
42131 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
42132 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42133 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
42134 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
42135 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
42136 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
42137 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42138 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
42139 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
42140 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
42141 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
42142 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42143 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
42144 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42145 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
42146 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
42147 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
42148 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
42149 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42150 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
42151 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42152 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
42153 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
42154 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
42155 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
42156 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
42157 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
42158 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
42159 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
42160 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
42161 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
42162 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
50f151d7 42163 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42164 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
42165 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
42166 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
42167 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
42168 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
42169 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
42170 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
42171 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
42172 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
42173 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
42174 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
42175 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
42176 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42177 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
42178 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
42179 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
42180 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
42181 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42182 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
42183 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
42184 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42185 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
42186 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
42187 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
42188 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
42189 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
42190 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
42191 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42192 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
42193 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
42194 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
42195 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
42196 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42197 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42198 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
42199 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
42200 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
42201 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
42202 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42203 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
42204 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
42205 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42206 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
42207 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
42208 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
42209 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
42210 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42211 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
42212 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42213 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
42214 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
42215 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
42216 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
42217 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42218 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
42219 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
42220 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
42221 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42222 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
42223 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
42224 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
42225 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
42226 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42227 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
42228 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
42229 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
42230 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
42231 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42232 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
42233 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
42234 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
42235 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42236 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
42237 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
42238 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
42239 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42240 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42241 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
42242 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
42243 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42244 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42245 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
42246 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42247 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
42248 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
42249 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
42250 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
42251 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42252 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
42253 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
42254 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
42255 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
42256 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
42257 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
42258 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
42259 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
f460c29d 42260 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42261 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42262 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42263 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
42264 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
42265 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
42266 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
42267 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
42268 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
42269 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
42270 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
42271 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
42272 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
42273 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
42274 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
42275 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
42276 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
42277 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
42278 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
42279 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
42280 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
42281 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
42282 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
42283 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
42284 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
42285 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
42286 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
42287 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
42288 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
42289 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
42290 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42291 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
42292 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42293 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
42294 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42295 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
42296 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
42297 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
42298 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
42299 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
42300 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
42301 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
42302 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
42303 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
42304 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
42305 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
42306 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
42307 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
42308 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
42309 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
42310 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
42311 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
42312 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
42313 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
42314 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
42315 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
42316 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
42317 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
42318 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
42319 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
42320 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42321 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
42322 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42323 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
42324 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
42325 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
42326 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
42327 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
42328 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
42329 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
42330 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
42331 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
42332 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
42333 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
42334 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
42335 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
42336 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
42337 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
42338 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
42339 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42340 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
42341 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
42342 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
42343 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
42344 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
42345 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
42346 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42347 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
42348 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
42349 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42350 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
42351 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
42352 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
42353 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
42354 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
42355 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
42356 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
42357 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42358 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
42359 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
42360 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
42361 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
42362 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
42363 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42364 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42365 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
42366 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
42367 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
42368 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
42369 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42370 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
42371 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
42372 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
42373 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42374 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
42375 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
42376 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
42377 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
42378 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42379 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
42380 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
42381 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42382 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
42383 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42384 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
42385 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42386 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
42387 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
42388 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
42389 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
42390 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42391 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42392 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
42393 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
42394 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42395 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
42396 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42397 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
42398 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
42399 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
42400 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
42401 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42402 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42403 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
42404 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
42405 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42406 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
42407 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
42408 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
42409 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
42410 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
42411 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
50f151d7
RD
42412 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
42413 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42414 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
42415 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
42416 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
f460c29d
RD
42417 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
42418 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42419 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42420 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
42421 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
42422 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
42423 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
42424 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42425 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
42426 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42427 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42428 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
42429 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
42430 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
42431 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
42432 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42433 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
42434 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42435 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
42436 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
42437 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
42438 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
42439 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
42440 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
42441 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
42442 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
42443 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
42444 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
42445 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
42446 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
42447 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
42448 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
42449 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
42450 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
42451 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
42452 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
42453 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42454 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42455 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
42456 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
42457 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
42458 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
42459 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42460 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
42461 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
42462 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42463 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
42464 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
42465 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
42466 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
42467 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
42468 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
42469 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
42470 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
42471 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42472 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42473 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
42474 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
42475 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
42476 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
42477 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
42478 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
42479 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
42480 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
42481 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
42482 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
554f62e9
RD
42483 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
42484 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 42485 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
554f62e9
RD
42486 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
42487 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
42488 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
42489 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
42490 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
42491 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42492 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 42493 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42494 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42495 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
42496 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42497 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
42498 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42499 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
42500 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42501 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
42502 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
42503 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
42504 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
42505 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42506 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
42507 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
42508 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42509 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
42510 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42511 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
42512 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
42513 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42514 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
42515 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
42516 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
42517 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
42518 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42519 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
42520 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
42521 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
42522 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42523 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
42524 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
42525 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
42526 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
42527 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42528 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
42529 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
42530 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
42531 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42532 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
42533 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
42534 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
42535 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
42536 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42537 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
42538 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
42539 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
42540 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
42541 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
42542 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
42543 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
42544 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
42545 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
42546 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42547 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
42548 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
42549 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
42550 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
42551 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42552 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
42553 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
42554 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
42555 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
42556 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42557 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
42558 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
42559 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
42560 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
42561 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
42562 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
42563 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
42564 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
42565 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
42566 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
42567 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
42568 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
42569 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
42570 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
42571 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
42572 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
42573 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
42574 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
42575 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
42576 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
42577 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
42578 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
42579 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42580 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42581 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
42582 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
42583 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42584 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
42585 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
42586 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
42587 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
42588 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
42589 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
42590 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
42591 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
42592 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
42593 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
42594 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
42595 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
42596 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
42597 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
42598 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
42599 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
42600 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
42601 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
42602 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
42603 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
42604 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
42605 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
42606 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
42607 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
42608 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
42609 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
42610 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
42611 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42612 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42613 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42614 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
42615 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
42616 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
42617 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
42618 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
42619 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
42620 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
42621 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
42622 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
42623 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
42624 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
42625 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
42626 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
42627 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
42628 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
42629 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
42630 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42631 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
42632 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
42633 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
42634 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
42635 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
42636 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
42637 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42638 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42639 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
42640 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
42641 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
42642 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
42643 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42644 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42645 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
42646 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
42647 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
42648 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
42649 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
42650 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
42651 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
42652 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
42653 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
42654 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
42655 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
42656 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
42657 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
42658 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
42659 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
42660 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
42661 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
42662 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
42663 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
42664 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
42665 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
42666 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
42667 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
42668 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
42669 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
42670 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42671 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42672 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
42673 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
42674 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
42675 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
42676 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
42677 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
42678 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
42679 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
42680 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
42681 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
42682 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
42683 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
42684 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
42685 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
42686 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
42687 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
42688 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
42689 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
42690 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
42691 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
42692 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
42693 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
42694 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
42695 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
42696 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
42697 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
42698 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
42699 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
42700 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
42701 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
42702 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
42703 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
42704 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
42705 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
42706 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
42707 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
42708 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
42709 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42710 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
42711 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
42712 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
42713 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
42714 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
42715 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
42716 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
42717 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
42718 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
42719 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
42720 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
42721 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
42722 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
42723 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
42724 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
42725 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
42726 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
42727 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
42728 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
42729 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
42730 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
42731 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
42732 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
42733 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
42734 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
42735 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
42736 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
42737 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42738 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
42739 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42740 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
42741 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
42742 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
42743 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
42744 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
42745 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
42746 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
42747 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
42748 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
42749 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
42750 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
42751 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
42752 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
42753 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
42754 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
42755 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
42756 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
42757 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42758 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42759 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42760 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
42761 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42762 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
42763 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
42764 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
42765 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
42766 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
42767 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42768 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
42769 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
42770 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
42771 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42772 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42773 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42774 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
42775 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
42776 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
42777 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
42778 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
42779 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
42780 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
42781 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
42782 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
42783 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
42784 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42785 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42786 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42787 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
42788 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42789 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
42790 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 42791 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42792 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
42793 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
42794 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
42795 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
42796 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
42797 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
42798 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
42799 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
42800 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42801 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42802 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42803 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42804 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
42805 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
42806 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
42807 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
42808 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
42809 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
42810 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
42811 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
42812 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
42813 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42814 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
42815 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
42816 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
42817 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
42818 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
42819 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
42820 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
42821 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
42822 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
42823 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
42824 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
42825 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
42826 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
42827 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
42828 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
42829 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
42830 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
42831 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
42832 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
42833 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42834 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
42835 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
42836 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
42837 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
42838 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
42839 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
42840 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
42841 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
42842 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42843 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
42844 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
42845 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
42846 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
42847 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
42848 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
42849 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
42850 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
42851 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42852 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
42853 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42854 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
42855 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
42856 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
42857 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
42858 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
42859 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
42860 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42861 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
42862 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42863 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
42864 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
42865 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
42866 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
42867 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
42868 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
42869 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
42870 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
42871 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42872 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42873 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42874 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
42875 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
42876 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
42877 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42878 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
42879 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42880 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42881 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
42882 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
42883 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
42884 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
42885 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
42886 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
42887 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
42888 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
42889 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
42890 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
42891 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
42892 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42893 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
42894 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
42895 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
42896 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
42897 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
42898 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
42899 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
42900 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
42901 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
42902 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
42903 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
42904 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
42905 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
42906 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
42907 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
42908 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42909 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42910 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
42911 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
42912 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
42913 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
42914 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
42915 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
42916 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
42917 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
42918 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
42919 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
42920 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
42921 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
42922 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
42923 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
42924 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
42925 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
42926 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
42927 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
42928 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
42929 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42930 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
42931 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
42932 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
42933 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
42934 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
42935 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
42936 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
42937 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
42938 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
42939 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
554f62e9
RD
42940 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
42941 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
42942 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42943 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
42944 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42945 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 42946 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42947 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
42948 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
42949 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
42950 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
42951 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
42952 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
42953 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
42954 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
42955 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
42956 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
42957 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
42958 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
42959 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
42960 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
42961 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
42962 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
42963 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
42964 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
42965 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
42966 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
42967 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
42968 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
42969 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
42970 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
42971 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
42972 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
42973 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
42974 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
42975 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
42976 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
42977 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
42978 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
42979 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
42980 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
42981 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
42982 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
42983 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
42984 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
42985 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
42986 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
42987 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
42988 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
42989 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
42990 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
42991 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
42992 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
42993 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
42994 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
42995 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
42996 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
42997 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
42998 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
42999 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
43000 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
43001 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43002 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
43003 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43004 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
43005 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
43006 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
43007 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
43008 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
43009 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 43010 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
554f62e9
RD
43011 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
43012 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
43013 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43014 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43015 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43016 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
43017 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
43018 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
43019 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
43020 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
43021 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
43022 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
43023 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
43024 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
43025 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
43026 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
43027 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
43028 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
43029 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
43030 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
43031 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
43032 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
43033 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
43034 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
43035 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
43036 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
43037 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
43038 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
43039 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
43040 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
43041 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
43042 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
43043 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
43044 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
43045 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
43046 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
43047 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
43048 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
43049 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
43050 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
43051 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
43052 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
43053 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
43054 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
43055 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
43056 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
43057 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
43058 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
43059 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
43060 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
43061 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
43062 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
43063 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
43064 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
43065 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
43066 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
43067 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
43068 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
43069 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
43070 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
43071 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
554f62e9
RD
43072 { NULL, NULL, 0, NULL }
43073};
43074
43075
43076/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
43077
43078static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
43079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
43080}
43081static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
43082 return (void *)((wxEvent *) ((wxMenuEvent *) x));
43083}
43084static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
43085 return (void *)((wxEvent *) ((wxCloseEvent *) x));
43086}
43087static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
43088 return (void *)((wxEvent *) ((wxMouseEvent *) x));
43089}
43090static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
43091 return (void *)((wxEvent *) ((wxEraseEvent *) x));
43092}
43093static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
43094 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
43095}
43096static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
43097 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
43098}
43099static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
43100 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
43101}
43102static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
43103 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
43104}
43105static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
43106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
43107}
43108static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
43109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
43110}
554f62e9
RD
43111static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
43112 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
43113}
2131d850
RD
43114static void *_p_wxPyEventTo_p_wxEvent(void *x) {
43115 return (void *)((wxEvent *) ((wxPyEvent *) x));
43116}
554f62e9
RD
43117static void *_p_wxListEventTo_p_wxEvent(void *x) {
43118 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
43119}
43120static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
43121 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
43122}
43123static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
43124 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
43125}
43126static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
43127 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
43128}
43129static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
43130 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
43131}
43132static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
43133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
43134}
43135static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
43136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
43137}
43138static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
43139 return (void *)((wxEvent *) ((wxIdleEvent *) x));
43140}
43141static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
43142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
43143}
43144static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
43145 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
43146}
43147static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
43148 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
43149}
43150static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
43151 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
43152}
43153static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
43154 return (void *)((wxEvent *) ((wxActivateEvent *) x));
43155}
43156static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
43157 return (void *)((wxEvent *) ((wxSizeEvent *) x));
43158}
43159static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
43160 return (void *)((wxEvent *) ((wxMoveEvent *) x));
43161}
43162static void *_p_wxDateEventTo_p_wxEvent(void *x) {
43163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
43164}
2131d850
RD
43165static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
43166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
43167}
554f62e9
RD
43168static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
43169 return (void *)((wxEvent *) ((wxPaintEvent *) x));
43170}
43171static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
43172 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
43173}
43174static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
43175 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
43176}
43177static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
43178 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
43179}
43180static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
43181 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
43182}
43183static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
43184 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
43185}
43186static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
43187 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
43188}
704eda0c
RD
43189static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
43190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
43191}
554f62e9
RD
43192static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
43193 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
43194}
43195static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
43196 return (void *)((wxEvent *) ((wxFocusEvent *) x));
43197}
43198static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
43199 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
43200}
43201static void *_p_wxShowEventTo_p_wxEvent(void *x) {
43202 return (void *)((wxEvent *) ((wxShowEvent *) x));
43203}
43204static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
43205 return (void *)((wxEvent *) ((wxCommandEvent *) x));
43206}
43207static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
43208 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
43209}
43210static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
43211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
43212}
43213static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
43214 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
43215}
43216static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
43217 return (void *)((wxEvent *) ((wxKeyEvent *) x));
43218}
43219static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
43220 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
43221}
43222static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
43223 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
43224}
43225static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
43226 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
43227}
43228static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
43229 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
43230}
43231static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
43232 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
43233}
43234static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
43235 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
43236}
43237static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
43238 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
43239}
43240static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
43241 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
43242}
43243static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
43244 return (void *)((wxPyListCtrl *) ((wxListView *) x));
43245}
43246static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
43247 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
43248}
43249static void *_p_wxToolBarTo_p_wxControl(void *x) {
43250 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
43251}
43252static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
43253 return (void *)((wxControl *) ((wxToggleButton *) x));
43254}
43255static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
43256 return (void *)((wxControl *) ((wxRadioButton *) x));
43257}
43258static void *_p_wxToolbookTo_p_wxControl(void *x) {
43259 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
43260}
43261static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
43262 return (void *)((wxControl *) ((wxToolBarBase *) x));
43263}
43264static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
43265 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
43266}
43267static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
43268 return (void *)((wxControl *) ((wxPyListCtrl *) x));
43269}
43270static void *_p_wxComboBoxTo_p_wxControl(void *x) {
43271 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
43272}
43273static void *_p_wxPyControlTo_p_wxControl(void *x) {
43274 return (void *)((wxControl *) ((wxPyControl *) x));
43275}
43276static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
43277 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
43278}
43279static void *_p_wxScrollBarTo_p_wxControl(void *x) {
43280 return (void *)((wxControl *) ((wxScrollBar *) x));
43281}
43282static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
43283 return (void *)((wxControl *) ((wxControlWithItems *) x));
43284}
43285static void *_p_wxGaugeTo_p_wxControl(void *x) {
43286 return (void *)((wxControl *) ((wxGauge *) x));
43287}
43288static void *_p_wxStaticLineTo_p_wxControl(void *x) {
43289 return (void *)((wxControl *) ((wxStaticLine *) x));
43290}
43291static void *_p_wxChoicebookTo_p_wxControl(void *x) {
43292 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
43293}
43294static void *_p_wxListbookTo_p_wxControl(void *x) {
43295 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
43296}
704eda0c
RD
43297static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
43298 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
43299}
554f62e9
RD
43300static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
43301 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
43302}
43303static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
43304 return (void *)((wxControl *) ((wxCheckBox *) x));
43305}
43306static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
43307 return (void *)((wxControl *) ((wxRadioBox *) x));
43308}
43309static void *_p_wxChoiceTo_p_wxControl(void *x) {
43310 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
43311}
43312static void *_p_wxListBoxTo_p_wxControl(void *x) {
43313 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
43314}
43315static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
43316 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
43317}
43318static void *_p_wxListViewTo_p_wxControl(void *x) {
43319 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
43320}
43321static void *_p_wxNotebookTo_p_wxControl(void *x) {
43322 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
43323}
43324static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
43325 return (void *)((wxControl *) ((wxStaticBitmap *) x));
43326}
43327static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
43328 return (void *)((wxControl *) ((wxSpinCtrl *) x));
43329}
43330static void *_p_wxStaticTextTo_p_wxControl(void *x) {
43331 return (void *)((wxControl *) ((wxStaticText *) x));
43332}
43333static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
43334 return (void *)((wxControl *) ((wxStaticBox *) x));
43335}
43336static void *_p_wxSliderTo_p_wxControl(void *x) {
43337 return (void *)((wxControl *) ((wxSlider *) x));
43338}
43339static void *_p_wxTreebookTo_p_wxControl(void *x) {
43340 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
43341}
43342static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
43343 return (void *)((wxControl *) ((wxSpinButton *) x));
43344}
43345static void *_p_wxButtonTo_p_wxControl(void *x) {
43346 return (void *)((wxControl *) ((wxButton *) x));
43347}
43348static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
43349 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
43350}
43351static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
43352 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
43353}
43354static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
43355 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
43356}
43357static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
43358 return (void *)((wxControl *) ((wxTextCtrl *) x));
43359}
43360static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
43361 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
43362}
43363static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
43364 return (void *)((wxChoice *) ((wxComboBox *) x));
43365}
43366static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
43367 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
43368}
43369static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
43370 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
43371}
43372static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
43373 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
43374}
43375static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
43376 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
43377}
43378static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
43379 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
43380}
43381static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
43382 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
43383}
43384static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
43385 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
43386}
43387static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
43388 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
43389}
43390static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
43391 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
43392}
43393static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
43394 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
43395}
43396static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
43397 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
43398}
43399static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
43400 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
43401}
43402static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
43403 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
43404}
43405static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
43406 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
43407}
43408static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
43409 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
43410}
43411static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
43412 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
43413}
43414static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
43415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
43416}
43417static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
43418 return (void *)((wxEvtHandler *) ((wxValidator *) x));
43419}
43420static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
43421 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
43422}
43423static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
43424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
43425}
43426static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
43427 return (void *)((wxEvtHandler *) ((wxMenu *) x));
43428}
43429static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
43430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
43431}
43432static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
43433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
43434}
43435static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
43436 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
43437}
43438static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
43439 return (void *)((wxEvtHandler *) ((wxWindow *) x));
43440}
43441static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
43442 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
43443}
43444static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
43445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
43446}
43447static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
43448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
43449}
43450static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
43451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
43452}
43453static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
43454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
43455}
43456static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
43457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
43458}
43459static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
43460 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
43461}
43462static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
43463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
43464}
43465static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
43466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
43467}
43468static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
43469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
43470}
43471static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
43472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
43473}
43474static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
43475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
43476}
43477static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
43478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
43479}
43480static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
43481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
43482}
704eda0c
RD
43483static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
43484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
43485}
554f62e9
RD
43486static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
43487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
43488}
43489static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
43490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
43491}
43492static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
43493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
43494}
43495static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
43496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
43497}
43498static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
43499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
43500}
43501static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
43502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
43503}
43504static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
43505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
43506}
43507static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
43508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
43509}
43510static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
43511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
43512}
43513static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
43514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
43515}
43516static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
43517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
43518}
43519static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
43520 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
43521}
43522static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
43523 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
43524}
43525static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
43526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
43527}
43528static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
43529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
43530}
43531static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
43532 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
43533}
43534static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
43535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
43536}
43537static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
43538 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
43539}
43540static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
43541 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
43542}
43543static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
43544 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
43545}
43546static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
43547 return (void *)((wxListBox *) ((wxCheckListBox *) x));
43548}
43549static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
43550 return (void *)((wxButton *) ((wxBitmapButton *) x));
43551}
43552static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
43553 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
43554}
43555static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
43556 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
43557}
43558static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
43559 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
43560}
43561static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
43562 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
43563}
43564static void *_p_wxToolbookTo_p_wxObject(void *x) {
43565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
43566}
43567static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
43568 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
43569}
43570static void *_p_wxSizerItemTo_p_wxObject(void *x) {
43571 return (void *)((wxObject *) ((wxSizerItem *) x));
43572}
43573static void *_p_wxScrollEventTo_p_wxObject(void *x) {
43574 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
43575}
43576static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
43577 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
43578}
43579static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
43580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
43581}
43582static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
43583 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
43584}
43585static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
43586 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
43587}
43588static void *_p_wxSizerTo_p_wxObject(void *x) {
43589 return (void *)((wxObject *) ((wxSizer *) x));
43590}
43591static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
43592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
43593}
43594static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
43595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
43596}
43597static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
43598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
43599}
43600static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
43601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
43602}
43603static void *_p_wxEventTo_p_wxObject(void *x) {
43604 return (void *)((wxObject *) ((wxEvent *) x));
43605}
43606static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
43607 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
43608}
43609static void *_p_wxGridSizerTo_p_wxObject(void *x) {
43610 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
43611}
43612static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
43613 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
43614}
43615static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
43616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
43617}
43618static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
43619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
43620}
43621static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
43622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
43623}
2131d850
RD
43624static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
43625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
43626}
554f62e9
RD
43627static void *_p_wxPaintEventTo_p_wxObject(void *x) {
43628 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
43629}
43630static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
43631 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
43632}
43633static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
43634 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
43635}
43636static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
43637 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
43638}
43639static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
43640 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
43641}
43642static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
43643 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
43644}
43645static void *_p_wxStaticLineTo_p_wxObject(void *x) {
43646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
43647}
43648static void *_p_wxControlTo_p_wxObject(void *x) {
43649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
43650}
43651static void *_p_wxPyControlTo_p_wxObject(void *x) {
43652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
43653}
43654static void *_p_wxGaugeTo_p_wxObject(void *x) {
43655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
43656}
43657static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
43658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
43659}
43660static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
43661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
43662}
43663static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
43664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
43665}
43666static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
43667 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
43668}
43669static void *_p_wxChoiceTo_p_wxObject(void *x) {
43670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
43671}
43672static void *_p_wxFSFileTo_p_wxObject(void *x) {
43673 return (void *)((wxObject *) ((wxFSFile *) x));
43674}
43675static void *_p_wxPySizerTo_p_wxObject(void *x) {
43676 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
43677}
43678static void *_p_wxTreebookTo_p_wxObject(void *x) {
43679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
43680}
43681static void *_p_wxListViewTo_p_wxObject(void *x) {
43682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
43683}
704eda0c
RD
43684static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
43685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
43686}
554f62e9
RD
43687static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
43688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
43689}
43690static void *_p_wxNotebookTo_p_wxObject(void *x) {
43691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
43692}
43693static void *_p_wxPyEventTo_p_wxObject(void *x) {
43694 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
43695}
43696static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
43697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
43698}
43699static void *_p_wxChoicebookTo_p_wxObject(void *x) {
43700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
43701}
43702static void *_p_wxListbookTo_p_wxObject(void *x) {
43703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
43704}
43705static void *_p_wxShowEventTo_p_wxObject(void *x) {
43706 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
43707}
43708static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
43709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
43710}
43711static void *_p_wxSliderTo_p_wxObject(void *x) {
43712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
43713}
43714static void *_p_wxMenuItemTo_p_wxObject(void *x) {
43715 return (void *)((wxObject *) ((wxMenuItem *) x));
43716}
43717static void *_p_wxDateEventTo_p_wxObject(void *x) {
43718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
43719}
43720static void *_p_wxIdleEventTo_p_wxObject(void *x) {
43721 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
43722}
43723static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
43724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
43725}
43726static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
43727 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
43728}
43729static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
43730 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
43731}
43732static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
43733 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
43734}
43735static void *_p_wxSizeEventTo_p_wxObject(void *x) {
43736 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
43737}
43738static void *_p_wxMoveEventTo_p_wxObject(void *x) {
43739 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
43740}
43741static void *_p_wxActivateEventTo_p_wxObject(void *x) {
43742 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
43743}
43744static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
43745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
43746}
43747static void *_p_wxContextHelpTo_p_wxObject(void *x) {
43748 return (void *)((wxObject *) ((wxContextHelp *) x));
43749}
43750static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
43751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
43752}
43753static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
43754 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
43755}
43756static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
43757 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
43758}
43759static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
43760 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
43761}
43762static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
43763 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
43764}
43765static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
43766 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
43767}
43768static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
43769 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
43770}
43771static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
43772 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
43773}
43774static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
43775 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
43776}
43777static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
43778 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
43779}
43780static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
43781 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
43782}
43783static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
43784 return (void *)((wxObject *) ((wxImageHandler *) x));
43785}
43786static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
43787 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
43788}
43789static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
43790 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
43791}
43792static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
43793 return (void *)((wxObject *) ((wxEvtHandler *) x));
43794}
43795static void *_p_wxListEventTo_p_wxObject(void *x) {
43796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
43797}
43798static void *_p_wxListBoxTo_p_wxObject(void *x) {
43799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
43800}
43801static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
43802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
43803}
43804static void *_p_wxButtonTo_p_wxObject(void *x) {
43805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
43806}
43807static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
43808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
43809}
43810static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
43811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
43812}
43813static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
43814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
43815}
43816static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
43817 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
43818}
43819static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
43820 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
43821}
43822static void *_p_wxScrollBarTo_p_wxObject(void *x) {
43823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
43824}
43825static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
43826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
43827}
43828static void *_p_wxComboBoxTo_p_wxObject(void *x) {
43829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
43830}
43831static void *_p_wxHelpEventTo_p_wxObject(void *x) {
43832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
43833}
43834static void *_p_wxListItemTo_p_wxObject(void *x) {
43835 return (void *)((wxObject *) ((wxListItem *) x));
43836}
43837static void *_p_wxImageTo_p_wxObject(void *x) {
43838 return (void *)((wxObject *) ((wxImage *) x));
43839}
43840static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
43841 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
43842}
43843static void *_p_wxSpinEventTo_p_wxObject(void *x) {
43844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
43845}
43846static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
43847 return (void *)((wxObject *) ((wxGenericDragImage *) x));
43848}
43849static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
43850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
43851}
43852static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
43853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
43854}
43855static void *_p_wxListbookEventTo_p_wxObject(void *x) {
43856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
43857}
43858static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
43859 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
43860}
43861static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
43862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
43863}
43864static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
43865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
43866}
43867static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
43868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
43869}
43870static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
43871 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
43872}
43873static void *_p_wxKeyEventTo_p_wxObject(void *x) {
43874 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
43875}
43876static void *_p_wxWindowTo_p_wxObject(void *x) {
43877 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
43878}
43879static void *_p_wxMenuTo_p_wxObject(void *x) {
43880 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
43881}
43882static void *_p_wxMenuBarTo_p_wxObject(void *x) {
43883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
43884}
43885static void *_p_wxFileSystemTo_p_wxObject(void *x) {
43886 return (void *)((wxObject *) ((wxFileSystem *) x));
43887}
43888static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
43889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
43890}
43891static void *_p_wxMenuEventTo_p_wxObject(void *x) {
43892 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
43893}
43894static void *_p_wxPyAppTo_p_wxObject(void *x) {
43895 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
43896}
43897static void *_p_wxCloseEventTo_p_wxObject(void *x) {
43898 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
43899}
43900static void *_p_wxMouseEventTo_p_wxObject(void *x) {
43901 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
43902}
43903static void *_p_wxEraseEventTo_p_wxObject(void *x) {
43904 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
43905}
43906static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
43907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
43908}
43909static void *_p_wxTreeEventTo_p_wxObject(void *x) {
43910 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
43911}
43912static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
43913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
43914}
43915static void *_p_wxCommandEventTo_p_wxObject(void *x) {
43916 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
43917}
43918static void *_p_wxStaticTextTo_p_wxObject(void *x) {
43919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
43920}
43921static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
43922 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
43923}
43924static void *_p_wxFocusEventTo_p_wxObject(void *x) {
43925 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
43926}
43927static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
43928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
43929}
43930static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
43931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
43932}
43933static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
43934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
43935}
704eda0c
RD
43936static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
43937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
43938}
554f62e9
RD
43939static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
43940 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
43941}
43942static void *_p_wxToolBarTo_p_wxObject(void *x) {
43943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
43944}
43945static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
43946 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
43947}
43948static void *_p_wxValidatorTo_p_wxObject(void *x) {
43949 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
43950}
43951static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
43952 return (void *)((wxWindow *) ((wxMenuBar *) x));
43953}
43954static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
43955 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
43956}
43957static void *_p_wxToolBarTo_p_wxWindow(void *x) {
43958 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
43959}
43960static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
43961 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
43962}
43963static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
43964 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
43965}
43966static void *_p_wxToolbookTo_p_wxWindow(void *x) {
43967 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
43968}
43969static void *_p_wxControlTo_p_wxWindow(void *x) {
43970 return (void *)((wxWindow *) ((wxControl *) x));
43971}
43972static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
43973 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
43974}
43975static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
43976 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
43977}
43978static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
43979 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
43980}
43981static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
43982 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
43983}
43984static void *_p_wxPyControlTo_p_wxWindow(void *x) {
43985 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
43986}
43987static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
43988 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
43989}
43990static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
43991 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
43992}
43993static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
43994 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
43995}
43996static void *_p_wxGaugeTo_p_wxWindow(void *x) {
43997 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
43998}
43999static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
44000 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
44001}
44002static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
44003 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
44004}
44005static void *_p_wxListbookTo_p_wxWindow(void *x) {
44006 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44007}
704eda0c
RD
44008static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
44009 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
44010}
554f62e9
RD
44011static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
44012 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
44013}
44014static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
44015 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
44016}
44017static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
44018 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
44019}
44020static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
44021 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
44022}
44023static void *_p_wxChoiceTo_p_wxWindow(void *x) {
44024 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
44025}
44026static void *_p_wxListBoxTo_p_wxWindow(void *x) {
44027 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
44028}
44029static void *_p_wxListViewTo_p_wxWindow(void *x) {
44030 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
44031}
44032static void *_p_wxNotebookTo_p_wxWindow(void *x) {
44033 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44034}
44035static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
44036 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
44037}
44038static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
44039 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
44040}
44041static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
44042 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
44043}
44044static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
44045 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
44046}
44047static void *_p_wxSliderTo_p_wxWindow(void *x) {
44048 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
44049}
44050static void *_p_wxTreebookTo_p_wxWindow(void *x) {
44051 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
44052}
44053static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
44054 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
44055}
44056static void *_p_wxButtonTo_p_wxWindow(void *x) {
44057 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
44058}
44059static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
44060 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
44061}
44062static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
44063 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
44064}
44065static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
44066 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
44067}
44068static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
44069 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
44070}
44071static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
44072 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44073}
44074static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
44075 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44076}
44077static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
44078 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
44079}
44080static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
44081 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
44082}
44083static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
44084 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
44085}
44086static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
44087 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
44088}
704eda0c
RD
44089static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
44090 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
44091}
2131d850
RD
44092static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
44093 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
44094}
554f62e9
RD
44095static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
44096 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
44097}
44098static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
44099 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
44100}
44101static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
44102 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
44103}
44104static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
44105 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
44106}
44107static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
44108 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
44109}
554f62e9
RD
44110static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
44111 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44112}
2131d850
RD
44113static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
44114 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44115}
554f62e9
RD
44116static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
44117 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
44118}
44119static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
44120 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
44121}
44122static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
44123 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
44124}
44125static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
44126 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
44127}
44128static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
44129 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
44130}
44131static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
44132 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
44133}
44134static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
44135 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
44136}
44137static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
44138 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
44139}
44140static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
44141 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
44142}
44143static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
44144 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
44145}
44146static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
44147 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
44148}
44149static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
44150 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
44151}
44152static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
44153 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
44154}
44155static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
44156 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
44157}
44158static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
44159 return (void *)((wxControlWithItems *) ((wxChoice *) x));
44160}
44161static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
44162 return (void *)((wxControlWithItems *) ((wxListBox *) x));
44163}
44164static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
44165 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
44166}
44167static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
44168 return (void *)((wxValidator *) ((wxPyValidator *) x));
44169}
44170static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
44171static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
44172static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
44173static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
44174static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
44175static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
44176static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
44177static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
44178static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
44179static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
44180static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
44181static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
44182static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
44183static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
44184static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
44185static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
44186static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
44187static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
44188static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
44189static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
44190static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
44191static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
44192static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
44193static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
44194static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 44195static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
44196static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
44197static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
44198static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
44199static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
44200static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
44201static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
44202static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
44203static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
44204static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
44205static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
44206static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
44207static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
44208static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
44209static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
44210static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
44211static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
44212static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
44213static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
44214static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
44215static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
44216static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
44217static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
44218static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
44219static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
44220static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
44221static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
44222static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
44223static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
44224static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
44225static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
44226static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
44227static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
44228static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
44229static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
44230static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
44231static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
44232static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
44233static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
44234static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
44235static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
44236static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
44237static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
44238static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
44239static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
44240static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
44241static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
44242static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
44243static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
44244static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
44245static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
44246static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
44247static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
44248static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
44249static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
44250static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
44251static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
44252static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
44253static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
44254static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
44255static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
44256static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
44257static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
44258static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
44259static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
44260static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
44261static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
44262static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
44263static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
44264static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
44265static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
44266static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
44267static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
44268static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
44269static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
44270static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
44271static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
44272static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
44273static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
44274static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
44275static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
44276static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
44277static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
44278static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
44279static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
44280static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
44281static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
44282static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
44283static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
44284static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
44285static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
44286static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
44287static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
44288static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
44289static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
704eda0c 44290static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 44291static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
44292static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
44293static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
44294static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
44295static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
44296static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
44297static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
44298static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
44299static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44300static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44301static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44302static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44303static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44304static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44305static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44306static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44307static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44308static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44309static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44310static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44311static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44312static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44313static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44314static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44315static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44316static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44317static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44318static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44319static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44320static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44321static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44322static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44323static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44324static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44325static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44326static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44327static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44328static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44329static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44330static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44331static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44332static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44333static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44334static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44335static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44336
44337static swig_type_info *swig_type_initial[] = {
44338 &_swigt__p_bool,
44339 &_swigt__p_char,
44340 &_swigt__p_form_ops_t,
44341 &_swigt__p_int,
44342 &_swigt__p_long,
44343 &_swigt__p_unsigned_char,
44344 &_swigt__p_unsigned_int,
44345 &_swigt__p_unsigned_long,
44346 &_swigt__p_void,
44347 &_swigt__p_wxANIHandler,
44348 &_swigt__p_wxAcceleratorTable,
44349 &_swigt__p_wxActivateEvent,
44350 &_swigt__p_wxArrayInt,
44351 &_swigt__p_wxArrayString,
44352 &_swigt__p_wxBMPHandler,
44353 &_swigt__p_wxBitmap,
44354 &_swigt__p_wxBitmapButton,
44355 &_swigt__p_wxBookCtrlBase,
44356 &_swigt__p_wxBookCtrlBaseEvent,
44357 &_swigt__p_wxBoxSizer,
44358 &_swigt__p_wxButton,
44359 &_swigt__p_wxCURHandler,
44360 &_swigt__p_wxCheckBox,
44361 &_swigt__p_wxCheckListBox,
44362 &_swigt__p_wxChildFocusEvent,
44363 &_swigt__p_wxChoice,
44364 &_swigt__p_wxChoicebook,
44365 &_swigt__p_wxChoicebookEvent,
2131d850 44366 &_swigt__p_wxClipboardTextEvent,
554f62e9
RD
44367 &_swigt__p_wxCloseEvent,
44368 &_swigt__p_wxColour,
44369 &_swigt__p_wxComboBox,
44370 &_swigt__p_wxCommandEvent,
44371 &_swigt__p_wxContextHelp,
44372 &_swigt__p_wxContextHelpButton,
44373 &_swigt__p_wxContextMenuEvent,
44374 &_swigt__p_wxControl,
44375 &_swigt__p_wxControlWithItems,
44376 &_swigt__p_wxCursor,
44377 &_swigt__p_wxDC,
44378 &_swigt__p_wxDateEvent,
44379 &_swigt__p_wxDatePickerCtrl,
44380 &_swigt__p_wxDateTime,
44381 &_swigt__p_wxDirFilterListCtrl,
44382 &_swigt__p_wxDisplayChangedEvent,
44383 &_swigt__p_wxDropFilesEvent,
44384 &_swigt__p_wxDuplexMode,
44385 &_swigt__p_wxEraseEvent,
44386 &_swigt__p_wxEvent,
44387 &_swigt__p_wxEvtHandler,
44388 &_swigt__p_wxFSFile,
44389 &_swigt__p_wxFileSystem,
44390 &_swigt__p_wxFlexGridSizer,
44391 &_swigt__p_wxFocusEvent,
44392 &_swigt__p_wxFont,
44393 &_swigt__p_wxGBSizerItem,
44394 &_swigt__p_wxGIFHandler,
44395 &_swigt__p_wxGauge,
44396 &_swigt__p_wxGenericDirCtrl,
44397 &_swigt__p_wxGenericDragImage,
44398 &_swigt__p_wxGridBagSizer,
44399 &_swigt__p_wxGridSizer,
44400 &_swigt__p_wxHelpEvent,
44401 &_swigt__p_wxHelpProvider,
704eda0c
RD
44402 &_swigt__p_wxHyperlinkCtrl,
44403 &_swigt__p_wxHyperlinkEvent,
554f62e9
RD
44404 &_swigt__p_wxICOHandler,
44405 &_swigt__p_wxIcon,
44406 &_swigt__p_wxIconizeEvent,
44407 &_swigt__p_wxIdleEvent,
44408 &_swigt__p_wxImage,
44409 &_swigt__p_wxImageHandler,
44410 &_swigt__p_wxImageList,
44411 &_swigt__p_wxIndividualLayoutConstraint,
44412 &_swigt__p_wxInitDialogEvent,
44413 &_swigt__p_wxItemContainer,
44414 &_swigt__p_wxJPEGHandler,
44415 &_swigt__p_wxKeyEvent,
44416 &_swigt__p_wxLayoutConstraints,
44417 &_swigt__p_wxListBox,
44418 &_swigt__p_wxListEvent,
44419 &_swigt__p_wxListItem,
44420 &_swigt__p_wxListItemAttr,
44421 &_swigt__p_wxListView,
44422 &_swigt__p_wxListbook,
44423 &_swigt__p_wxListbookEvent,
44424 &_swigt__p_wxMaximizeEvent,
44425 &_swigt__p_wxMemoryDC,
44426 &_swigt__p_wxMenu,
44427 &_swigt__p_wxMenuBar,
44428 &_swigt__p_wxMenuEvent,
44429 &_swigt__p_wxMenuItem,
44430 &_swigt__p_wxMouseCaptureChangedEvent,
44431 &_swigt__p_wxMouseEvent,
44432 &_swigt__p_wxMoveEvent,
44433 &_swigt__p_wxNavigationKeyEvent,
44434 &_swigt__p_wxNcPaintEvent,
44435 &_swigt__p_wxNotebook,
44436 &_swigt__p_wxNotebookEvent,
44437 &_swigt__p_wxNotifyEvent,
44438 &_swigt__p_wxObject,
44439 &_swigt__p_wxPCXHandler,
44440 &_swigt__p_wxPNGHandler,
44441 &_swigt__p_wxPNMHandler,
44442 &_swigt__p_wxPaintEvent,
44443 &_swigt__p_wxPaletteChangedEvent,
44444 &_swigt__p_wxPaperSize,
44445 &_swigt__p_wxPoint,
44446 &_swigt__p_wxPyApp,
44447 &_swigt__p_wxPyCommandEvent,
44448 &_swigt__p_wxPyControl,
44449 &_swigt__p_wxPyEvent,
44450 &_swigt__p_wxPyImageHandler,
44451 &_swigt__p_wxPyListCtrl,
44452 &_swigt__p_wxPySizer,
44453 &_swigt__p_wxPyTreeCtrl,
44454 &_swigt__p_wxPyTreeItemData,
44455 &_swigt__p_wxPyValidator,
44456 &_swigt__p_wxQueryNewPaletteEvent,
44457 &_swigt__p_wxRadioBox,
44458 &_swigt__p_wxRadioButton,
44459 &_swigt__p_wxRect,
44460 &_swigt__p_wxScrollBar,
44461 &_swigt__p_wxScrollEvent,
44462 &_swigt__p_wxScrollWinEvent,
44463 &_swigt__p_wxSetCursorEvent,
44464 &_swigt__p_wxShowEvent,
44465 &_swigt__p_wxSimpleHelpProvider,
44466 &_swigt__p_wxSize,
44467 &_swigt__p_wxSizeEvent,
44468 &_swigt__p_wxSizer,
44469 &_swigt__p_wxSizerItem,
44470 &_swigt__p_wxSlider,
44471 &_swigt__p_wxSpinButton,
44472 &_swigt__p_wxSpinCtrl,
44473 &_swigt__p_wxSpinEvent,
44474 &_swigt__p_wxStaticBitmap,
44475 &_swigt__p_wxStaticBox,
44476 &_swigt__p_wxStaticBoxSizer,
44477 &_swigt__p_wxStaticLine,
44478 &_swigt__p_wxStaticText,
44479 &_swigt__p_wxStdDialogButtonSizer,
44480 &_swigt__p_wxString,
44481 &_swigt__p_wxSysColourChangedEvent,
44482 &_swigt__p_wxTIFFHandler,
44483 &_swigt__p_wxTextAttr,
44484 &_swigt__p_wxTextCtrl,
44485 &_swigt__p_wxTextUrlEvent,
44486 &_swigt__p_wxToggleButton,
44487 &_swigt__p_wxToolBar,
44488 &_swigt__p_wxToolBarBase,
44489 &_swigt__p_wxToolBarToolBase,
44490 &_swigt__p_wxToolbook,
44491 &_swigt__p_wxToolbookEvent,
44492 &_swigt__p_wxTreeCtrl,
44493 &_swigt__p_wxTreeEvent,
44494 &_swigt__p_wxTreeItemId,
44495 &_swigt__p_wxTreebook,
44496 &_swigt__p_wxTreebookEvent,
44497 &_swigt__p_wxUpdateUIEvent,
44498 &_swigt__p_wxValidator,
44499 &_swigt__p_wxVisualAttributes,
44500 &_swigt__p_wxWindow,
44501 &_swigt__p_wxWindowCreateEvent,
44502 &_swigt__p_wxWindowDestroyEvent,
44503 &_swigt__p_wxXPMHandler,
44504};
44505
44506static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
44507static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
44508static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
44509static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
44510static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
44511static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
44512static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
44513static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
44514static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
44515static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
44516static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
44517static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
44518static 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}};
44519static 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}};
44520static 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}};
44521static 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}};
44522static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
44523static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
44524static 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}};
44525static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
44526static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
44527static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
44528static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
44529static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 44530static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44531static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
44532static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
44533static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
44534static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
44535static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
44536static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
44537static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44538static 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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44539static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
44540static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44541static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44542static 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}};
44543static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
44544static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
44545static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
44546static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
44547static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
44548static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
44549static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
44550static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
44551static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
44552static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
44553static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
44554static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
44555static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
44556static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
44557static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
44558static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
44559static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
44560static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
44561static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
44562static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
44563static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
44564static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
44565static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
44566static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
44567static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
44568static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
44569static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
44570static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
44571static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
44572static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44573static 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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44574static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
44575static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
44576static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
44577static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44578static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44579static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
44580static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
44581static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
44582static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
44583static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
44584static 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
44585static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
44586static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44587static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
44588static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
44589static 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}};
44590static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
44591static 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}};
44592static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
44593static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
44594static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
44595static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
44596static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
44597static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
44598static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
44599static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
44600static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
44601static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
44602static 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}};
44603static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
44604static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
44605static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
44606static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
44607static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
44608static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
44609static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
44610static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
44611static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
44612static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
44613static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
44614static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
44615static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44616static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
44617static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
44618static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
44619static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
44620static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
44621static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
44622static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
44623static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
44624static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44625static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 44626static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44627static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
44628static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
44629static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
44630static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
44631static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
44632static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44633static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_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_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_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
RD
44634static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
44635static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
44636static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
44637static 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}};
44638static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
44639static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
44640static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
44641static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
44642static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
44643static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
44644static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
44645static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
44646static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
44647static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
44648static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
44649static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
44650static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
44651static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
44652static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
44653static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
44654static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
44655static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
44656static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
44657static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
44658static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
44659static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
44660static 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}};
44661static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
44662static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
44663static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
44664static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
44665static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
44666static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
44667static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
44668static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
44669static 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}};
44670static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 44671static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
44672
44673static swig_cast_info *swig_cast_initial[] = {
44674 _swigc__p_bool,
44675 _swigc__p_char,
44676 _swigc__p_form_ops_t,
44677 _swigc__p_int,
44678 _swigc__p_long,
44679 _swigc__p_unsigned_char,
44680 _swigc__p_unsigned_int,
44681 _swigc__p_unsigned_long,
44682 _swigc__p_void,
44683 _swigc__p_wxANIHandler,
44684 _swigc__p_wxAcceleratorTable,
44685 _swigc__p_wxActivateEvent,
44686 _swigc__p_wxArrayInt,
44687 _swigc__p_wxArrayString,
44688 _swigc__p_wxBMPHandler,
44689 _swigc__p_wxBitmap,
44690 _swigc__p_wxBitmapButton,
44691 _swigc__p_wxBookCtrlBase,
44692 _swigc__p_wxBookCtrlBaseEvent,
44693 _swigc__p_wxBoxSizer,
44694 _swigc__p_wxButton,
44695 _swigc__p_wxCURHandler,
44696 _swigc__p_wxCheckBox,
44697 _swigc__p_wxCheckListBox,
44698 _swigc__p_wxChildFocusEvent,
44699 _swigc__p_wxChoice,
44700 _swigc__p_wxChoicebook,
44701 _swigc__p_wxChoicebookEvent,
2131d850 44702 _swigc__p_wxClipboardTextEvent,
554f62e9
RD
44703 _swigc__p_wxCloseEvent,
44704 _swigc__p_wxColour,
44705 _swigc__p_wxComboBox,
44706 _swigc__p_wxCommandEvent,
44707 _swigc__p_wxContextHelp,
44708 _swigc__p_wxContextHelpButton,
44709 _swigc__p_wxContextMenuEvent,
44710 _swigc__p_wxControl,
44711 _swigc__p_wxControlWithItems,
44712 _swigc__p_wxCursor,
44713 _swigc__p_wxDC,
44714 _swigc__p_wxDateEvent,
44715 _swigc__p_wxDatePickerCtrl,
44716 _swigc__p_wxDateTime,
44717 _swigc__p_wxDirFilterListCtrl,
44718 _swigc__p_wxDisplayChangedEvent,
44719 _swigc__p_wxDropFilesEvent,
44720 _swigc__p_wxDuplexMode,
44721 _swigc__p_wxEraseEvent,
44722 _swigc__p_wxEvent,
44723 _swigc__p_wxEvtHandler,
44724 _swigc__p_wxFSFile,
44725 _swigc__p_wxFileSystem,
44726 _swigc__p_wxFlexGridSizer,
44727 _swigc__p_wxFocusEvent,
44728 _swigc__p_wxFont,
44729 _swigc__p_wxGBSizerItem,
44730 _swigc__p_wxGIFHandler,
44731 _swigc__p_wxGauge,
44732 _swigc__p_wxGenericDirCtrl,
44733 _swigc__p_wxGenericDragImage,
44734 _swigc__p_wxGridBagSizer,
44735 _swigc__p_wxGridSizer,
44736 _swigc__p_wxHelpEvent,
44737 _swigc__p_wxHelpProvider,
704eda0c
RD
44738 _swigc__p_wxHyperlinkCtrl,
44739 _swigc__p_wxHyperlinkEvent,
554f62e9
RD
44740 _swigc__p_wxICOHandler,
44741 _swigc__p_wxIcon,
44742 _swigc__p_wxIconizeEvent,
44743 _swigc__p_wxIdleEvent,
44744 _swigc__p_wxImage,
44745 _swigc__p_wxImageHandler,
44746 _swigc__p_wxImageList,
44747 _swigc__p_wxIndividualLayoutConstraint,
44748 _swigc__p_wxInitDialogEvent,
44749 _swigc__p_wxItemContainer,
44750 _swigc__p_wxJPEGHandler,
44751 _swigc__p_wxKeyEvent,
44752 _swigc__p_wxLayoutConstraints,
44753 _swigc__p_wxListBox,
44754 _swigc__p_wxListEvent,
44755 _swigc__p_wxListItem,
44756 _swigc__p_wxListItemAttr,
44757 _swigc__p_wxListView,
44758 _swigc__p_wxListbook,
44759 _swigc__p_wxListbookEvent,
44760 _swigc__p_wxMaximizeEvent,
44761 _swigc__p_wxMemoryDC,
44762 _swigc__p_wxMenu,
44763 _swigc__p_wxMenuBar,
44764 _swigc__p_wxMenuEvent,
44765 _swigc__p_wxMenuItem,
44766 _swigc__p_wxMouseCaptureChangedEvent,
44767 _swigc__p_wxMouseEvent,
44768 _swigc__p_wxMoveEvent,
44769 _swigc__p_wxNavigationKeyEvent,
44770 _swigc__p_wxNcPaintEvent,
44771 _swigc__p_wxNotebook,
44772 _swigc__p_wxNotebookEvent,
44773 _swigc__p_wxNotifyEvent,
44774 _swigc__p_wxObject,
44775 _swigc__p_wxPCXHandler,
44776 _swigc__p_wxPNGHandler,
44777 _swigc__p_wxPNMHandler,
44778 _swigc__p_wxPaintEvent,
44779 _swigc__p_wxPaletteChangedEvent,
44780 _swigc__p_wxPaperSize,
44781 _swigc__p_wxPoint,
44782 _swigc__p_wxPyApp,
44783 _swigc__p_wxPyCommandEvent,
44784 _swigc__p_wxPyControl,
44785 _swigc__p_wxPyEvent,
44786 _swigc__p_wxPyImageHandler,
44787 _swigc__p_wxPyListCtrl,
44788 _swigc__p_wxPySizer,
44789 _swigc__p_wxPyTreeCtrl,
44790 _swigc__p_wxPyTreeItemData,
44791 _swigc__p_wxPyValidator,
44792 _swigc__p_wxQueryNewPaletteEvent,
44793 _swigc__p_wxRadioBox,
44794 _swigc__p_wxRadioButton,
44795 _swigc__p_wxRect,
44796 _swigc__p_wxScrollBar,
44797 _swigc__p_wxScrollEvent,
44798 _swigc__p_wxScrollWinEvent,
44799 _swigc__p_wxSetCursorEvent,
44800 _swigc__p_wxShowEvent,
44801 _swigc__p_wxSimpleHelpProvider,
44802 _swigc__p_wxSize,
44803 _swigc__p_wxSizeEvent,
44804 _swigc__p_wxSizer,
44805 _swigc__p_wxSizerItem,
44806 _swigc__p_wxSlider,
44807 _swigc__p_wxSpinButton,
44808 _swigc__p_wxSpinCtrl,
44809 _swigc__p_wxSpinEvent,
44810 _swigc__p_wxStaticBitmap,
44811 _swigc__p_wxStaticBox,
44812 _swigc__p_wxStaticBoxSizer,
44813 _swigc__p_wxStaticLine,
44814 _swigc__p_wxStaticText,
44815 _swigc__p_wxStdDialogButtonSizer,
44816 _swigc__p_wxString,
44817 _swigc__p_wxSysColourChangedEvent,
44818 _swigc__p_wxTIFFHandler,
44819 _swigc__p_wxTextAttr,
44820 _swigc__p_wxTextCtrl,
44821 _swigc__p_wxTextUrlEvent,
44822 _swigc__p_wxToggleButton,
44823 _swigc__p_wxToolBar,
44824 _swigc__p_wxToolBarBase,
44825 _swigc__p_wxToolBarToolBase,
44826 _swigc__p_wxToolbook,
44827 _swigc__p_wxToolbookEvent,
44828 _swigc__p_wxTreeCtrl,
44829 _swigc__p_wxTreeEvent,
44830 _swigc__p_wxTreeItemId,
44831 _swigc__p_wxTreebook,
44832 _swigc__p_wxTreebookEvent,
44833 _swigc__p_wxUpdateUIEvent,
44834 _swigc__p_wxValidator,
44835 _swigc__p_wxVisualAttributes,
44836 _swigc__p_wxWindow,
44837 _swigc__p_wxWindowCreateEvent,
44838 _swigc__p_wxWindowDestroyEvent,
44839 _swigc__p_wxXPMHandler,
44840};
44841
44842
44843/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44844
44845static swig_const_info swig_const_table[] = {
44846{0, 0, 0, 0.0, 0, 0}};
44847
44848#ifdef __cplusplus
44849}
44850#endif
44851/* -----------------------------------------------------------------------------
44852 * Type initialization:
44853 * This problem is tough by the requirement that no dynamic
44854 * memory is used. Also, since swig_type_info structures store pointers to
44855 * swig_cast_info structures and swig_cast_info structures store pointers back
44856 * to swig_type_info structures, we need some lookup code at initialization.
44857 * The idea is that swig generates all the structures that are needed.
44858 * The runtime then collects these partially filled structures.
44859 * The SWIG_InitializeModule function takes these initial arrays out of
44860 * swig_module, and does all the lookup, filling in the swig_module.types
44861 * array with the correct data and linking the correct swig_cast_info
44862 * structures together.
44863 *
44864 * The generated swig_type_info structures are assigned staticly to an initial
44865 * array. We just loop though that array, and handle each type individually.
44866 * First we lookup if this type has been already loaded, and if so, use the
44867 * loaded structure instead of the generated one. Then we have to fill in the
44868 * cast linked list. The cast data is initially stored in something like a
44869 * two-dimensional array. Each row corresponds to a type (there are the same
44870 * number of rows as there are in the swig_type_initial array). Each entry in
44871 * a column is one of the swig_cast_info structures for that type.
44872 * The cast_initial array is actually an array of arrays, because each row has
44873 * a variable number of columns. So to actually build the cast linked list,
44874 * we find the array of casts associated with the type, and loop through it
44875 * adding the casts to the list. The one last trick we need to do is making
44876 * sure the type pointer in the swig_cast_info struct is correct.
44877 *
44878 * First off, we lookup the cast->type name to see if it is already loaded.
44879 * There are three cases to handle:
44880 * 1) If the cast->type has already been loaded AND the type we are adding
44881 * casting info to has not been loaded (it is in this module), THEN we
44882 * replace the cast->type pointer with the type pointer that has already
44883 * been loaded.
44884 * 2) If BOTH types (the one we are adding casting info to, and the
44885 * cast->type) are loaded, THEN the cast info has already been loaded by
44886 * the previous module so we just ignore it.
44887 * 3) Finally, if cast->type has not already been loaded, then we add that
44888 * swig_cast_info to the linked list (because the cast->type) pointer will
44889 * be correct.
44890 * ----------------------------------------------------------------------------- */
44891
44892#ifdef __cplusplus
44893extern "C" {
44894#if 0
44895} /* c-mode */
44896#endif
44897#endif
44898
44899#if 0
44900#define SWIGRUNTIME_DEBUG
44901#endif
44902
44903SWIGRUNTIME void
44904SWIG_InitializeModule(void *clientdata) {
44905 size_t i;
44906 swig_module_info *module_head;
44907 static int init_run = 0;
44908
44909 clientdata = clientdata;
44910
44911 if (init_run) return;
44912 init_run = 1;
44913
44914 /* Initialize the swig_module */
44915 swig_module.type_initial = swig_type_initial;
44916 swig_module.cast_initial = swig_cast_initial;
44917
44918 /* Try and load any already created modules */
44919 module_head = SWIG_GetModule(clientdata);
44920 if (module_head) {
44921 swig_module.next = module_head->next;
44922 module_head->next = &swig_module;
44923 } else {
44924 /* This is the first module loaded */
44925 swig_module.next = &swig_module;
44926 SWIG_SetModule(clientdata, &swig_module);
44927 }
44928
44929 /* Now work on filling in swig_module.types */
44930#ifdef SWIGRUNTIME_DEBUG
44931 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
44932#endif
44933 for (i = 0; i < swig_module.size; ++i) {
44934 swig_type_info *type = 0;
44935 swig_type_info *ret;
44936 swig_cast_info *cast;
d55e5bfc 44937
554f62e9
RD
44938#ifdef SWIGRUNTIME_DEBUG
44939 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44940#endif
d55e5bfc 44941
554f62e9
RD
44942 /* if there is another module already loaded */
44943 if (swig_module.next != &swig_module) {
44944 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 44945 }
554f62e9
RD
44946 if (type) {
44947 /* Overwrite clientdata field */
44948#ifdef SWIGRUNTIME_DEBUG
44949 printf("SWIG_InitializeModule: found type %s\n", type->name);
44950#endif
44951 if (swig_module.type_initial[i]->clientdata) {
44952 type->clientdata = swig_module.type_initial[i]->clientdata;
44953#ifdef SWIGRUNTIME_DEBUG
44954 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
44955#endif
44956 }
44957 } else {
44958 type = swig_module.type_initial[i];
093d3ff1 44959 }
d55e5bfc 44960
554f62e9
RD
44961 /* Insert casting types */
44962 cast = swig_module.cast_initial[i];
44963 while (cast->type) {
44964 /* Don't need to add information already in the list */
44965 ret = 0;
44966#ifdef SWIGRUNTIME_DEBUG
44967 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
44968#endif
44969 if (swig_module.next != &swig_module) {
44970 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
44971#ifdef SWIGRUNTIME_DEBUG
44972 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
44973#endif
44974 }
44975 if (ret) {
44976 if (type == swig_module.type_initial[i]) {
44977#ifdef SWIGRUNTIME_DEBUG
44978 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
44979#endif
44980 cast->type = ret;
44981 ret = 0;
44982 } else {
44983 /* Check for casting already in the list */
44984 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
44985#ifdef SWIGRUNTIME_DEBUG
44986 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
44987#endif
44988 if (!ocast) ret = 0;
44989 }
44990 }
44991
44992 if (!ret) {
44993#ifdef SWIGRUNTIME_DEBUG
44994 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
44995#endif
44996 if (type->cast) {
44997 type->cast->prev = cast;
44998 cast->next = type->cast;
44999 }
45000 type->cast = cast;
45001 }
45002 cast++;
093d3ff1 45003 }
554f62e9
RD
45004 /* Set entry in modules->types array equal to the type */
45005 swig_module.types[i] = type;
45006 }
45007 swig_module.types[i] = 0;
45008
45009#ifdef SWIGRUNTIME_DEBUG
45010 printf("**** SWIG_InitializeModule: Cast List ******\n");
45011 for (i = 0; i < swig_module.size; ++i) {
45012 int j = 0;
45013 swig_cast_info *cast = swig_module.cast_initial[i];
45014 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
45015 while (cast->type) {
45016 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
45017 cast++;
45018 ++j;
45019 }
45020 printf("---- Total casts: %d\n",j);
45021 }
45022 printf("**** SWIG_InitializeModule: Cast List ******\n");
45023#endif
45024}
45025
45026/* This function will propagate the clientdata field of type to
45027* any new swig_type_info structures that have been added into the list
45028* of equivalent types. It is like calling
45029* SWIG_TypeClientData(type, clientdata) a second time.
45030*/
45031SWIGRUNTIME void
45032SWIG_PropagateClientData(void) {
45033 size_t i;
45034 swig_cast_info *equiv;
45035 static int init_run = 0;
45036
45037 if (init_run) return;
45038 init_run = 1;
45039
45040 for (i = 0; i < swig_module.size; i++) {
45041 if (swig_module.types[i]->clientdata) {
45042 equiv = swig_module.types[i]->cast;
45043 while (equiv) {
45044 if (!equiv->converter) {
45045 if (equiv->type && !equiv->type->clientdata)
45046 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
45047 }
45048 equiv = equiv->next;
45049 }
093d3ff1 45050 }
554f62e9
RD
45051 }
45052}
45053
45054#ifdef __cplusplus
45055#if 0
45056{
45057 /* c-mode */
45058#endif
45059}
45060#endif
45061
45062
45063
45064#ifdef __cplusplus
45065extern "C" {
45066#endif
45067
45068 /* Python-specific SWIG API */
45069#define SWIG_newvarlink() SWIG_Python_newvarlink()
45070#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45071#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45072
45073 /* -----------------------------------------------------------------------------
45074 * global variable support code.
45075 * ----------------------------------------------------------------------------- */
45076
45077 typedef struct swig_globalvar {
45078 char *name; /* Name of global variable */
45079 PyObject *(*get_attr)(void); /* Return the current value */
45080 int (*set_attr)(PyObject *); /* Set the value */
45081 struct swig_globalvar *next;
45082 } swig_globalvar;
45083
45084 typedef struct swig_varlinkobject {
45085 PyObject_HEAD
45086 swig_globalvar *vars;
45087 } swig_varlinkobject;
45088
45089 SWIGINTERN PyObject *
45090 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
45091 return PyString_FromString("<Swig global variables>");
45092 }
45093
45094 SWIGINTERN PyObject *
45095 swig_varlink_str(swig_varlinkobject *v) {
45096 PyObject *str = PyString_FromString("(");
45097 swig_globalvar *var;
45098 for (var = v->vars; var; var=var->next) {
45099 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
45100 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
45101 }
45102 PyString_ConcatAndDel(&str,PyString_FromString(")"));
45103 return str;
45104 }
45105
45106 SWIGINTERN int
45107 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
45108 PyObject *str = swig_varlink_str(v);
45109 fprintf(fp,"Swig global variables ");
45110 fprintf(fp,"%s\n", PyString_AsString(str));
45111 Py_DECREF(str);
45112 return 0;
45113 }
45114
45115 SWIGINTERN void
45116 swig_varlink_dealloc(swig_varlinkobject *v) {
45117 swig_globalvar *var = v->vars;
45118 while (var) {
45119 swig_globalvar *n = var->next;
45120 free(var->name);
45121 free(var);
45122 var = n;
093d3ff1 45123 }
554f62e9
RD
45124 }
45125
45126 SWIGINTERN PyObject *
45127 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
45128 PyObject *res = NULL;
45129 swig_globalvar *var = v->vars;
45130 while (var) {
45131 if (strcmp(var->name,n) == 0) {
45132 res = (*var->get_attr)();
45133 break;
45134 }
45135 var = var->next;
093d3ff1 45136 }
554f62e9
RD
45137 if (res == NULL && !PyErr_Occurred()) {
45138 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 45139 }
554f62e9
RD
45140 return res;
45141 }
45142
45143 SWIGINTERN int
45144 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
45145 int res = 1;
45146 swig_globalvar *var = v->vars;
45147 while (var) {
45148 if (strcmp(var->name,n) == 0) {
45149 res = (*var->set_attr)(p);
45150 break;
45151 }
45152 var = var->next;
093d3ff1 45153 }
554f62e9
RD
45154 if (res == 1 && !PyErr_Occurred()) {
45155 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 45156 }
554f62e9
RD
45157 return res;
45158 }
45159
45160 SWIGINTERN PyTypeObject*
45161 swig_varlink_type(void) {
45162 static char varlink__doc__[] = "Swig var link object";
45163 static PyTypeObject varlink_type;
45164 static int type_init = 0;
45165 if (!type_init) {
45166 const PyTypeObject tmp
45167 = {
45168 PyObject_HEAD_INIT(NULL)
45169 0, /* Number of items in variable part (ob_size) */
45170 (char *)"swigvarlink", /* Type name (tp_name) */
45171 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
45172 0, /* Itemsize (tp_itemsize) */
45173 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
45174 (printfunc) swig_varlink_print, /* Print (tp_print) */
45175 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
45176 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
45177 0, /* tp_compare */
45178 (reprfunc) swig_varlink_repr, /* tp_repr */
45179 0, /* tp_as_number */
45180 0, /* tp_as_sequence */
45181 0, /* tp_as_mapping */
45182 0, /* tp_hash */
45183 0, /* tp_call */
45184 (reprfunc)swig_varlink_str, /* tp_str */
45185 0, /* tp_getattro */
45186 0, /* tp_setattro */
45187 0, /* tp_as_buffer */
45188 0, /* tp_flags */
45189 varlink__doc__, /* tp_doc */
45190 0, /* tp_traverse */
45191 0, /* tp_clear */
45192 0, /* tp_richcompare */
45193 0, /* tp_weaklistoffset */
45194#if PY_VERSION_HEX >= 0x02020000
45195 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45196#endif
45197#if PY_VERSION_HEX >= 0x02030000
45198 0, /* tp_del */
45199#endif
45200#ifdef COUNT_ALLOCS
45201 0,0,0,0 /* tp_alloc -> tp_next */
45202#endif
45203 };
45204 varlink_type = tmp;
45205 varlink_type.ob_type = &PyType_Type;
45206 type_init = 1;
53aa7709 45207 }
554f62e9
RD
45208 return &varlink_type;
45209 }
45210
45211 /* Create a variable linking object for use later */
45212 SWIGINTERN PyObject *
45213 SWIG_Python_newvarlink(void) {
45214 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
45215 if (result) {
45216 result->vars = 0;
45217 }
45218 return ((PyObject*) result);
45219 }
45220
45221 SWIGINTERN void
45222 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
45223 swig_varlinkobject *v = (swig_varlinkobject *) p;
45224 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
45225 if (gv) {
45226 size_t size = strlen(name)+1;
45227 gv->name = (char *)malloc(size);
45228 if (gv->name) {
45229 strncpy(gv->name,name,size);
45230 gv->get_attr = get_attr;
45231 gv->set_attr = set_attr;
45232 gv->next = v->vars;
45233 }
53aa7709 45234 }
554f62e9
RD
45235 v->vars = gv;
45236 }
45237
45238 SWIGINTERN PyObject *
45239 SWIG_globals() {
45240 static PyObject *_SWIG_globals = 0;
45241 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
45242 return _SWIG_globals;
45243 }
45244
45245 /* -----------------------------------------------------------------------------
45246 * constants/methods manipulation
45247 * ----------------------------------------------------------------------------- */
45248
45249 /* Install Constants */
45250 SWIGINTERN void
45251 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
45252 PyObject *obj = 0;
45253 size_t i;
45254 for (i = 0; constants[i].type; ++i) {
45255 switch(constants[i].type) {
45256 case SWIG_PY_POINTER:
45257 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
45258 break;
45259 case SWIG_PY_BINARY:
45260 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
45261 break;
45262 default:
45263 obj = 0;
45264 break;
45265 }
45266 if (obj) {
45267 PyDict_SetItemString(d, constants[i].name, obj);
45268 Py_DECREF(obj);
45269 }
53aa7709 45270 }
554f62e9
RD
45271 }
45272
45273 /* -----------------------------------------------------------------------------*/
45274 /* Fix SwigMethods to carry the callback ptrs when needed */
45275 /* -----------------------------------------------------------------------------*/
45276
45277 SWIGINTERN void
45278 SWIG_Python_FixMethods(PyMethodDef *methods,
45279 swig_const_info *const_table,
45280 swig_type_info **types,
45281 swig_type_info **types_initial) {
45282 size_t i;
45283 for (i = 0; methods[i].ml_name; ++i) {
45284 char *c = methods[i].ml_doc;
45285 if (c && (c = strstr(c, "swig_ptr: "))) {
45286 int j;
45287 swig_const_info *ci = 0;
45288 char *name = c + 10;
45289 for (j = 0; const_table[j].type; ++j) {
45290 if (strncmp(const_table[j].name, name,
45291 strlen(const_table[j].name)) == 0) {
45292 ci = &(const_table[j]);
45293 break;
45294 }
45295 }
45296 if (ci) {
45297 size_t shift = (ci->ptype) - types;
45298 swig_type_info *ty = types_initial[shift];
45299 size_t ldoc = (c - methods[i].ml_doc);
45300 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
45301 char *ndoc = (char*)malloc(ldoc + lptr + 10);
45302 if (ndoc) {
45303 char *buff = ndoc;
45304 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
45305 if (ptr) {
45306 strncpy(buff, methods[i].ml_doc, ldoc);
45307 buff += ldoc;
45308 strncpy(buff, "swig_ptr: ", 10);
45309 buff += 10;
45310 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
45311 methods[i].ml_doc = ndoc;
45312 }
45313 }
45314 }
45315 }
53aa7709 45316 }
554f62e9
RD
45317 }
45318
45319#ifdef __cplusplus
45320}
45321#endif
45322
45323/* -----------------------------------------------------------------------------*
45324 * Partial Init method
45325 * -----------------------------------------------------------------------------*/
45326
45327#ifdef __cplusplus
45328extern "C"
45329#endif
45330SWIGEXPORT void SWIG_init(void) {
45331 PyObject *m, *d;
45332
45333 /* Fix SwigMethods to carry the callback ptrs when needed */
45334 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
45335
45336 m = Py_InitModule((char *) SWIG_name, SwigMethods);
45337 d = PyModule_GetDict(m);
45338
45339 SWIG_InitializeModule(0);
45340 SWIG_InstallConstants(d,swig_const_table);
45341
45342
45343 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
45344 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
45345 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
45346 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
45347 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
45348 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
45349 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
45350 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
45351 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
45352 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
45353 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
45354 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
45355 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
45356 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
45357 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
45358 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
45359 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
45360 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
45361 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
45362 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
45363 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
45364 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
554f62e9
RD
45365 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
45366 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
45367 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
45368 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
45369 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
45370 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
45371 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
45372 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
45373 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
45374 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
45375 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
45376 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
45377 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
45378 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
45379 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
45380 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
45381 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
45382 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
45383 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
45384 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
45385 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
45386 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
45387 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
554f62e9
RD
45388 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
45389 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
45390 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
45391 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
45392 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
45393 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
45394 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
45395 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
45396 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
45397 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
45398 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
45399 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
45400 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
45401 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
45402 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
45403 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
45404 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
45405 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
45406 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
45407 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
45408 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
45409 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
45410 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
45411 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
45412 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
45413 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
45414 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
45415 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
45416 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
45417 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
45418 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
45419 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
45420 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
45421 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
45422 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
45423 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
45424 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
45425 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
45426 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
45427 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
45428 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
45429 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
45430 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
45431 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
45432 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
45433 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
45434 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
45435 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
45436 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
45437 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
45438 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
45439 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
45440 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
45441 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
45442 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
45443 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
45444 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
45445 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
45446 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
45447 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
45448 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
45449 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
45450 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 45451 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
554f62e9
RD
45452 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
45453 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
45454 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
45455 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
45456 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
45457 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
45458 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
45459 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
45460 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
45461 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
45462 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
45463 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
45464 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
45465 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
45466 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
45467 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
45468 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
45469 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
45470 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
45471 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
45472 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
45473 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
45474 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
45475 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
45476 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
45477 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
45478 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
45479 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
45480 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
45481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
45482 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
45483 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
45484 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
45485 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
45486 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
45487 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
45488 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
45489 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
45490 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
45491 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
45492 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
45493 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
45494 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
45495 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
45496 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
45497 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
45498 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
45499 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
45500 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 45501 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
554f62e9
RD
45502 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
45503 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
45504 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
45505 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
45506 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
45507 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
45508 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
45509 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
45510 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
45511 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
45512 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
45513 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
45514 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
45515 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
45516 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
45517 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
45518 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
45519 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
45520 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
45521 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
45522 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
45523 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
45524 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
45525 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
45526 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
45527 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
45528 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
45529 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
45530 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
45531 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
45532 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
45533 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
45534 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
45535 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
45536 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
45537 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
45538 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
45539 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
45540 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
45541 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
45542 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
45543 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
45544 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
45545 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
45546 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
45547 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
45548 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 45549 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
554f62e9
RD
45550 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
45551 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
45552 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
45553 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
45554 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
45555 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
45556 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
45557 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
45558 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
45559 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
45560 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
45561 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
45562 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
45563 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
45564 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
45565 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
45566 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
45567 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
45568 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
45569 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
45570 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
45571 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
45572 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
45573 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
45574 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
45575 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
45576 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
45577 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
45578 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
45579 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
45580 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
45581 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
45582 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
45583 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
45584 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
45585 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
45586 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
45587 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
45588 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
45589 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
45590 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
45591 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
45592
45593 // Map renamed classes back to their common name for OOR
45594 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45595
45596 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
45597 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
45598 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
45599 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
45600 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
45601 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
45602 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
45603 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
45604 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
45605 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
45606 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
45607 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
45608 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
45609 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
45610 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
554f62e9
RD
45611 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
45612 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
45613 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
45614 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
45615 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
45616 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
45617 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
45618 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
45619 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
45620 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
45621 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
45622 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
45623 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
45624 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
45625 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
45626 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
45627 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
45628 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
45629 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
45630 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
45631 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
45632 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
45633 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
45634 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
45635 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
45636 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
45637 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
45638 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
45639 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
45640 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
45641 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
45642 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
45643 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
45644 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
45645 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
45646 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
45647 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
45648 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
45649 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
45650 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
45651
45652 // Map renamed classes back to their common name for OOR
45653 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45654 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45655
45656 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
45657 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
45658 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
45659 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
45660 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
45661 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
45662 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
45663 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
45664 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
45665 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
45666 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
45667 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
45668 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
554f62e9
RD
45669
45670 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45671
45672 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
45673 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
45674 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
45675 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
45676 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
45677 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
45678 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
45679 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
45680 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
45681 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
d55e5bfc
RD
45682}
45683